:root {
  --bg: #07090a;
  --bg-2: #0b100e;
  --surface: #0f1512;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eaf2ed;
  --muted: #98a79f;
  --green: #22d67e;
  --green-deep: #0c3b28;
  --orange: #ff9d3b;
  --radius: 18px;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.08; margin: 0; }
p { margin: 0; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--green); color: #04110a; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* ── Brand mark: the robot's face, two orange arcs ─────────────────────── */
.mark { width: 34px; height: 24px; }
.mark rect { fill: #000; stroke: var(--line-2); stroke-width: 1.5; }
.mark path { fill: none; stroke: var(--orange); stroke-width: 3.4; stroke-linecap: round; }
.mark.big { width: 88px; height: 62px; margin: 0 auto 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 20px var(--display); letter-spacing: -0.02em; }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent;
  background: var(--green); color: #04110a; font: 600 15px var(--body); text-decoration: none; cursor: pointer;
  box-shadow: 0 8px 30px -10px rgba(34, 214, 126, 0.55);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 38px -10px rgba(34, 214, 126, 0.7); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); box-shadow: none; }
.btn-ghost:hover { border-color: var(--green); box-shadow: none; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ── Nav ───────────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(7, 9, 10, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 20px; }
.links { display: flex; gap: 28px; }
.links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
/* Phones and small tablets: the section links move into a ☰ menu (a <details>, so it works without JS). */
.menu { display: none; position: relative; }
.menu summary { list-style: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); display: grid; place-items: center; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span, .menu summary span::before, .menu summary span::after { content: ""; display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s ease, background .2s ease; }
.menu summary span { position: relative; }
.menu summary span::before { position: absolute; top: -6px; }
.menu summary span::after { position: absolute; top: 6px; }
.menu[open] summary span { background: transparent; }
.menu[open] summary span::before { top: 0; transform: rotate(45deg); }
.menu[open] summary span::after { top: 0; transform: rotate(-45deg); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(260px, calc(100vw - 32px)); padding: 8px; display: grid; border: 1px solid var(--line-2); border-radius: 16px; background: rgba(11, 16, 14, .97); box-shadow: 0 24px 60px -24px #000; }
.menu-panel a { padding: 13px 14px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: 16px; }
.menu-panel a:hover, .menu-panel a:active { background: rgba(255, 255, 255, .06); }
@media (max-width: 860px) {
  .links { display: none; }
  .menu { display: block; }
  .nav-row { height: 60px; }
  .nav .btn-sm { padding: 11px 16px; }
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: min(88vh, 860px); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-img { position: absolute; inset: 0; z-index: -2; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* The finished-robot hero is centred in its frame, so on wide screens the photo
   takes the right side and fades in from the page colour - the headline never
   sits on top of the robot. */
@media (min-width: 721px) {
  .hero-img { left: 36%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%); mask-image: linear-gradient(90deg, transparent 0, #000 24%); }
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7,9,10,.96) 0%, rgba(7,9,10,.82) 34%, rgba(7,9,10,.2) 62%, rgba(7,9,10,0) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7,9,10,0) 22%);
}
.hero-copy { padding: 110px 0 90px; }
.hero h1 { font-size: clamp(44px, 7vw, 88px); max-width: 11ch; }
.lede { margin-top: 22px; max-width: 520px; color: #c3d0c9; font-size: clamp(17px, 1.6vw, 20px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; color: #cfe0d6; background: rgba(12, 59, 40, .35); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(34,214,126,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,214,126,.55); } 70% { box-shadow: 0 0 0 10px rgba(34,214,126,0); } 100% { box-shadow: 0 0 0 0 rgba(34,214,126,0); } }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.fine { margin-top: 14px; font-size: 13px; color: var(--muted); }
@media (max-width: 720px) {
  .hero { min-height: auto; align-items: flex-end; }
  /* A top band rather than the whole tall hero: covering a phone-height box
     zooms in so far that the robot's face gets cut in half. */
  .hero-img { bottom: auto; height: 360px; }
  .hero-img img { object-position: 52% 40%; }
  .hero::before { background: linear-gradient(0deg, var(--bg) 8%, rgba(7,9,10,.88) 48%, rgba(7,9,10,.15) 100%); }
  .hero-copy { padding: 300px 0 56px; }
}

.strip { border-block: 1px solid var(--line); background: var(--bg-2); }
.strip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; padding: 18px 0; font-size: 14px; color: var(--muted); }
.strip-row span::before { content: "◆"; color: var(--green); font-size: 9px; margin-right: 10px; vertical-align: 2px; }

/* ── Sections ──────────────────────────────────────────────────────────── */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.tint { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); }
.kicker { color: var(--green); font: 600 13px var(--body); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.section h2 { font-size: clamp(32px, 4.4vw, 54px); max-width: 18ch; }
.section h2.center { margin-inline: auto; }
.section-lede { margin-top: 18px; max-width: 620px; color: var(--muted); font-size: 18px; }
.section-lede.center { margin-inline: auto; }

.grid { display: grid; gap: 18px; margin-top: 52px; }
.features { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0)); transition: border-color .2s ease, transform .2s ease; }
.card:hover { border-color: rgba(34,214,126,.35); transform: translateY(-2px); }
.card h3 { font-size: 20px; margin: 18px 0 8px; }
.card p { color: var(--muted); font-size: 15px; }
.ic { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(34,214,126,.1); fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }


/* Face band */
.band { display: grid; grid-template-columns: 1fr 1fr; align-items: center; background: #050807; border-block: 1px solid var(--line); }
.band img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.band-copy { padding: clamp(40px, 6vw, 88px); }
.band-copy h2 { font-size: clamp(30px, 3.8vw, 48px); }
.band-copy > p { margin-top: 18px; color: var(--muted); font-size: 17px; max-width: 520px; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split.reverse { grid-template-columns: 1fr 1.05fr; }
@media (max-width: 900px) { .split, .split.reverse { grid-template-columns: 1fr; } .split.reverse picture { order: 2; } }
.rounded img { border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 30px 80px -40px rgba(34,214,126,.35); }
.wide { margin-top: 44px; }

.specs { margin: 34px 0 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); font-size: 14px; }
.specs dd { margin: 0; font-size: 15px; }

.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: #cad6cf; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: rgba(34,214,126,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%2322d67e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

.path { list-style: none; padding: 0; margin: 32px 0 0; counter-reset: step; display: grid; gap: 14px; }
.path li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.015); }
.path li::before { content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--green-deep); color: var(--green); font: 700 18px var(--display); }
.path strong { font-family: var(--display); font-size: 17px; }
.path span { color: var(--muted); font-size: 15px; }

.kit-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kit-list li { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; color: #cad6cf; }
@media (max-width: 900px) { .kit-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .kit-list { gap: 8px; } .kit-list li { padding: 12px; font-size: 13.5px; } }

/* Videos: vertical reels up top, then landscape groups. Clips load only when played. */
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.vgroup { margin-top: 64px; }
.vgroup h3 { font-size: clamp(22px, 2.4vw, 28px); }
.vgroup > p { margin-top: 8px; color: var(--muted); max-width: 620px; }
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.vgrid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .vgrid, .vgrid.four { grid-template-columns: repeat(2, 1fr); } }
/* Phones: each group is one swipeable row with the next clip peeking in, instead of a long stack. */
@media (max-width: 760px) {
  .reels, .vgrid, .vgrid.four {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: -20px; padding: 0 20px 6px; scroll-padding-inline: 20px;
  }
  .reels { grid-auto-columns: 56%; margin-top: 32px; }
  .reels::-webkit-scrollbar, .vgrid::-webkit-scrollbar { display: none; }
  .reels .vcard, .vgrid .vcard { scroll-snap-align: start; }
  .vgroup { margin-top: 44px; }
  .vgroup h3::after { content: "Swipe →"; float: right; margin-top: 6px; color: var(--muted); font: 500 13px var(--body); }
  .vgrid { margin-top: 16px; }
  .vcard figcaption { padding: 12px 14px 14px; }
  .vcard strong { font-size: 16px; }
  .vcard figcaption p { font-size: 13.5px; }
}
.vcard { margin: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); transition: border-color .2s ease; }
.vcard:hover { border-color: rgba(34,214,126,.35); }
.vcard video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.vcard.contain video { object-fit: contain; }
.reels .vcard video { aspect-ratio: 9 / 16; }
.vcard figcaption { padding: 14px 16px 16px; }
.vcard strong { font-family: var(--display); font-size: 17px; letter-spacing: -0.01em; }
.dur { float: right; margin-left: 10px; padding: 1px 8px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--muted); font-size: 12.5px; }
.vcard figcaption p { margin-top: 6px; color: var(--muted); font-size: 14px; }
#ar .cta-row { margin-top: 28px; }

/* Form */
.form { margin-top: 40px; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line-2); border-radius: 24px; background: var(--surface); display: grid; gap: 18px; }
.choice { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice legend { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.choice label { cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 14px; transition: border-color .15s ease, background .15s ease; }
.choice em { font-style: normal; color: var(--muted); font-size: 14px; }
.choice input:checked + span { border-color: var(--green); background: rgba(34,214,126,.08); }
.choice input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .row, .choice { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; font-size: 14px; color: #cad6cf; }
.field em { font-style: normal; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line-2);
  background: #0a0f0d; color: var(--text); font: 15px var(--body);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(34,214,126,.18); }
.field input[aria-invalid="true"] { border-color: #ff6b6b; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { margin-top: 4px; accent-color: var(--green); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; font-size: 14px; text-align: center; }
.form-status.error { color: #ff8a8a; }
.thanks { margin-top: 40px; padding: 48px 28px; text-align: center; border: 1px solid rgba(34,214,126,.45); border-radius: 24px; background: radial-gradient(100% 90% at 50% 0%, rgba(34,214,126,.12), transparent 70%), var(--surface); }
.thanks h3 { font-size: 30px; }
.thanks p { margin-top: 12px; color: var(--muted); }

/* FAQ */
.faq { margin-top: 40px; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 22px; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

.footer { border-top: 1px solid var(--line); padding: 30px 0; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer .fine { margin: 0; }

/* Phones: tighter sections, and the feature cards become a compact list (icon beside the text). */
@media (max-width: 620px) {
  .section { padding: 56px 0; }
  .section-lede { margin-top: 14px; font-size: 16.5px; }
  .grid { margin-top: 28px; gap: 10px; }
  .features .card { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 16px; }
  .features .card:hover { transform: none; }
  .features .ic { width: 40px; height: 40px; padding: 9px; grid-row: span 2; }
  .features .card h3 { margin: 0 0 4px; font-size: 17px; }
  .features .card p { font-size: 14.5px; }
  .band-copy { padding: 36px 20px 44px; }
  .band-copy > p { font-size: 16px; }
  .specs div { grid-template-columns: 96px 1fr; gap: 12px; padding: 11px 0; }
  .path li { padding: 12px; }
  .form { padding: 20px; gap: 14px; }
  .faq summary { padding: 16px 18px; }
  .faq details p { padding: 0 18px 18px; }
  .footer-row { justify-content: center; text-align: center; }
  .field input, .field select, .field textarea { font-size: 16px; }   /* 16 px+: iPhones don't zoom the page on focus */
}
