/* Iniret landing — built from design/Iniret.html (Modernist design system). */

/* ── Fonts: Archivo variable, self-hosted ───────────────────────────────── */
@font-face {
  font-family: 'Archivo'; font-style: normal; font-weight: 400 800; font-stretch: 100%; font-display: swap;
  src: url('/fonts/archivo-vietnamese.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: 'Archivo'; font-style: normal; font-weight: 400 800; font-stretch: 100%; font-display: swap;
  src: url('/fonts/archivo-latin-ext.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: 'Archivo'; font-style: normal; font-weight: 400 800; font-stretch: 100%; font-display: swap;
  src: url('/fonts/archivo-latin.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;
}

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --color-bg: #f3f2f2;
  --color-surface: #eae9e9;
  --color-text: #201e1d;
  --color-accent: #ec3013;
  --color-divider: color-mix(in srgb, #201e1d 40%, transparent);

  --color-neutral-100: #f8f4f4;
  --color-neutral-800: #444141;
  --color-neutral-900: #2d2b2b;
  --color-accent-100: #fff2ef;
  --color-accent-600: #dd2b0f;
  --color-accent-700: #ae1800;
  --color-accent-800: #7c1405;

  --font-heading: "Archivo", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;

  --muted-55: color-mix(in srgb, var(--color-text) 55%, transparent);
  --muted-70: color-mix(in srgb, var(--color-text) 70%, transparent);
  --muted-78: color-mix(in srgb, var(--color-text) 78%, transparent);
  --muted-45: color-mix(in srgb, var(--color-text) 45%, transparent);

  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 60px;
}

/* ── Base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--color-bg); color: var(--color-text);
  font-family: var(--font-body); font-size: 15px; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-wrap: pretty;
}
body.flow-open { overflow: hidden; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 800; margin: 0; }
p { margin: 0; }
a { color: var(--color-accent-700); text-underline-offset: 3px; }
a:hover { color: var(--color-accent); }
svg { display: block; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(28px, 5vw, 72px); }
.section { padding-top: clamp(40px, 6vw, 96px); padding-bottom: clamp(40px, 6vw, 96px); }
.ruled { border-top: 2px solid var(--color-divider); }

.eyebrow { display: flex; gap: 12px; align-items: baseline; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--color-accent-700); }
.label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.h2 { font-size: clamp(31px, 3.6vw, 50px); line-height: 1.04; letter-spacing: -.02em; margin-top: 14px; }
.lede { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55; margin-top: 14px; color: var(--muted-78); }
.sq { display: inline-block; flex: none; width: 10px; height: 10px; background: var(--color-accent); }
.arrow-sm { color: var(--color-accent); }

/* ── Buttons, inputs, tags ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none; font-family: var(--font-heading); font-weight: 800;
  font-size: 14px; line-height: 1.2; color: var(--color-text); background: transparent;
  border: 1px solid transparent; padding: 8px 14px; border-radius: 0;
}
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); color: var(--color-bg); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary { border-color: var(--color-divider); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.btn-ghost { color: var(--color-accent); padding-inline: 4px; }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); color: var(--color-accent); }
.btn-icon { width: 40px; height: 40px; padding: 0; }
.btn-cta { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 0 16px; min-height: 54px; font-size: 16px; text-align: left; }
.btn-cta.lg { min-height: 58px; font-size: 17px; }
.btn-cta.md { min-height: 52px; padding: 0 14px; }

.field > label { display: block; font-size: 12px; margin-bottom: 5px; color: var(--muted-70); }
.input {
  width: 100%; min-height: 50px; padding: 6px 10px; font: inherit; font-size: 17px;
  color: var(--color-text); caret-color: var(--color-accent); background: var(--color-surface);
  border: 1px solid var(--color-divider); border-radius: 0;
}
.input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
.err { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--color-accent-700); }

.tag { display: inline-flex; align-items: center; font-size: 11px; letter-spacing: .02em; padding: 3px 10px; white-space: nowrap; }
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }
.tag-neutral { background: var(--color-neutral-100); color: var(--color-neutral-800); }
.tag-outline { border: 1px solid var(--color-accent); color: var(--color-accent); }

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 5; background: var(--color-bg); border-bottom: 2px solid var(--color-divider); }
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: inherit; text-decoration: none; }
.brand .sq { width: 12px; height: 12px; }
.brand:hover { color: inherit; }
.header-right { display: flex; align-items: center; gap: 28px; }
.main-nav { display: none; gap: 24px; font-size: 15px; font-weight: 600; }
.main-nav a { color: inherit; text-decoration: none; white-space: nowrap; }
.main-nav a:hover { color: var(--color-accent-700); }
@media (min-width: 1000px) { .main-nav { display: flex; } }
.header-cta { min-height: 38px; padding: 0 14px; white-space: nowrap; flex: none; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero .wrap {
  padding-top: clamp(36px, 7vw, 104px); padding-bottom: clamp(32px, 6vw, 88px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(28px, 5vw, 72px); align-items: center;
}
.hero h1 { font-size: clamp(42px, 6.4vw, 86px); line-height: 1; letter-spacing: -.03em; margin-left: -.04em; }
.hero .sub { font-family: var(--font-heading); font-weight: 700; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.3; margin-top: 24px; }
.hero .lede { margin-top: 10px; max-width: 56ch; }

.url-box { border: 2px solid var(--color-text); background: var(--color-bg); }
.url-box label { display: block; padding: 12px 14px 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--color-accent-700); }
.url-box input {
  display: block; width: 100%; border: 0; outline: none; background: transparent;
  font-family: var(--font-body); font-size: clamp(19px, 1.7vw, 22px); font-weight: 500;
  padding: 6px 14px 16px; color: var(--color-text);
}
.url-box input.solo { padding: 16px 14px; }
.form-note { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--muted-70); }
.form-note.strong { font-weight: 600; color: var(--color-text); }
.url-err { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--color-accent-700); }

/* ── Flow strip ─────────────────────────────────────────────────────────── */
.strip { border-top: 2px solid var(--color-divider); border-bottom: 2px solid var(--color-divider); }
.strip .wrap { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; }
.strip .cell { padding: clamp(14px, 1.6vw, 22px) 0; font-size: clamp(13px, 1.4vw, 18px); font-weight: 600; line-height: 1.25; }
.strip .cell.hl { padding-left: 12px; padding-right: 12px; font-weight: 800; background: var(--color-accent); color: var(--color-bg); }
.strip .arr { display: flex; align-items: center; padding: 0 10px; color: var(--color-accent); }

/* ── 01 Shift ───────────────────────────────────────────────────────────── */
.vs { display: grid; grid-template-columns: 1fr 1fr; margin-top: 24px; border-top: 2px solid var(--color-divider); border-bottom: 2px solid var(--color-divider); }
.vs > div { padding: 16px 0 18px 14px; }
.vs > div:first-child { padding: 16px 14px 18px 0; border-right: 2px solid var(--color-divider); }
.vs .label { color: var(--muted-70); }
.vs .agents .label { color: var(--color-accent-700); }
.vs ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; color: color-mix(in srgb, var(--color-text) 72%, transparent); }
.vs .agents ul { font-weight: 800; color: var(--color-text); }
.vs .agents li:last-child { color: var(--color-accent); }

.qlist { list-style: none; margin: 14px 0 0; padding: 0; }
.qlist li { display: grid; grid-template-columns: 36px 1fr; padding: 12px 0; border-top: 1px solid var(--color-divider); font-size: clamp(16px, 1.4vw, 19px); font-weight: 600; }
.qlist .n { font-size: 12px; font-weight: 600; color: var(--color-accent-700); font-feature-settings: 'tnum' 1; padding-top: 3px; }
.lead-strong { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55; font-weight: 500; }
.kicker-line { font-family: var(--font-heading); font-weight: 800; font-size: clamp(19px, 1.6vw, 22px); margin-top: 18px; padding-top: 16px; border-top: 2px solid var(--color-divider); }

/* ── 02 How it works ────────────────────────────────────────────────────── */
.how-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 14px clamp(28px, 5vw, 72px); align-items: end; margin-top: 14px; }
.how-head .h2, .how-head .lede { margin: 0; }
.diagram { margin-top: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; }
.diagram .d-arrow { display: flex; align-items: center; justify-content: flex-start; padding: 10px 12px; color: var(--color-accent); }
@media (min-width: 1000px) {
  .diagram { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.2fr) auto minmax(0, 1fr); }
  .diagram .d-arrow { justify-content: center; }
  .diagram .d-arrow svg { transform: rotate(-90deg); }
}
.d-title { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; margin-bottom: 8px; }
.tiles { display: grid; gap: 2px; background: var(--color-divider); border: 2px solid var(--color-divider); list-style: none; margin: 0; padding: 0; }
.tiles > * { background: var(--color-bg); padding: 12px 10px; font-size: 13px; font-weight: 600; }
.tiles.c2 { grid-template-columns: repeat(2, 1fr); }
.tiles.c3 { grid-template-columns: repeat(3, 1fr); }
.tiles .full { grid-column: 1 / -1; }
.engine { background: var(--color-text); color: var(--color-bg); padding: 18px 14px 14px; display: flex; flex-direction: column; }
.engine-name { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 800; font-size: 24px; letter-spacing: -.02em; }
.engine-sub { font-size: 14px; margin-top: 4px; color: color-mix(in srgb, var(--color-bg) 78%, transparent); }
.layers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; margin-top: 16px; background: color-mix(in srgb, var(--color-bg) 25%, transparent); border: 2px solid color-mix(in srgb, var(--color-bg) 25%, transparent); }
.layers button {
  all: unset; cursor: pointer; background: var(--color-text); color: var(--color-bg);
  padding: 10px 4px 9px 6px; font-size: 11px; font-weight: 700; letter-spacing: .01em;
  transition: background .35s; overflow: hidden; text-overflow: ellipsis;
}
.layers button[aria-pressed="true"] { background: var(--color-accent); }
.layers button:focus-visible { outline: 2px solid var(--color-bg); outline-offset: -2px; }
.layers .n { display: block; font-size: 10px; font-weight: 600; opacity: .75; }
.layer-note { margin-top: 12px; font-size: 14px; line-height: 1.45; min-height: 40px; color: var(--color-bg); }

