/* horizOS marketing site: one stylesheet, self-hosted fonts, one small script (hero moment).
   Tokens are the horizOS design system (claude.ai/artifact/9d1jm93J5BnprCQ7CcstV3), read from the
   shipped product: petrol primary, ink ground, dawn horizon line, Inter + Geist Mono.
   Taste rules applied (Leonxlnx/taste-skill, software kind): the h1 names the category and the buyer,
   the first screen shows the product's own UI, equal edges, one system, quiet hover, one hero moment.
   Contrast ratios are the measured WCAG figures from the design system. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-vietnamese-wght-normal.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/geist-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/geist-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;
  /* Grounds */
  --canvas: #f5f6f7;      /* page ground behind cards */
  --surface: #ffffff;     /* cards, the hero, dialogs */
  --surface-2: #f0f2f4;
  --border: #dce1e5;      /* decorative separation only */
  --control-border: #7b8590; /* 3.75:1 on surface: outline buttons */
  /* Text */
  --fg: #121a21;          /* 17.57:1 on surface */
  --fg-muted: #46515c;    /* 8.10:1 on surface */
  /* Brand */
  --petrol: #0b6670;      /* primary; white on it 6.67:1 */
  --petrol-hover: #09555d;
  --petrol-pressed: #07454c;
  --petrol-subtle: #e3f1f2;
  --on-petrol-subtle: #06474e;
  --link: #0a5f69;
  --ink: #0f1e26;         /* the settled record: dark bands, the label */
  --on-ink: #e7eef1;      /* 14.50:1 on ink */
  --on-ink-muted: #a9b8c0;/* 8.35:1 on ink */
  --dawn: #f2a33a;        /* the horizon line. Decorative on light (2.08:1), working colour on ink (8.16:1) */
  /* Status (tone + icon + word, never colour alone) */
  --success: #1b7a3e; --success-subtle: #e6f4ea; --on-success-subtle: #156434;
  --warning-subtle: #fff3da; --on-warning-subtle: #6e3b00; --warning: #a85800;
  --info-subtle: #e8f0fb; --on-info-subtle: #174c9f;
  /* Form */
  --radius-badge: 4px; --radius-control: 6px; --radius-card: 8px; --radius-dialog: 12px;
  --e1: 0 4px 6px -1px rgba(15, 30, 38, 0.10), 0 2px 4px -2px rgba(15, 30, 38, 0.10);
  --e3: 0 20px 25px -5px rgba(15, 30, 38, 0.12), 0 8px 10px -6px rgba(15, 30, 38, 0.10);
  --press: 120ms; --layer: 180ms;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
  --wrap: 1200px;
  --gutter: 16px;
  font-size: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;          /* >= 1.5: stacked Vietnamese capitals clip below ~1.45 */
  overflow-wrap: break-word;
  font-feature-settings: "cv11", "ss01";
}
img, svg { max-width: 100%; height: auto; }
code, .code { font-family: var(--mono); font-size: 0.94em; white-space: nowrap; }

a { color: var(--link); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; transition: color var(--press) ease, text-decoration-thickness var(--press) ease; }
a:hover { color: var(--petrol-pressed); text-decoration-thickness: 2px; }

/* One focus style everywhere (design system §5) */
:focus-visible { outline: 2px solid var(--petrol); outline-offset: 2px; border-radius: 2px; }
.band-ink :focus-visible, .site-footer :focus-visible { outline-color: var(--dawn); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }

.skip-link { position: absolute; left: var(--gutter); top: -100px; z-index: 20; padding: 0.6rem 1rem; background: var(--petrol); color: #fff; border-radius: 0 0 var(--radius-control) var(--radius-control); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 0; color: #fff; }
main:focus { outline: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-top: 0.7rem; padding-bottom: 0.7rem; }
/* The horizon lockup: wordmark with a 2px rule 4px below, petrol on light grounds. */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 600; letter-spacing: -0.02em; font-size: 1.3rem; line-height: 1; }
.logo:hover { color: var(--fg); }
.logo .mark { width: 30px; height: 30px; flex: none; }
.logo .word { position: relative; padding-bottom: 6px; }
.logo .word::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--petrol); transform-origin: left; }
.logo span { color: inherit; }
.nav-group { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.5rem; }
.site-nav ul, .lang-nav ul { display: flex; flex-wrap: wrap; gap: 0.1rem 0.25rem; margin: 0; padding: 0; list-style: none; }
.site-nav a, .lang-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.6rem; border-radius: var(--radius-control); color: var(--fg-muted); text-decoration: none; font-weight: 500; transition: background var(--press) ease, color var(--press) ease; }
.site-nav a:hover, .lang-nav a:hover { background: var(--surface-2); color: var(--fg); }
.site-nav a[aria-current="page"] { color: var(--fg); box-shadow: inset 0 -2px 0 var(--petrol); border-radius: 0; }
.lang-nav { font-size: 0.9rem; }
.lang-nav a[aria-current="true"] { color: var(--fg); font-weight: 600; }

