/* Check AI — site styles.
   Color carries meaning: cyan (--signal) marks what stays on the LEO device; amber (--opt) marks the one
   thing that can leave it (an optional larger hosted model). Indigo is the brand (from the wordmark). */

:root {
  --ink: #16204a;        /* text, the LEO "box" */
  --ink-2: #26326b;
  --indigo: #4656c8;     /* brand wordmark, primary actions */
  --indigo-deep: #3443ad;
  --signal: #07c3ee;     /* on-device */
  --signal-soft: #d8f5fd;
  --azure: #1f7bea;
  --opt: #d9912b;        /* optional hosted model */
  --opt-soft: #fbefd9;
  --mist: #f2f5fa;       /* page */
  --paper: #ffffff;
  --line: #d9e0ec;
  --muted: #56617c;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 28px;       /* the box only */
  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", system-ui, sans-serif;
  --measure: 62ch;
  --gutter: clamp(16px, 4vw, 40px);
  --page: 1180px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--indigo-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--display);
  color: var(--ink);
  margin: 0;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(38px, 5vw, 62px); line-height: 1.04; font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; max-width: var(--measure); }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); }
.muted { color: var(--muted); }
.small { font-size: 15px; }

.wrap { width: min(var(--page), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 760px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--paper); padding: 8px 12px; }

/* ---- header ------------------------------------------------------------------------------------ */

.site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--mist) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img.mark { width: 44px; height: auto; }
.brand img.word { height: 17px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--indigo-deep); }
.nav .btn { color: var(--paper); }
@media (max-width: 760px) {
  .nav a:not(.btn) { display: none; }
  .brand img.word { height: 14px; }
}

/* ---- buttons ----------------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border-radius: var(--radius-s); border: 1.5px solid var(--indigo);
  background: var(--indigo); color: var(--paper);
  font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--indigo-deep); border-color: var(--indigo-deep); color: var(--paper); }
.btn.ghost { background: transparent; color: var(--indigo-deep); }
.btn.ghost:hover { background: color-mix(in srgb, var(--indigo) 8%, transparent); color: var(--ink); }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- hero + the box ---------------------------------------------------------------------------- */

