/* RFID-JET marketing site
   Layout: clean white pages with soft grey bands, deep navy for emphasis, one brand blue.
   One sans family throughout: San Francisco on Apple devices, Inter everywhere else.
   Bold, tightly tracked headlines; generous space; pill buttons. Responsive from 320px up. */

/* FONTS-START */
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
/* FONTS-END */

:root {
  --paper: #FFFFFF;
  --surface: #FFFFFF;
  --ink: #1D1D1F;
  --ink-2: #424245;
  --mute: #6E6E73;
  --line: #D2D2D7;
  --line-soft: #E8E8ED;
  --navy: #142445;         /* brand navy */
  --navy-2: #1B2F57;
  --on-navy: #E9EEF7;
  --on-navy-mute: #A3B2CD;
  --blue: #1D4ED8;         /* brand blue, the one accent */
  --blue-ink: #1A44C2;
  --grey: #F5F5F7;          /* alternate band */
  --blue-light: #93B1FF;
  --blue-wash: #EBF0FD;
  --flag: #A8262E;         /* semantic: needs review */
  --flag-wash: #FBEDEE;

  --f-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --f-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --f-mono: ui-monospace, "SF Mono", "IBM Plex Mono", Menlo, Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(72px, 10vw, 136px);
  --radius: 12px;
  --pill: 980px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--blue); color: #fff; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 12px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
.display, h1 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
h3 {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
p { margin: 0; }
.lead { font-size: clamp(1.12rem, 1.6vw, 1.32rem); line-height: 1.5; color: var(--mute); max-width: 36em; letter-spacing: -0.016em; }
.small { font-size: 0.9rem; color: var(--mute); }
.mono { font-family: var(--f-mono); font-size: 0.82em; letter-spacing: 0; }
.prose { max-width: 38em; display: grid; gap: 1.1em; color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }

/* ---------- Buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 24px;
  font: 500 1rem/1 var(--f-body);
  letter-spacing: -0.01em;
  border-radius: var(--pill);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  cursor: pointer;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-ink); color: #fff; }
.btn-quiet { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-quiet:hover { background: var(--blue); color: #fff; }
.band-navy .btn-primary { background: #fff; color: var(--navy); }
.band-navy .btn-primary:hover { background: var(--blue-light); color: var(--navy); }
.band-navy .btn-quiet { border-color: rgba(255,255,255,.28); color: var(--on-navy); }
.band-navy .btn-quiet:hover { border-color: #fff; color: #fff; }
.textlink { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 32px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-mark { font: 700 1.2rem/1 var(--f-display); letter-spacing: -0.02em; }
.brand-mark span { color: var(--blue); }
.brand img { height: 30px; width: auto; }
.brand-by { font-size: 0.78rem; color: var(--mute); padding-left: 12px; border-left: 1px solid var(--line); line-height: 1.6; }
@media (max-width: 400px) { .brand-by { display: none; } }
/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(48px, 7vw, 88px); }
.band-white { background: var(--grey); }
.band-navy { background: var(--navy); color: var(--on-navy); }
.band-navy .lead, .band-navy .prose { color: var(--on-navy-mute); }
.band-navy .small { color: var(--on-navy-mute); }
.band-navy a:not(.btn) { color: var(--blue-light); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.head { display: grid; gap: 20px; max-width: 46rem; margin-bottom: clamp(40px, 6vw, 72px); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split > * { min-width: 0; }
.split-even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split-form { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
@media (max-width: 880px) { .split, .split-even, .split-form { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding-block: clamp(64px, 10vw, 136px) clamp(56px, 8vw, 112px);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(29,78,216,.38) 0%, rgba(29,78,216,0) 55%),
    linear-gradient(180deg, #0F1D3A 0%, var(--navy) 100%);
  color: #fff;
}
.page-hero .lead { color: var(--on-navy-mute); }
.page-hero .display { font-size: clamp(2.4rem, 5.6vw, 4.5rem); max-width: 14em; }
.page-hero .lead { margin-top: 28px; }
.crumb { font-size: 0.9rem; color: var(--mute); margin-bottom: 24px; }

/* ---------- Home hero ---------- */
.hero { padding-block: clamp(56px, 9vw, 120px) clamp(56px, 8vw, 104px); text-align: center; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); max-width: 11em; margin-inline: auto; letter-spacing: -0.04em; }
.hero .lead { margin: 24px auto 0; max-width: 34em; }
.hero .btns { margin-top: 36px; justify-content: center; }
.hero .gatelog { margin: clamp(48px, 7vw, 80px) auto 0; max-width: 820px; text-align: left; }

/* Gate log: the one moving element on the site */
.gatelog {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 2px 6px rgba(0,0,0,.04), 0 24px 60px -24px rgba(20,36,69,.22);
  overflow: hidden;
}
.gatelog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); }
.gatelog-title { font-weight: 600; font-size: 0.95rem; }
.gatelog-live { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--mute); }
.gatelog-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(29,78,216,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(29,78,216,.45);} 70% { box-shadow: 0 0 0 9px rgba(29,78,216,0);} 100% { box-shadow: 0 0 0 0 rgba(29,78,216,0);} }
.gatelog ol { list-style: none; margin: 0; padding: 0; }
.gl-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); }
.gl-row:last-child { border-bottom: 0; }
.gl-time { font-family: var(--f-mono); font-size: 0.78rem; color: var(--mute); padding-top: 3px; }
.gl-slab { font-weight: 500; font-size: 0.98rem; line-height: 1.35; }
.gl-meta { grid-column: 2; font-family: var(--f-mono); font-size: 0.74rem; color: var(--mute); overflow-wrap: anywhere; }
.gl-status { grid-column: 2; margin-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--blue-ink); }
.gl-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.gl-row.is-flag { background: var(--flag-wash); }
.gl-row.is-flag .gl-status { color: var(--flag); font-weight: 500; }
.gl-row.is-new { animation: rowin .6s ease both; }
@keyframes rowin { from { background: var(--blue-wash); } to { background: transparent; } }
.gl-row.is-flag.is-new { animation: none; }
.gatelog-foot { padding: 12px 20px; font-size: 0.8rem; color: var(--mute); border-top: 1px solid var(--line-soft); background: var(--paper); }
@media (prefers-reduced-motion: reduce) { .gatelog-live i, .gl-row.is-new { animation: none; } }

/* Full-bleed photograph */
.photo { position: relative; margin: 0; }
.photo img { width: 100%; height: clamp(320px, 52vw, 680px); object-fit: cover; }
.photo figcaption { padding-top: 14px; font-size: 0.88rem; color: var(--mute); }
.photo-wrap figcaption { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); max-width: calc(var(--wrap) + 2*var(--gutter)); margin-inline: auto; }

/* Proof strip */
.proof { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 64px; align-items: center; }
.proof p { max-width: 24em; color: var(--ink-2); }
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 48px; }
.logos img { height: 30px; width: auto; filter: grayscale(1) contrast(1.1); opacity: .78; mix-blend-mode: multiply; }
.logos img.tall { height: 40px; }
.logos-label { font-size: 0.82rem; color: var(--mute); width: 100%; }
@media (max-width: 880px) { .proof { grid-template-columns: minmax(0, 1fr); } .logos { gap: 24px 36px; } .logos img { height: 26px; } }