/* ---------- Sections ---------- */
main { display: block; }
section { padding: 3rem 0; }
.alt { background: var(--canvas); }
section + section { border-top: 1px solid var(--border); }
.band-ink { background: var(--ink); color: var(--on-ink); border-top: 0 !important; }
.band-ink + section { border-top: 0; }
.band-ink a { color: var(--on-ink); }
.band-ink .small, .band-ink .muted { color: var(--on-ink-muted); }

h1, h2, h3 { line-height: 1.25; letter-spacing: -0.015em; margin: 0 0 0.75rem; font-weight: 650; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); line-height: 1.2; }
h3 { font-size: 1.1rem; line-height: 1.4; }
p, ul, ol, dl { margin: 0 0 1rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; margin: 0 0 1rem; color: var(--fg-muted); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--dawn); }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.55; color: var(--fg); font-weight: 500; max-width: 40rem; }
.measure { max-width: 42rem; }
.small { font-size: 0.9rem; color: var(--fg-muted); }
.section-head { max-width: 46rem; margin-bottom: 2rem; }

/* ---------- Buttons: one pair, press on click ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px; padding: 0 1.35rem; border-radius: var(--radius-control); background: var(--petrol); color: #fff; font-weight: 600; text-decoration: none; border: 1px solid var(--petrol); transition: background var(--press) ease, transform var(--press) ease, box-shadow var(--press) ease; }
.btn:hover { background: var(--petrol-hover); border-color: var(--petrol-hover); color: #fff; transform: translateY(-1px); box-shadow: var(--e1); text-decoration: none; }
.btn:active { background: var(--petrol-pressed); transform: translateY(0); box-shadow: none; }
.btn .arrow { transition: transform var(--press) ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-outline { background: var(--surface); color: var(--fg); border-color: var(--control-border); }
.btn-outline:hover { background: var(--surface-2); color: var(--fg); border-color: var(--fg-muted); }
.btn-outline:active { background: var(--border); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin: 1.75rem 0 0.75rem; }

/* ---------- Hero: copy beside the product's own public page ---------- */
.hero { padding: 3rem 0 3.5rem; background: var(--surface); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.hero h1 { max-width: 17ch; }
.hero .facts-row { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: 1.25rem 0 0; padding: 0; list-style: none; color: var(--fg-muted); font-size: 0.92rem; }
.hero .facts-row li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero .facts-row svg { width: 16px; height: 16px; color: var(--petrol); flex: none; }
/* The horizon: a dawn line drawn once across the hero on load */
.horizon { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--dawn); transform-origin: left center; }

