:root {
  --navy: #0f2d4f; --navy-2: #1d5fae; --ink: #172234; --muted: #5a6577; --line: #e3e7ef;
  --bg: #f5f6fa; --card: #fff; --coral: #ff6b4a; --sun: #ffc845; --ok: #138a5f; --ok-bg: #e6f6ef;
  --bad: #c0352b; --bad-bg: #fdecea; --warn-bg: #fff6dc; --info-bg: #ebf2fd; --violet: #6b5bd6; --red: #d8443c;
  --radius: 18px; --shadow: 0 1px 2px rgba(15, 45, 79, .05), 0 8px 28px rgba(15, 45, 79, .07);
  --shadow-lg: 0 2px 4px rgba(15, 45, 79, .06), 0 20px 50px rgba(15, 45, 79, .14);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 17px/1.65 var(--sans); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--navy-2); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; color: var(--navy); letter-spacing: -.015em; }
h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3rem); margin: .25em 0 .4em; }
h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.45rem, 2.6vw, 1.85rem); margin: 2.2em 0 .7em; }
h3 { font-size: 1.15rem; margin: 1.6em 0 .4em; font-weight: 700; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 840px; }
.small { font-size: .88rem; color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 99; }
.ic { flex: none; vertical-align: middle; }

/* Header */
.top { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(15, 45, 79, .08); position: sticky; top: 0; z-index: 30; }
.top-in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-size: 1.18rem; font-weight: 700; white-space: nowrap; letter-spacing: -.01em; }
.logo b { color: var(--coral); font-weight: 800; }
.logo.light { color: #fff; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-group { position: relative; }
.nav-top { background: none; border: 0; font: inherit; font-size: .95rem; font-weight: 600; color: var(--ink); padding: 10px 13px; border-radius: 10px; cursor: pointer; }
.nav-top::after { content: ""; display: inline-block; width: 6px; height: 6px; border: solid var(--muted); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg) translate(-2px, -2px); margin-left: 8px; }
.nav-top:hover, .nav-group.open .nav-top { background: var(--bg); }
.nav-menu { display: none; position: absolute; top: calc(100% + 6px); left: -8px; min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; }
.nav-group.open .nav-menu { display: block; animation: drop .14s ease-out; }
@keyframes drop { from { opacity: 0; transform: translateY(-4px); } }
.nav-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 500; }
.nav-menu a .ic { color: var(--navy-2); }
.nav-menu a:hover, .nav-menu a[aria-current] { background: var(--info-bg); color: var(--navy); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; margin-left: 10px; background: var(--navy); color: #fff !important; text-decoration: none; padding: 10px 18px; border-radius: 999px; font-size: .95rem; font-weight: 600; white-space: nowrap; box-shadow: 0 6px 16px rgba(15, 45, 79, .2); }
.nav-cta:hover { background: var(--navy-2); }
.burger { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }
@media (max-width: 960px) {
  .burger { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 8px 16px 18px; border-bottom: 1px solid var(--line); max-height: calc(100vh - 68px); overflow: auto; box-shadow: var(--shadow-lg); }
  .nav.open { display: flex; }
  .nav-menu { position: static; box-shadow: none; border: 0; padding: 0 0 6px; min-width: 0; }
  .nav-top { width: 100%; text-align: left; font-size: 1.05rem; }
  .nav-cta { margin: 10px 0 0; justify-content: center; }
}
.crumbs { font-size: .85rem; color: var(--muted); padding-top: 16px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }

/* Home hero */
.home-hero { position: relative; overflow: hidden; color: #fff; padding: 72px 0 96px; background: radial-gradient(1200px 600px at 85% -10%, #2b6cc4 0%, transparent 60%), radial-gradient(700px 500px at -10% 110%, #6b5bd6 0%, transparent 55%), linear-gradient(160deg, #0f2d4f 0%, #12385f 60%, #0d2745 100%); }
.home-hero::after { content: ""; position: absolute; inset: auto 0 -1px 0; height: 60px; background: var(--bg); clip-path: ellipse(75% 100% at 50% 100%); }
.home-hero h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 3.8rem); line-height: 1.05; }
.home-hero h1 em { font-style: italic; color: var(--sun); }
.home-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.home-hero .lead { color: #d4e1f2; font-size: 1.2rem; max-width: 34em; }
.kicker { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; font-weight: 800; color: var(--coral); margin: 0; }
.home-hero .kicker { color: var(--sun); background: rgba(255, 200, 69, .12); border: 1px solid rgba(255, 200, 69, .3); padding: 6px 12px; border-radius: 999px; }
.lead { font-size: 1.15rem; color: var(--muted); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.home-hero .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; color: #bcd0ea; font-size: .92rem; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust .ic { color: var(--sun); }
.hero-art { position: relative; }
.hero-art svg.scene { width: 100%; height: auto; border-radius: 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); display: block; }
.float { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow-lg); font-size: .9rem; font-weight: 600; animation: bob 5s ease-in-out infinite; }
.float small { display: block; color: var(--muted); font-weight: 500; font-size: .78rem; }
.float.f1 { left: -22px; top: 18%; }
.float.f2 { right: -14px; top: 48%; animation-delay: -1.6s; }
.float.f3 { left: 14%; bottom: -18px; animation-delay: -3.2s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } }
@media (max-width: 860px) { .home-in { grid-template-columns: 1fr; } .home-hero { padding: 44px 0 80px; } .float.f1 { left: 6px; } .float.f2 { right: 6px; } }

