:root {
  --navy: #0F2A4A;
  --navy-2: #1B3B62;
  --teal: #00B3A4;
  --teal-d: #00786E;
  --paper: #FFFFFF;
  --grey: #F1F4F7;
  --grey-2: #DDE3EA;
  --ink: #0E1B2B;
  --muted: #4D5D70;
  --sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--sans); }
a { color: var(--teal-d); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--navy); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.mono { font: 500 .78rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--teal-d); margin: 0 0 10px; }
.mono-light { color: var(--teal); }

.ribbon { background: #E7F7F5; border-bottom: 1px solid #BFE7E2; font-size: .85rem; color: var(--navy); }
.ribbon-inner { display: flex; gap: 6px 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 8px 0; }
.ribbon p { margin: 0; }
.ribbon-tag { font: 500 .72rem var(--mono); background: var(--navy); color: #fff; padding: 2px 8px; margin-right: 6px; letter-spacing: .06em; }
.ribbon a { font-weight: 600; color: var(--navy); white-space: nowrap; }

.top { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--grey-2); }
.top-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); font-weight: 700; letter-spacing: .14em; font-size: 1.05rem; }
.brand small { display: block; font-weight: 500; letter-spacing: .02em; font-size: .75rem; color: var(--muted); }
.brand span { line-height: 1.15; }
.nav { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; align-items: center; }
.nav a { display: block; padding: 10px 14px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--teal); }
.nav .nav-cta { background: var(--navy); color: #fff; border: 0; margin-left: 8px; }
.nav .nav-cta:hover { background: var(--navy-2); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; background: var(--navy); color: #fff; border: 2px solid var(--navy); font: 600 1rem var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: var(--navy-2); }
.btn-line { background: transparent; color: var(--navy); }
.btn-line:hover { background: var(--grey); }
.btn-teal { background: var(--teal); border-color: var(--teal); color: var(--navy); }
.btn-teal:hover { background: #2DC7B9; }

.hero { padding: clamp(48px, 7vw, 96px) 0 0; background: linear-gradient(var(--grey) 0 0) bottom / 100% 64px no-repeat, linear-gradient(90deg, var(--grey-2) 1px, transparent 1px) 0 0 / 80px 80px, #fff; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.04; letter-spacing: -.025em; color: var(--navy); margin: 0 0 20px; font-weight: 700; max-width: 16ch; text-wrap: balance; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 48ch; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.panel { background: #fff; border: 1px solid var(--grey-2); box-shadow: 0 24px 48px -28px rgba(15,42,74,.45); }
.panel-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--grey-2); background: var(--navy); }
.panel-head .mono { color: #fff; margin: 0; }
.dot-live { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(0,179,164,.25); }
.log { width: 100%; border-collapse: collapse; font-size: .92rem; }
.log th { text-align: left; font: 500 .72rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 10px 18px; border-bottom: 1px solid var(--grey-2); }
.log td { padding: 11px 18px; border-bottom: 1px solid var(--grey); }
.chip { display: inline-block; font: 500 .72rem var(--mono); padding: 3px 8px; background: var(--grey); color: var(--muted); white-space: nowrap; }
.chip.ok { background: #DDF4F1; color: var(--teal-d); }
.chip.prog { background: #FFF1D6; color: #8A5A00; }
.panel-foot { margin: 0; padding: 12px 18px; font-size: .85rem; color: var(--muted); background: var(--grey); }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 6vw, 80px); background: #fff; border: 1px solid var(--grey-2); position: relative; }
.facts div { padding: 22px 24px; border-right: 1px solid var(--grey-2); }
.facts div:last-child { border-right: 0; }
.facts p:last-child { margin: 0; font-weight: 600; color: var(--navy); }

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-grey { background: var(--grey); }
.section-navy { background: var(--navy); color: #E4ECF5; }
.sec-head { max-width: 720px; margin-bottom: 40px; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.1; letter-spacing: -.02em; color: var(--navy); margin: 0; text-wrap: balance; }
.section-navy h2 { color: #fff; }
.sub { color: var(--muted); font-size: 1.1rem; margin: 14px 0 0; }
.sub-light { color: #B9C7D8; }

.tablist { display: flex; flex-wrap: wrap; border-bottom: 2px solid var(--grey-2); }
.tablist button { font: 600 1rem var(--sans); background: none; border: 0; padding: 14px 22px; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; min-height: 48px; }
.tablist button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--teal); }
.tablist button:hover { color: var(--navy); }
.tabpanel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 36px 0 0; }
.tabpanel[hidden] { display: none; }
.tabpanel h3 { margin: 0 0 10px; font-size: 1.5rem; color: var(--navy); }
.tabpanel p { margin: 0; color: var(--muted); font-size: 1.08rem; max-width: 46ch; }
.tabpanel ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--grey-2); }
.tabpanel li { padding: 14px 0 14px 28px; border-bottom: 1px solid var(--grey-2); position: relative; }
.tabpanel li::before { content: ""; position: absolute; left: 0; top: 22px; width: 14px; height: 2px; background: var(--teal); }

.table-scroll { overflow-x: auto; background: #fff; border: 1px solid var(--grey-2); }
.spec { width: 100%; border-collapse: collapse; min-width: 620px; }
.spec th, .spec td { padding: 14px 18px; border-bottom: 1px solid var(--grey); text-align: center; }
.spec thead th { font: 500 .75rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--navy); }
.spec thead th:first-child, .spec tbody th { text-align: left; }
.spec tbody th { font-weight: 500; color: var(--ink); }
.spec tbody tr:hover { background: #F7FAFC; }
.tick { color: var(--teal-d); font-size: 1rem; }

.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--navy); }
.timeline li { padding: 24px 24px 0 0; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: var(--teal); }
.timeline h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.2rem; }
.timeline p:last-child { margin: 0; color: var(--muted); }