/* The phone showing the public warranty page a customer sees after scanning the QR label */
.device { position: relative; justify-self: center; width: min(340px, 100%); }
.phone { position: relative; border-radius: 34px; padding: 10px; background: var(--ink); box-shadow: var(--e3); }
.phone-screen { border-radius: 26px; overflow: hidden; background: var(--canvas); }
.phone-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px 10px; background: var(--ink); color: var(--on-ink); font-size: 0.78rem; }
.phone-bar .word { font-weight: 600; letter-spacing: -0.02em; border-bottom: 2px solid var(--dawn); padding-bottom: 3px; }
.phone-bar .url { font-family: var(--mono); color: var(--on-ink-muted); font-size: 0.72rem; }
.result { margin: 14px; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-dialog); }
.result .seller { margin: 0 0 12px; font-size: 0.78rem; color: var(--fg-muted); }
.result .product { margin: 0 0 4px; font-weight: 600; font-size: 1.02rem; line-height: 1.35; }
.result .serial { margin: 0 0 14px; font-family: var(--mono); font-size: 0.9rem; color: var(--fg); }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--radius-badge); font-size: 0.86rem; font-weight: 600; line-height: 1.4; }
.status svg { width: 16px; height: 16px; flex: none; }
.status-ok { background: var(--success-subtle); color: var(--on-success-subtle); }
.status-info { background: var(--info-subtle); color: var(--on-info-subtle); }
.result dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 14px 0 0; font-size: 0.86rem; }
.result dt { color: var(--fg-muted); }
.result dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.result .docs { margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--border); list-style: none; display: grid; gap: 6px; font-size: 0.84rem; }
.result .docs li { display: flex; align-items: center; gap: 8px; color: var(--fg); }
.result .docs svg { width: 16px; height: 16px; color: var(--fg-muted); flex: none; }
.registered { margin: 0 14px 16px; display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--fg-muted); }
.registered svg { width: 18px; height: 18px; flex: none; }
/* The label the customer scanned, tucked behind the phone */
.label { position: absolute; z-index: 2; left: -112px; bottom: 48px; width: 124px; transform: rotate(-4deg); padding: 10px; background: var(--ink); color: var(--on-ink); border-radius: var(--radius-card); box-shadow: var(--e1); display: none; }
.label .qr { display: block; width: 100%; aspect-ratio: 1; max-width: 100%; background: var(--surface); border-radius: 3px; padding: 6px; }
.label .qr svg { display: block; width: 100%; height: 100%; }
.label .meta { margin: 8px 0 0; font-family: var(--mono); font-size: 0.68rem; color: var(--on-ink-muted); line-height: 1.4; }
.scanline { position: absolute; left: 10px; right: 10px; top: 10px; height: 2px; background: var(--dawn); opacity: 0; }

/* ---------- Lifecycle: one serial along the horizon line ---------- */
.lifecycle { margin: 0 0 2.5rem; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; position: relative; }
.lifecycle li { position: relative; padding-top: 22px; }
.lifecycle li::before { content: ""; position: absolute; top: 0; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--petrol); }
.lifecycle li.now::before { background: var(--dawn); border-color: var(--ink); }
.lifecycle b { display: block; font-weight: 600; font-size: 0.95rem; }
.lifecycle span { display: block; font-size: 0.84rem; color: var(--fg-muted); line-height: 1.45; }
.lifecycle .code { display: inline-block; margin-top: 2px; font-size: 0.78rem; color: var(--fg); }
.life { position: relative; }
.track { display: none; }