/* Problem trio */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.trio > div { padding: 28px 32px 8px 0; display: grid; gap: 12px; align-content: start; }
.trio > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.trio h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.025em; }
.trio p { color: var(--ink-2); }
@media (max-width: 880px) {
  .trio { grid-template-columns: minmax(0, 1fr); }
  .trio > div, .trio > div + div { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* Capability list */
.caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 72px); }
.cap { padding: 28px 0; border-top: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.cap p { color: var(--ink-2); }
.cap a { justify-self: start; margin-top: 4px; }
@media (max-width: 720px) { .caps { grid-template-columns: minmax(0, 1fr); } }

/* Big statement band */
.statement { max-width: 18em; }
.statement-body { margin-top: 32px; }

/* Facts row (used sparingly, only for true facts) */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: clamp(40px, 6vw, 72px); }
.fact { border-top: 1px solid rgba(255,255,255,.2); padding-top: 18px; display: grid; gap: 6px; }
.fact strong { font-weight: 500; font-size: 1.05rem; color: #fff; }
.fact span { color: var(--on-navy-mute); font-size: 0.95rem; }
@media (max-width: 760px) { .facts { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* Module sections (platform) */
.module { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); padding-block: clamp(56px, 8vw, 104px); border-top: 1px solid var(--line); align-items: start; }
.module > * { min-width: 0; }
.module:first-of-type { border-top: 0; }
.module-copy { display: grid; gap: 18px; position: sticky; top: 110px; }
.module-copy h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.module-copy p { color: var(--ink-2); }
.ticks { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 22px; position: relative; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 1px; background: var(--blue); }
@media (max-width: 880px) { .module { grid-template-columns: minmax(0, 1fr); } .module-copy { position: static; } }

/* Panels: product illustrations built in HTML */
.panel { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 18px; overflow: hidden; box-shadow: 0 2px 6px rgba(0,0,0,.03); }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); }
.panel-head strong { font-weight: 600; font-size: 0.95rem; }
.panel-head span { font-size: 0.8rem; color: var(--mute); }
.panel-note { padding: 12px 20px; font-size: 0.8rem; color: var(--mute); background: var(--paper); border-top: 1px solid var(--line-soft); }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line-soft); }
.kpi { padding: 18px 20px; display: grid; gap: 4px; }
.kpi + .kpi { border-left: 1px solid var(--line-soft); }
.kpi span { font-size: 0.78rem; color: var(--mute); }
.kpi b { font-weight: 500; font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.kpi b.flag { color: var(--flag); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 520px; }
table.data th { text-align: left; font-weight: 500; font-size: 0.76rem; color: var(--mute); padding: 12px 20px; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
table.data td { padding: 13px 20px; border-bottom: 1px solid var(--line-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
table.data tr:last-child td { border-bottom: 0; }
table.data td.num, table.data th.num { text-align: right; }
.chip { display: inline-block; padding: 3px 10px; border-radius: var(--pill); font-size: 0.78rem; font-weight: 500; background: var(--blue-wash); color: var(--blue-ink); }
.chip.flag { background: var(--flag-wash); color: var(--flag); }
.chip.quiet { background: var(--paper); color: var(--mute); }
@media (max-width: 520px) { .kpis { grid-template-columns: minmax(0, 1fr); } .kpi + .kpi { border-left: 0; border-top: 1px solid var(--line-soft); } }

/* Gate diagram */
.gate-svg { width: 100%; height: auto; display: block; }

/* Video */
.video { background: var(--navy); border-radius: 18px; overflow: hidden; }
.video video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.video p { padding: 14px 20px; color: var(--on-navy-mute); font-size: 0.85rem; }

/* Roadmap */
.roadmap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.roadmap > div { border-top: 1px solid rgba(255,255,255,.2); padding-top: 20px; display: grid; gap: 8px; align-content: start; }
.roadmap h3 { color: #fff; }
.roadmap p { color: var(--on-navy-mute); }
@media (max-width: 820px) { .roadmap { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* Steps (a real sequence, so numbered) */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr); gap: 16px clamp(24px, 4vw, 64px); padding: 40px 0; border-top: 1px solid var(--line); counter-increment: step; }
.step::before { content: counter(step); font-family: var(--f-display); font-weight: 600; font-size: 2.6rem; line-height: 1; letter-spacing: -0.04em; color: var(--blue); }
.step h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.15; letter-spacing: -0.025em; }
.step p { color: var(--ink-2); }
.step .small { grid-column: 3; }
@media (max-width: 880px) {
  .step { grid-template-columns: 56px minmax(0, 1fr); padding: 32px 0; }
  .step::before { font-size: 2.4rem; grid-row: span 2; }
  .step p, .step .small { grid-column: 2; }
}

/* Two-column checklists */
.lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.lists h3 { margin-bottom: 16px; }
@media (max-width: 760px) { .lists { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

/* Case study */
.case { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); }
.case > * { min-width: 0; }
.case-side { display: grid; gap: 22px; align-content: start; }
.case-side img { height: 34px; width: auto; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; }
.case-side dl { margin: 0; display: grid; gap: 14px; }
.case-side dt { font-size: 0.8rem; color: var(--mute); }
.case-side dd { margin: 2px 0 0; }
.case-body { display: grid; gap: 36px; }
.case-body h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.case-body p { color: var(--ink-2); max-width: 38em; }
@media (max-width: 880px) { .case { grid-template-columns: minmax(0, 1fr); } }

/* Industries */
.inds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.ind { display: grid; gap: 14px; align-content: start; }
.ind img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.ind p { color: var(--ink-2); }
@media (max-width: 880px) { .inds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .inds { grid-template-columns: minmax(0, 1fr); } }

/* People */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 64px); }
.person { border-top: 1px solid var(--line); padding-top: 24px; display: grid; gap: 10px; align-content: start; }
.person h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.6rem; letter-spacing: -0.025em; }
.person .role { color: var(--blue-ink); font-weight: 500; font-size: 0.95rem; }
.person p { color: var(--ink-2); }
@media (max-width: 720px) { .people { grid-template-columns: minmax(0, 1fr); } }

/* Definition rows (company facts, trust) */
.rows { display: grid; }
.row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 12px clamp(24px, 5vw, 80px); padding: 28px 0; border-top: 1px solid var(--line); }
.row h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.2; letter-spacing: -0.02em; }
.row p { color: var(--ink-2); max-width: 38em; }
.row > div { display: grid; gap: 12px; }
@media (max-width: 760px) { .row { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; font-weight: 500; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex-shrink: 0; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: rotate(45deg) translateY(-3px); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details > div { padding: 0 0 24px; color: var(--ink-2); max-width: 44em; display: grid; gap: 12px; }

/* Contact form */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 0.9rem; font-weight: 500; color: var(--ink); }
.field .opt { color: var(--mute); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 1rem/1.4 var(--f-body); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-wash); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--flag); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choice { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.choice label { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; font-weight: 400; }
.field .choice input { accent-color: var(--blue); width: 18px; height: 18px; min-height: 0; margin: 0; padding: 0; border: 0; box-shadow: none; -webkit-appearance: auto; appearance: auto; flex-shrink: 0; }
.choice label:has(input:checked) { border-color: var(--blue); background: var(--blue-wash); }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.form-msg { grid-column: 1 / -1; padding: 16px 18px; border-radius: var(--radius); font-size: 0.95rem; }
.form-msg.ok { background: var(--blue-wash); color: var(--blue-ink); }
.form-msg.err { background: var(--flag-wash); color: var(--flag); }
.hp { position: absolute; left: -5000px; }
@media (max-width: 640px) { .form { grid-template-columns: minmax(0, 1fr); } .form-actions .btn { width: 100%; } }

.contact-side { display: grid; gap: 28px; align-content: start; }
.contact-side h3 { margin-bottom: 4px; }
.contact-side p { color: var(--ink-2); }
.contact-side .big { font-size: 1.15rem; color: var(--ink); overflow-wrap: anywhere; }

/* CTA band */
.cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end; }
.cta h2 { max-width: 14em; }
.cta p { margin-top: 20px; }
@media (max-width: 820px) { .cta { grid-template-columns: minmax(0, 1fr); align-items: start; } }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-navy-mute); padding-block: 72px calc(36px + env(safe-area-inset-bottom, 0px)); font-size: 0.93rem; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 40px; }
.foot-grid > * { min-width: 0; }
.foot-grid h4 { font: 500 0.88rem/1.2 var(--f-body); color: #fff; margin-bottom: 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-logo { height: 36px; width: auto; }
.foot-brand p { margin-top: 16px; max-width: 22em; }
.foot-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: 0.85rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* Small screens: type and spacing */
@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero .btns .btn, .page-hero .btns .btn { flex: 1 1 100%; }
}


