/* Right of Way - landing page */
@font-face { font-family: "Overpass"; src: url("assets/fonts/overpass-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Overpass"; src: url("assets/fonts/overpass-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Noto Sans Georgian"; src: url("assets/fonts/noto-sans-georgian-georgian-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+205A, U+2D00-2D2F, U+2E31; }

:root {
  --night: #070B16;
  --asphalt: #0C1222;
  --asphalt-2: #121A2E;
  --line: rgba(255,255,255,.09);
  --navy: #0F2552;
  --blue: #0B4FC0;
  --blue-bright: #3B82F6;
  --red: #E3131C;
  --yellow: #FFC72C;
  --green: #00693E;
  --green-deep: #005331;
  --ok: #34D27B;
  --bad: #FF5A5F;
  --text: #F2F5FB;
  --muted: #A3AEC6;
  --paper: #F5F2EA;
  --ink: #0B1220;
  --radius: 22px;
  --rail: 76px;
  --font: "Overpass", "Noto Sans Georgian", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--night); color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
html[lang="ka"] body { font-size: 16px; line-height: 1.7; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Road rail (signature) ---------- */
.rail {
  position: fixed; inset: 0 auto 0 0; width: var(--rail); z-index: 5; pointer-events: none;
  background: linear-gradient(90deg, #0E1424 0%, #151D33 50%, #0E1424 100%);
  border-right: 3px solid rgba(255,255,255,.55);
  box-shadow: inset -3px 0 0 #0E1424, inset 3px 0 0 #0E1424;
}
.rail::before { /* moving center dashes */
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; transform: translateX(-50%);
  background: repeating-linear-gradient(to bottom, var(--yellow) 0 26px, transparent 26px 52px);
  background-position: 0 var(--dash, 0px); opacity: .9;
}
.rail::after { content: ""; position: absolute; left: 6px; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,.35); }
.rail-car {
  position: absolute; left: 50%; top: 0; width: 30px; height: 52px; margin-left: -15px;
  transform: translateY(var(--car, 12vh)); transition: transform .12s linear;
  filter: drop-shadow(0 0 16px rgba(59,130,246,.7));
}
.rail-progress { position: fixed; top: 0; left: 0; height: 3px; width: calc(var(--p, 0) * 100%); background: var(--yellow); z-index: 60; display: none; }

.page { margin-left: var(--rail); }
.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(7,11,22,.72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 18px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -.01em; font-size: 18px; white-space: nowrap; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.lang { display: inline-flex; padding: 3px; background: rgba(255,255,255,.07); border-radius: 999px; border: 1px solid var(--line); }
.lang button { border: 0; background: transparent; padding: 6px 12px; border-radius: 999px; font-weight: 800; font-size: 13px; letter-spacing: .04em; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--text); color: var(--ink); }
.top .top-cta { padding: 9px 18px; }

/* ---------- Buttons ---------- */
.store {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  background: #fff; color: #000; border-radius: 16px; padding: 11px 22px 11px 18px;
  box-shadow: 0 10px 30px -10px rgba(255,255,255,.35); transition: transform .2s, box-shadow .2s;
}
.store:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(255,255,255,.45); }
.store svg { width: 26px; height: 26px; }
.store span { display: flex; flex-direction: column; line-height: 1.1; }
.store small { font-size: 12px; font-weight: 600; }
.store b { font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line);
  background: rgba(255,255,255,.06); border-radius: 999px; padding: 11px 20px; font-weight: 700; text-decoration: none;
  transition: background .2s, transform .2s;
}
.btn:hover { background: rgba(255,255,255,.12); }
.btn.primary { background: var(--blue-bright); border-color: transparent; color: #fff; }
.btn.primary:hover { background: #2f6fe0; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 40px; overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto 30%; height: 900px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(11,79,192,.45), transparent 70%), radial-gradient(closest-side at 70% 30%, rgba(227,19,28,.18), transparent 70%);
  filter: blur(10px);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--yellow); padding: 7px 14px 6px; border: 1.5px solid rgba(255,199,44,.4); border-radius: 999px; background: rgba(255,199,44,.06);
}
html[lang="ka"] .eyebrow { text-transform: none; letter-spacing: .01em; font-size: 14px; }
.hero h1 { font-size: clamp(40px, 5.2vw, 68px); line-height: .98; letter-spacing: -.035em; font-weight: 900; margin: 22px 0 22px; }
html[lang="ka"] .hero h1 { font-size: clamp(36px, 4.7vw, 64px); line-height: 1.12; letter-spacing: -.01em; font-weight: 800; }
.hero h1 em { font-style: normal; color: transparent; background: linear-gradient(100deg, #fff 0%, #9cc1ff 40%, #3B82F6 100%); -webkit-background-clip: text; background-clip: text; }
.hero .lead { font-size: 19px; color: #C9D2E6; max-width: 34em; margin: 0 0 30px; }
html[lang="ka"] .hero .lead { font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.hero-note { color: var(--muted); font-size: 14px; font-weight: 600; }
.hero-note b { color: var(--text); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 48px; border-top: 1px solid var(--line); }
.stat { padding: 18px 16px 4px 0; }
.stat + .stat { padding-left: 18px; border-left: 1px solid var(--line); }
.stat b { display: block; font-size: 34px; font-weight: 900; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.35; }

/* Demo quiz card */
.demo-wrap { position: relative; }
.demo-shield { position: absolute; width: 300px; right: -70px; top: -70px; opacity: .16; transform: rotate(12deg); pointer-events: none; filter: blur(.3px); }
.demo {
  position: relative; background: linear-gradient(180deg, #131C33, #0E1528); border: 1px solid rgba(255,255,255,.1);
  border-radius: 30px; padding: 18px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), 0 0 0 8px rgba(255,255,255,.025);
}
.demo-head { display: flex; align-items: center; gap: 10px; padding: 2px 4px 14px; }
.demo-tag { font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; background: var(--yellow); color: var(--ink); padding: 4px 9px 3px; border-radius: 6px; }
html[lang="ka"] .demo-tag { text-transform: none; letter-spacing: .02em; font-size: 13px; }
.demo-count { color: var(--muted); font-size: 14px; font-weight: 600; }
.flip-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: rgba(255,255,255,.06); padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.flip-btn svg { width: 16px; height: 16px; }
.demo-media { border-radius: 18px; overflow: hidden; background: #fff; aspect-ratio: 3 / 2; display: grid; place-items: center; }
.demo-media img { width: 100%; height: 100%; object-fit: cover; }
.demo-media.sign { background: radial-gradient(circle at 50% 38%, #24345A, #101830 72%); }
.demo-media.sign img { width: 46%; height: auto; object-fit: contain; filter: drop-shadow(0 14px 22px rgba(0,0,0,.55)); }
.demo-q { font-weight: 700; font-size: 19px; line-height: 1.35; margin: 16px 4px 14px; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; transition: opacity .2s; }
html[lang="ka"] .demo-q, .demo-q[lang="ka"] { font-size: 17px; line-height: 1.5; }
.flipping { opacity: .25; }
.opts { display: grid; gap: 9px; }
.opt {
  display: flex; gap: 12px; align-items: flex-start; text-align: left; width: 100%;
  border: 1.5px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); border-radius: 16px; padding: 12px 14px;
  font-size: 15.5px; line-height: 1.4; transition: border-color .2s, background .2s, transform .15s;
}
.opt:hover:not([disabled]) { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.07); }
.opt:active:not([disabled]) { transform: scale(.985); }
.opt .key { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: rgba(255,255,255,.1); margin-top: -1px; }
.opt[disabled] { cursor: default; }
.opt.right { border-color: var(--ok); background: rgba(52,210,123,.1); }
.opt.right .key { background: var(--ok); color: #04210F; }
.opt.wrong { border-color: var(--bad); background: rgba(255,90,95,.1); animation: shake .4s; }
.opt.wrong .key { background: var(--bad); color: #2A0405; }
.opt .exp { display: block; color: var(--muted); font-size: 14px; margin-top: 6px; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.demo-foot { display: flex; align-items: center; gap: 12px; margin-top: 14px; min-height: 44px; }
.demo-hint { color: var(--muted); font-size: 13px; line-height: 1.4; flex: 1; }
.demo-result { text-align: center; padding: 30px 10px 14px; }
.demo-result .big { font-size: 64px; font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.demo-result p { color: var(--muted); margin: 10px auto 22px; max-width: 26em; }
.demo-result .row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { scroll-margin-top: 80px; }
.sec { padding: 110px 0 30px; position: relative; }
.guide {
  position: relative; display: inline-block; background: var(--green); color: #fff; border-radius: 14px; padding: 18px 26px 16px;
  box-shadow: inset 0 0 0 3px var(--green), inset 0 0 0 5px rgba(255,255,255,.95), 0 24px 50px -24px rgba(0,105,62,.8);
  max-width: 100%;
}
.guide h2 { margin: 0; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -.02em; font-weight: 800; }
html[lang="ka"] .guide h2 { font-size: clamp(24px, 3vw, 36px); line-height: 1.3; letter-spacing: 0; font-weight: 700; }
.exit-tab {
  position: absolute; top: -22px; right: 20px; background: var(--green); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .12em;
  padding: 5px 12px 2px; border-radius: 8px 8px 0 0; box-shadow: inset 0 0 0 2px var(--green), inset 0 0 0 3.5px rgba(255,255,255,.95);
  border-bottom: 0;
}
.sec-lead { font-size: 19px; color: #C9D2E6; max-width: 40em; margin: 26px 0 0; }
html[lang="ka"] .sec-lead { font-size: 17px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

/* Bilingual sentence demo */
.lingo {
  background: var(--paper); color: var(--ink); border-radius: 26px; padding: 26px; position: relative;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.8);
}
.lingo-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.lingo-top span { font-size: 13px; font-weight: 700; color: #5B6478; }
.lingo .flip-btn { border-color: rgba(11,18,32,.15); background: #fff; margin-left: 0; }
.sentence {
  font-size: 22px; font-weight: 700; line-height: 1.5; padding: 18px 18px; border-radius: 16px; background: #fff;
  border: 1px solid rgba(11,18,32,.08); margin: 0 0 12px; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  transition: opacity .2s;
}
.sentence[lang="ka"] { font-size: 19px; }
.term {
  border: 0; padding: 0 3px; margin: 0 -1px; font-weight: 800; color: var(--blue);
  background: linear-gradient(transparent 62%, rgba(59,130,246,.22) 62%); border-radius: 3px; text-decoration: none;
}
.term[aria-expanded="true"] { background: rgba(59,130,246,.18); }
.pop {
  margin-top: 14px; background: var(--ink); color: var(--text); border-radius: 18px; padding: 16px 18px; display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: center;
  animation: rise .25s ease-out;
}
.pop[hidden] { display: none; }
.pop .t-en { font-weight: 800; font-size: 20px; }
.pop .t-ka { color: #9cc1ff; font-weight: 700; }
.pop p { grid-column: 1 / -1; margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.speak { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--blue-bright); display: grid; place-items: center; grid-row: 1 / 3; grid-column: 2; }
.speak svg { width: 22px; height: 22px; color: #fff; }
.speak.playing { animation: pulse 1s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(59,130,246,.0), 0 0 0 4px rgba(59,130,246,.45); } }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
.lingo-hint { font-size: 13px; color: #5B6478; margin: 14px 2px 0; }

.points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.points li { display: flex; gap: 14px; align-items: flex-start; color: #C9D2E6; }
.points li::before { content: ""; flex: none; width: 10px; height: 26px; margin-top: 1px; border-radius: 3px; background: repeating-linear-gradient(to bottom, var(--yellow) 0 8px, transparent 8px 13px); }

/* Sign deck */
.deck-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 30px; }
.deck-tools .arrows { display: flex; gap: 8px; }
.round { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.06); display: grid; place-items: center; }
.round svg { width: 20px; height: 20px; }
.deck {
  display: grid; grid-auto-flow: column; grid-auto-columns: 236px; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 26px 24px 34px; margin: 0 -24px; scrollbar-width: none; overscroll-behavior-x: contain;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 60px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 60px), transparent);
}
.deck::-webkit-scrollbar { display: none; }
.card { perspective: 1000px; scroll-snap-align: start; height: 318px; border: 0; padding: 0; background: none; text-align: left; }
.card-inner { position: relative; width: 100%; height: 100%; transition: transform .6s cubic-bezier(.2,.8,.2,1); transform-style: preserve-3d; }
.card.flipped .card-inner { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; border-radius: 24px; backface-visibility: hidden; -webkit-backface-visibility: hidden; padding: 18px; display: flex; flex-direction: column; }
.front { background: radial-gradient(circle at 50% 36%, #22325A 0%, #131C33 62%, #0F1628 100%); border: 1px solid rgba(255,255,255,.1); color: var(--text); align-items: center; justify-content: center; box-shadow: 0 20px 40px -22px rgba(0,0,0,.9); }
.front img { width: 150px; height: 170px; object-fit: contain; filter: drop-shadow(0 14px 22px rgba(0,0,0,.55)); transition: transform .3s; }
.card:hover .front img { transform: translateY(-4px) rotate(-2deg); }
.front .q { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-weight: 700; font-size: 13.5px; color: var(--muted); }
.back { transform: rotateY(180deg); background: linear-gradient(160deg, #13306E, #0B1C42); border: 1px solid rgba(255,255,255,.12); }
.back .n-ka { font-weight: 800; font-size: 18px; line-height: 1.3; }
.back .n-en { color: var(--yellow); font-weight: 800; font-size: 15px; margin-top: 4px; }
.back p { color: #C9D2E6; font-size: 13.5px; line-height: 1.5; margin: 10px 0 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; }
.back .speak { width: 40px; height: 40px; position: absolute; right: 14px; bottom: 14px; }
.back .speak svg { width: 19px; height: 19px; }

/* Topics */
.topics { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 40px; counter-reset: t; }
.topic {
  position: relative; background: linear-gradient(180deg, #151F38, #0F1628); border: 1px solid var(--line); color: var(--text); border-radius: 20px; padding: 18px 16px 18px; min-height: 186px;
  display: flex; flex-direction: column; justify-content: space-between; transition: transform .25s, box-shadow .25s;
  counter-increment: t;
}
.topic:hover { transform: translateY(-5px) rotate(-.6deg); border-color: rgba(255,199,44,.35); box-shadow: 0 24px 40px -22px rgba(0,0,0,.9); }
.topic::after { content: counter(t, decimal-leading-zero); position: absolute; top: 14px; right: 16px; font-weight: 800; font-size: 13px; color: var(--yellow); opacity: .8; }
.topic img { width: 68px; height: 68px; }
.topic b { font-size: 15.5px; line-height: 1.3; font-weight: 700; }
html[lang="ka"] .topic b { font-size: 14.5px; }

/* Exam */
.exam { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; margin-top: 44px; align-items: start; }
.board {
  background: #0B0F1A; border: 1px solid var(--line); border-radius: 28px; padding: 28px 28px 110px; position: relative; overflow: hidden;
}
.board-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.big-num b { display: block; font-size: 64px; line-height: 1; font-weight: 900; letter-spacing: -.04em; }
.big-num span { color: var(--muted); font-size: 14px; font-weight: 600; }
.big-num.y b { color: var(--yellow); }
.segs { display: grid; grid-template-columns: repeat(20, 1fr); gap: 5px; margin: 34px 0 14px; }
.seg { height: 46px; border-radius: 6px; background: rgba(255,255,255,.08); position: relative; transition: background .25s; }
.seg.sign::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 6px; height: 6px; margin-left: -3px; transform: rotate(45deg); background: var(--yellow); }
.seg.ok { background: var(--ok); }
.seg.no { background: var(--bad); }
.board-legend { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 13px; margin-top: 22px; }
.board-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.stamp {
  position: absolute; right: 28px; bottom: 30px; transform: rotate(-12deg) scale(1.6); opacity: 0;
  border: 4px solid var(--ok); color: var(--ok); font-weight: 900; font-size: 30px; letter-spacing: .08em; padding: 6px 16px 2px; border-radius: 12px;
  transition: transform .35s cubic-bezier(.2,1.6,.4,1), opacity .2s;
}
html[lang="ka"] .stamp { letter-spacing: .02em; font-size: 26px; }
.stamp.on { opacity: 1; transform: rotate(-12deg) scale(1); }
.replay { position: absolute; left: 28px; bottom: 30px; }

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feat { background: var(--asphalt-2); border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
.feat svg { width: 28px; height: 28px; color: var(--yellow); margin-bottom: 10px; }
.feat b { display: block; font-size: 16px; margin-bottom: 4px; }
.feat span { color: var(--muted); font-size: 14px; line-height: 1.45; display: block; }

/* Pricing */
.prices { display: grid; grid-template-columns: 1fr 1.15fr; gap: 18px; margin-top: 44px; max-width: 900px; }
.price { border-radius: 28px; padding: 30px; border: 1px solid var(--line); background: var(--asphalt-2); }
.price.full { background: linear-gradient(160deg, #1647A8, #0F2552 70%); border-color: rgba(255,255,255,.18); position: relative; overflow: hidden; }
.price.full::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px; background: url("assets/logo.webp") center / contain no-repeat; opacity: .14; transform: rotate(-12deg); }
.price h3 { margin: 0 0 4px; font-size: 18px; color: var(--muted); font-weight: 700; }
.price .amt { font-size: 52px; font-weight: 900; letter-spacing: -.03em; line-height: 1.1; }
.price .amt small { font-size: 17px; font-weight: 700; color: #C9D2E6; letter-spacing: 0; margin-left: 4px; }
.price ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; position: relative; z-index: 1; }
.price li { display: flex; gap: 10px; align-items: flex-start; }
.price li svg { flex: none; width: 20px; height: 20px; color: var(--ok); margin-top: 3px; }

/* FAQ */
.faq { margin-top: 40px; max-width: 860px; display: grid; gap: 10px; }
.faq details { background: var(--asphalt-2); border: 1px solid var(--line); border-radius: 18px; padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 30px 18px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--yellow); border-bottom: 2.5px solid var(--yellow); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 18px; color: #C9D2E6; }

/* Final CTA + footer */
.final { margin: 90px 0 0; padding: 70px 0; text-align: center; background: linear-gradient(180deg, transparent, rgba(11,79,192,.18)); border-top: 1px solid var(--line); }
.final img { width: 120px; margin: 0 auto 20px; filter: drop-shadow(0 20px 40px rgba(11,79,192,.6)); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(2deg); } }
.final h2 { font-size: clamp(30px, 4vw, 52px); letter-spacing: -.03em; line-height: 1.05; margin: 0 0 14px; font-weight: 900; }
html[lang="ka"] .final h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.3; letter-spacing: 0; font-weight: 800; }
.final p { color: var(--muted); margin: 0 auto 28px; max-width: 34em; }
footer { padding: 36px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
footer .links { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 12px; }
footer .links a { text-decoration: none; font-weight: 700; color: var(--text); }
footer .links a:hover { color: var(--yellow); }
footer .disc { max-width: 52em; font-size: 13px; line-height: 1.55; margin: 0; }
.by { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 600; }
.by img { width: 56px; }
.by small { display: block; color: var(--muted); font-weight: 500; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .card-inner, .stamp, .rail-car { transition: none; }
  .final img { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .topics { grid-template-columns: repeat(3, 1fr); }
  .nav { display: none; }
  .lang { margin-left: auto; }
}
@media (max-width: 900px) {
  :root { --rail: 0px; }
  .rail { display: none; }
  .rail-progress { display: block; }
  .hero { padding-top: 40px; }
  .hero-grid, .two, .exam { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .demo-shield { width: 200px; right: -40px; top: -50px; }
  .prices { grid-template-columns: 1fr; }
  footer .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 36px); }
  .top .wrap { height: 58px; gap: 10px; }
  .brand span { display: none; }
  .top .top-cta { padding: 8px 14px; font-size: 14px; }
  .sec { padding-top: 84px; }
  .guide { padding: 16px 20px 14px; }
  .topics { grid-template-columns: repeat(2, 1fr); }
  .topic { min-height: 168px; }
  .features { grid-template-columns: 1fr; }
  .deck { grid-auto-columns: 74%; padding-inline: 18px; margin-inline: -18px; }
  .seg { height: 34px; border-radius: 4px; }
  .segs { gap: 3px; }
  .big-num b { font-size: 48px; }
  .demo { padding: 14px; border-radius: 26px; }
  .demo-q { font-size: 17px; }
  .sentence { font-size: 19px; }
  .sentence[lang="ka"] { font-size: 17px; }
  .lingo { padding: 18px; }
  .price { padding: 24px; }
  .stat b { font-size: 28px; }
}

/* ---------- Support & privacy pages ---------- */
.legal { padding: 56px 0 40px; }
.legal .wrap { max-width: 820px; }
.legal-head .app-name { color: var(--yellow); font-weight: 800; font-size: 14px; letter-spacing: .06em; margin: 26px 0 0; }
.legal-head p { color: #C9D2E6; font-size: 18px; max-width: 38em; margin: 18px 0 0; }
.legal-head .muted { font-size: 15px; }
.legal .mailbtn { display: inline-flex; margin-top: 22px; }
.legal h2 { font-size: 24px; line-height: 1.3; margin: 44px 0 12px; letter-spacing: -.01em; }
html[lang="ka"] .legal h2 { font-size: 21px; }
.legal p, .legal li { color: #C9D2E6; }
.legal ul { padding-left: 20px; }
.legal li + li { margin-top: 6px; }
.legal em { font-style: normal; color: var(--text); font-weight: 700; }
.legal a { color: #9cc1ff; }
.legal .qa { background: var(--asphalt-2); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; margin: 12px 0; }
.legal .qa p { margin: 0; }
.legal .qa p + p { margin-top: 6px; }
.legal .qa strong { color: var(--text); }
.legal .muted { color: var(--muted); }
.legal section[hidden] { display: none; }