/* ---------- Cards: flat, 1px border, lift 2px on hover ---------- */
.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 1.35rem; transition: transform var(--press) ease, box-shadow var(--press) ease, border-color var(--press) ease; }
.card:hover { transform: translateY(-2px); box-shadow: var(--e1); border-color: #c9d0d6; }
.card h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 0.6rem; }
.card .icon { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 0.85rem; border-radius: var(--radius-control); background: var(--petrol-subtle); color: var(--on-petrol-subtle); }
.card .icon svg { width: 20px; height: 20px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.badge { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: var(--radius-badge); background: var(--petrol-subtle); color: var(--on-petrol-subtle); font-size: 0.76rem; font-weight: 600; white-space: nowrap; letter-spacing: 0; }

.checklist { padding-left: 0; list-style: none; }
.checklist li { position: relative; padding-left: 1.6rem; margin-bottom: 0.45rem; }
.checklist li::before { content: ""; position: absolute; left: 0.15rem; top: 0.62em; width: 0.7rem; height: 2px; background: var(--petrol); }
.band-ink .checklist li::before { background: var(--dawn); }

/* Not yet: said plainly, on the ink band */
.notyet { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.notyet li { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.9rem 1rem; border: 1px solid #24404c; border-radius: var(--radius-card); color: var(--on-ink); }
.notyet svg { width: 18px; height: 18px; color: var(--dawn); flex: none; margin-top: 3px; }

/* Notice (unpublished pricing) */
.notice { background: var(--warning-subtle); color: var(--on-warning-subtle); border: 1px solid #f0d49a; border-radius: var(--radius-card); padding: 0.9rem 1.1rem; margin: 0 0 1.5rem; display: flex; gap: 0.6rem; align-items: flex-start; }
.notice p { margin: 0; }
.notice p + p { margin-top: 0.35rem; }

.offer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.offer .figure { font-size: clamp(3rem, 8vw, 4.5rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--petrol); font-variant-numeric: tabular-nums; }
.offer .figure small { display: block; margin-top: 0.5rem; font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--fg-muted); }

/* ---------- Inner pages ---------- */
.page-head { padding: 3rem 0 2.5rem; background: var(--surface); }
.page-head h1 { max-width: 24ch; }
.page-head .lead + .lead { margin-top: -0.25rem; }
.faq { display: grid; gap: 0.6rem; max-width: 48rem; margin-bottom: 1.5rem; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); transition: border-color var(--press) ease, box-shadow var(--press) ease; }
.faq details:hover { border-color: #c9d0d6; }
.faq details[open] { box-shadow: var(--e1); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 52px; padding: 0.85rem 1.1rem; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: var(--radius-badge); background: var(--petrol-subtle); color: var(--on-petrol-subtle); font-weight: 600; transition: transform var(--press) ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 1.1rem 1.1rem; color: var(--fg-muted); max-width: 42rem; }
.card .checklist { margin-bottom: 0; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; margin-bottom: 1rem; }
.plan { border: 1px solid var(--border); border-radius: var(--radius-card); padding: 1.5rem; display: flex; flex-direction: column; background: var(--surface); transition: box-shadow var(--press) ease, transform var(--press) ease; }
.plan:hover { box-shadow: var(--e1); transform: translateY(-2px); }
.plan h2 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.price { font-size: clamp(1.6rem, 5vw, 2.2rem); font-weight: 700; margin: 0.25rem 0 0; line-height: 1.2; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.price-unit { display: block; font-size: 0.95rem; font-weight: 500; color: var(--fg-muted); margin-bottom: 1rem; }
.plan dl { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 1rem; }
.plan dt { color: var(--fg-muted); }
.plan dd { margin: 0; font-weight: 600; }
.plan h3 { margin-top: 0.5rem; font-size: 1.05rem; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan .checklist { margin-bottom: 1.25rem; }

/* ---------- Contact ---------- */
.email-link { font-size: clamp(1.25rem, 4vw, 1.6rem); font-weight: 700; word-break: break-all; }
.facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.15rem 1.25rem; }
.facts dt { color: var(--fg-muted); }
.facts dd { margin: 0 0 0.6rem; font-weight: 600; }

/* ---------- Footer: the settled record ---------- */
.site-footer { background: var(--ink); color: var(--on-ink); padding: 2.5rem 0; font-size: 0.95rem; }
.site-footer p { margin: 0 0 0.5rem; }
.site-footer a { color: var(--on-ink); display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a:hover { color: #fff; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin: 0.75rem 0 0; padding: 0; list-style: none; }
.footer-entity { font-weight: 600; }
.footer-ai { color: var(--on-ink-muted); }
.footer-tag { margin-top: 1.25rem !important; padding-top: 1rem; border-top: 1px solid #24404c; color: var(--on-ink-muted); font-size: 0.85rem; }

.authored { font-size: 0.88rem; color: var(--fg-muted); margin-top: 1.5rem; }
.band-ink .authored { color: var(--on-ink-muted); }

/* ---------- Hero moment: the horizon draws, the scan resolves (once, on load) ---------- */
@media (prefers-reduced-motion: no-preference) {
  [data-enter] .horizon { animation: draw 1100ms cubic-bezier(.2,.7,.2,1) both; }
  [data-enter] .logo-rule, .site-header .logo .word::after { animation: draw 700ms 150ms cubic-bezier(.2,.7,.2,1) both; }
  [data-enter] .hero-copy > * { animation: rise 520ms cubic-bezier(.2,.7,.2,1) both; }
  [data-enter] .hero-copy > *:nth-child(2) { animation-delay: 60ms; }
  [data-enter] .hero-copy > *:nth-child(3) { animation-delay: 120ms; }
  [data-enter] .hero-copy > *:nth-child(4) { animation-delay: 180ms; }
  [data-enter] .hero-copy > *:nth-child(5) { animation-delay: 240ms; }
  [data-enter] .device { animation: rise 700ms 200ms cubic-bezier(.2,.7,.2,1) both; }
  [data-enter] .scanline { animation: scan 900ms 650ms ease-in-out both; }
  [data-enter] .result > * { animation: appear 360ms both; animation-delay: 1250ms; }
  [data-enter] .result .status { animation: pop 420ms 1450ms cubic-bezier(.2,.9,.3,1.3) both; }
  .lifecycle li::before { transition: transform var(--layer) ease, background var(--layer) ease; }
  .lifecycle li:hover::before { transform: scale(1.25); background: var(--petrol-subtle); }
  .pulse { animation: travel 4s linear infinite; }
}
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { 0% { opacity: 0; transform: scale(.85); } 100% { opacity: 1; transform: none; } }
@keyframes scan { 0% { opacity: 0; top: 10px; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; top: calc(100% - 12px); } }
@keyframes travel { from { left: 0%; } to { left: 100%; } }

/* ---------- 768 px and up ---------- */
@media (min-width: 48em) {
  :root { --gutter: 24px; }
  section { padding: 4.5rem 0; }
  .hero { padding: 4.5rem 0 5rem; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: max-content minmax(0, 1fr); }
  .facts dd { margin-bottom: 0.25rem; }
  .notyet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 3rem; }
  .lifecycle { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- 1024 px and up ---------- */
@media (min-width: 64em) {
  :root { --gutter: 32px; }
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 4rem; }
  .label { display: block; }
  .hero { min-height: min(calc(100svh - 68px), 860px); display: flex; align-items: center; }
  .hero > .wrap { flex: 1; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* the lifecycle becomes one horizon line with a pulse travelling along it */
  .lifecycle { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; padding-top: 0; }
  .lifecycle li { padding-top: 30px; padding-right: 0.5rem; }
  .lifecycle li::before { top: 0; }
  .track { display: block; position: absolute; left: 6px; right: 6px; top: 5px; height: 2px; background: var(--border); }
  .track::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--petrol) 0 72%, transparent 72%); }
  .pulse { position: absolute; top: -3px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--dawn); box-shadow: 0 0 0 3px rgba(242, 163, 58, 0.25); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media print {
  .skip-link, .lang-nav, .site-nav, .device { display: none; }
  .site-header { position: static; }
  a { color: inherit; }
}

/* ---------- User guide ---------- */
.guide-head { padding: 1.5rem 0 0; }
.guide-head .eyebrow a { color: inherit; text-decoration: none; }
.guide { padding-top: 1rem; }
.prose { max-width: 46rem; }
.prose h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.prose h3 { font-size: 1.1rem; margin-top: 1.5rem; }
.prose code { background: var(--surface-2); padding: 1px 5px; border-radius: var(--radius-badge); }
.prose ol.steps { padding-left: 1.4rem; } .prose ol.steps li { margin-bottom: 0.5rem; }
.prose .tbl { overflow-x: auto; margin: 0 0 1rem; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
.prose th, .prose td { text-align: left; padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { background: var(--surface-2); font-weight: 600; }
.prose blockquote { margin: 0 0 1rem; padding: 0.7rem 1rem; border-left: 3px solid var(--petrol); background: var(--petrol-subtle); color: var(--on-petrol-subtle); border-radius: 0 var(--radius-card) var(--radius-card) 0; }
.prose figure.shot { margin: 0 0 1.25rem; padding: 1.5rem 1rem; border: 1px dashed var(--control-border); border-radius: var(--radius-card); background: var(--canvas); color: var(--fg-muted); font-size: 0.88rem; text-align: center; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }

/* Warehouse photo + "three views" (home) */
.views-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 860px) { .views-grid { grid-template-columns: 1.2fr 1fr; gap: 3rem; } }
.views-photo { margin: 0; }
.views-photo img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-card); }
.views-photo figcaption { margin-top: 0.5rem; font-size: 0.8rem; color: var(--fg-muted); }
.views-photo figcaption a { color: inherit; }

/* Real UI screenshots */
.ui-gallery { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
@media (min-width: 860px) { .ui-gallery { grid-template-columns: 1fr 1fr; align-items: start; } }
.ui-gallery .shot { margin: 0; }
.ui-gallery img { display: block; width: 100%; height: auto; border: 1px solid var(--control-border); border-radius: var(--radius-card); box-shadow: var(--e1); background: #fff; }
.ui-gallery .shot-public img { max-width: 260px; margin-inline: auto; }
.ui-gallery figcaption { margin-top: 0.5rem; font-size: 0.85rem; color: var(--fg-muted); }

/* Demo video */
.demo-video { display: block; width: 100%; height: auto; margin-top: 1rem; border-radius: var(--radius-card); background: var(--ink); box-shadow: var(--e1); }