/* Stats strip */
.stats { position: relative; z-index: 2; margin-top: -36px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); padding: 8px; }
.stat { padding: 18px 20px; border-right: 1px solid var(--line); }
.stat:last-child { border: 0; }
.stat b { display: block; font-family: var(--display); font-size: 2rem; color: var(--navy); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* Page heroes */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #f8faff 100%); border-bottom: 1px solid var(--line); padding: 34px 0 38px; margin-bottom: 32px; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .lead { margin: 0; max-width: 40em; }
.hero-deco { position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255, 200, 69, .28), transparent 60%), radial-gradient(circle at 70% 60%, rgba(29, 95, 174, .18), transparent 60%); pointer-events: none; }
.art-cat { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy-2); font-size: .9rem; margin: 0; }
.art-meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .88rem; margin: 16px 0 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--coral); color: #fff; text-decoration: none; border: 2px solid var(--coral); padding: 11px 22px; border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; margin: 4px 6px 4px 0; transition: transform .15s, box-shadow .15s, background .15s; box-shadow: 0 8px 20px rgba(255, 107, 74, .28); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(255, 107, 74, .34); }
.btn.ghost { background: transparent; color: var(--navy); border-color: var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--navy-2); }
.btn.light { background: #fff; color: var(--navy); border-color: #fff; box-shadow: none; }
.btn.big { padding: 14px 28px; font-size: 1.05rem; }
.btn.small { padding: 6px 14px; font-size: .88rem; box-shadow: none; }
.btn:disabled { opacity: .45; cursor: default; transform: none; }

/* Sections and cards */
.sec { padding: 64px 0 8px; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 8px; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 6px 0 0; color: var(--muted); }
.sec-t { margin-top: 56px; }
.eyebrow { display: block; text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; font-weight: 800; color: var(--coral); margin-bottom: 6px; font-family: var(--sans); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; margin: 22px 0; }
.cards.three { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.cards.compact { grid-template-columns: 1fr 1fr; }
.card { position: relative; display: flex; flex-direction: column; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 46px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s, border-color .18s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #c9d6ea; }
.card-t { font-weight: 700; color: var(--navy); font-size: 1.08rem; line-height: 1.3; }
.card-d { color: var(--muted); font-size: .94rem; }
.card-go { position: absolute; right: 18px; bottom: 16px; color: var(--muted); transition: transform .18s, color .18s; }
.card:hover .card-go { transform: translateX(3px); color: var(--coral); }
.tile { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; flex: none; }
.art-cat .tile { width: 34px; height: 34px; border-radius: 10px; }
.t-blue { background: #e6effc; color: #1d5fae; } .t-coral { background: #ffece6; color: #e2502f; } .t-sun { background: #fff3cf; color: #b07d00; }
.t-green { background: #e3f5ec; color: #138a5f; } .t-violet { background: #eeebfc; color: #5a49c8; } .t-red { background: #fde8e6; color: #c7362c; } .t-teal { background: #e0f4f5; color: #0f8590; }
.tag { align-self: flex-start; font-size: .74rem; font-weight: 700; background: var(--bg); color: var(--navy); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); }
.band { background: #fff; border-block: 1px solid var(--line); padding: 10px 0 40px; margin-top: 56px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 820px) { .two, .cards.compact { grid-template-columns: 1fr; } }
.news { list-style: none; padding: 0; margin: 0; }
.news li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px 14px 50px; margin-bottom: 10px; box-shadow: var(--shadow); }
.news li::before { content: ""; position: absolute; left: 20px; top: 21px; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px #ffe3dc; }
.news b { display: block; color: var(--navy); }
.news span { color: var(--muted); font-size: .95rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .93rem; transition: border-color .15s, background .15s; }
.chip:hover { border-color: var(--navy-2); background: var(--info-bg); }
.how { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 28px 0 8px; counter-reset: h; position: relative; }
.how::before { content: ""; position: absolute; top: 22px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, #c9d6ea 0 8px, transparent 8px 14px); }
.how li { list-style: none; position: relative; text-align: center; font-size: .92rem; color: var(--muted); counter-increment: h; }
.how li::before { content: counter(h); display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 10px; border-radius: 50%; background: #fff; border: 2px solid var(--navy-2); color: var(--navy); font-weight: 800; position: relative; }
.how li b { display: block; color: var(--navy); font-size: .98rem; }
@media (max-width: 860px) { .how { grid-template-columns: 1fr 1fr 1fr; row-gap: 26px; } .how::before { display: none; } }
@media (max-width: 480px) { .how { grid-template-columns: 1fr 1fr; } }
.test-card { position: relative; overflow: hidden; }
.test-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; }
.test-card.c1::before { background: linear-gradient(90deg, #1d5fae, #6b5bd6); } .test-card.c2::before { background: linear-gradient(90deg, #6b5bd6, #ff6b4a); } .test-card.c3::before { background: linear-gradient(90deg, #ff6b4a, #ffc845); }
.cta-banner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: linear-gradient(120deg, #fff4e8, #ffe7df); border: 1px solid #ffd9cb; border-radius: 26px; padding: 30px 34px; margin: 56px 0 0; }
.cta-banner h2 { margin: 0 0 6px; }
.cta-banner p { margin: 0; color: var(--muted); }
@media (max-width: 700px) { .cta-banner { grid-template-columns: 1fr; padding: 24px; } }

/* Journey */
.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.j-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; transition: transform .18s, box-shadow .18s; }
.j-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.j-n { width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; }
.j-t { font-weight: 800; color: var(--navy); font-size: 1.2rem; }
.j-d { color: var(--muted); }
.j-m { margin-top: auto; font-size: .9rem; font-weight: 700; color: #e2502f; }
@media (max-width: 820px) { .journey { grid-template-columns: 1fr; } }

/* Prose */
.with-toc { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: 92px; font-size: .9rem; display: flex; flex-direction: column; gap: 2px; }
.toc p { font-weight: 800; color: var(--muted); text-transform: uppercase; font-size: .72rem; letter-spacing: .08em; margin: 0 0 8px; }
.toc a { text-decoration: none; color: var(--ink); padding: 6px 12px; border-left: 2px solid var(--line); }
.toc a:hover { border-color: var(--coral); color: var(--navy); background: #fff; }
@media (max-width: 960px) { .with-toc { grid-template-columns: 1fr; gap: 0; } .toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; } .toc p { width: 100%; } .toc a { border: 1px solid var(--line); border-radius: 999px; background: #fff; } }
.prose { min-width: 0; max-width: 760px; }
.prose > h2:first-child, .prose > .key:first-child + h2 { margin-top: 0; }
.prose li { margin: 5px 0; }
.prose p, .prose li { color: #26324a; }
.key { background: linear-gradient(135deg, #eef4fe, #f6f1ff); border: 1px solid #dbe5f7; border-radius: 18px; padding: 18px 22px; margin: 0 0 28px; }
.key-t { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--navy); margin: 0 0 6px; }
.key-t .ic { color: var(--coral); }
.key ul { margin: 0; padding-left: 20px; }
.cta-box { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--navy); color: #d4e1f2; border-radius: 20px; padding: 22px 26px; margin: 36px 0; }
.cta-box p { margin: 0; color: #d4e1f2; }
.cta-box .cta-t { color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 4px; }
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 32px; margin: 12px 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 21px; height: 21px; border-radius: 50%; background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23138a5f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.steps { list-style: none; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 20px 54px; border-left: 2px dashed #cfd9ea; margin-left: 18px; }
.steps li:last-child { border-color: transparent; }
.steps li::before { content: counter(s); position: absolute; left: -19px; top: -3px; width: 36px; height: 36px; border-radius: 12px; background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; font-weight: 800; display: grid; place-items: center; }
.step-t { font-weight: 700; color: var(--navy); margin: 0 0 4px; padding-top: 3px; }
.steps p { margin: 0 0 4px; }
.callout { border-radius: 16px; padding: 16px 20px; margin: 22px 0; border: 1px solid transparent; }
.callout p { margin: 4px 0; }
.callout-t { font-weight: 800; }
.callout.info { background: var(--info-bg); border-color: #d3e2f6; }
.callout.warn { background: var(--warn-bg); border-color: #f3dfa2; }
.callout.tip { background: var(--ok-bg); border-color: #c4e8d4; }
.table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 11px 15px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f3f6fb; color: var(--navy); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
tbody tr:hover { background: #fafcff; }
tr:last-child td { border-bottom: 0; }
table.kv thead { display: none; }
table.kv td:first-child { font-weight: 700; color: var(--navy); width: 34%; }
table.num td:not(:first-child) { font-variant-numeric: tabular-nums; }
.ext { font-size: .75em; margin-left: 2px; }
.verified { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 44px; }
.faq { margin-top: 24px; margin-bottom: 40px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 10px 0; box-shadow: var(--shadow); }
.faq summary { font-weight: 700; cursor: pointer; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--coral); }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.related { margin-top: 24px; }
.hub-sec { margin-top: 40px; }
.hub-sec h2 { display: flex; align-items: center; gap: 12px; }

/* Apps */
.app { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow-lg); margin: 8px 0 30px; }
@media (max-width: 600px) { .app { padding: 18px; } }
.app h2:first-child, .app h3:first-child { margin-top: 0; }
.bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: .9rem; color: var(--muted); margin-bottom: 12px; font-weight: 600; }
.progress { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; margin-bottom: 20px; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--coral), var(--sun)); transition: width .25s; border-radius: 99px; }
.timer { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--navy); background: var(--info-bg); padding: 5px 12px; border-radius: 999px; }
.timer.low { background: var(--bad-bg); color: var(--bad); }
.doc { background: #fbf9f4; border: 1px solid #efe8d8; border-left: 4px solid var(--sun); border-radius: 12px; padding: 16px 18px; margin: 8px 0 18px; font-family: var(--display); font-weight: 600; font-size: 1.02rem; line-height: 1.6; color: #2b3446; }
.doc.audio { font-family: var(--sans); font-weight: 400; }
.q { font-weight: 700; font-size: 1.15rem; color: var(--ink); margin: 6px 0 16px; }
.opts { display: grid; gap: 10px; }
.opt { display: flex; gap: 12px; align-items: flex-start; text-align: left; width: 100%; font: inherit; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 13px 15px; cursor: pointer; color: var(--ink); transition: border-color .12s, background .12s, transform .12s; }
.opt:hover:not(:disabled) { border-color: var(--navy-2); transform: translateX(2px); }
.opt .l { flex: none; width: 28px; height: 28px; border-radius: 9px; background: var(--bg); display: grid; place-items: center; font-weight: 800; font-size: .85rem; color: var(--navy); }
.opt.sel { border-color: var(--navy); background: var(--info-bg); }
.opt.sel .l { background: var(--navy); color: #fff; }
.opt.right { border-color: var(--ok); background: var(--ok-bg); }
.opt.right .l { background: var(--ok); color: #fff; }
.opt.wrong { border-color: var(--bad); background: var(--bad-bg); }
.opt.wrong .l { background: var(--bad); color: #fff; }
.opt:disabled { cursor: default; }
.why { margin-top: 14px; padding: 13px 16px; border-radius: 12px; background: var(--bg); font-size: .95rem; }
.nav-q { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; flex-wrap: wrap; align-items: center; }
.result { text-align: center; padding: 10px 0; }
.score { font-family: var(--display); font-size: 3.6rem; font-weight: 700; color: var(--navy); line-height: 1; margin: 10px 0; }
.pass { color: var(--ok); font-weight: 800; font-size: 1.3rem; }
.fail { color: var(--bad); font-weight: 800; font-size: 1.3rem; }
.review { text-align: left; margin-top: 24px; }
.review details { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin: 8px 0; }
.review summary { cursor: pointer; }
.review .ok::before { content: "✓ "; color: var(--ok); font-weight: 800; }
.review .ko::before { content: "✗ "; color: var(--bad); font-weight: 800; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
@media (max-width: 600px) { .choice { grid-template-columns: 1fr; } }
.choice button { font: inherit; text-align: left; background: var(--bg); border: 2px solid var(--line); border-radius: 16px; padding: 18px; cursor: pointer; transition: border-color .15s, transform .15s; }
.choice button:hover { border-color: var(--navy-2); transform: translateY(-2px); }
.choice b { display: block; color: var(--navy); margin-bottom: 4px; font-size: 1.05rem; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: .95rem; color: var(--navy); }
.form .hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
input, select, textarea { font: inherit; padding: 11px 13px; border: 1.5px solid #cdd5e1; border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(29, 95, 174, .2); border-color: var(--navy-2); }
textarea { min-height: 240px; resize: vertical; line-height: 1.65; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } }
.out { margin-top: 20px; }
.verdict { border-radius: 14px; padding: 14px 18px; margin: 10px 0; border: 1px solid var(--line); }
.verdict.yes { background: var(--ok-bg); border-color: #c4e8d4; }
.verdict.no { background: #fafbfd; }
.verdict b { color: var(--navy); }
.verdict ul { margin: 6px 0 0; padding-left: 20px; font-size: .95rem; }
.big-num { font-family: var(--display); font-size: 2.6rem; font-weight: 700; color: var(--navy); margin: 0; }
.periods .period { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: end; margin: 6px 0; }
.periods .period button { height: 46px; }
.wc { font-size: .9rem; color: var(--muted); text-align: right; margin-top: 4px; font-weight: 600; }
.wc.ok { color: var(--ok); }
.wc.bad { color: var(--bad); }
.task-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.task-tabs button { font: inherit; font-weight: 600; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 15px; cursor: pointer; }
.task-tabs button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.prompt { background: var(--warn-bg); border: 1px solid #f3dfa2; border-radius: 14px; padding: 16px 18px; margin: 8px 0 14px; }
.eo-clock { font-family: var(--display); font-size: 3.6rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--navy); text-align: center; margin: 10px 0; }
.eo-phase { text-align: center; color: var(--muted); font-weight: 700; }
.dossier-stage { margin: 20px 0; }
.dossier-stage h3 { display: flex; justify-content: space-between; align-items: center; }
.dossier-stage h3 small { font-size: .85rem; color: var(--muted); font-weight: 700; }
.tick { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px dashed var(--line); cursor: pointer; font-weight: 500; color: var(--ink); }
.tick input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--ok); }
.tick.done span { color: var(--muted); text-decoration: line-through; }

/* Pre-footer and footer */
.pre-foot { margin-top: 80px; }
.pre-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: linear-gradient(120deg, var(--coral), #ff8f5a 60%, var(--sun)); color: #fff; border-radius: 26px; padding: 28px 34px; position: relative; top: 40px; box-shadow: 0 20px 50px rgba(255, 107, 74, .3); }
.pre-in p { margin: 0; }
.pre-t { font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: #fff; }
.foot { background: #0b2340; color: #b9c9dd; padding: 88px 0 24px; font-size: .94rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.foot-col { display: grid; gap: 7px; align-content: start; }
.foot-col p { color: #fff; font-weight: 800; margin: 0 0 4px; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.foot a { color: #d9e4f2; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot .small { color: #8ea4c0; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 36px; padding-top: 18px; font-size: .85rem; color: #8ea4c0; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } .pre-in { padding: 22px; } }

/* Capsule player */
.vplayer { margin: 0 0 18px; }
.vscreen { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; color: #fff; background: radial-gradient(700px 400px at 90% -10%, #2b6cc4 0%, transparent 60%), radial-gradient(500px 360px at 0% 120%, #6b5bd6 0%, transparent 60%), linear-gradient(160deg, #0f2d4f, #0d2745); box-shadow: var(--shadow-lg); outline: none; }
.vscreen:focus-visible { box-shadow: 0 0 0 4px rgba(255, 200, 69, .6); }
.vbadge { position: absolute; left: 16px; top: 14px; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--sun); background: rgba(255, 200, 69, .12); border: 1px solid rgba(255, 200, 69, .3); padding: 4px 10px; border-radius: 999px; }
.vtitle { position: absolute; right: 16px; top: 14px; max-width: 48%; text-align: right; font-size: .82rem; color: #bcd0ea; font-weight: 600; }
.vscene { position: absolute; inset: 52px 6% 64px; display: grid; place-items: center; }
.vs-in { width: 100%; max-width: 620px; animation: vfade .5s ease-out; }
.vs-in .tile { width: 58px; height: 58px; border-radius: 16px; margin-bottom: 10px; }
.vs-h { font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 3.2vw, 2rem); line-height: 1.15; margin: 0 0 12px; color: #fff; }
.vs-in ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.vs-in li { position: relative; padding-left: 24px; font-size: clamp(.82rem, 1.9vw, 1.05rem); color: #dbe6f3; opacity: 0; animation: vfade .6s ease-out forwards; }
.vs-in li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 3px; background: var(--coral); }
.vs-n { position: absolute; right: 16px; bottom: 70px; font-size: .75rem; color: #8ea4c0; }
@keyframes vfade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.vsub { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); width: min(92%, 760px); text-align: center; background: rgba(0, 0, 0, .62); color: #fff; padding: 7px 12px; border-radius: 8px; font-size: clamp(.8rem, 1.8vw, 1rem); line-height: 1.4; }
.vsub:empty { display: none; }
.vbig { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; border: 0; background: var(--coral); color: #fff; font-size: 1.8rem; cursor: pointer; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); padding-left: 6px; }
.vbig:hover { transform: scale(1.05); }
.vbar { height: 6px; background: var(--line); border-radius: 99px; margin: 10px 0 8px; overflow: hidden; }
.vbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--coral), var(--sun)); transition: width .4s linear; }
.vctrl { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.vctrl button, .vctrl select { font: inherit; font-size: .88rem; font-weight: 700; border: 1.5px solid var(--line); background: #fff; color: var(--navy); border-radius: 10px; padding: 6px 11px; cursor: pointer; width: auto; }
.vctrl button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.vtime { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .88rem; font-weight: 600; margin-left: 4px; }
.vsp { flex: 1; }
.vtranscript { background: var(--bg); border-radius: 14px; padding: 6px 18px 12px; margin-top: 10px; font-size: .95rem; }
.vtranscript h4 { margin: 12px 0 2px; color: var(--navy); }
.vtranscript p { margin: 0; }
@media (max-width: 600px) { .vscene { inset: 46px 5% 58px; } .vs-in .tile { display: none; } .vtitle { display: none; } .vs-n { display: none; } }
/* Capsule list */
.cap-stage { scroll-margin-top: 90px; }
.cap-cle { display: flex; align-items: center; gap: 10px; margin: 22px 0 10px; }
.cap-cle .tile { width: 32px; height: 32px; border-radius: 10px; }
.cap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.cap-card { display: flex; gap: 12px; align-items: center; text-align: left; font: inherit; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 12px; cursor: pointer; color: var(--ink); }
.cap-card .tile { width: 40px; height: 40px; border-radius: 12px; }
.cap-card .tile svg { width: 20px; height: 20px; }
.cap-card b { display: block; color: var(--navy); font-size: .95rem; line-height: 1.3; }
.cap-card small { color: var(--muted); }
.cap-card:hover { border-color: var(--navy-2); }
.cap-card.on { border-color: var(--coral); box-shadow: 0 0 0 3px #ffe3dc; }
.cap-card.seen small { color: var(--ok); font-weight: 700; }
/* Exam questions */
.vq { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin: 14px 0; background: #fff; }
.vq.locked { opacity: .55; }
.vq-n { font-size: .82rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin: 0; }
.vq-multi { color: #e2502f; }
.vq-s { background: var(--warn-bg); border: 1px solid #f3dfa2; border-radius: 12px; padding: 10px 14px; margin: 10px 0 0; font-style: italic; }
.vq-tools { margin: 10px 0 0; }
.opt .l.sq { border-radius: 6px; border: 2px solid #c9d1dd; background: #fff; color: #fff; }
.opt.sel .l.sq { background: var(--navy); border-color: var(--navy); }
.sum-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 14px 0; }
.sum-item { font: inherit; text-align: left; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; cursor: pointer; }
.sum-item b { display: block; color: var(--navy); }
.sum-item span { font-size: .85rem; color: var(--ok); font-weight: 600; }
.sum-item.todo { border-color: #f3b3a6; background: #fff7f5; }
.sum-item.todo span { color: var(--bad); font-weight: 800; }
.steps-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0; }
.steps-3 > div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: grid; gap: 6px; box-shadow: var(--shadow); }
.steps-3 b { color: var(--navy); }
.steps-3 span { color: var(--muted); font-size: .92rem; }
@media (max-width: 700px) { .steps-3 { grid-template-columns: 1fr; } }
.transcripts details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; margin: 8px 0; }
.transcripts summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.transcripts h4 { margin: 12px 0 2px; color: var(--navy); }
