/* RIA AI websites · v2. Tokens = Ria Design System v3 Mono (2026-10-21) + Brand Kit v1.0 (2026-10-26).
   Rule from DS v3: black does the work; at most one solid-black emphasis per view; colour only means status
   (green = confirmed, amber = waiting on someone, red = not done). */
:root {
  --action: #111111; --ink: #111111; --app: #F5F5F4; --surface: #FFFFFF; --on-dark: #FFFFFF;
  --sand: #EDEDED; --line: #E4E4E4; --line-soft: #EFEFEF; --muted: #52525B; --subtle: #6B6B70;
  --success: #157347; --success-bg: #E8F3EC; --waiting: #8A5A00; --waiting-bg: #F6EEDC; --error: #B42318;
  --night: #0A0A0B; --night-2: #141416; --night-line: #26262A; --night-muted: #A1A1AA;
  --font: "Geist", "Noto Sans HK", system-ui, -apple-system, "PingFang HK", sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --wrap: 1200px; --r: 20px; --r-lg: 28px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; touch-action: manipulation; }
[id] { scroll-margin-top: 84px; }
::selection { background: var(--ink); color: var(--on-dark); }
a { text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.hero :focus-visible, .night :focus-visible, footer :focus-visible { outline-color: #fff; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sr:focus { position: fixed; top: 12px; left: 12px; width: auto; height: auto; clip: auto; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--on-dark); border-radius: 999px; }

/* ---------- type ---------- */
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--subtle); margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.035em; margin: 0; }
h1 { font-size: clamp(44px, 7.4vw, 96px); line-height: .98; }
h2 { font-size: clamp(34px, 4.8vw, 64px); line-height: 1.04; margin-bottom: 20px; }
h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.015em; margin-bottom: 8px; }
:lang(zh-HK) body { line-height: 1.75; line-break: strict; }
:lang(zh-HK) h1, :lang(zh-HK) h2, :lang(zh-HK) h3, :lang(zh-HK) .stat { letter-spacing: 0; }
:lang(zh-HK) h1 { line-height: 1.15; }
:lang(zh-HK) h2 { line-height: 1.2; }
h1, h2 { font-feature-settings: "halt"; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
.lead { font-size: clamp(18px, 1.9vw, 22px); line-height: 1.55; color: var(--muted); max-width: 640px; margin: 0; }
.dim { color: var(--subtle); }
.grey { color: #8E8E93; }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1px solid transparent; transition: transform .2s var(--ease), background-color .2s; }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } }
.btn:active { transform: scale(.98); transition-duration: .1s; }
.btn.static { pointer-events: none; }
.btn.solid { background: var(--action); color: var(--on-dark); }
.btn.ghost { border-color: #949494; background: var(--surface); }
.night .btn.solid { background: var(--on-dark); color: var(--ink); }
.night .btn.ghost { background: transparent; color: var(--on-dark); border-color: #636368; }
.btn svg { width: 18px; height: 18px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); border-bottom: 1px solid var(--line-soft); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 66px; }
.top .logo img { height: 26px; width: auto; }
.top .sub { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--subtle); padding-left: 14px; border-left: 1px solid var(--line); }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 24px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--ink); }
.top .lang { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; border: 1px solid #949494; border-radius: 999px; min-height: 44px; min-width: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.top .btn { min-height: 44px; padding: 0 18px; font-size: 14px; }

/* ---------- sections ---------- */
section { padding: 128px 0; position: relative; }
.tight { padding: 96px 0; }
.app-bg { background: var(--app); }
.night { background: var(--night); color: var(--on-dark); }
.night .lead, .night .dim { color: var(--night-muted); }
.night .eyebrow { color: #8E8E93; }
.head { max-width: 800px; margin-bottom: 64px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head.center .lead { margin: 0 auto; }

/* ---------- hero ---------- */
.hero { background: var(--night); color: var(--on-dark); padding: 96px 0 0; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 900px; height: 900px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.09), transparent 70%); z-index: -1; }
.hero .grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: end; min-height: 640px; }
.hero .copy { padding-bottom: 120px; }
.hero h1 { margin-bottom: 28px; }
.hero h1 .soft { color: #6E6E73; }
.hero .lead { color: #B4B4BA; margin-bottom: 40px; }
.hero .proof { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 14px; background: var(--surface); }
.night .chip, .hero .chip { border-color: #2C2C30; background: rgba(255,255,255,.03); color: #D4D4D8; }
.chip .d { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.chip.ok { color: var(--success); background: var(--success-bg); border-color: transparent; }
.chip.wait { color: var(--waiting); background: var(--waiting-bg); border-color: transparent; }

/* ---------- phone + floating cards (built from DS components, not images) ---------- */
.stage { position: relative; height: 640px; }
.phone { position: absolute; left: 50%; bottom: -40px; transform: translateX(-50%); width: 320px; height: 650px; border-radius: 52px; background: #1C1C1F; padding: 11px; box-shadow: 0 0 0 1px #2E2E33, 0 60px 120px rgba(0,0,0,.6), inset 0 0 0 2px #2A2A2E; }
.phone .scr { position: relative; height: 100%; border-radius: 42px; background: var(--app); color: var(--ink); overflow: hidden; display: flex; flex-direction: column; }
.phone .island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 108px; height: 32px; border-radius: 20px; background: #000; z-index: 3; }
.phone .bar { display: flex; align-items: center; gap: 10px; padding: 54px 18px 12px; background: var(--surface); border-bottom: 1px solid var(--line-soft); }
.phone .bar img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.phone .bar b { font-size: 15px; display: block; line-height: 1.1; }
.phone .bar small { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--success); }
.phone .feed { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.phone .time { text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--subtle); }
.msg { max-width: 82%; padding: 10px 13px; border-radius: 18px; font-size: 13px; line-height: 1.45; }
.msg.me { align-self: flex-end; background: var(--action); color: var(--on-dark); border-bottom-right-radius: 6px; }
.msg.ria { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.task { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; font-size: 12.5px; }
.task .hd { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--subtle); margin-bottom: 8px; }
.task .hd .live { color: var(--ink); }
.task ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.task li { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--subtle); transition: color .3s; }
.task li i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line); flex: none; transition: background-color .3s, border-color .3s; }
.task li.done { color: var(--ink); }
.task li.done i { border-color: var(--success); background: var(--success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.task li.now i { border-color: var(--ink); border-top-color: transparent; animation: spin .9s linear infinite; }
.confirm { background: var(--success-bg); border-radius: 18px; padding: 12px 14px; font-size: 12.5px; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.confirm.show { opacity: 1; transform: none; }
.confirm .k { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--success); }
.confirm b { display: block; font-size: 14px; margin: 3px 0 2px; }
.confirm small { color: var(--muted); }
.phone .input { margin: 0 12px 16px; display: flex; align-items: center; justify-content: space-between; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 10px 10px 10px 16px; font-size: 12.5px; color: var(--subtle); }
.phone .input span.mic { width: 28px; height: 28px; border-radius: 50%; background: var(--action); }
.float { position: absolute; z-index: 2; background: rgba(24,24,27,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid #2E2E33; border-radius: 18px; padding: 14px 16px; color: var(--on-dark); font-size: 13px; width: 210px; box-shadow: 0 24px 60px rgba(0,0,0,.45); animation: bob 7s ease-in-out 3; }
.float .k { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: #8E8E93; display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.float .k .ok { color: #3FB97A; }
.float b { font-size: 17px; letter-spacing: -.01em; display: block; }
.float small { color: #A1A1AA; }
.float .route { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.float .route i { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, #6E6E73 0 4px, transparent 4px 8px); min-width: 50px; }
.float .wave { display: flex; gap: 3px; align-items: center; height: 22px; margin-top: 6px; }
.float .wave span { width: 3px; height: 20px; border-radius: 2px; background: #3FB97A; animation: wave 1.1s ease-in-out 6; }
.float .cal { display: flex; gap: 12px; align-items: center; }
.float .cal .d { background: #fff; color: var(--ink); border-radius: 10px; padding: 4px 10px; text-align: center; font-weight: 800; font-size: 18px; line-height: 1.1; }
.float .cal .d small { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .1em; }
.float .lines i { display: block; height: 5px; border-radius: 3px; background: #3A3A3F; margin-top: 7px; }
.float .lines i:nth-child(1) { width: 90%; } .float .lines i:nth-child(2) { width: 70%; } .float .lines i:nth-child(3) { width: 80%; }

/* ---------- cards / grids ---------- */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; position: relative; }
.app-bg .card { border-color: transparent; }
.night .card { background: var(--night-2); border-color: var(--night-line); }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.night .card p { color: var(--night-muted); }
.card .n { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--subtle); display: block; margin-bottom: 28px; }
.card .ico { width: 44px; height: 44px; border-radius: 14px; background: var(--app); display: grid; place-items: center; margin-bottom: 22px; }
.night .card .ico { background: #1F1F23; }
.card .ico svg { width: 22px; height: 22px; }
.card.big { padding: 40px; }
.stat { font-size: clamp(48px, 6vw, 80px); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: 14px; }
.src { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--subtle); margin-top: 28px; }

/* ---------- compare table ---------- */
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; }
.cmp th, .cmp td { text-align: left; padding: 20px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-size: 15px; font-weight: 700; color: var(--muted); }
.cmp tbody th { font-weight: 700; width: 18%; }
.cmp td { color: var(--subtle); }
.cmp .ria { background: var(--surface); color: var(--ink); font-weight: 600; border-left: 2px solid var(--ink); border-right: 2px solid var(--ink); }
.cmp thead .ria { border-top: 2px solid var(--ink); border-radius: 18px 18px 0 0; color: var(--ink); }
.cmp tbody tr:last-child .ria { border-bottom: 2px solid var(--ink); border-radius: 0 0 18px 18px; }
.cmp .ria::before { content: "✓"; color: var(--ink); font-weight: 800; margin-right: 8px; }
.cmp thead .ria::before { content: none; }
.cmp .ria img { width: 24px; height: 24px; border-radius: 50%; display: inline-block; vertical-align: -6px; margin-right: 8px; object-fit: cover; }
.tblwrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- use-case tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.tabs button { font: inherit; font-size: 15px; font-weight: 600; border: 1px solid var(--line); background: var(--surface); color: var(--muted); border-radius: 999px; min-height: 44px; padding: 0 18px; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.tabs button[aria-selected="true"] { background: var(--action); border-color: var(--action); color: var(--on-dark); }
.case { display: none; grid-template-columns: 1fr 1fr; gap: 20px; }
.case.on { display: grid; animation: rise .25s var(--ease); }
.case .before, .case .after { border-radius: var(--r-lg); padding: 36px; }
.case .before { background: var(--surface); border: 1px dashed #D4D4D8; }
.case .after { background: var(--action); color: var(--on-dark); }
.case .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; display: block; }
.case .before .lbl { color: var(--subtle); }
.case .after .lbl { color: #8E8E93; }
.case ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; counter-reset: s; }
.case ol li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.case ol li::before { content: counter(s); font-family: var(--mono); font-size: 12px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; margin-top: 2px; }
.case .before ol li { color: var(--muted); }
.case .before ol li::before { border: 1px solid var(--line); color: var(--subtle); }
.case .after ol li::before { background: #2A2A2E; color: #fff; }
.case .result { margin-top: 26px; background: #1C1C1F; border-radius: 18px; padding: 16px 18px; }
.case .result .k { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: #3FB97A; }
.case .result b { display: block; margin-top: 4px; }
.case .time { display: flex; gap: 18px; margin-top: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; }

/* ---------- RIA letters ---------- */
.ria3 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.night .ria3 { border-color: var(--night-line); }
.ria3 > div { padding: 40px 32px 0 0; }
.ria3 .L { font-size: 96px; font-weight: 800; line-height: .9; letter-spacing: -.05em; margin-bottom: 26px; }
.ria3 .w { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--subtle); margin-bottom: 10px; }

/* ---------- steps / flow ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px 22px; position: relative; }
.steps li::before { content: "0" counter(s); font-family: var(--mono); font-size: 12px; color: var(--subtle); display: block; margin-bottom: 40px; }
.steps li .t { position: absolute; top: 24px; right: 20px; font-family: var(--mono); font-size: 11px; color: var(--ink); background: var(--app); border-radius: 999px; padding: 3px 9px; }
.steps li h3 { font-size: 18px; }
.steps li p { margin: 0; color: var(--muted); font-size: 14.5px; }
.steps li.last { background: var(--action); color: var(--on-dark); border-color: var(--action); }
.steps li.last p { color: #B4B4BA; }
.steps li.last::before { color: #8E8E93; }
.steps li.last .t { background: #2A2A2E; color: #fff; }

/* ---------- ticks ---------- */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.ticks li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: 3px; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.night .ticks li::before { background-color: var(--on-dark); filter: invert(1); }
.ticks li b { display: block; }
.ticks li span { color: var(--muted); }
.night .ticks li span { color: var(--night-muted); }

/* ---------- photo ---------- */
.photo { border-radius: var(--r-lg); overflow: hidden; position: relative; background: var(--sand); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .cap { position: absolute; left: 20px; bottom: 20px; right: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.photo .tag { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-radius: 14px; padding: 10px 14px; font-size: 13px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.photo .tag .k { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--success); display: block; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); padding: 24px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-size: 20px; font-weight: 700; letter-spacing: -.01em; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 26px; line-height: 1; color: var(--subtle); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 14px 0 0; color: var(--muted); max-width: 36em; }

/* ---------- final CTA + footer ---------- */
.final { text-align: center; padding: 140px 0; }
.final img.mark { height: 72px; width: auto; margin: 0 auto 36px; }
.final h2 { max-width: 900px; margin: 0 auto 22px; }
.final .lead { margin: 0 auto 40px; }
.final .btns { justify-content: center; }
footer { background: var(--night); color: #8E8E93; padding: 64px 0 40px; font-size: 14px; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
footer img { height: 26px; width: auto; margin-bottom: 16px; }
footer h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #8E8E93; font-weight: 500; margin: 0 0 14px; }
footer a { display: block; text-decoration: none; color: #D4D4D8; margin-bottom: 10px; }
footer a:hover { color: #fff; }
footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--night-line); padding-top: 24px; margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }

/* ---------- motion ---------- */
.js .rv { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes wave { 0%, 100% { transform: scaleY(.2); } 50% { transform: scaleY(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero .grid { grid-template-columns: 1fr; min-height: 0; }
  .hero .copy { padding-bottom: 24px; }
  .stage { height: 600px; max-width: 560px; margin: 0 auto; width: 100%; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li.last { grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  section { padding: 88px 0; }
  .wrap { padding: 0 16px; }
  .top nav a.hide { display: none; }
  .top .sub { display: none; }
  .grid2, .grid3, .grid4, .ria3, .case.on { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stage { height: 560px; }
  .phone { transform: translateX(-50%) scale(.86); transform-origin: bottom center; }
  .float { scale: .82; }
  .float.hide-sm { display: none; }
  .card, .card.big, .case .before, .case .after { padding: 26px; }
  .ria3 > div { padding: 32px 0 0; }
  .ria3 .L { font-size: 72px; }
  .cmp { min-width: 640px; }
  footer .wrap { grid-template-columns: 1fr; }
  .head { margin-bottom: 44px; }
}

/* light surfaces placed inside a dark section keep light-theme buttons */
.night .light .btn.solid { background: var(--action); color: var(--on-dark); }
.night .light .btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.hero .btn.solid { background: var(--on-dark); color: var(--ink); }
.hero .btn.ghost { background: transparent; color: var(--on-dark); border-color: #636368; }
@media (min-width: 1081px) { .hero .grid { grid-template-columns: 1fr 1.05fr; } }

/* numbers line up: prices, times, flight codes */
.stat, .cmp, .confirm b, .case .result b, .float .route, .float .cal .d { font-variant-numeric: tabular-nums; }
