/* Tôi Uống Bạn Lái – Nam Phương · public site (toiuongbanlai.vn). "Night drive": a navy night with gold
   headlight streaks for the hero and the footer, bright paper for the reading parts. No web fonts (CSP). */
:root {
  --blue: #064bc6;
  --blue-2: #0a63f0;
  --navy: #071e63;
  --night: #050f2e;
  --night-2: #0a1a4a;
  --gold: #ffc400;
  --gold-2: #ffe572;
  --ink: #0b1633;
  --ink-2: #44506b;
  --paper: #f6f7fb;
  --card: #ffffff;
  --line: #e2e6f0;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(7, 30, 99, .06), 0 12px 40px -12px rgba(7, 30, 99, .18);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", "Be Vietnam Pro", "Helvetica Neue", Arial, sans-serif;
  --wrap: min(1160px, calc(100% - 40px));
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--navy); padding: 8px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 12px; }
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); background: rgba(5, 15, 46, .72); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.top .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.top .brand img { height: 38px; width: auto; }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { color: rgba(255, 255, 255, .78); font-size: 15px; font-weight: 500; }
.top nav a:hover, .top nav a[aria-current] { color: #fff; text-decoration: none; }
.call { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--gold); color: var(--navy); font-weight: 700; font-size: 15px; white-space: nowrap; box-shadow: 0 6px 24px -6px rgba(255, 196, 0, .55); }
.call:hover { text-decoration: none; background: var(--gold-2); }
.call svg { width: 16px; height: 16px; }
.top.light { background: rgba(255, 255, 255, .82); border-bottom-color: var(--line); }
.top.light nav a { color: var(--ink-2); }
.top.light nav a:hover, .top.light nav a[aria-current] { color: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background:
  radial-gradient(900px 520px at 78% 18%, rgba(10, 99, 240, .45), transparent 60%),
  radial-gradient(700px 400px at 8% 100%, rgba(255, 196, 0, .12), transparent 60%),
  linear-gradient(180deg, var(--night) 0%, var(--night-2) 70%, #0d2368 100%); margin-top: -69px; padding-top: 69px; }
.hero::before { /* city lights */ content: ""; position: absolute; inset: 0; opacity: .5; background-image:
  radial-gradient(1.5px 1.5px at 12% 22%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 32% 12%, #cfe0ff 50%, transparent 51%),
  radial-gradient(1.5px 1.5px at 56% 30%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 70% 8%, #ffe9a6 50%, transparent 51%),
  radial-gradient(1px 1px at 88% 36%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 22% 48%, #ffe9a6 50%, transparent 51%),
  radial-gradient(1px 1px at 46% 6%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 94% 14%, #cfe0ff 50%, transparent 51%); }
.road { position: absolute; left: -10%; right: -10%; bottom: -40px; height: 260px; pointer-events: none; }
.road span { position: absolute; left: 0; right: 0; height: 3px; border-radius: 3px; transform-origin: left; background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold-2) 55%, transparent); filter: drop-shadow(0 0 10px rgba(255, 196, 0, .7)); opacity: 0; animation: streak 5.5s cubic-bezier(.3, .6, .2, 1) infinite; }
.road span:nth-child(1) { bottom: 150px; transform: rotate(-6deg); animation-delay: .2s; }
.road span:nth-child(2) { bottom: 110px; transform: rotate(-4deg); animation-delay: 1.4s; background: linear-gradient(90deg, transparent, #fff 35%, transparent); }
.road span:nth-child(3) { bottom: 70px; transform: rotate(-2.5deg); animation-delay: 2.6s; }
@keyframes streak { 0% { opacity: 0; clip-path: inset(0 100% 0 0); } 18% { opacity: 1; } 60% { opacity: .9; clip-path: inset(0 0 0 0); } 100% { opacity: 0; clip-path: inset(0 0 0 100%); } }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; padding: 76px 0 120px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--gold); padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(255, 196, 0, .1); border: 1px solid rgba(255, 196, 0, .28); }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255, 196, 0, .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255, 196, 0, 0); } }
.hero h1 { font-size: clamp(42px, 6.4vw, 80px); font-weight: 800; letter-spacing: -.04em; margin: 22px 0 22px; }
.hero h1 em { font-style: normal; color: var(--gold); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: .02em; height: .1em; border-radius: 99px; background: linear-gradient(90deg, var(--gold), transparent); opacity: .6; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: rgba(255, 255, 255, .78); max-width: 34em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; border-radius: 14px; background: #fff; color: var(--ink); min-width: 182px; box-shadow: var(--shadow); transition: transform .2s; }
.store:hover { text-decoration: none; transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 11.5px; line-height: 1.1; color: var(--ink-2); }
.store b { display: block; font-size: 17px; line-height: 1.2; letter-spacing: -.01em; }
.store.dark { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .18); box-shadow: none; }
.store.dark small { color: rgba(255, 255, 255, .65); }
.facts { display: flex; flex-wrap: wrap; gap: 18px 40px; margin-top: 44px; color: rgba(255, 255, 255, .7); font-size: 14.5px; }
.facts b { display: block; color: #fff; font-size: 22px; letter-spacing: -.02em; }

/* phone mock-up */
.phone { justify-self: center; position: relative; width: min(330px, 86vw); aspect-ratio: 9 / 18.6; border-radius: 48px; padding: 12px; background: linear-gradient(145deg, #2b3a66, #0b1430 60%); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .7), inset 0 0 0 1.5px rgba(255, 255, 255, .14); transform: rotate(3deg); animation: rise 1s .2s both cubic-bezier(.2, .8, .2, 1); }
@keyframes rise { from { opacity: 0; transform: translateY(40px) rotate(6deg); } }
.screen { position: relative; height: 100%; border-radius: 37px; overflow: hidden; background: #e9eef8; color: var(--ink); }
.island { position: absolute; top: 10px; left: 50%; translate: -50% 0; width: 96px; height: 28px; border-radius: 99px; background: #000; z-index: 3; }
.map { position: absolute; inset: 0 0 38% 0; background:
  linear-gradient(115deg, transparent 47%, #fff 47.5%, #fff 52%, transparent 52.5%),
  linear-gradient(25deg, transparent 30%, #fff 30.5%, #fff 34%, transparent 34.5%),
  linear-gradient(160deg, transparent 62%, #fff 62.5%, #fff 65%, transparent 65.5%),
  radial-gradient(160px 120px at 80% 20%, #cfe8d6, transparent 70%),
  #dfe6f2; }
.route { position: absolute; left: 22%; top: 30%; width: 56%; height: 36%; border: 4px solid var(--blue); border-color: var(--blue) transparent transparent var(--blue); border-radius: 60% 40% 0 0; transform: rotate(-12deg); }
.pin { position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, .25); }
.pin.a { left: 18%; top: 62%; background: var(--blue); }
.pin.b { right: 18%; top: 22%; background: var(--gold); }
.car { position: absolute; left: 42%; top: 27%; padding: 5px 9px; border-radius: 99px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; box-shadow: 0 6px 16px rgba(7, 30, 99, .35); animation: drive 6s ease-in-out infinite alternate; }
@keyframes drive { to { left: 58%; top: 21%; } }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 16px 20px; border-radius: 26px 26px 0 0; background: #fff; box-shadow: 0 -10px 30px rgba(7, 30, 99, .12); }
.sheet .grab { width: 38px; height: 5px; border-radius: 9px; background: #d5dbe8; margin: -6px auto 12px; }
.sheet h4 { margin: 0; font-size: 15px; letter-spacing: -.01em; }
.sheet .muted { font-size: 12px; color: var(--ink-2); }
.driver { display: flex; align-items: center; gap: 10px; margin: 12px 0; padding: 10px; border-radius: 14px; background: #f2f5fb; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--navy)); display: grid; place-items: center; color: var(--gold); font-weight: 800; font-size: 14px; }
.driver .star { margin-left: auto; font-size: 11px; font-weight: 700; white-space: nowrap; color: #138a3d; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 4px 0 12px; }
.steps i { height: 4px; border-radius: 9px; background: #dbe2ef; }
.steps i.on { background: var(--blue); }
.pay { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--ink-2); }
.pay b { font-size: 18px; color: var(--ink); letter-spacing: -.02em; }
.toast { position: absolute; z-index: 2; left: -48px; top: 40%; display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 16px; background: rgba(255, 255, 255, .96); color: var(--ink); font-size: 13px; box-shadow: var(--shadow); animation: float 5s ease-in-out infinite; }
.toast b { display: block; font-size: 13.5px; }
.toast .ic { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: #e7f6ec; color: #138a3d; flex: none; }
.toast.two { left: auto; right: -46px; top: 9%; animation-delay: -2.5s; }
.toast.two .ic { background: #fff4cc; color: #8a6200; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- strip ---------- */
.strip { background: var(--navy); color: #fff; }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.strip div { padding: 26px 22px; display: flex; gap: 14px; align-items: flex-start; border-left: 1px solid rgba(255, 255, 255, .1); font-size: 15px; color: rgba(255, 255, 255, .78); }
.strip div:first-child { border-left: 0; padding-left: 0; }
.strip b { display: block; color: #fff; font-size: 16px; }
.strip svg { width: 26px; height: 26px; color: var(--gold); flex: none; margin-top: 2px; }

/* ---------- sections ---------- */
section.block { padding: 112px 0; }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.title { font-size: clamp(32px, 4.2vw, 52px); font-weight: 800; margin-top: 12px; max-width: 18em; }
.sub { color: var(--ink-2); font-size: 19px; margin-top: 16px; max-width: 40em; }
.head { margin-bottom: 56px; }
.head.center { text-align: center; }
.head.center .title, .head.center .sub { margin-inline: auto; }



.safe { background: #fff; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { padding: 30px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue-2), var(--navy)); margin-bottom: 20px; }
.feat .ic svg { width: 24px; height: 24px; }
.feat h3 { font-size: 20px; margin-bottom: 8px; }
.feat p { color: var(--ink-2); font-size: 16px; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { position: relative; overflow: hidden; padding: 44px; border-radius: 28px; background: var(--card); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.panel.gold { background: linear-gradient(160deg, #fff7d6, #ffe58a); }
.panel h3 { font-size: clamp(26px, 2.6vw, 34px); margin: 14px 0 12px; }
.panel p { color: var(--ink-2); }
.panel ul { margin: 18px 0 28px; padding: 0; list-style: none; display: grid; gap: 10px; }
.panel li { display: flex; gap: 10px; font-size: 16px; }
.panel li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.panel .row { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 16px; background: var(--navy); color: #fff; }
.btn:hover { text-decoration: none; background: var(--blue); }
.btn.ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn.ghost:hover { background: rgba(7, 30, 99, .06); }
.appico { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 10px 24px -8px rgba(7, 30, 99, .45); }

.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: var(--card); box-shadow: var(--shadow); padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #eef2fa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064bc6' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); }

.final { position: relative; overflow: hidden; margin: 0 auto 112px; width: var(--wrap); border-radius: 32px; padding: 64px; color: #fff; text-align: center; background: radial-gradient(600px 300px at 50% 0, rgba(10, 99, 240, .6), transparent 70%), linear-gradient(180deg, var(--night-2), var(--night)); }
.final h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; }
.final p { color: rgba(255, 255, 255, .75); margin: 14px auto 0; max-width: 36em; font-size: 18px; }
.final .ctas { justify-content: center; }
.final .call { font-size: 17px; padding: 12px 22px; }


/* ---------- journey: 4 steps on a road, a car drives node to node ---------- */
.journey { --cycle: 9s; --node: 68px; position: relative; }
.jsteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; z-index: 1; }
.jsteps li { display: flex; flex-direction: column; align-items: center; }
.node { position: relative; width: var(--node); height: var(--node); border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--blue); box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px var(--line), 0 14px 30px -12px rgba(7, 30, 99, .35); margin-bottom: 26px; animation: nodeOn var(--cycle) infinite; animation-delay: calc(var(--i) * var(--cycle) / 4); }
.node svg { width: 28px; height: 28px; }
.node::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; animation: ring var(--cycle) infinite; animation-delay: inherit; }
@keyframes nodeOn { 0% { background: var(--gold); color: var(--navy); transform: scale(1.1); } 16% { background: var(--gold); color: var(--navy); transform: scale(1); } 30%, 100% { background: #fff; color: var(--blue); transform: scale(1); } }
@keyframes ring { 0% { opacity: .9; transform: scale(1); } 22% { opacity: 0; transform: scale(1.55); } 100% { opacity: 0; } }
.jcard { position: relative; overflow: hidden; width: 100%; flex: 1; padding: 28px 24px 52px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow); transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
.jcard::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--blue), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.jcard:hover { transform: translateY(-6px); box-shadow: 0 2px 4px rgba(7, 30, 99, .06), 0 26px 50px -18px rgba(7, 30, 99, .32); }
.jcard:hover::before { transform: scaleX(1); }
.num { position: absolute; right: 14px; bottom: -14px; font-size: 84px; font-weight: 900; line-height: 1; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(6, 75, 198, .12); pointer-events: none; }
.jcard h3 { font-size: 20px; margin-bottom: 10px; position: relative; }
.jcard p { color: var(--ink-2); font-size: 15.5px; position: relative; }
.track { position: absolute; top: calc(var(--node) / 2 - 3px); left: calc(12.5% - 7.5px); right: calc(12.5% - 7.5px); height: 6px; z-index: 0; }
.lane { position: absolute; inset: 0; border-radius: 9px; background: #dfe5f1; }
.lane::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; height: 2px; background: repeating-linear-gradient(90deg, #fff 0 10px, transparent 10px 22px); opacity: .9; }
.fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 9px; background: linear-gradient(90deg, var(--blue), var(--blue-2) 60%, var(--gold)); box-shadow: 0 0 14px rgba(10, 99, 240, .45); animation: fill var(--cycle) infinite cubic-bezier(.45, 0, .25, 1); }
.mover { position: absolute; top: 50%; left: 0; width: 44px; height: 28px; margin: -14px 0 0 -22px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--navy); box-shadow: 0 8px 18px -6px rgba(7, 30, 99, .6); z-index: 2; animation: drive var(--cycle) infinite cubic-bezier(.45, 0, .25, 1); }
.mover svg { width: 26px; height: 16px; color: #fff; }
.mover::before { content: ""; position: absolute; right: -26px; top: 50%; width: 30px; height: 14px; margin-top: -7px; background: radial-gradient(closest-side, rgba(255, 196, 0, .75), transparent); filter: blur(1px); }
@keyframes drive { 0% { left: 0; opacity: 0; } 4%, 10% { left: 0; opacity: 1; } 25%, 35% { left: 33.333%; } 50%, 60% { left: 66.666%; } 75%, 92% { left: 100%; opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes fill { 0%, 10% { width: 0; opacity: 1; } 25%, 35% { width: 33.333%; } 50%, 60% { width: 66.666%; } 75%, 92% { width: 100%; opacity: 1; } 100% { width: 100%; opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .jsteps li { animation: up .7s both cubic-bezier(.2, .8, .2, 1); animation-delay: calc(var(--i) * .12s); }
  @supports (animation-timeline: view()) {
    .jsteps li { animation: up linear both; animation-timeline: view(); animation-range: entry calc(4% + var(--i) * 7%) cover calc(26% + var(--i) * 7%); }
  }
}
@media (prefers-reduced-motion: reduce) { .mover { display: none; } .fill { width: 100%; } }
@media (max-width: 860px) {
  .jsteps { grid-template-columns: 1fr; gap: 18px; }
  .jsteps li { display: grid; grid-template-columns: var(--node) 1fr; column-gap: 18px; align-items: start; position: relative; }
  .node { margin: 0; }
  .jsteps li:not(:last-child)::before { content: ""; position: absolute; left: calc(var(--node) / 2 - 2px); top: calc(var(--node) + 8px); bottom: -18px; width: 4px; border-radius: 4px; background: linear-gradient(var(--blue), var(--gold)); opacity: .35; }
  .track { display: none; }
  .num { font-size: 60px; }
}

/* transparent pricing (no figures on the public site) */
.fair { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; padding: 56px; border-radius: 32px; color: #fff; background: radial-gradient(520px 320px at 0 0, rgba(10, 99, 240, .5), transparent 60%), linear-gradient(160deg, var(--navy), var(--night)); box-shadow: 0 40px 80px -40px rgba(7, 30, 99, .6); }
.fair .sub { color: rgba(255, 255, 255, .72); }
.fair-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.fair-list li { display: grid; grid-template-columns: 30px 1fr; column-gap: 14px; padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.fair-list li::before { content: ""; grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23071e63' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat; }
.fair-list b { font-size: 17px; }
.fair-list span { color: rgba(255, 255, 255, .7); font-size: 15px; }

/* ---------- footer ---------- */
.foot { background: var(--night); color: rgba(255, 255, 255, .7); font-size: 15px; padding: 64px 0 28px; }
.foot .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot img.logo { height: 44px; width: auto; margin-bottom: 18px; }
.foot h4 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: 6px 0 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot a { color: rgba(255, 255, 255, .78); }
.foot a:hover { color: #fff; }
.foot address { font-style: normal; line-height: 1.7; }
.foot .company { color: #fff; font-weight: 700; letter-spacing: .01em; margin-bottom: 6px; }
.foot .bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 13.5px; color: rgba(255, 255, 255, .5); }

/* ---------- document pages (support, privacy, terms) ---------- */
.doc-hero { background: linear-gradient(180deg, #fff, var(--paper)); border-bottom: 1px solid var(--line); padding: 64px 0 40px; }
.doc-hero h1 { font-size: clamp(34px, 4.5vw, 52px); font-weight: 800; }
.doc-hero p { color: var(--ink-2); margin-top: 12px; font-size: 18px; max-width: 40em; }
.doc { width: min(780px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0 96px; }
.doc h2 { font-size: 24px; margin: 40px 0 12px; }
.doc p, .doc li { color: #2b3550; }
.doc p + p { margin-top: 12px; }
.doc address { font-style: normal; margin-top: 14px; padding: 20px 22px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow); line-height: 1.75; }
.doc section, .doc h2[id] { scroll-margin-top: 90px; }
.doc .cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 8px; }
.doc .cards a { display: block; padding: 20px 22px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow); color: var(--ink); font-weight: 700; }
.doc .cards a span { display: block; font-weight: 400; color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.doc .cards a:hover { text-decoration: none; box-shadow: 0 0 0 2px var(--blue), var(--shadow); }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero .copy > * { animation: up .8s both cubic-bezier(.2, .8, .2, 1); }
  .hero .copy > :nth-child(2) { animation-delay: .08s; }
  .hero .copy > :nth-child(3) { animation-delay: .16s; }
  .hero .copy > :nth-child(4) { animation-delay: .24s; }
  .hero .copy > :nth-child(5) { animation-delay: .32s; }
  @keyframes up { from { opacity: 0; transform: translateY(18px); } }
  @supports (animation-timeline: view()) {
    .reveal { animation: up linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
  }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .top nav { display: none; }
  .top .call { margin-left: auto; }
  .hero .wrap { grid-template-columns: 1fr; padding: 48px 0 96px; }
  .phone { transform: none; margin-top: 12px; }
  .toast { left: -12px; } .toast.two { right: -12px; }
  .strip .wrap { grid-template-columns: 1fr 1fr; }
  .strip div:nth-child(3) { border-left: 0; padding-left: 0; }
  .duo, .fair { grid-template-columns: 1fr; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .top .brand img { height: 32px; }
  .call span { display: none; }
  section.block { padding: 76px 0; }
  .strip .wrap, .grid3, .foot .cols, .doc .cards { grid-template-columns: 1fr; }
  .strip div { border-left: 0; padding-left: 0; padding-block: 14px; }
  .panel, .final, .fair { padding: 30px 22px; }
  .final { border-radius: 24px; margin-bottom: 76px; }
  .store { min-width: 0; flex: 1 1 160px; }
  .facts { gap: 18px; }
  .toast { display: none; }
}

/* Support contact form */
.contact { margin-top: 16px; padding: 26px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow); display: grid; gap: 18px; }
.contact .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact label { display: grid; gap: 7px; font-size: 14px; font-weight: 600; color: var(--ink); }
.contact input:not([type=radio]), .contact textarea { font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); transition: border-color .15s, box-shadow .15s, background .15s; width: 100%; }
.contact textarea { resize: vertical; min-height: 116px; }
.contact input:focus, .contact textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(6, 75, 198, .12); }
.contact fieldset { border: 0; padding: 0; margin: 0; }
.contact legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.contact .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.contact .chips label { display: block; cursor: pointer; }
.contact .chips input { position: absolute; opacity: 0; pointer-events: none; }
.contact .chips span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-weight: 600; font-size: 15px; transition: all .15s; }
.contact .chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.contact .chips input:focus-visible + span { box-shadow: 0 0 0 4px rgba(6, 75, 198, .25); }
.contact .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact .send { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.contact button { font: inherit; font-weight: 700; font-size: 16px; color: var(--navy); background: var(--gold); border: 0; border-radius: 999px; padding: 13px 28px; cursor: pointer; box-shadow: 0 8px 22px -10px rgba(255, 196, 0, .9); transition: transform .15s, filter .15s; }
.contact button:hover { transform: translateY(-1px); filter: brightness(1.04); }
.contact button:disabled { opacity: .6; cursor: progress; transform: none; }
.contact .status { margin: 0; font-size: 15px; color: var(--ink-2); }
.contact .status.ok { color: #0a7a43; font-weight: 600; }
.contact .status.err { color: #c62828; }
.doc .contact .note { margin: 0; font-size: 13px; color: var(--ink-2); }
@media (max-width: 640px) { .contact { padding: 20px; } .contact .row2 { grid-template-columns: 1fr; } }