/* ---------- v3: Oracle depth on Apple spacing ---------- */

/* Photo hero */
.hero-photo {
  position: relative;
  color: #fff;
  background: var(--navy);
  padding-block: clamp(96px, 13vw, 184px) clamp(150px, 16vw, 230px);
  isolation: isolate;
}
.hero-photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(12,22,44,.94) 0%, rgba(12,22,44,.82) 38%, rgba(12,22,44,.35) 72%, rgba(12,22,44,.15) 100%),
    linear-gradient(0deg, rgba(12,22,44,.55) 0%, rgba(12,22,44,0) 40%);
}
.hero-photo h1 { font-size: clamp(2.6rem, 6.6vw, 5.4rem); max-width: 10.5em; letter-spacing: -0.04em; }
.hero-photo .lead { color: rgba(255,255,255,.82); margin-top: 26px; max-width: 32em; }
.hero-photo .btns { margin-top: 36px; }
.hero-photo .btn-quiet { border-color: rgba(255,255,255,.55); color: #fff; }
.hero-photo .btn-quiet:hover { background: #fff; color: var(--navy); border-color: #fff; }
@media (max-width: 720px) {
  .hero-photo::before { background: linear-gradient(180deg, rgba(12,22,44,.72) 0%, rgba(12,22,44,.9) 100%); }
  .hero-photo .btns .btn { flex: 1 1 100%; }
}

/* Gate log lifted over the hero edge */
.lift { position: relative; z-index: 2; margin-top: clamp(-180px, -13vw, -96px); }
.lift .gatelog { max-width: 880px; margin-inline: auto; }
.lift-note { text-align: center; margin-top: 20px; }

/* Image tiles with captions on the photo */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.tile { position: relative; border-radius: 20px; overflow: hidden; min-height: clamp(300px, 34vw, 440px); display: flex; align-items: flex-end; color: #fff; text-decoration: none; isolation: isolate; background: var(--navy); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,22,44,0) 30%, rgba(12,22,44,.88) 100%); }
.tile-body { padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 8px; }
.tile h3 { font-size: 1.4rem; letter-spacing: -0.025em; color: #fff; }
.tile p { color: rgba(255,255,255,.8); font-size: 0.98rem; }
a.tile:hover { color: #fff; }
a.tile:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .tile img { transition: none; } }
@media (max-width: 880px) { .tiles { grid-template-columns: minmax(0, 1fr); } .tile { min-height: 300px; } }

/* Story band */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.story > * { min-width: 0; }
.story-card { background: var(--surface); border-radius: 24px; padding: clamp(28px, 4vw, 48px); display: grid; gap: 20px; box-shadow: 0 2px 6px rgba(0,0,0,.03); }
.story-card img { height: 34px; width: auto; justify-self: start; }
.story-card .story-line { margin: 0; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.35; letter-spacing: -0.02em; font-weight: 600; color: var(--ink); }
.story-card .small { margin-top: -4px; }
@media (max-width: 880px) { .story { grid-template-columns: minmax(0, 1fr); } }

/* Explore cards (dark) */
.explore { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.xcard { background: linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 100%); color: #fff; border-radius: 20px; padding: clamp(28px, 3vw, 40px); display: grid; gap: 12px; align-content: start; text-decoration: none; min-height: 240px; transition: transform .2s ease, box-shadow .2s ease; }
.xcard h3 { color: #fff; font-size: 1.45rem; letter-spacing: -0.025em; }
.xcard p { color: var(--on-navy-mute); }
.xcard .more { margin-top: auto; padding-top: 12px; color: var(--blue-light); font-weight: 500; }
a.xcard:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 20px 40px -24px rgba(20,36,69,.6); }
@media (prefers-reduced-motion: reduce) { .xcard { transition: none; } a.xcard:hover { transform: none; } }
@media (max-width: 880px) { .explore { grid-template-columns: minmax(0, 1fr); } .xcard { min-height: 0; } }

/* Section heading row with link on the right */
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; margin-bottom: clamp(32px, 5vw, 56px); }
.head-row .head { margin-bottom: 0; }

/* ---------- Resources and sign-in ---------- */
.res-group { display: grid; gap: 20px; }
.res-group + .res-group { margin-top: clamp(56px, 8vw, 96px); }
.res-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.res { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 20px; padding: 28px; display: grid; gap: 10px; align-content: start; text-decoration: none; color: var(--ink); min-height: 220px; transition: border-color .2s ease, box-shadow .2s ease; }
.res .kind { font-size: 0.82rem; color: var(--mute); display: inline-flex; align-items: center; gap: 8px; }
.res h3 { font-size: 1.2rem; }
.res p { color: var(--ink-2); font-size: 0.96rem; }
.res .more { margin-top: auto; padding-top: 10px; color: var(--blue); font-weight: 500; font-size: 0.95rem; }
a.res:hover { border-color: var(--line); box-shadow: 0 16px 40px -28px rgba(20,36,69,.45); color: var(--ink); }
.lock { width: 12px; height: 12px; flex-shrink: 0; }
.res-featured { grid-column: span 2; background: linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 100%); border: 0; color: #fff; }
.res-featured .kind { color: var(--on-navy-mute); }
.res-featured h3 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -0.025em; max-width: 18em; }
.res-featured p { color: var(--on-navy-mute); max-width: 34em; }
.res-featured .more { color: var(--blue-light); }
a.res-featured:hover { color: #fff; }
.res-list-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) { .res-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .res-list { grid-template-columns: minmax(0, 1fr); } .res-featured { grid-column: auto; } .res { min-height: 0; } }

.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.door { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 24px; padding: clamp(28px, 4vw, 44px); display: grid; gap: 14px; align-content: start; }
.door h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.door p { color: var(--ink-2); }
.door .ticks { margin-bottom: 8px; }
.door .btns { margin-top: auto; }
.door .small a { color: var(--blue); }
@media (max-width: 960px) { .doors { grid-template-columns: minmax(0, 1fr); } }

/* Article */
.article { max-width: 720px; margin-inline: auto; }
.article-meta { font-size: 0.92rem; color: var(--on-navy-mute); margin-top: 24px; }
.article-body { display: grid; gap: 1.15em; font-size: 1.08rem; line-height: 1.7; color: var(--ink-2); }
.article-body h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); color: var(--ink); margin-top: 1.2em; }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body ul { margin: 0; padding-left: 1.2em; display: grid; gap: .5em; }
.article-end { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); display: grid; gap: 16px; }
.page-hero .article { max-width: 720px; }

