:root {
  --ink: #111111;
  --ink-soft: #323232;
  --paper: #fbf8f2;
  --paper-deep: #f1eadf;
  --white: #ffffff;
  --line: rgba(17, 17, 17, 0.12);
  --line-strong: rgba(17, 17, 17, 0.22);
  --cyan: #00b8c9;
  --rose: #ff4f86;
  --lime: #c8ec3f;
  --peach: #ffb86b;
  --violet: #8268ff;
  --shadow: 0 24px 70px rgba(17, 17, 17, 0.16);
  --radius: 8px;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 74px;
  padding: 12px 28px;
  background: rgba(251, 248, 242, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--lime), var(--cyan) 52%, var(--rose));
  border: 1px solid rgba(17, 17, 17, 0.24);
  border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.site-nav a,
.footer-nav a {
  padding: 9px 11px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius);
}

.site-nav a:hover,
.footer-nav a:hover {
  color: var(--ink);
  background: rgba(17, 17, 17, 0.06);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta,
.btn-primary {
  color: var(--white);
  background: var(--ink);
  box-shadow: 5px 5px 0 var(--rose);
}

.btn-secondary {
  color: var(--ink);
  background: var(--white);
  box-shadow: 5px 5px 0 var(--cyan);
}

.header-cta:hover,
.btn:hover {
  transform: translate(-2px, -2px);
}

.header-cta:hover,
.btn-primary:hover {
  box-shadow: 7px 7px 0 var(--rose);
}

.btn-secondary:hover {
  box-shadow: 7px 7px 0 var(--cyan);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 86svh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 72px;
  content: "";
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(17, 17, 17, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  z-index: -1;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(251, 248, 242, 0.98), rgba(251, 248, 242, 0.72) 45%, rgba(251, 248, 242, 0.94)),
    linear-gradient(135deg, #ffe2b8, #bdf5f8 48%, #ffd4e4);
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  mix-blend-mode: multiply;
}

.hero-backdrop.is-missing img {
  opacity: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: 56px;
  min-height: calc(86svh - 74px);
  padding: 70px 0 58px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  display: inline-block;
  width: 28px;
  height: 3px;
  margin-right: 10px;
  content: "";
  background: var(--rose);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.02;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: 4.9rem;
}

h2 {
  margin-bottom: 18px;
  font-size: 2.9rem;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.24rem;
}

.hero-lead,
.section-heading p,
.final-cta p,
.legal-content p,
.legal-content li {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.hero-lead {
  max-width: 640px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 660px;
  margin: 0;
}

.hero-stats div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero-stats dt {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.35;
}

.hero-stage {
  position: relative;
  min-height: 580px;
}

.phone-preview {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.28)),
    repeating-linear-gradient(135deg, rgba(17, 17, 17, 0.08) 0 1px, transparent 1px 15px);
  border: 8px solid var(--ink);
  border-radius: 30px;
  box-shadow: 16px 18px 0 rgba(17, 17, 17, 0.18), var(--shadow);
}

.phone-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-preview.is-missing img,
.feature-card-image.is-missing img,
.story-image.is-missing img,
.lab-card.is-missing img {
  opacity: 0;
}

.phone-main {
  right: 58px;
  top: 18px;
  width: 280px;
  aspect-ratio: 9 / 16;
  animation: floatMain 6s ease-in-out infinite;
}

.phone-side {
  left: 8px;
  bottom: 22px;
  width: 224px;
  aspect-ratio: 9 / 16;
  border-color: var(--white);
  box-shadow: 12px 14px 0 var(--ink), var(--shadow);
  animation: floatSide 7s ease-in-out infinite;
}

.motion-ribbon {
  position: absolute;
  inset: 90px 0 auto;
  height: 220px;
  border: 1px solid rgba(17, 17, 17, 0.18);
  transform: rotate(-9deg);
  background: rgba(255, 255, 255, 0.52);
  overflow: hidden;
}

.motion-ribbon span {
  position: absolute;
  top: 50%;
  width: 180px;
  height: 28px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transform: translateY(-50%);
  animation: slideRibbon 9s linear infinite;
}

.motion-ribbon span:nth-child(1) {
  left: -210px;
  background: var(--cyan);
}

.motion-ribbon span:nth-child(2) {
  left: 70px;
  background: var(--lime);
  animation-delay: -2.3s;
}

.motion-ribbon span:nth-child(3) {
  left: 350px;
  background: var(--rose);
  animation-delay: -4.8s;
}

.tool-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 5px 5px 0 var(--lime);
}