.hero { padding-block: clamp(48px, 8vw, 104px) clamp(64px, 9vw, 120px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero-copy { display: grid; gap: 26px; }
@media (max-width: 940px) { .hero .wrap { grid-template-columns: 1fr; } }

/* The box: a LEO machine seen from the front. Everything inside it stays on the device. */
.box {
  margin: 0;
  position: relative;
  background: linear-gradient(170deg, var(--ink-2), var(--ink) 55%);
  color: #e8ecff;
  border-radius: var(--radius-l);
  padding: 30px clamp(20px, 3vw, 32px) 24px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), 0 30px 60px -30px rgb(22 32 74 / 0.55);
}
.box::after { /* the machine's foot: sits on the desk */
  content: ""; position: absolute; left: 12%; right: 12%; bottom: -10px; height: 10px;
  background: #0f1638; border-radius: 0 0 14px 14px; opacity: 0.55;
}
.box-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.box-name { font: 600 14px/1 var(--body); color: #aeb8e8; }
.led { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #aeb8e8; }
.led::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--signal); box-shadow: 0 0 0 4px rgb(7 195 238 / 0.18), 0 0 14px var(--signal);
}

.exchange { display: grid; gap: 14px; min-height: 250px; align-content: start; }
.exchange.compact { min-height: 150px; }  /* reserves the typed answer's space: no layout shift */
.turn { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: baseline; }
.turn .who { font: 600 13px/1.4 var(--body); color: #8f9bd6; }
.turn .said { font-size: 17px; line-height: 1.5; color: #f1f4ff; }
.turn.leo .who { color: var(--signal); }
.turn.leo .said { color: #ffffff; }
.turn .said .confirm { color: var(--signal); }

.box-meter {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-top: 24px; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / 0.1);
}
.meter { display: grid; gap: 2px; }
.meter b { font: 700 24px/1.1 var(--display); color: #fff; letter-spacing: -0.01em; }
.meter span { font-size: 13px; color: #aeb8e8; }
.meter.zero b { color: var(--signal); }

/* one orchestrated moment: the exchange writes itself once */
.js .turn[data-step] { opacity: 0; transform: translateY(4px); }
.js .turn.shown { opacity: 1; transform: none; transition: opacity 0.35s ease, transform 0.35s ease; }
.caret { display: inline-block; width: 2px; height: 1.05em; background: var(--signal); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .js .turn[data-step] { opacity: 1; transform: none; }
  .caret { display: none; }
}

/* ---- a day with LEO (a real sequence: times) ---------------------------------------------------- */

.day { display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: 8px; }
.day li { list-style: none; position: relative; padding: 0 0 34px 34px; display: grid; grid-template-columns: 96px 1fr; gap: 20px; }
.day li:last-child { padding-bottom: 0; }
.day li::before {
  content: ""; position: absolute; left: -8px; top: 7px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--signal);
}
.day time { font: 700 20px/1.3 var(--display); color: var(--indigo-deep); font-variant-numeric: tabular-nums; }
.day h3 { font-size: 20px; margin-bottom: 4px; }
.day ol { padding: 0; margin: 0; }
@media (max-width: 640px) { .day li { grid-template-columns: 1fr; gap: 4px; } }

/* ---- ownership comparison ---------------------------------------------------------------------- */

.own { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .own { grid-template-columns: 1fr; } }
.compare { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius-m); overflow: hidden; box-shadow: 0 1px 0 var(--line); }
.compare th, .compare td { text-align: left; padding: 16px 18px; vertical-align: top; font-size: 15.5px; border-bottom: 1px solid var(--line); }
.compare thead th { font: 600 15px/1.3 var(--body); color: var(--muted); background: var(--mist); }
.compare thead th.leo { color: var(--ink); }
.compare tbody th { font-weight: 600; width: 34%; }
.compare td.leo { background: color-mix(in srgb, var(--signal-soft) 55%, var(--paper)); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

/* ---- machines lineup ----------------------------------------------------------------------------- */

.lineup { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); align-items: end; }
.desk { height: 2px; background: var(--ink); opacity: 0.8; margin: 0 -8px 32px; border-radius: 2px; }
.machine-art { display: flex; justify-content: center; align-items: flex-end; height: 230px; }
.machine-art svg { width: auto; height: 100%; overflow: visible; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.tier { display: flex; flex-direction: column; gap: 14px; }
.tier .price { margin-top: auto; padding-top: 6px; }  /* prices + buttons line up across tiers */
.tier .for { color: var(--muted); }
.tier ul { margin: 4px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15.5px; }
.tier .price { font: 600 18px/1.3 var(--display); color: var(--ink); }
.tier .price .tbd {
  border-bottom: 2px dashed var(--opt); color: var(--opt); padding: 0 2px;
}
.tier.featured .tier-name::after {
  content: "Recommended for executives"; display: inline-block; margin-left: 10px; vertical-align: 3px;
  font: 600 12px/1 var(--body); color: var(--indigo-deep); background: color-mix(in srgb, var(--indigo) 12%, transparent);
  padding: 5px 8px; border-radius: 999px;
}
@media (max-width: 900px) {
  .lineup, .tiers { grid-template-columns: 1fr; }
  .lineup { display: none; }
  .tier { padding-top: 8px; border-top: 2px solid var(--ink); }
  .tier .machine-art { height: 110px; justify-content: flex-start; }
}
.tier .machine-art { display: none; }
@media (max-width: 900px) { .tier .machine-art { display: flex; } }
.included { margin-top: clamp(36px, 5vw, 52px); padding: 22px 24px; background: var(--paper); border-radius: var(--radius-m); display: grid; grid-template-columns: auto 1fr; gap: 12px 20px; align-items: start; }
.included h3 { font-size: 18px; }
.included p { font-size: 15.5px; }
@media (max-width: 640px) { .included { grid-template-columns: 1fr; } }

/* ---- two parts: device + cloud ---------------------------------------------------------------- */

.parts { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; }
@media (max-width: 860px) { .parts { grid-template-columns: 1fr; } }
.part { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-m); display: grid; gap: 14px; align-content: start; }
.part.device { background: var(--ink); color: #e8ecff; }
.part.device h3 { color: #fff; }
.part.device li::marker { color: var(--signal); }
.part.cloud { background: var(--paper); border: 1px solid var(--line); }
.part ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.part .kicker { font-size: 15px; color: var(--muted); }
.part.device .kicker { color: #aeb8e8; }

.bigger { margin-top: 20px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 22px 24px; border-radius: var(--radius-m); background: var(--opt-soft); }
.bigger .swatch { width: 14px; height: 14px; border-radius: 50%; background: var(--opt); margin-top: 6px; }

/* ---- FAQ ------------------------------------------------------------------------------------- */

.faq { display: grid; gap: 0; max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 600 19px/1.35 var(--display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--body); color: var(--indigo); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 10px; color: var(--ink-2); }

/* ---- reservation form ------------------------------------------------------------------------- */

.reserve { background: var(--ink); color: #e8ecff; }
.reserve h2 { color: #fff; }
.reserve .lede { color: #c6cdf0; }
.reserve .wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .reserve .wrap { grid-template-columns: 1fr; } }
.form { background: var(--paper); color: var(--ink); border-radius: var(--radius-m); padding: clamp(22px, 3vw, 34px); display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field > span, .field legend { font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea {
  font: 400 16px/1.4 var(--body); color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: var(--paper); width: 100%;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px color-mix(in srgb, var(--indigo) 22%, transparent); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 4px; }
@media (max-width: 560px) { .choices { grid-template-columns: 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice label {
  display: grid; gap: 2px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-s); cursor: pointer;
}
.choice label b { font-weight: 600; }
.choice label span { font-size: 14px; color: var(--muted); }
.choice input:checked + label { border-color: var(--indigo); background: color-mix(in srgb, var(--indigo) 7%, var(--paper)); }
.choice input:focus-visible + label { outline: 3px solid var(--signal); outline-offset: 2px; }
.form .fine { font-size: 14px; color: var(--muted); }
.hp { position: absolute; left: -5000px; }

/* ---- homepage extras -------------------------------------------------------------------------- */

.statement { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .statement { grid-template-columns: 1fr; } }
.statement .principles { display: grid; gap: 22px; }
.statement .principles h3 { font-size: 20px; margin-bottom: 4px; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.services > div { padding: 24px 24px 8px 0; display: grid; gap: 8px; align-content: start; }
.services > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
@media (max-width: 860px) {
  .services { grid-template-columns: 1fr; }
  .services > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}
.leo-strip { background: var(--paper); }
.leo-strip .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; }
@media (max-width: 760px) { .leo-strip .wrap { grid-template-columns: 1fr; } }
.contact-lines { display: grid; gap: 6px; margin-top: 8px; }

/* ---- footer ----------------------------------------------------------------------------------- */

.site-footer { padding-block: 40px 56px; border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.site-footer a:hover { color: var(--indigo-deep); }
.site-footer .legal { font-size: 14px; color: var(--muted); }

/* ---- legal pages (terms, privacy) ------------------------------------------------------------- */

.legal-page { max-width: 780px; padding-block: clamp(48px, 7vw, 96px); }
.legal-head { display: grid; gap: 12px; margin-bottom: clamp(28px, 4vw, 40px); }
.legal-head h1 { font-size: clamp(36px, 4.6vw, 54px); }
.legal-head .updated { font-size: 15px; color: var(--muted); }
.legal-page section { margin-top: clamp(36px, 5vw, 52px); scroll-margin-top: 84px; }
.legal-page section > * + * { margin-top: 12px; }
.legal-page h2 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 12px; }
.legal-page h3 { font-size: 19px; margin: 24px 0 8px; }
.legal-page p, .legal-page li { color: var(--ink-2); }
.legal-page ul, .legal-page ol { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 8px; max-width: var(--measure); }
.legal-page .contact-list { list-style: none; padding: 0; }
.legal-page .callout { margin-top: 16px; padding: 18px 22px; background: var(--paper); border-left: 4px solid var(--signal); border-radius: var(--radius-s); max-width: var(--measure); }
.legal-page .callout p { max-width: none; }
.toc { padding: 20px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); max-width: var(--measure); }
.toc ol { margin: 0; gap: 4px 24px; grid-template-columns: repeat(2, 1fr); }
.toc li { break-inside: avoid; font-size: 15px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
@media (max-width: 560px) { .toc ol { grid-template-columns: 1fr; } }

/* SMS consent on forms: unchecked by default, as carriers require. */
.consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 14px; color: var(--muted); line-height: 1.5; }
.consent input { margin: 4px 0 0; width: 18px; height: 18px; accent-color: var(--indigo); }