/* ---------- v5: Oracle-style header, drawer, search, launch tiles ---------- */
.nav { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.menu-btn, .icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; flex-shrink: 0; text-decoration: none; }
.menu-btn:hover, .icon-btn:hover { background: var(--grey); color: var(--ink); }
.menu-btn svg, .icon-btn svg { width: 24px; height: 24px; }
.icon-btn[aria-current="page"] { color: var(--blue); }
.brand img { height: 32px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.search { position: relative; flex: 1 1 auto; min-width: 0; max-width: 760px; margin-inline: auto; }
.search-box { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--mute); cursor: text; transition: border-color .15s ease, box-shadow .15s ease; }
.search-box svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--ink); }
.search-box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-wash); }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 400 1rem/1 var(--f-body); color: var(--ink); letter-spacing: -0.01em; }
.search-box input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 14px; box-shadow: 0 24px 60px -20px rgba(20,36,69,.3); z-index: 70; max-height: 70vh; overflow: auto; }
.search-results a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.search-results a span { font-size: 0.86rem; color: var(--mute); }
.search-results a:hover, .search-results a.active { background: var(--grey); }
.search-results .empty { padding: 14px; color: var(--mute); font-size: 0.95rem; }
.nav-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.btn-sm { min-height: 38px; padding: 0 18px; font-size: 0.9rem; margin-left: 6px; }
.search-toggle { display: none; }
.site-header { border-bottom: 1px solid var(--line-soft); }
@media (max-width: 860px) {
  .nav { gap: 8px; min-height: 64px; }
  .search { display: none; position: absolute; left: 0; right: 0; top: 100%; max-width: none; padding: 10px max(16px, env(safe-area-inset-left, 0px)) 12px; background: var(--surface); border-bottom: 1px solid var(--line-soft); }
  .site-header.searching .search { display: block; }
  .search-toggle { display: inline-flex; }
  .nav-actions { margin-left: auto; }
  .brand img { height: 28px; }
}
@media (max-width: 640px) { .btn-sm { display: none; } }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 90; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(12,22,44,.38); animation: fade .2s ease both; }
.drawer-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(380px, 88vw); background: var(--surface); padding: calc(16px + env(safe-area-inset-top, 0px)) 24px calc(32px + env(safe-area-inset-bottom, 0px)) max(24px, env(safe-area-inset-left, 0px)); overflow-y: auto; box-shadow: 20px 0 60px -30px rgba(12,22,44,.5); animation: slide .25s ease both; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.drawer-head img { height: 30px; width: auto; }
.drawer-label { font-size: 0.8rem; color: var(--mute); margin: 24px 0 6px; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li a { display: block; padding: 11px 0; color: var(--ink); text-decoration: none; font-size: 1.05rem; letter-spacing: -0.015em; border-bottom: 1px solid var(--line-soft); }
.drawer li a:hover { color: var(--blue); }
.drawer li a[aria-current="page"] { color: var(--blue); font-weight: 500; }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .drawer-scrim, .drawer-panel { animation: none; } }
body.drawer-open { overflow: hidden; }