.chip-one {
  top: 78px;
  left: 24px;
}

.chip-two {
  right: 0;
  bottom: 98px;
  box-shadow: 5px 5px 0 var(--peach);
}

.section {
  padding: 92px 0;
}

.intro-strip {
  padding: 22px 0;
  background: var(--ink);
  color: var(--white);
}

.strip-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 28px;
}

.strip-grid p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.25;
}

.strip-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.strip-items span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  color: var(--ink);
  background: var(--lime);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  font-weight: 900;
}

.strip-items span:nth-child(2) {
  background: var(--cyan);
}

.strip-items span:nth-child(3) {
  background: var(--rose);
  color: var(--white);
}

.strip-items span:nth-child(4) {
  background: var(--peach);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.tool-grid article,
.ai-board article,
.legal-content,
.not-found-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(17, 17, 17, 0.08);
}

.feature-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.feature-card-image {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 184, 201, 0.18), rgba(255, 79, 134, 0.14)),
    repeating-linear-gradient(90deg, rgba(17, 17, 17, 0.08) 0 1px, transparent 1px 18px);
}

.feature-card-image img {
  height: 100%;
  object-fit: cover;
}

.feature-card-body {
  padding: 24px;
}

.feature-icon,
.tool-grid i,
.ai-board i {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--lime);
  box-shadow: 4px 4px 0 var(--ink);
}

.feature-card:nth-child(2) .feature-icon,
.tool-grid article:nth-child(2) i,
.ai-board article:nth-child(2) i {
  background: var(--cyan);
}

.feature-card:nth-child(3) .feature-icon,
.tool-grid article:nth-child(3) i,
.ai-board article:nth-child(3) i {
  background: var(--rose);
  color: var(--white);
}

.feature-card p,
.tool-grid p,
.ai-board p,
.lab-card figcaption {
  color: var(--ink-soft);
}

.section-ink {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    var(--ink);
  background-size: 34px 34px;
}

.section-ink .section-heading p,
.section-ink .eyebrow,
.section-ink .split-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.section-ink .eyebrow::before {
  background: var(--lime);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.split-copy {
  margin-bottom: 0;
}

.ai-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ai-board article {
  min-height: 220px;
  padding: 24px;
  color: var(--ink);
}

.video-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
}

.story-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, rgba(255, 184, 107, 0.3), rgba(200, 236, 63, 0.22)),
    repeating-linear-gradient(135deg, rgba(17, 17, 17, 0.08) 0 1px, transparent 1px 16px);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 13px 13px 0 var(--ink);
}

.story-image img {
  height: 100%;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-soft);
  font-weight: 700;
}

.check-list i {
  margin-top: 4px;
  color: var(--cyan);
}

.design-lab {
  background: var(--paper-deep);
}

.lab-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: center;
}

.lab-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.lab-card {
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(0, 184, 201, 0.14)),
    repeating-linear-gradient(0deg, rgba(17, 17, 17, 0.07) 0 1px, transparent 1px 17px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 18px 38px rgba(17, 17, 17, 0.1);
}

.lab-card:nth-child(2) {
  transform: translateY(-24px);
}

.lab-card img {
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
}

.lab-card figcaption {
  min-height: 86px;
  padding: 14px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.35;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tool-grid article {
  padding: 24px;
}

.tool-grid article:nth-child(4) i,
.ai-board article:nth-child(4) i {
  background: var(--peach);
}

.final-cta {
  padding-top: 70px;
}

.final-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(200, 236, 63, 0.45), rgba(0, 184, 201, 0.22) 50%, rgba(255, 79, 134, 0.18)),
    var(--white);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 12px 12px 0 var(--ink);
}