.survey-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.demo { border-left: 3px solid var(--teal); padding: 10px 14px; background: rgba(255,255,255,.06); color: #DCE6F1; margin-top: 24px; max-width: 46ch; }
.survey { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; background: #fff; color: var(--ink); padding: clamp(22px, 4vw, 34px); }
.field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: .92rem; color: var(--navy); padding: 0; }
.field legend { margin-bottom: 6px; }
input[type=text], select { font: inherit; min-height: 48px; padding: 10px 12px; border: 1px solid #B8C4D2; background: #fff; color: var(--ink); width: 100%; border-radius: 0; }
input[type=text]:focus, select:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal); }
.radios { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.radios label { display: flex; align-items: center; gap: 8px; font-weight: 500; min-height: 36px; cursor: pointer; }
.radios input { width: 18px; height: 18px; accent-color: var(--navy); }
.status { margin: 0; min-height: 1.5em; font-weight: 600; color: var(--teal-d); }
.status.is-error { color: #B3261E; }

.foot { background: #08182B; color: #A9B8CA; padding: 44px 0; font-size: .95rem; }
.foot-inner { display: grid; gap: 12px; max-width: 780px; }
.foot p { margin: 0; }
.brand-text { color: #fff; font-weight: 700; letter-spacing: .14em; }
.brand-text span { letter-spacing: .02em; font-weight: 400; color: #A9B8CA; }
.foot a { color: var(--teal); font-weight: 600; }

@media (max-width: 960px) {
  .hero-grid, .survey-grid, .tabpanel { grid-template-columns: 1fr; gap: 36px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(2) { border-right: 0; }
  .facts div:nth-child(-n+2) { border-bottom: 1px solid var(--grey-2); }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .nav li:not(:last-child) { display: none; }
}
@media (max-width: 560px) {
  .survey { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--navy); padding-left: 22px; }
  .timeline li { padding: 0 0 8px; }
  .timeline li::before { left: -29px; top: 4px; }
  .facts { grid-template-columns: 1fr; }
  .facts div { border-right: 0; border-bottom: 1px solid var(--grey-2); }
  .facts div:last-child { border-bottom: 0; }
  .brand { font-size: .95rem; }
  .brand svg { width: 26px; height: 26px; }
  .nav .nav-cta { padding: 10px 12px; font-size: .88rem; margin-left: 0; }
  .hero-actions .btn { flex: 1 1 100%; }
  .log td, .log th { padding-inline: 12px; }
}

/* ---------- After-hours image band (AI-generated concept imagery) ---------- */
.after-hours { padding-bottom: 0; }
.after-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.after-figure { margin: 0; }
.after-photo { aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--grey-2); background: var(--navy); }
.after-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); will-change: transform; }
.after-figure figcaption { margin-top: 10px; font: 500 .72rem var(--mono); letter-spacing: .06em; color: var(--muted); }
.after-copy h2 { margin-bottom: 4px; }
.rv { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
@media (max-width: 960px) { .after-grid { grid-template-columns: 1fr; } .after-copy { order: -1; } }
@media (prefers-reduced-motion: reduce) { .after-photo img { transform: none !important; } .rv { opacity: 1; transform: none; } }