/* Launch: grouped menu tiles */
.launch { padding-block: clamp(36px, 5vw, 56px) clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line-soft); }
.launch-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px clamp(32px, 5vw, 80px); }
.lgroup { display: grid; gap: 22px; justify-items: center; min-width: 0; }
.lgroup-title { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.6rem, 2.4vw, 2.1rem); letter-spacing: -0.02em; color: var(--ink-2); }
.ltiles { display: grid; grid-template-columns: repeat(4, minmax(0, 120px)); gap: clamp(10px, 1.6vw, 22px); justify-content: center; width: 100%; }
.ltile { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 6px 16px -8px rgba(20,36,69,.25); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.92rem; line-height: 1.3; letter-spacing: -0.01em; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.ltile:hover { color: var(--blue); border-color: var(--line); transform: translateY(-2px); box-shadow: 0 2px 4px rgba(0,0,0,.04), 0 14px 28px -12px rgba(20,36,69,.35); }
@media (prefers-reduced-motion: reduce) { .ltile { transition: none; } .ltile:hover { transform: none; } }
@media (max-width: 980px) { .launch-groups { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .ltile { font-size: 0.78rem; padding: 6px; border-radius: 12px; } .ltiles { gap: 8px; } }

/* Stage: grey area holding the banner and the feature card */
.stage { background: var(--grey); padding-block: clamp(20px, 3vw, 28px) clamp(56px, 8vw, 96px); }
.stage .wrap { display: grid; gap: clamp(20px, 2.4vw, 28px); }
.banner { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: center; background: linear-gradient(120deg, #0F1D3A 0%, var(--navy) 60%, #1A3266 100%); color: #fff; border-radius: 16px; padding: clamp(24px, 3.4vw, 48px) clamp(24px, 6vw, 120px); }
.banner img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.banner-title { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.3rem, 2.1vw, 1.7rem); letter-spacing: -0.025em; line-height: 1.2; }
.banner p.banner-text { color: rgba(255,255,255,.82); margin-top: 8px; max-width: 46em; }
.banner .btn { margin-top: 18px; background: #fff; color: var(--navy); border-radius: 6px; min-height: 42px; }
.banner .btn:hover { background: var(--blue-light); color: var(--navy); }
@media (max-width: 720px) { .banner { grid-template-columns: minmax(0, 1fr); } .banner img { max-width: 320px; } }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--surface); border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.feature > * { min-width: 0; }
.feature-copy { padding: clamp(32px, 5vw, 80px); display: grid; gap: 22px; align-content: center; }
.feature-copy h1 { font-weight: 300; font-size: clamp(2.3rem, 4.4vw, 3.9rem); letter-spacing: -0.035em; line-height: 1.05; }
.feature-copy h1 strong { font-weight: 700; display: block; }
.feature-visual { background: linear-gradient(160deg, #EEF2FB 0%, #E3E9F7 100%); padding: clamp(24px, 3.4vw, 48px); display: flex; align-items: center; }
.feature-visual .gatelog { width: 100%; box-shadow: 0 2px 6px rgba(0,0,0,.04), 0 30px 60px -30px rgba(20,36,69,.35); }
@media (max-width: 960px) { .feature { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .feature-visual { padding: 14px; } }

/* ---------- v6: process previews, Business Intelligence ---------- */
.btn-quiet.on-dark { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-quiet.on-dark:hover { background: #fff; color: var(--navy); border-color: #fff; }

.subnav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 72px); z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-soft); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex-shrink: 0; padding: 8px 14px; border-radius: var(--pill); color: var(--ink-2); text-decoration: none; font-size: 0.9rem; white-space: nowrap; }
.subnav a:hover { background: var(--grey); color: var(--ink); }
@media (max-width: 860px) { .subnav { top: calc(env(safe-area-inset-top, 0px) + 64px); } }
.module { scroll-margin-top: 140px; }
.module-copy { top: 150px; }

.flow { list-style: none; margin: 4px 0 0; padding: 0; counter-reset: flow; display: grid; gap: 14px; }
.flow li { counter-increment: flow; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; color: var(--ink-2); line-height: 1.5; }
.flow li::before { content: counter(flow); width: 26px; height: 26px; border-radius: 50%; background: var(--blue-wash); color: var(--blue-ink); font-size: 0.82rem; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.outcome { font-weight: 600; color: var(--ink); padding-top: 14px; border-top: 1px solid var(--line-soft); }

.shot { margin: 0; display: grid; gap: 12px; }
.shot img { width: 100%; height: auto; border-radius: 16px; background: #0B1220; box-shadow: 0 2px 6px rgba(0,0,0,.05), 0 30px 60px -32px rgba(12,22,44,.55); }
.shot figcaption { font-size: 0.88rem; color: var(--mute); }

.banner-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 18px; color: rgba(255,255,255,.8); font-size: 0.95rem; }
.banner-actions .btn { margin-top: 0; }
.banner-actions strong { color: #fff; font-weight: 600; }
.banner-actions a:not(.btn) { color: var(--blue-light); }

.roadmap-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 820px) { .roadmap-2 { grid-template-columns: minmax(0, 1fr); } }

/* BI hero with journey card */
.bi-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.bi-hero > * { min-width: 0; }
.bi-hero .display { font-size: clamp(2.3rem, 4.8vw, 4rem); }
.hero-points { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--on-navy-mute); font-size: 0.92rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-light); }
@media (max-width: 960px) { .bi-hero { grid-template-columns: minmax(0, 1fr); } }

.journey { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 24px; color: #fff; scroll-margin-top: 100px; }
.journey-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.journey-kicker { font-size: 0.82rem; color: var(--on-navy-mute); }
.journey .chip.quiet { background: rgba(255,255,255,.12); color: #fff; }
.journey-tag { margin-top: 12px; font-size: 1rem; color: #fff; overflow-wrap: anywhere; }
.journey-sub { color: var(--on-navy-mute); font-size: 0.9rem; margin-top: 2px; }
.journey ol { list-style: none; margin: 18px 0 0; padding: 0; display: grid; }
.journey li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 10px 0 10px 18px; border-left: 2px solid rgba(147,177,255,.35); position: relative; }
.journey li::before { content: ""; position: absolute; left: -6px; top: 15px; width: 10px; height: 10px; border-radius: 50%; background: var(--blue-light); }
.journey li b { font-weight: 600; font-size: 0.95rem; }
.journey li span { grid-column: 1; color: var(--on-navy-mute); font-size: 0.85rem; }
.journey li i { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-size: 0.75rem; padding: 3px 10px; border-radius: var(--pill); background: rgba(147,177,255,.18); color: var(--blue-light); }
.journey li i.rec { background: rgba(255,255,255,.1); color: var(--on-navy-mute); }
.journey-now { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #fff; color: var(--ink); display: grid; gap: 2px; }
.journey-now span { font-size: 0.78rem; color: var(--mute); }
.journey-now strong { font-size: 1.05rem; letter-spacing: -0.015em; }
.journey-now em { font-style: normal; font-size: 0.82rem; color: var(--blue-ink); font-weight: 500; }

.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.compare-col { border: 1px solid var(--line-soft); border-radius: 20px; padding: clamp(24px, 3vw, 36px); background: var(--surface); }
.compare-col h3 { margin-bottom: 14px; }
.compare-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; color: var(--ink-2); }
.compare-col li { padding-left: 22px; position: relative; }
.compare-col li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.compare-col.is-ours { background: linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 100%); border: 0; color: #fff; }
.compare-col.is-ours h3 { color: #fff; }
.compare-col.is-ours ul { color: var(--on-navy); }
.compare-col.is-ours li::before { background: var(--blue-light); }
@media (max-width: 760px) { .compare { grid-template-columns: minmax(0, 1fr); } }

.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 10px; vertical-align: middle; }
.s-ok { background: var(--blue); } .s-move { background: #6B8DE3; } .s-warm { background: #B7C6EE; } .s-quiet { background: var(--line); } .s-bad { background: var(--flag); }
.status-table td { white-space: normal; }
.status-table td:first-child { white-space: nowrap; font-weight: 500; }
.status-table { min-width: 560px; }

.lenses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.lens { border: 1px solid var(--line-soft); border-radius: 20px; padding: 26px; display: grid; gap: 10px; align-content: start; background: var(--surface); }
.lens p { color: var(--ink-2); font-size: 0.96rem; }
.lens span { margin-top: 4px; font-size: 0.88rem; color: var(--blue-ink); font-weight: 500; }
@media (max-width: 960px) { .lenses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .lenses { grid-template-columns: minmax(0, 1fr); } }

.ticks.on-dark li { color: var(--on-navy); }
.ticks.on-dark li::before { background: var(--blue-light); }
.ask { background: #fff; color: var(--ink); border-radius: 20px; overflow: hidden; }
.ask-q { padding: 20px 22px; font-weight: 600; letter-spacing: -0.015em; border-bottom: 1px solid var(--line-soft); background: var(--grey); }
.ask-a { padding: 18px 22px 8px; font-size: 1.05rem; }
.ask .data { min-width: 460px; }
.ask-note { padding: 14px 22px; margin: 6px 0 0; font-size: 0.92rem; color: var(--flag); background: var(--flag-wash); }
.ask-src { padding: 12px 22px; font-size: 0.8rem; color: var(--mute); }

.proof-steps { list-style: none; margin: 0; padding: 0; counter-reset: proof; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line-soft); border-radius: 20px; overflow: hidden; }
.proof-steps li { counter-increment: proof; padding: 26px; display: grid; gap: 8px; align-content: start; }
.proof-steps li + li { border-left: 1px solid var(--line-soft); }
.proof-steps li::before { content: counter(proof); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.04em; color: var(--blue); }
.proof-steps b { font-weight: 600; font-size: 1.1rem; }
.proof-steps span { color: var(--ink-2); font-size: 0.95rem; }
.proof-flags { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); margin-top: clamp(16px, 2vw, 24px); }
.proof-flags > div { border-radius: 20px; padding: 24px; background: var(--flag-wash); display: grid; gap: 6px; }
.proof-flags h3 { color: var(--flag); font-size: 1.05rem; }
.proof-flags p { color: var(--ink-2); font-size: 0.95rem; }
@media (max-width: 880px) { .proof-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .proof-steps li:nth-child(3) { border-left: 0; } .proof-steps li:nth-child(n+3) { border-top: 1px solid var(--line-soft); } .proof-flags { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .proof-steps { grid-template-columns: minmax(0, 1fr); } .proof-steps li + li { border-left: 0; border-top: 1px solid var(--line-soft); } }

.roles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); }
.roles > div { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 18px; padding: 22px; display: grid; gap: 12px; align-content: start; }
.roles h3 { font-size: 1.05rem; }
.roles ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--ink-2); font-size: 0.93rem; }
@media (max-width: 1100px) { .roles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .roles { grid-template-columns: minmax(0, 1fr); } }

/* Launch tiles: Platform group has six */
.launch-groups { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); }
.ltiles { grid-template-columns: repeat(var(--n, 4), minmax(0, 112px)); }
@media (max-width: 980px) { .launch-groups { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 620px) { .ltiles.six { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ltiles { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); } }
.ltile.feat { background: linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 100%); color: #fff; border-color: transparent; }
.ltile.feat:hover { color: #fff; }

/* Contact interests */
.choice.multi label { min-height: 44px; }

.caplink { color: inherit; text-decoration: none; }
.caplink:hover { color: var(--blue); }
.cap h3 .caplink { border-bottom: 1px solid transparent; }
.cap h3 .caplink:hover { border-bottom-color: currentColor; }
.bi-band { border-top: 0; padding-block: 0; }
.res-list-2 .res-featured { grid-column: 1 / -1; }

/* v7: calmer launch tiles, mobile scroll rows */
.launch-groups { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); gap: 32px clamp(40px, 6vw, 96px); }
.ltiles { grid-template-columns: repeat(var(--n, 4), minmax(0, 112px)); gap: 16px; }
.tiles-note { margin-top: 20px; }
.tile img { object-position: center; }
@media (max-width: 1100px) { .ltiles { gap: 12px; grid-template-columns: repeat(var(--n, 4), minmax(0, 100px)); } }
@media (max-width: 980px) { .launch-groups { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
@media (max-width: 620px) {
  .launch { padding-block: 28px 24px; }
  .lgroup { gap: 14px; justify-items: stretch; }
  .lgroup-title { text-align: center; font-size: 1.5rem; }
  .ltiles, .ltiles.six { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(16px, env(safe-area-inset-left, 0px)) 12px; margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); scrollbar-width: none; justify-content: flex-start; }
  .ltiles::-webkit-scrollbar { display: none; }
  .ltile { flex: 0 0 104px; height: 88px; aspect-ratio: auto; scroll-snap-align: start; font-size: 0.82rem; }
}

/* ---------- v8: more Apple — soft grey surfaces, larger radii, calmer cards ---------- */
:root { --section: clamp(80px, 11vw, 148px); --r-card: 28px; }
.lens, .compare-col, .res, .door, .roles > div, .partner, .aside-card {
  background: var(--grey); border: 0; border-radius: var(--r-card); box-shadow: none;
}
.band-white .lens, .band-white .compare-col, .band-white .res, .band-white .door, .band-white .roles > div, .band-white .partner,
.contact-stage .aside-card { background: var(--surface); }
.compare-col.is-ours { border-radius: var(--r-card); }
.res-featured, .xcard, .banner, .feature, .tile { border-radius: var(--r-card); }
a.res:hover { box-shadow: 0 18px 40px -28px rgba(20,36,69,.4); }
.panel, .gatelog { border-radius: 22px; }

/* Demo stills sit on a soft stage, like product shots */
.shot { gap: 14px; }
.shot img { border-radius: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 24px 48px -28px rgba(12,22,44,.55); }
.shot { background: var(--grey); border-radius: var(--r-card); padding: clamp(10px, 1.6vw, 20px) clamp(10px, 1.6vw, 20px) 20px; }
.band-white .shot { background: var(--surface); }
.shot figcaption { padding-inline: 4px; }

/* Shorter hero for task pages */
.page-hero.hero-short { padding-block: clamp(56px, 8vw, 104px) clamp(48px, 6vw, 80px); }

/* Contact */
.contact-stage { background: var(--grey); padding-block: clamp(32px, 5vw, 64px) var(--section); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.contact-grid > * { min-width: 0; }
.form-card { background: var(--surface); border-radius: var(--r-card); padding: clamp(24px, 4.4vw, 56px); box-shadow: 0 1px 2px rgba(0,0,0,.03); display: grid; gap: clamp(28px, 3.4vw, 40px); }
.fgroup { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 14px; }
.fgroup legend { padding: 0; margin-bottom: 14px; font-weight: 600; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--ink); }
.fhint { margin: -8px 0 4px; font-size: 0.92rem; color: var(--mute); }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.fgrid .full { grid-column: 1 / -1; }
.form-card .field label { font-size: 0.88rem; font-weight: 500; color: var(--ink-2); }
.form-card .field .opt { color: var(--mute); font-weight: 400; margin-left: 6px; }
.form-card .field input, .form-card .field select, .form-card .field textarea { min-height: 52px; border-radius: 12px; border-color: var(--line); padding: 13px 16px; font-size: 1rem; background-color: var(--surface); }
.form-card .field textarea { min-height: 120px; }
.form-card .field input:hover, .form-card .field select:hover, .form-card .field textarea:hover { border-color: #B8B8BF; }
.form-card .field input:focus, .form-card .field select:focus, .form-card .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29,78,216,.14); }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 0.95rem; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.pill span::before { content: ""; width: 0; height: 0; transition: width .15s ease; }
.pill:hover span { border-color: #B8B8BF; }
.pill input:checked + span { background: var(--blue-wash); border-color: var(--blue); color: var(--blue-ink); }
.pill input:checked + span::before { width: 14px; height: 14px; background: no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231A44C2' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5'/%3E%3C/svg%3E"); }
.pill input:focus-visible + span, .segmented input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

.segmented { display: inline-flex; padding: 4px; background: var(--grey); border-radius: var(--pill); gap: 4px; justify-self: start; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 22px; border-radius: var(--pill); color: var(--ink-2); font-size: 0.95rem; transition: background-color .15s ease, color .15s ease, box-shadow .15s ease; }
.segmented input:checked + span { background: var(--surface); color: var(--ink); font-weight: 500; box-shadow: 0 1px 3px rgba(0,0,0,.12); }

.btn-lg { min-height: 54px; padding: 0 32px; font-size: 1.05rem; }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 4px; }
.form-card .form-msg { border-radius: 14px; }

.contact-aside { display: grid; gap: clamp(16px, 2vw, 20px); position: sticky; top: 96px; }
.aside-card { padding: clamp(24px, 3vw, 32px); display: grid; gap: 16px; }
.aside-title { font-size: 1.2rem; letter-spacing: -0.02em; font-weight: 600; }
.contact-list { margin: 0; display: grid; gap: 16px; }
.contact-list dt { font-size: 0.82rem; color: var(--mute); }
.contact-list dd { margin: 2px 0 0; color: var(--ink); overflow-wrap: anywhere; }
.contact-list dd.small { color: var(--mute); }
.aside-logos { padding: 8px 4px; display: grid; gap: 12px; }
.aside-logos .logos { gap: 20px 28px; }
.aside-logos .logos img { height: 24px; }
.aside-logos .logos img.tall { height: 32px; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } .contact-aside { position: static; } }
@media (max-width: 640px) { .fgrid { grid-template-columns: minmax(0, 1fr); } .form-submit .btn { width: 100%; } .pill span { min-height: 42px; padding: 0 14px; font-size: 0.92rem; } }

/* Sign-in doors */
.doors { gap: clamp(16px, 2vw, 24px); }
.door { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: clamp(32px, 4vw, 48px) clamp(24px, 3vw, 36px); }
.door-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--surface); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.door-icon svg { width: 26px; height: 26px; }
.door h2 { font-size: clamp(1.4rem, 2vw, 1.7rem); }
.door p { max-width: 26em; }
.door .btn { margin-top: auto; }
.door > p:not(.small) { margin-bottom: 12px; }
.door .small { margin-top: 4px; }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.partner { padding: clamp(24px, 3vw, 32px); display: grid; gap: 12px; align-content: start; justify-items: start; }
.partner-logo { width: 100%; height: 96px; border-radius: 18px; background: var(--surface); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.band-white .partner-logo { background: var(--grey); }
.partner-logo img { height: 30px; width: auto; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; }
.partner-logo img.tall { height: 44px; }
.partner p { color: var(--ink-2); }
@media (max-width: 880px) { .partners { grid-template-columns: minmax(0, 1fr); } }

/* ---------- v9: Oracle-style corners (tight, consistent) ---------- */
:root { --radius: 6px; --pill: 6px; --r-card: 10px; }
.btn, .btn-sm, .btn-lg, .banner .btn { border-radius: 6px; }
.ltile { border-radius: 8px; }
.banner, .feature, .tile, .shot, .panel, .gatelog, .video, .xcard, .res, .res-featured,
.lens, .compare-col, .compare-col.is-ours, .door, .roles > div, .partner, .aside-card, .form-card,
.story-card, .journey, .ask, .proof-steps, .proof-flags > div, .ind img, .partner-logo { border-radius: 10px; }
.shot img, .banner img { border-radius: 6px; }
.search-box, .menu-btn, .icon-btn { border-radius: 6px; }
.search-results { border-radius: 8px; }
.search-results a { border-radius: 6px; }
.form-card .field input, .form-card .field select, .form-card .field textarea, .field input, .field select, .field textarea { border-radius: 6px; }
.pill span, .segmented, .segmented span, .chip, .subnav a, .journey li i { border-radius: 6px; }
.segmented { padding: 3px; }
.journey-now, .form-msg, .form-card .form-msg { border-radius: 6px; }
.drawer-panel { border-radius: 0; }

/* Gate log: livelier */
.gl-row.is-new { animation: rowin 1.1s ease both; }
@keyframes rowin { 0% { background: var(--blue-wash); transform: translateY(-6px); opacity: 0; } 25% { opacity: 1; transform: none; } 100% { background: transparent; } }
.gl-row.is-flag.is-new { animation: flagin .9s ease both; }
@keyframes flagin { 0% { opacity: 0; transform: translateY(-6px); } 100% { opacity: 1; transform: none; } }
.gatelog-live i { animation-duration: 1.2s; }
@media (prefers-reduced-motion: reduce) { .gl-row.is-new, .gl-row.is-flag.is-new { animation: none; } }

/* ---------- v10: light BI hero, mobile tile sliders ---------- */
.page-hero.hero-light { background: linear-gradient(180deg, #FFFFFF 0%, var(--grey) 100%); color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.page-hero.hero-light .lead { color: var(--mute); }
.page-hero.hero-light .hero-points { color: var(--ink-2); }
.page-hero.hero-light .hero-points li::before { background: var(--blue); }
.hero-light .journey { background: var(--surface); border: 1px solid var(--line-soft); color: var(--ink); box-shadow: 0 2px 6px rgba(0,0,0,.04), 0 30px 60px -30px rgba(20,36,69,.28); }
.hero-light .journey-kicker, .hero-light .journey-sub, .hero-light .journey li span { color: var(--mute); }
.hero-light .journey-tag { color: var(--ink); }
.hero-light .journey .chip.quiet { background: var(--grey); color: var(--ink-2); }
.hero-light .journey li { border-left-color: var(--line); }
.hero-light .journey li::before { background: var(--blue); }
.hero-light .journey li i { background: var(--blue-wash); color: var(--blue-ink); }
.hero-light .journey li i.rec { background: var(--grey); color: var(--mute); }
.hero-light .journey-now { background: var(--grey); }

.lgroup-head { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; }
.lnav { display: none; gap: 8px; }
.lnav-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: opacity .15s ease, border-color .15s ease; }
.lnav-btn svg { width: 18px; height: 18px; }
.lnav-btn:hover:not(:disabled) { border-color: var(--ink); }
.lnav-btn:disabled { opacity: .35; cursor: default; }
.ltrack { position: relative; width: 100%; }
.ldots { display: none; justify-content: center; gap: 6px; }
.ldots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background-color .2s ease, width .2s ease; }
.ldots i.on { background: var(--blue); }
@media (max-width: 620px) {
  .lgroup-head { justify-content: space-between; }
  .lgroup-title { text-align: left; }
  .lgroup.is-scrollable .lnav { display: inline-flex; }
  .lgroup.is-scrollable .ldots { display: flex; }
  .ltrack::before, .ltrack::after { content: ""; position: absolute; top: 0; bottom: 12px; width: 36px; pointer-events: none; z-index: 1; opacity: 0; transition: opacity .2s ease; }
  .ltrack::before { left: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); background: linear-gradient(90deg, var(--paper), rgba(255,255,255,0)); }
  .ltrack::after { right: calc(-1 * max(16px, env(safe-area-inset-right, 0px))); background: linear-gradient(270deg, var(--paper), rgba(255,255,255,0)); }
  .ltrack.fade-l::before, .ltrack.fade-r::after { opacity: 1; }
}
.launch { overflow-x: clip; }
@media (max-width: 620px) { .ltiles, .ltiles.six { padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); } .ltrack::before { left: calc(-1 * var(--gutter)); } .ltrack::after { right: calc(-1 * var(--gutter)); } }
.door .btn { width: 100%; max-width: 280px; }
.lgroup { grid-template-columns: minmax(0, 1fr); min-width: 0; width: 100%; }
@media (max-width: 620px) { .ltiles { scroll-padding-inline: var(--gutter); } }

/* ---------- v11: form confirmation ---------- */
.form-done { text-align: center; justify-items: center; padding-block: clamp(48px, 7vw, 88px); gap: 18px; }
.form-done:focus { outline: none; }
.done-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--blue-wash); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; animation: pop .5s cubic-bezier(.2,.9,.3,1.3) both; }
.done-icon svg { width: 34px; height: 34px; }
.form-done h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); max-width: 16em; }
.form-done .lead { max-width: 30em; color: var(--ink-2); }
.done-to { color: var(--mute); overflow-wrap: anywhere; }
.done-to strong { color: var(--ink); font-weight: 500; }
.done-summary { display: grid; gap: 10px; justify-items: center; margin-top: 4px; }
.done-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.done-tags li { padding: 6px 12px; border-radius: 6px; background: var(--grey); font-size: 0.9rem; color: var(--ink-2); }
.form-done .btns { justify-content: center; margin-top: 12px; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .done-icon { animation: none; } }
@media (max-width: 640px) { .form-done .btns .btn { width: 100%; } }
[hidden] { display: none !important; }
.res.res-featured, .band-white .res.res-featured { background: linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 100%); }
.page-hero:not(.hero-light) .lead, .page-hero:not(.hero-light) .article-meta, .page-hero:not(.hero-light) .crumb a { color: rgba(255,255,255,.82) !important; }
.gl-time, .gl-meta { color: #5F6368; }
.res-featured .kind { color: rgba(255,255,255,.75); }

/* ---------- v12: video hero ---------- */
.hero2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: center; background: #fff; border-radius: 10px; padding: clamp(28px, 4.5vw, 64px) clamp(20px, 4vw, 64px); }
.hero2 > * { min-width: 0; }
.hero2 h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: 1.02; letter-spacing: -0.045em; font-weight: 700; }
.hero2 .grad { background: linear-gradient(90deg, #1D4ED8 0%, #1E90E6 55%, #22B8A6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; padding-bottom: .06em; }
.hero2-sub { margin-top: 20px; font-size: clamp(1.15rem, 1.8vw, 1.5rem); color: var(--ink-2); letter-spacing: -0.02em; }
.hero2-sub strong { color: var(--ink); font-weight: 600; }
.hsteps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: clamp(24px, 3vw, 36px); }
.hstep { position: relative; overflow: hidden; text-align: left; display: grid; gap: 6px; align-content: start; padding: 18px 16px 20px; border: 1px solid transparent; border-radius: 10px; background: var(--grey); color: var(--ink); font: inherit; cursor: pointer; transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease; }
.hstep:hover { border-color: var(--line); }
.hstep.is-on { background: #fff; border-color: rgba(29,78,216,.35); box-shadow: 0 10px 30px -18px rgba(20,36,69,.45); }
.hnum { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 0.82rem; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.hstep b { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.hstep span:not(.hnum) { font-size: 0.88rem; color: var(--mute); line-height: 1.4; }
.hstep i { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, #1D4ED8, #22B8A6); transform-origin: left; transform: scaleX(var(--p, 0)); }
.hero2 .btns { margin-top: clamp(24px, 3vw, 36px); }
.hero2-media { display: flex; justify-content: center; }
.hero2-video { width: 100%; max-width: 620px; height: auto; aspect-ratio: 880 / 1020; display: block; background: #fff; }
@media (max-width: 960px) { .hero2 { grid-template-columns: minmax(0, 1fr); } .hero2-media { order: 2; } .hero2-video { max-width: 520px; } }
@media (max-width: 560px) {
  .hero2 { padding: 28px 18px; }
  .hsteps { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hstep { grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; padding: 14px; align-items: center; }
  .hnum { grid-row: span 2; margin: 0; }
  .hero2 .btns .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .hstep i { display: none; } }
.hero2 h1 { font-size: clamp(2.4rem, 4.4vw, 4.4rem); }
.hero2 .grad { white-space: nowrap; }
@media (max-width: 960px) {
  .hero2 { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .hero2-copy { display: contents; }
  .hero2 h1 { order: 1; } .hero2-sub { order: 2; }
  .hero2-media { order: 3; margin-top: 24px; }
  .hsteps { order: 4; } .hero2 .btns { order: 5; }
}
@media (max-width: 380px) { .hero2 .grad { white-space: normal; } }

/* ---------- v13: Business Intelligence video block ---------- */
.shot video { width: 100%; height: auto; display: block; aspect-ratio: 1600 / 1176; border-radius: 6px; background: #0B1426; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 24px 48px -28px rgba(12,22,44,.55); }
.bi-lead { font-size: 1.1rem; color: var(--ink-2); max-width: 30em; }
.vchips { display: grid; gap: 8px; margin-top: 4px; }
.vchip { position: relative; overflow: hidden; display: grid; gap: 2px; text-align: left; padding: 14px 16px; border-radius: 8px; border: 1px solid transparent; background: transparent; color: var(--ink); font: inherit; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.vchip b { font-weight: 600; font-size: 1.02rem; letter-spacing: -0.015em; }
.vchip span { font-size: 0.93rem; color: var(--mute); }
.vchip:hover { background: rgba(0,0,0,.03); }
.vchip.is-on { background: var(--surface); border-color: rgba(29,78,216,.3); box-shadow: 0 10px 28px -20px rgba(20,36,69,.5); }
.band-white .vchip.is-on { background: #fff; }
.module:not(.bi-band) .vchip.is-on { background: var(--grey); }
.vchip i { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, #1D4ED8, #22B8A6); transform-origin: left; transform: scaleX(var(--p, 0)); }
.trust-pills { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.trust-pills li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 6px; font-size: 0.85rem; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line-soft); }
.module:not(.bi-band) .trust-pills li { background: var(--grey); border-color: transparent; }
.trust-pills li::before { content: ""; width: 12px; height: 12px; background: no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231D4ED8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5'/%3E%3C/svg%3E"); }
@media (prefers-reduced-motion: reduce) { .vchip i { display: none; } }

@media (max-width: 880px) {
  .module:has(.vsync-video) { row-gap: 18px; }
  .module:has(.vsync-video) .module-copy { display: contents; }
  .module:has(.vsync-video) .module-copy h2 { order: 1; }
  .module:has(.vsync-video) .bi-lead { order: 2; }
  .module:has(.vsync-video) .shot { order: 3; }
  .module:has(.vsync-video) .vchips { order: 4; }
  .module:has(.vsync-video) .trust-pills { order: 5; }
  .module:has(.vsync-video) .module-copy .btns { order: 6; }
}

/* v14: product loops */
.shot video.loop-video { aspect-ratio: 1600 / 814; background: #0B1220; }
.shot:has(.loop-video) { padding-bottom: clamp(10px, 1.6vw, 20px); }
.flow-tight { gap: 10px; }
.flow-tight li { color: var(--ink); font-weight: 500; }
@media (max-width: 880px) {
  .module:has(.loop-video) { row-gap: 18px; }
  .module:has(.loop-video) .module-copy { display: contents; }
  .module:has(.loop-video) h2 { order: 1; }
  .module:has(.loop-video) .bi-lead { order: 2; }
  .module:has(.loop-video) .shot { order: 3; }
  .module:has(.loop-video) .flow { order: 4; }
  .module:has(.loop-video) .outcome { order: 5; }
}

/* v15: custom projects */
.mats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.mat { background: var(--grey); border-radius: 10px; padding: clamp(20px, 2.4vw, 28px); display: grid; gap: 4px; }
.mat b { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; }
.mat span { color: var(--mute); font-size: 0.95rem; }
.mat-other { background: transparent; border: 1px dashed var(--line); }
.cp-steps { list-style: none; margin: 0; padding: 0; counter-reset: cp; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.cp-steps li { counter-increment: cp; background: var(--surface); border-radius: 10px; padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 6px; align-content: start; }
.cp-steps li::before { content: counter(cp); width: 32px; height: 32px; border-radius: 50%; background: var(--blue-wash); color: var(--blue-ink); font-weight: 600; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.cp-steps b { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; }
.cp-steps span { color: var(--ink-2); }
.form-card .pills + .fgrid { margin-top: 18px; }
@media (max-width: 760px) { .mats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cp-steps { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 400px) { .mats { grid-template-columns: minmax(0, 1fr); } }

/* v16: demo center links */
.desk-note { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--mute); }
.res-featured .desk-note, .desk-note.on-dark { color: rgba(255,255,255,.75); }
.banner .desk-note { margin-top: 12px; }
.desk-ico { width: 16px; height: 16px; flex-shrink: 0; }
.desk-dlg { position: fixed; inset: 0; z-index: 100; background: rgba(12,22,44,.45); display: flex; align-items: center; justify-content: center; padding: 20px; }
.desk-card { background: #fff; border-radius: 10px; padding: 28px 24px; max-width: 380px; width: 100%; display: grid; gap: 10px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); }
.desk-card b { font-size: 1.2rem; letter-spacing: -0.02em; }
.desk-card p { color: var(--ink-2); }
.desk-card .btns { margin-top: 8px; }
.banner .btn.btn-quiet.on-dark { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); }
.banner .btn.btn-quiet.on-dark:hover { background: #fff; color: var(--navy); }