/* ── Not another chatbot ────────────────────────────────────────────────── */
.banner { background: var(--color-accent); color: var(--color-bg); }
.banner .wrap { padding-top: clamp(44px, 7vw, 112px); padding-bottom: clamp(48px, 7vw, 112px); }
.banner h2 { font-size: clamp(44px, 8vw, 120px); line-height: .98; letter-spacing: -.035em; margin-left: -.04em; }
.banner p { font-family: var(--font-heading); font-weight: 800; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.1; letter-spacing: -.015em; margin-top: clamp(22px, 3vw, 36px); }
.layer-under .split { padding-top: clamp(32px, 5vw, 80px); padding-bottom: clamp(40px, 6vw, 96px); gap: clamp(24px, 5vw, 72px); align-items: start; }
.big-lead { font-size: clamp(17px, 1.6vw, 22px); line-height: 1.5; font-weight: 500; }
.ifaces { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); border-bottom: 0; }
.ifaces > * { padding: 14px 10px; font-size: 14px; }
.ifaces .old { color: var(--muted-45); text-decoration: line-through; }
.underneath { background: var(--color-text); color: var(--color-bg); padding: 16px 14px; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-heading); font-weight: 800; font-size: 18px; }

/* ── 03 In practice ─────────────────────────────────────────────────────── */
.dims { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; align-items: center; }
.dims .x { color: var(--color-accent); font-weight: 800; }
.query-card { border: 2px solid var(--color-text); }
.query-head { padding: 10px 14px; border-bottom: 2px solid var(--color-divider); display: flex; justify-content: space-between; }
.query-head span:last-child { color: var(--muted-70); }
.query-text { padding: 16px 14px; font-family: var(--font-heading); font-weight: 700; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.35; }
.query-running { padding: 16px 14px; border-top: 2px solid var(--color-divider); font-size: 15px; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.matches { border-top: 2px solid var(--color-divider); }
.match { padding: 12px 14px; border-bottom: 1px solid var(--color-divider); display: grid; grid-template-columns: 24px 1fr; gap: 4px 8px; }
.match .n { font-size: 12px; font-weight: 700; color: var(--color-accent-700); padding-top: 2px; }
.match .t { font-size: 15px; font-weight: 700; }
.match .meta { grid-column: 2; font-size: 13px; color: color-mix(in srgb, var(--color-text) 72%, transparent); }
.stages { grid-template-columns: repeat(4, 1fr); margin-top: 16px; }
.stages > * { padding: 12px 8px; font-size: 13px; font-weight: 800; transition: background .3s, color .3s; }
.stages .on { background: var(--color-text); color: var(--color-bg); }
.stages .on.last { background: var(--color-accent); }
.after-note { font-size: 15px; line-height: 1.5; margin-top: 14px; font-weight: 600; }

/* blinking square used in loaders */
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: .2; } }
.blink { animation: blink .9s steps(1) infinite; }

