/* Layout: one left-aligned column on a faint survey grid; the hero pairs the pitch with a live "field record" card. */
:root {
  --paper: #f5f7fb;
  --paper-2: #e9eef7;
  --ink: #111a33;         /* logo navy */
  --ink-2: #4b5468;
  --rule: #d3dae7;
  --flag: #2563eb;        /* logo royal blue, the accent */
  --flag-ink: #ffffff;
  --motion: #3b9cf0;      /* logo sky blue (swoosh) */
  --logo-deep: #1d3a9c;
  --logo-royal: #2759d6;
  --logo-sky: #5bb0f4;
  --card: #ffffff;
  --ok: #2f7d4f;
  --warn: #a8660d;
  --grid: rgba(17, 26, 51, 0.045);
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 2.2vw, 2.6rem);
  --step-4: clamp(2.3rem, 1.6rem + 3.6vw, 3.9rem);
  --radius: 6px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0b1222; --paper-2: #131c31; --ink: #e6ebf5; --ink-2: #9ea9be;
    --rule: #24304a; --flag: #5b8cff; --flag-ink: #08101f; --card: #111a2e; --motion: #6cc0ff;
    --logo-deep: #3557c9; --logo-royal: #4a78f0; --logo-sky: #6cc0ff;
    --ok: #5fc08a; --warn: #e3a54a; --grid: rgba(230, 235, 245, 0.04);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0b1222; --paper-2: #131c31; --ink: #e6ebf5; --ink-2: #9ea9be;
  --rule: #24304a; --flag: #5b8cff; --flag-ink: #08101f; --card: #111a2e; --motion: #6cc0ff;
  --logo-deep: #3557c9; --logo-royal: #4a78f0; --logo-sky: #6cc0ff;
  --ok: #5fc08a; --warn: #e3a54a; --grid: rgba(230, 235, 245, 0.04);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--flag); outline-offset: 3px; border-radius: 2px; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-stretch: 112%;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); font-weight: 750; }
h3 { font-size: var(--step-1); font-weight: 700; font-stretch: 105%; }
p { margin: 0; }
.lede { font-size: var(--step-1); color: var(--ink-2); max-width: 40ch; }
.tagline { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.tagline .dot { color: var(--flag); margin: 0 0.25em; }
.subline { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); margin-top: -6px; }
.subline::before, .subline::after { content: ""; height: 1px; width: 28px; background: var(--rule); }
.subline::before { display: none; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* Header */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-stretch: 100%; font-size: 1.35rem; }
.brand-mark { width: 40px; height: 34px; flex: none; overflow: visible; }
.lg-back { fill: var(--logo-deep); }
.lg-sheet { fill: var(--logo-sky); }
.lg-front { fill: var(--logo-royal); }
.lg-check { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lg-swoosh { fill: none; stroke: var(--logo-sky); stroke-width: 2.4; stroke-linecap: round; }
.lg-spark { fill: var(--logo-royal); }
.wordmark { color: var(--ink); letter-spacing: -0.01em; }
.wm-ai { color: var(--flag); }
.nav { display: flex; gap: 22px; align-items: center; font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.nav .nav-link { display: none; }
@media (min-width: 760px) { .nav .nav-link { display: inline; } }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 600; font-size: 0.98rem;
  text-decoration: none;
  border: 1.5px solid var(--ink);
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn-primary { background: var(--flag); border-color: var(--flag); color: var(--flag-ink); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--paper-2); }
.btn-sm { padding: 8px 14px; font-size: 0.9rem; }

/* Hero */
.hero { padding-block: clamp(48px, 8vw, 96px) clamp(40px, 6vw, 72px); }
.hero .wrap { display: grid; gap: clamp(32px, 5vw, 56px); align-items: center; }
@media (min-width: 940px) { .hero .wrap { grid-template-columns: 1.05fr 1fr; } }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-copy h1 .flag { color: var(--flag); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Field record card */
.record {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 10px;
  box-shadow: 0 1px 0 var(--rule), 0 18px 40px -24px rgba(19, 34, 47, 0.35);
  overflow: hidden;
  min-width: 0;
}
.record-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-2);
}
.tag {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; border: 1px solid var(--rule); color: var(--ink-2);
  white-space: nowrap;
}
.record-body { display: grid; }
.record-say { padding: 16px; background: var(--paper-2); border-bottom: 1px dashed var(--rule); }
.record-say .label, .record-out .label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px; }
.record-say blockquote { margin: 0; font-style: italic; color: var(--ink); }
.record-out { padding: 16px; }
.fields { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: 0.95rem; }
.fields dt { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-2); padding-top: 2px; }
.fields dd { margin: 0; font-variant-numeric: tabular-nums; min-width: 0; }
.fields .flagged { color: var(--warn); font-weight: 600; }
.record-foot {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  padding: 12px 16px; border-top: 1px solid var(--rule);
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-2);
}
.dest { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 4px; background: var(--paper-2); color: var(--ink); }
.dest::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }

/* Sections */
section { padding-block: clamp(56px, 8vw, 96px); }
.band { background: var(--card); border-block: 1px solid var(--rule); }
.section-head { display: grid; gap: 14px; max-width: 46rem; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { color: var(--ink-2); font-size: var(--step-1); }

.problems { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.problems li { list-style: none; display: grid; grid-template-columns: 2.2rem 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.problems li::before { content: "×"; font-family: var(--font-mono); color: var(--flag); font-size: 1.2rem; line-height: 1.4; }
.problems { padding: 0; margin: 0; }
.problems strong { display: block; font-weight: 600; }
.problems span { color: var(--ink-2); }

.steps { display: grid; gap: 20px; padding: 0; margin: 0; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  list-style: none; display: grid; gap: 10px; align-content: start;
  padding: 22px; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper);
  counter-increment: step; min-width: 0;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 0.85rem; color: var(--flag); font-weight: 600;
}
.steps p { color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.chip { font-family: var(--font-mono); font-size: 0.74rem; padding: 3px 8px; border-radius: 4px; border: 1px solid var(--rule); color: var(--ink-2); }

.trades { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; }
@media (min-width: 640px) { .trades { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .trades { grid-template-columns: repeat(3, 1fr); } }
.trade { background: var(--card); padding: 22px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.trade p { color: var(--ink-2); font-size: 0.97rem; }

.outcomes { display: grid; gap: 14px 40px; padding: 0; margin: 0; }
@media (min-width: 820px) { .outcomes { grid-template-columns: repeat(2, 1fr); } }
.outcomes li { list-style: none; display: grid; grid-template-columns: 1.4rem 1fr; gap: 10px; }
.outcomes li::before { content: "✓"; color: var(--ok); font-weight: 700; }
.outcomes strong { font-weight: 600; }
.outcomes span { color: var(--ink-2); }

.systems { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.system { padding: 10px 14px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--card); font-size: 0.95rem; }
.system small { display: block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }

.origin { display: grid; gap: 18px; max-width: 46rem; }
.origin p { color: var(--ink-2); font-size: var(--step-1); }

.pilot { background: var(--ink); color: var(--paper); }
.pilot .wrap { display: grid; gap: 28px; }
@media (min-width: 900px) { .pilot .wrap { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.pilot h2 { color: var(--paper); }
.pilot p { color: color-mix(in srgb, var(--paper) 78%, var(--ink)); font-size: var(--step-1); max-width: 40ch; }
.pilot-box { display: grid; gap: 14px; padding: 22px; border: 1px solid color-mix(in srgb, var(--paper) 25%, var(--ink)); border-radius: 10px; min-width: 0; }
.pilot-box .eyebrow { color: color-mix(in srgb, var(--paper) 70%, var(--ink)); }
.pilot-box ul { margin: 0; padding-left: 1.1rem; color: color-mix(in srgb, var(--paper) 85%, var(--ink)); }
.email { font-family: var(--font-mono); font-size: 1rem; user-select: all; word-break: break-all; color: var(--paper); }

.site-footer { padding-block: 28px; border-top: 1px solid var(--rule); font-size: 0.88rem; color: var(--ink-2); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); }
.foot-mark { width: 28px; height: 24px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--paper); }

/* Hands-free capture: dark navy band */
.wear { background: #0e1730; color: #e6ebf5; }
.wear .section-head h2 { color: #fff; }
.wear .section-head p, .wear .eyebrow { color: #a9b5cc; }
.wear .label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: #8fb4ff; margin: 0 0 12px; }
.wear-flow { display: grid; gap: 14px; align-items: stretch; }
@media (min-width: 900px) { .wear-flow { grid-template-columns: 1fr 34px 1.15fr 34px 1fr; } }
.wear-col { padding: 22px; border: 1px solid #263456; border-radius: 12px; background: #131f3d; min-width: 0; }
.wear-core { border-color: #3b6ff0; background: linear-gradient(160deg, #18295a, #131f3d 70%); }
.wear-core p:last-child { color: #c3cde0; }
.core-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; margin-bottom: 12px; }
.wear .wordmark { color: #fff; }
.wear .wm-ai { color: #6c9bff; }
.wear-mark { --logo-deep: #3557c9; --logo-royal: #4a78f0; --logo-sky: #6cc0ff; }
.wear-arrow { position: relative; min-height: 26px; }
.wear-arrow::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 8px; width: 2px; transform: translateX(-50%); background: linear-gradient(#3b9cf0, #2563eb); }
.wear-arrow::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 10px; height: 10px; border-right: 2px solid #2563eb; border-bottom: 2px solid #2563eb; transform: translate(-50%, -2px) rotate(45deg); }
@media (min-width: 900px) {
  .wear-arrow::before { left: 0; right: 8px; top: 50%; bottom: auto; width: auto; height: 2px; transform: translateY(-50%); background: linear-gradient(90deg, #3b9cf0, #2563eb); }
  .wear-arrow::after { left: auto; right: 2px; top: 50%; bottom: auto; transform: translateY(-50%) rotate(-45deg); }
}
.devices, .outs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.devices li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.dev-ico { width: 34px; height: 34px; flex: none; padding: 5px; border-radius: 8px; background: #1b2a52; fill: none; stroke: #cfe0ff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dev-ico .lens { fill: #6cc0ff; stroke: none; }
.wear-note { margin-top: 14px; font-size: 0.92rem; color: #a9b5cc; }
.outs li { display: flex; gap: 10px; align-items: baseline; }
.outs li::before { content: "✓"; color: #6cc0ff; font-weight: 700; }
.said { margin-top: 28px; }
.said-list { display: grid; gap: 10px; margin: 0; }
@media (min-width: 900px) { .said-list { grid-template-columns: repeat(3, 1fr); } }
.said-list > div { padding: 16px 18px; border-radius: 10px; background: #131f3d; border: 1px solid #263456; display: grid; gap: 8px; }
.said-list dt { font-style: italic; color: #fff; }
.said-list dd { margin: 0; font-family: var(--font-mono); font-size: 0.82rem; color: #8fb4ff; }
.wear-fine { margin-top: 22px; font-size: 0.88rem; color: #8d99b1; }
.storyboards { display: grid; gap: 16px; max-width: 920px; margin-bottom: 32px; }
@media (min-width: 720px) { .storyboards { grid-template-columns: 1fr 1fr; } }
.story { margin: 0; border: 1px solid #263456; border-radius: 12px; overflow: hidden; background: #131f3d; min-width: 0; }
.story-vid { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: #0b1222; }
.story figcaption { padding: 14px 16px; font-size: 0.95rem; color: #c3cde0; }
.story figcaption strong { color: #fff; }

/* Investor contact prompt (home) and investors page */
.inv-cta { padding-block: clamp(40px, 6vw, 64px); background: var(--paper-2); border-top: 1px solid var(--rule); }
.inv-cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.inv-cta h2 { font-size: var(--step-2); margin: 6px 0 8px; }
.inv-cta p:not(.eyebrow) { color: var(--ink-2); max-width: 46ch; }
.inv-hero { padding-block: clamp(48px, 8vw, 96px) clamp(32px, 5vw, 56px); }
.inv-hero .wrap { display: grid; gap: 18px; }
.inv-hero .wrap > * { max-width: 46rem; }
.inv-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .inv-grid { grid-template-columns: repeat(3, 1fr); } }
.inv-card { display: grid; gap: 12px; align-content: start; padding: 24px; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); min-width: 0; }
.inv-card h2 { font-size: var(--step-2); }
.inv-card p:not(.eyebrow) { color: var(--ink-2); }
.inv-form-wrap > * { max-width: 860px; }
.inv-form { display: grid; gap: 16px; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--rule); border-radius: 12px; background: var(--card); }
@media (min-width: 640px) { .inv-form { grid-template-columns: 1fr 1fr; } .field-wide { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field .opt { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; padding: 10px 12px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--flag); outline-offset: 1px; border-color: var(--flag); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.form-actions .btn { cursor: pointer; font: inherit; font-weight: 600; }
.form-alt { font-size: 0.92rem; color: var(--ink-2); }
.form-error { grid-column: 1 / -1; margin: 0; color: #c0392b; font-weight: 600; }
/* Pilot form sits as a light card on the dark pilot band. */
.pilot .pilot-note { font-size: 1rem; margin-top: 12px; }
.pilot .inv-form { color: var(--ink); }
.pilot .inv-form .form-error { color: #c0392b; font-size: 1rem; max-width: none; }
@media (min-width: 640px) and (max-width: 1099px) { .pilot .inv-form { grid-template-columns: 1fr 1fr; } }
#contact { border-top: 1px solid var(--rule); }
/* Spam trap field: off screen for people, still in the form for bots. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.inv-form { position: relative; }
.form-actions .btn:disabled { opacity: .7; cursor: progress; }
.thanks { min-height: 60vh; display: grid; align-content: center; }
.thanks h1 { font-size: var(--step-3, 2.4rem); margin: 8px 0 12px; }
.thanks p:not(.eyebrow) { color: var(--ink-2); max-width: 46ch; font-size: var(--step-1); }
.thanks .btn { margin-top: 20px; justify-self: start; }
.legal { margin-top: 18px; font-size: 0.85rem; color: var(--ink-2); }