.final-cta h2 {
  margin-bottom: 10px;
}

.final-cta p {
  margin-bottom: 0;
}

.site-footer {
  padding: 54px 0;
  color: var(--white);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.55fr) minmax(220px, 0.55fr);
  gap: 34px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-disclaimer,
.footer-action p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}

.footer-nav {
  display: grid;
  gap: 4px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.footer-action {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.page-hero {
  padding: 76px 0 44px;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(17, 17, 17, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, rgba(200, 236, 63, 0.22), rgba(0, 184, 201, 0.14) 52%, rgba(255, 79, 134, 0.13)),
    var(--paper);
  background-size: 30px 30px, 30px 30px, auto, auto;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 16px;
  font-size: 3.4rem;
}

.page-hero p {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.legal-section {
  padding: 56px 0 88px;
}

.legal-content {
  max-width: 900px;
  padding: 34px;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 1.8rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content ul,
.legal-content ol {
  padding-left: 22px;
}

.legal-content a {
  color: #00717c;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.legal-note {
  padding: 18px;
  background: rgba(200, 236, 63, 0.22);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.not-found {
  min-height: calc(100svh - 74px);
  display: grid;
  place-items: center;
  padding: 60px 0;
}

.not-found-panel {
  max-width: 720px;
  padding: 40px;
  text-align: center;
}

.not-found-panel h1 {
  font-size: 5rem;
}

.cookie-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  width: min(440px, calc(100% - 36px));
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--ink);
}

.cookie-consent.is-hidden {
  display: none;
}

.cookie-consent p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-actions button {
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
}

.cookie-actions button:first-child {
  background: var(--ink);
  color: var(--white);
}

.cookie-actions button:last-child {
  background: var(--paper);
  color: var(--ink);
}

@keyframes floatMain {
  0%,
  100% {
    transform: translateY(0) rotate(3deg);
  }
  50% {
    transform: translateY(-14px) rotate(1deg);
  }
}

@keyframes floatSide {
  0%,
  100% {
    transform: translateY(0) rotate(-6deg);
  }
  50% {
    transform: translateY(12px) rotate(-3deg);
  }
}

@keyframes slideRibbon {
  from {
    transform: translate(-220px, -50%);
  }
  to {
    transform: translate(620px, -50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1080px) {
  h1 {
    font-size: 3.8rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero-grid,
  .split-layout,
  .video-layout,
  .lab-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 520px;
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
  }

  .feature-grid,
  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
    padding: 12px 18px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: fixed;
    top: 74px;
    right: 14px;
    left: 14px;
    display: grid;
    justify-content: stretch;
    gap: 6px;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    box-shadow: 8px 8px 0 var(--ink);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .header-cta span {
    display: none;
  }

  .container {
    width: min(100% - 30px, 1120px);
  }

  .hero-grid {
    gap: 32px;
    min-height: auto;
    padding: 52px 0 46px;
  }

  .hero {
    min-height: auto;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .strip-grid {
    grid-template-columns: 1fr;
  }

  .strip-items {
    justify-content: flex-start;
  }

  .section {
    padding: 68px 0;
  }

  .ai-board,
  .lab-stack {
    grid-template-columns: 1fr;
  }

  .lab-card:nth-child(2) {
    transform: none;
  }

  .final-cta-inner {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 2.72rem;
  }

  h2,
  .page-hero h1 {
    font-size: 2.1rem;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-stage {
    min-height: 420px;
  }

  .phone-main {
    right: 18px;
    width: 210px;
  }

  .phone-side {
    left: 0;
    width: 166px;
  }

  .motion-ribbon {
    height: 160px;
  }

  .chip-one {
    top: 42px;
    left: 0;
  }

  .chip-two {
    right: 0;
    bottom: 54px;
  }

  .tool-chip {
    font-size: 0.78rem;
  }

  .feature-grid,
  .tool-grid {
    grid-template-columns: 1fr;
  }

  .legal-content,
  .final-cta-inner,
  .not-found-panel {
    padding: 24px;
  }
}