/* ── 04 Use cases carousel ──────────────────────────────────────────────── */
.uc .section { padding-left: 0; padding-right: 0; padding-bottom: clamp(36px, 5vw, 80px); }
.uc-track {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 24px var(--gutter) 4px; scroll-padding: 0 var(--gutter); scrollbar-width: none;
  list-style: none; margin: 0;
}
.uc-track::-webkit-scrollbar { display: none; }
.uc-track::after { content: ''; flex: 0 0 8px; }
.uc-card { flex: 0 0 min(80%, 360px); scroll-snap-align: start; background: var(--color-surface); border-top: 4px solid var(--color-text); padding: 18px 16px 20px; min-height: 220px; display: flex; flex-direction: column; transition: border-color .25s; }
.uc-card.active { border-top-color: var(--color-accent); }
.uc-card .n { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--color-accent-700); }
.uc-card h3 { font-size: 23px; letter-spacing: -.015em; margin-top: 28px; }
.uc-card p { font-size: 15px; line-height: 1.5; margin-top: 10px; color: color-mix(in srgb, var(--color-text) 80%, transparent); }
.uc-controls { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 16px; }
.uc-dots { display: flex; gap: 6px; }
.uc-dots button { all: unset; cursor: pointer; width: 6px; height: 6px; background: var(--color-divider); transition: all .25s; }
.uc-dots button[aria-current="true"] { width: 22px; background: var(--color-accent); }
.uc-nav { display: flex; align-items: center; gap: 12px; }
.uc-counter { font-size: 13px; font-weight: 600; font-feature-settings: 'tnum' 1; }

/* ── 05 Adoption ────────────────────────────────────────────────────────── */
.stack-box { border: 2px solid var(--color-divider); padding: 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.stack-box .label { color: var(--muted-70); }
.stack-box strong { font-size: 16px; font-weight: 700; word-break: break-all; text-align: right; }
.stack-link { height: 22px; margin-left: 20px; border-left: 2px solid var(--color-accent); }
.stack-layer { border: 2px solid var(--color-accent); padding: 14px; }
.stack-layer .title { font-family: var(--font-heading); font-weight: 800; font-size: 18px; }
.chain { list-style: none; margin: 10px 0 0; padding: 0; }
.chain li { display: flex; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid var(--color-divider); font-size: 15px; font-weight: 600; }
.chain .sq { width: 8px; height: 8px; }
.consumers > * { padding: 14px 10px; font-size: 14px; font-weight: 700; }

/* ── Final CTA + footer ─────────────────────────────────────────────────── */
.final { border-top: 2px solid var(--color-text); background: var(--color-surface); }
.final .wrap { padding-top: clamp(44px, 7vw, 112px); padding-bottom: clamp(44px, 7vw, 112px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(24px, 5vw, 72px); align-items: end; }
.final h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -.025em; margin-left: -.03em; }
.final .lede { color: color-mix(in srgb, var(--color-text) 80%, transparent); }
.site-footer { border-top: 2px solid var(--color-divider); }
.site-footer .wrap { padding-top: 24px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 13px; line-height: 1.5; color: var(--muted-70); }
.site-footer .brand { font-size: 15px; gap: 8px; color: var(--color-text); }
.site-footer .brand .sq { width: 8px; height: 8px; }
.site-footer p { margin-top: 8px; max-width: 44ch; }
.site-footer .copy { margin: 0; }

/* ── Mobile sticky CTA ──────────────────────────────────────────────────── */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 8;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--color-bg); border-top: 2px solid var(--color-text);
  transform: translateY(110%); transition: transform .28s ease;
}
.sticky-cta.show { transform: translateY(0); }
@media (min-width: 1000px) { .sticky-cta { display: none; } }

/* ── Analysis flow panel ────────────────────────────────────────────────── */
.backdrop { position: fixed; inset: 0; z-index: 19; background: var(--muted-45); opacity: 0; pointer-events: none; transition: opacity .3s; }
.flow-open .backdrop { opacity: 1; pointer-events: auto; }
.panel {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(100%, 520px); z-index: 20;
  background: var(--color-bg); display: flex; flex-direction: column;
  transform: translateX(102%); transition: transform .34s cubic-bezier(.2, .7, .2, 1);
  visibility: hidden;
}
.flow-open .panel { transform: translateX(0); visibility: visible; }
@media (min-width: 1000px) { .panel { border-left: 2px solid var(--color-text); } }
.panel-head { height: var(--header-h); flex: none; display: flex; align-items: center; gap: 8px; padding: 0 8px 0 4px; border-bottom: 2px solid var(--color-divider); }
.panel-head .back { all: unset; cursor: pointer; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.panel-head .back:focus-visible { outline: 2px solid var(--color-accent); }
.panel-title { font-size: 15px; font-weight: 700; flex: 1; }
.panel-domain { font-size: 13px; font-weight: 600; color: var(--muted-70); padding-right: 10px; max-width: 50%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.view { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.view-body { flex: 1; overflow-y: auto; padding: 28px 20px 24px; }
.view-foot { flex: none; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 2px solid var(--color-text); background: var(--color-bg); }
.view h2 { font-size: 34px; line-height: 1.04; letter-spacing: -.02em; margin-top: 10px; word-break: break-word; }
.view .desc { font-size: 15px; line-height: 1.5; margin-top: 10px; color: var(--muted-78); }
.fineprint { margin-top: 20px; font-size: 13px; line-height: 1.5; color: var(--muted-70); }

.progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 24px; }
.progress span { height: 6px; background: var(--color-divider); transition: background .3s; }
.progress span.done { background: var(--color-text); }
.progress span.active { background: var(--color-accent); }
.steps { list-style: none; margin: 24px 0 0; padding: 0; border-top: 2px solid var(--color-divider); }
.steps li { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--color-divider); font-size: 17px; font-weight: 600; color: var(--muted-45); transition: color .3s; }
.steps .box { width: 22px; height: 22px; flex: none; display: flex; align-items: center; justify-content: center; border: 2px solid var(--color-divider); color: var(--color-bg); }
.steps .box svg { visibility: hidden; }
.steps li.active, .steps li.done { color: var(--color-text); }
.steps li.active .box { border-color: var(--color-accent); animation: fillblink .9s steps(1) infinite; }
.steps li.done .box { border-color: var(--color-text); background: var(--color-text); }
.steps li.done .box svg { visibility: visible; }
@keyframes fillblink { 0%, 49% { background: var(--color-accent); } 50%, 100% { background: transparent; } }

.readiness { list-style: none; margin: 22px 0 0; padding: 0; border-top: 2px solid var(--color-text); }
.readiness li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--color-divider); font-size: 15px; font-weight: 600; }
.view h3 { font-size: 22px; line-height: 1.15; letter-spacing: -.01em; margin-top: 32px; }
.answers { list-style: none; margin: 14px 0 0; padding: 0; border-top: 2px solid var(--color-divider); }
.answers li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--color-divider); align-items: start; font-size: 15px; line-height: 1.4; font-weight: 500; }
.answers .ic { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--color-accent); }
.answers .y .ic { border-color: var(--color-text); color: var(--color-text); }
.answers .p .ic { color: var(--color-accent-700); }
.answers .n .ic { background: var(--color-accent); color: var(--color-bg); }
.answers .why { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--muted-70); }
.legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; font-size: 12px; font-weight: 600; color: color-mix(in srgb, var(--color-text) 72%, transparent); }
.legend span + span { color: var(--color-accent-700); }

.report-form { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
.report-for { margin-top: 26px; border-top: 2px solid var(--color-divider); padding-top: 14px; display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.report-for span:first-child { color: var(--muted-70); }
.report-for strong { word-break: break-all; }
.code-input { font-size: 26px; font-weight: 700; letter-spacing: .3em; font-feature-settings: 'tnum' 1; min-height: 60px; }
.verify-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 14px; margin-left: -4px; }
.verify-links .btn { min-height: 36px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.sent-hero { background: var(--color-accent); color: var(--color-bg); padding: 40px 20px 44px; }
.sent-hero .check { width: 44px; height: 44px; border: 2px solid var(--color-bg); display: flex; align-items: center; justify-content: center; }
.sent-hero h2 { font-size: 38px; line-height: 1.02; letter-spacing: -.025em; margin-top: 24px; }
.sent-body { padding: 24px 20px; }
.sent-body p { font-size: 16px; line-height: 1.55; word-break: break-word; }
.sent-actions { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.sent-actions .btn-ghost { justify-content: flex-start; }
