/* ==========================================================================
   Wizius Careers — site styles
   Palette: Oxford ink + admit crimson + brass. Type: Fraunces / Manrope.
   ========================================================================== */
:root {
  --ink: #0E2340;
  --ink-2: #17335C;
  --ink-3: #274B7A;
  --crimson: #A3122F;
  --crimson-d: #820D24;
  --brass: #C8A24B;
  --brass-l: #EFE3C2;
  --paper: #F4F6FA;
  --paper-2: #E9EEF5;
  --line: #D9E0EA;
  --text: #22304A;
  --muted: #5A6A82;
  --white: #fff;
  --ok: #1E7A4F;
  --warn: #B26A00;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --topbar-h: 38px;
  --nav-h: 74px;
  --r-sm: 6px;
  --r: 12px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(14, 35, 64, .06), 0 8px 24px rgba(14, 35, 64, .08);
  --shadow-lg: 0 24px 60px rgba(14, 35, 64, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--crimson); text-underline-offset: 3px; }
a:hover { color: var(--crimson-d); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 999; }
.skip:focus { left: 1rem; top: 1rem; }
.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 2.5rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 700 1rem/1 var(--sans); padding: .95rem 1.5rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--crimson { background: var(--crimson); color: #fff; }
.btn--crimson:hover { background: var(--crimson-d); color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--brass-l); color: var(--ink); }
.btn--outline-light { color: #fff; border-color: rgba(255,255,255,.55); background: transparent; }
.btn--outline-light:hover { background: #fff; color: var(--ink); }
.btn--sm { padding: .7rem 1.15rem; font-size: .92rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Header (topbar scrolls away, nav always visible) ---------- */
.site-header { position: sticky; top: calc(-1 * var(--topbar-h)); z-index: 100; }
.topbar { height: var(--topbar-h); background: var(--ink); color: #C9D4E5; font-size: .82rem; }
.topbar__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar__links { display: flex; gap: 1.4rem; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: var(--brass-l); }
.topbar svg { width: 14px; height: 14px; fill: var(--brass); }
.nav { background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.is-stuck .nav { box-shadow: 0 6px 24px rgba(14,35,64,.09); }
.nav__in { height: var(--nav-h); display: flex; align-items: center; gap: 1.5rem; }
.brand img { height: 50px; width: auto; }
.menu { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; align-items: center; gap: .15rem; }
.menu__item { position: relative; }
.menu__link { white-space: nowrap; display: inline-flex; align-items: center; gap: .3rem; padding: .65rem .8rem; font: 600 .96rem var(--sans); color: var(--ink); background: none; border: 0; border-radius: 8px; cursor: pointer; text-decoration: none; }
.menu__link:hover, .menu__item.is-open > .menu__link { background: var(--paper); color: var(--ink); }
.menu__item.is-active > .menu__link { color: var(--crimson); }
.chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; transition: transform .2s; }
.menu__item.is-open .chev { transform: rotate(180deg); }
.pill-new { font-size: .66rem; font-weight: 800; background: var(--brass-l); color: #6B5412; padding: .12rem .45rem; border-radius: 99px; margin-left: .15rem; }
.drop { position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; min-width: 320px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: .6rem; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.drop::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.menu__item.is-open > .drop { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1081px) { .menu__item.has-drop:hover > .drop { opacity: 1; visibility: visible; transform: none; } .menu__item.has-drop:hover .chev { transform: rotate(180deg); } }
.drop--wide { min-width: 560px; }
.drop--sm { min-width: 210px; }
.drop__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem; }
.drop__card { display: block; padding: .7rem .85rem; border-radius: 8px; text-decoration: none; color: var(--text); }
.drop__card strong { display: block; color: var(--ink); font-size: .96rem; }
.drop__card span { display: block; font-size: .84rem; color: var(--muted); line-height: 1.4; }
.drop__card:hover { background: var(--paper); }
.drop__card:hover strong { color: var(--crimson); }
.drop__link { display: block; padding: .6rem .85rem; border-radius: 8px; color: var(--ink); font-weight: 600; text-decoration: none; }
.drop__link:hover { background: var(--paper); color: var(--crimson); }
.drop__foot { display: block; margin-top: .4rem; padding: .7rem .85rem; border-top: 1px solid var(--line); font-weight: 700; font-size: .9rem; text-decoration: none; }
.nav__cta { display: flex; align-items: center; gap: .6rem; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; padding: 0 11px; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .burger { display: flex; }
  .menu { position: fixed; top: calc(var(--nav-h)); right: 0; bottom: 0; width: min(380px, 100%); margin: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: .8rem 1rem 6rem; overflow-y: auto; transform: translateX(100%); transition: transform .28s ease; border-left: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  .menu.is-open { transform: none; }
  .menu__link { width: 100%; justify-content: space-between; padding: .95rem .6rem; font-size: 1.05rem; border-bottom: 1px solid var(--paper-2); border-radius: 0; }
  .drop { position: static; translate: none; transform: none; min-width: 0; box-shadow: none; border: 0; padding: 0 0 .5rem .4rem; display: none; opacity: 1; visibility: visible; }
  .menu__item.is-open > .drop { display: block; }
  .drop__grid { grid-template-columns: 1fr; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(14,35,64,.35); z-index: 90; }
}
@media (max-width: 640px) {
  .topbar__note { display: none; }
  .topbar__in { justify-content: center; }
  .topbar__links { gap: 1rem; font-size: .78rem; }
  .nav__cta .btn { display: none; }
  .brand img { height: 42px; }
  :root { --nav-h: 66px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #D4DDEB; }
.section--ink h2, .section--ink h3 { color: #fff; }
.sec-head { max-width: 720px; margin-bottom: 2.6rem; }
.sec-head.center { margin-inline: auto; }
.sec-head p { color: var(--muted); font-size: 1.1rem; }
.section--ink .sec-head p { color: #AFBDD2; }
.kicker { display: inline-block; font-weight: 700; font-size: .9rem; color: var(--crimson); margin-bottom: .6rem; }
.section--ink .kicker { color: var(--brass); }

/* ---------- Hero: the admit letter ---------- */
.hero { position: relative; background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent 30%, #000 75%); opacity: .7; }
.hero__in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3.5rem, 6vw, 5rem); }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.3rem); line-height: 1.04; }
.hero__lead { font-size: 1.2rem; color: var(--muted); max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 2rem; }
.hero__proof { display: flex; gap: 2rem; flex-wrap: wrap; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.hero__proof div { display: flex; flex-direction: column; }
.hero__proof strong { font-family: var(--serif); font-size: 1.9rem; color: var(--ink); line-height: 1; }
.hero__proof span { font-size: .88rem; color: var(--muted); margin-top: .3rem; }

.letter-stage { position: relative; }
.letter { position: relative; background: #fff; border-radius: 4px; padding: 2.4rem 2.2rem 2rem; box-shadow: var(--shadow-lg); border-top: 6px solid var(--ink); rotate: -1.2deg; transition: rotate .4s; }
.letter:hover { rotate: 0deg; }
.letter-wrap { position: relative; }
.letter-wrap::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; background: var(--ink-2); border-radius: 4px; rotate: 2.4deg; opacity: .9; }
.letter__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; font-size: .8rem; color: var(--muted); margin-bottom: 1.4rem; }
.letter__school { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); font-weight: 700; }
.letter__body { font-family: var(--serif); font-size: 1.08rem; line-height: 1.7; color: #2B3548; }
.letter__body p { margin: 0 0 .9rem; }
.letter__name { color: var(--crimson); font-weight: 700; border-bottom: 2px dotted var(--brass); padding: 0 .1rem; }
.letter__school-name { font-weight: 700; color: var(--ink); }
.letter__sign { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 1.4rem; }
.letter__sign em { font-family: var(--serif); font-size: 1.35rem; color: var(--ink-3); }
.letter__sign small { display: block; font-size: .78rem; color: var(--muted); }
.seal { width: 86px; height: 86px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #D0284A, var(--crimson) 55%, #6E0A1E); display: grid; place-items: center; color: #FBE3E8; font: 700 .64rem/1.2 var(--sans); text-align: center; box-shadow: inset 0 0 0 5px rgba(255,255,255,.12), 0 6px 14px rgba(130,13,36,.4); rotate: -12deg; transform: scale(0); }
.letter.is-sealed .seal { animation: stamp .55s cubic-bezier(.2, 1.6, .4, 1) forwards; }
@keyframes stamp { 0% { transform: scale(2.2); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.letter__try { position: relative; margin-top: 1.4rem; display: flex; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .35rem .35rem 1rem; box-shadow: var(--shadow); }
.letter__try label { position: absolute; left: -9999px; }
.letter__try input { flex: 1; border: 0; outline: 0; font: 600 1rem var(--sans); min-width: 0; background: transparent; }
.letter__try select { border: 0; background: var(--paper); border-radius: 999px; padding: 0 .8rem; font: 600 .9rem var(--sans); color: var(--ink); max-width: 44%; }
.letter__caption { position: relative; font-size: .85rem; color: var(--muted); text-align: center; margin-top: .7rem; }

@media (max-width: 960px) {
  .hero__in { grid-template-columns: 1fr; }
  .letter-stage { max-width: 560px; }
}
@media (max-width: 520px) {
  .letter { padding: 1.8rem 1.3rem 1.5rem; }
  .letter__body { font-size: 1rem; }
  .seal { width: 70px; height: 70px; font-size: .56rem; }
  .letter__try { flex-wrap: wrap; border-radius: 14px; }
  .letter__try select { max-width: none; width: 100%; padding: .55rem .8rem; }
}

/* ---------- University logos ---------- */
.unis { padding: 2.4rem 0; border-bottom: 1px solid var(--line); background: #fff; }
.unis__title { text-align: center; font-size: .95rem; color: var(--muted); margin-bottom: 1.4rem; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 40s linear infinite; align-items: center; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee img { height: 56px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.marquee img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Method (a true sequence) ---------- */
.method { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; border-top: 2px solid var(--ink); }
.method__step { padding: 2rem 2rem 0 0; position: relative; }
.method__step + .method__step { padding-left: 2rem; border-left: 1px solid var(--line); }
.method__num { font-family: var(--serif); font-size: 3.2rem; color: var(--brass); line-height: 1; display: block; margin-bottom: .8rem; }
.method__step p { color: var(--muted); }
@media (max-width: 860px) { .method { grid-template-columns: 1fr; } .method__step, .method__step + .method__step { padding: 1.6rem 0; border-left: 0; border-bottom: 1px solid var(--line); } }

/* ---------- Programs ---------- */
.programs { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.2rem; }
.prog { grid-column: span 4; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem 1.6rem 1.4rem; text-decoration: none; color: var(--text); display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; }
.prog:hover { border-color: var(--ink-3); box-shadow: var(--shadow); color: var(--text); }
.prog__tag { font-size: .8rem; font-weight: 700; color: var(--muted); }
.prog h3 { margin: .3rem 0 .5rem; }
.prog p { font-size: .98rem; color: var(--muted); flex: 1; }
.prog__more { font-weight: 700; color: var(--crimson); font-size: .95rem; }
.prog--feature { grid-column: span 6; background: var(--ink); border-color: var(--ink); color: #C9D4E5; }
.prog--feature h3 { color: #fff; font-size: 1.8rem; }
.prog--feature p { color: #B5C3D8; }
.prog--feature .prog__tag { color: var(--brass); }
.prog--feature .prog__more { color: var(--brass-l); }
.prog--feature:hover { color: #C9D4E5; border-color: var(--brass); }
@media (max-width: 960px) { .prog, .prog--feature { grid-column: span 6; } }
@media (max-width: 600px) { .prog, .prog--feature { grid-column: span 12; } }

/* ---------- Highlights list ---------- */
.highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 3rem; }
.hl { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.hl__ico { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(200,162,75,.5); display: grid; place-items: center; }
.hl__ico svg { width: 20px; height: 20px; fill: var(--brass); }
.hl h3 { font-family: var(--sans); font-size: 1.08rem; font-weight: 700; margin: .3rem 0 .3rem; }
.hl p { margin: 0; font-size: .97rem; color: #AFBDD2; }
@media (max-width: 760px) { .highlights { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.stat { padding: 1.8rem 1.5rem; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--ink); line-height: 1; }
.stat span { display: block; color: var(--muted); margin-top: .5rem; font-size: .95rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Zone promo (student engagement) ---------- */
.zone { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.zone__list { list-style: none; padding: 0; margin: 1.4rem 0 2rem; }
.zone__list li { padding: .7rem 0 .7rem 2rem; position: relative; border-bottom: 1px dashed var(--line); }
.zone__list li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 14px; height: 8px; border-left: 2.5px solid var(--crimson); border-bottom: 2.5px solid var(--crimson); rotate: -45deg; }
.meter-card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 2rem; border: 1px solid var(--line); }
.meter-card__top { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.4rem; }
.gauge { --v: 72; width: 128px; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(var(--crimson) calc(var(--v) * 1%), var(--paper-2) 0); display: grid; place-items: center; flex-shrink: 0; }
.gauge::after { content: attr(data-label); width: 98px; aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; font: 700 1.9rem var(--serif); color: var(--ink); }
.bars { display: grid; gap: .8rem; }
.bar { display: grid; grid-template-columns: 130px 1fr 40px; gap: .8rem; align-items: center; font-size: .92rem; }
.bar__t { height: 8px; background: var(--paper-2); border-radius: 9px; overflow: hidden; }
.bar__f { height: 100%; background: var(--ink-3); border-radius: 9px; }
@media (max-width: 860px) { .zone { grid-template-columns: 1fr; } }

/* ---------- Calculator teaser ---------- */
.calc-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.calc-tile { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r); padding: 1.4rem; color: #D4DDEB; text-decoration: none; transition: background .2s, border-color .2s; }
.calc-tile:hover { background: rgba(255,255,255,.1); border-color: var(--brass); color: #fff; }
.calc-tile svg { width: 34px; height: 34px; fill: var(--brass); margin-bottom: .9rem; }
.calc-tile strong { display: block; color: #fff; font-size: 1.08rem; margin-bottom: .3rem; }
.calc-tile span { font-size: .92rem; color: #AFBDD2; }
@media (max-width: 900px) { .calc-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .calc-strip { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.2rem; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.8rem; display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 1.2rem; font-family: var(--serif); font-size: 1.08rem; line-height: 1.6; color: #2B3548; flex: 1; }
.quote--lead { grid-row: span 2; background: var(--paper); border-color: transparent; }
.quote--lead blockquote { font-size: 1.35rem; }
.quote__who { display: flex; align-items: center; gap: .8rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.quote__who strong { display: block; color: var(--ink); }
.quote__who span { font-size: .88rem; color: var(--muted); }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } .quote--lead { grid-row: auto; } }

/* ---------- CTA band ---------- */
.cta { background: var(--crimson); color: #FBE3E8; border-radius: var(--r-lg); padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; border: 36px solid rgba(255,255,255,.07); }
.cta h2 { color: #fff; margin-bottom: .4rem; }
.cta p { margin: 0; }
.cta__actions { display: flex; gap: .8rem; flex-wrap: wrap; position: relative; z-index: 1; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Inner page hero ---------- */
.phero { background: var(--ink); color: #C9D4E5; padding: clamp(2.5rem, 5vw, 4rem) 0; position: relative; overflow: hidden; }
.phero::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(200,162,75,.08); }
.phero h1 { color: #fff; max-width: 22ch; position: relative; z-index: 1; }
.phero p { max-width: 60ch; font-size: 1.12rem; color: #AFBDD2; position: relative; z-index: 1; margin: 0; }
.crumbs { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .86rem; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: #6F82A0; }
.crumbs a { color: #C9D4E5; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: var(--brass); }

/* ---------- Prose ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2.2rem; }
.prose h3 { margin-top: 1.8rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.6rem; font-size: .96rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .7rem .8rem; text-align: left; vertical-align: top; }
.prose th { background: var(--paper); color: var(--ink); }
.prose img { border-radius: var(--r); margin: 1rem 0; }
.prose blockquote { border-left: 4px solid var(--brass); margin: 1.4rem 0; padding: .4rem 0 .4rem 1.2rem; font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.table-scroll { overflow-x: auto; }
.note { background: var(--paper); border-left: 4px solid var(--ink-3); padding: 1rem 1.2rem; border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: .96rem; }

/* ---------- Course page ---------- */
.course { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 3rem; align-items: start; }
.course__aside { position: sticky; top: calc(var(--nav-h) + 1.2rem); display: grid; gap: 1rem; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r); margin: -2.2rem 0 2.5rem; background: #fff; position: relative; z-index: 2; box-shadow: var(--shadow); }
.facts div { padding: 1.1rem 1.2rem; }
.facts div + div { border-left: 1px solid var(--line); }
.facts strong { display: block; color: var(--ink); font-size: 1.05rem; }
.facts span { font-size: .85rem; color: var(--muted); }
.course__img { border-radius: var(--r); background: var(--paper); padding: 1rem; margin: 1.5rem 0; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.4rem 0 2rem; }
.feature { border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem 1.3rem; }
.feature h3 { font-family: var(--sans); font-size: 1.04rem; font-weight: 700; margin-bottom: .35rem; }
.feature p { font-size: .95rem; color: var(--muted); margin: 0; }
.sections-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.2rem; }
.sections-tabs button { border: 1px solid var(--line); background: #fff; padding: .55rem 1rem; border-radius: 99px; font: 600 .92rem var(--sans); color: var(--ink); cursor: pointer; }
.sections-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabpanel { border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; margin-bottom: 2rem; }
.tabpanel[hidden] { display: none; }
.aside-card { border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; background: #fff; }
.aside-card--ink { background: var(--ink); border-color: var(--ink); color: #C9D4E5; }
.aside-card--ink h3 { color: #fff; }
.aside-card h3 { font-size: 1.25rem; }
@media (max-width: 1000px) { .course { grid-template-columns: 1fr; } .course__aside { position: static; } }
@media (max-width: 700px) { .facts { grid-template-columns: 1fr 1fr; } .facts div:nth-child(3) { border-left: 0; } .facts div:nth-child(n+3) { border-top: 1px solid var(--line); } .features { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 2.2rem 1.1rem 0; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: .85rem; font-size: 1.5rem; font-weight: 400; color: var(--crimson); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details > div { padding: 0 0 1.2rem; color: var(--muted); }

/* ---------- Forms ---------- */
.form { display: grid; gap: .9rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.field label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: .35rem; }
.field input, .field select, .field textarea { width: 100%; font: 500 1rem var(--sans); color: var(--text); padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--ink-3); box-shadow: 0 0 0 4px rgba(39,75,122,.12); }
.field--check { display: flex; gap: .6rem; align-items: flex-start; font-size: .86rem; color: var(--muted); }
.field--check input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--crimson); flex-shrink: 0; }
.aside-card--ink .field label { color: #fff; }
.aside-card--ink .field--check { color: #AFBDD2; }
.aside-card--ink .field--check a { color: var(--brass-l); }
.hp { position: absolute; left: -9999px; }
.form-msg { font-size: .92rem; padding: .7rem .9rem; border-radius: 8px; display: none; }
.form-msg.is-ok { display: block; background: #E3F4EA; color: var(--ok); }
.form-msg.is-err { display: block; background: #FBE5E8; color: var(--crimson-d); }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; }
.contact__info { display: grid; gap: 1rem; align-content: start; }
.info-row { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: var(--r); }
.info-row svg { width: 48px; height: 48px; padding: 12px; border-radius: 12px; background: var(--paper); fill: var(--crimson); }
.info-row strong { display: block; color: var(--ink); }
.map { border: 0; width: 100%; height: 340px; border-radius: var(--r); filter: grayscale(.3); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split img { border-radius: var(--r-lg); background: var(--paper); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.values h3 { font-size: 1.3rem; }
.values p { color: var(--muted); }
.why { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.why div { text-align: center; padding: 1.4rem .8rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.why img { width: 56px; height: 56px; object-fit: contain; margin: 0 auto .8rem; }
.why strong { color: var(--ink); font-size: .96rem; }
@media (max-width: 900px) { .split, .values { grid-template-columns: 1fr; } .why { grid-template-columns: 1fr 1fr; } }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--text); background: #fff; transition: box-shadow .2s; }
.post-card:hover { box-shadow: var(--shadow); color: var(--text); }
.post-card__img { aspect-ratio: 16/9; background: var(--ink); display: grid; place-items: center; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__img span { font-family: var(--serif); color: var(--brass); font-size: 2.4rem; }
.post-card__body { padding: 1.3rem; flex: 1; display: flex; flex-direction: column; }
.post-card__body time { font-size: .84rem; color: var(--muted); }
.post-card__body h3 { font-size: 1.22rem; margin: .4rem 0 .5rem; }
.post-card__body p { font-size: .95rem; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }
.pager { display: flex; gap: .5rem; justify-content: center; margin-top: 2.5rem; }
.pager a, .pager span { padding: .5rem .9rem; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; }
.pager span { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Careers ---------- */
.jobs { display: grid; gap: 1rem; }
.job { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 1.4rem 1.5rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.job h3 { margin: 0 0 .3rem; font-size: 1.25rem; }
.job__meta { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { font-size: .8rem; font-weight: 700; padding: .25rem .65rem; border-radius: 99px; background: var(--paper); color: var(--ink-2); }
@media (max-width: 600px) { .job { grid-template-columns: 1fr; } }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.perks div { padding: 1.3rem; border-radius: var(--r); background: var(--paper); }
.perks strong { display: block; color: var(--ink); margin-bottom: .3rem; }
.perks span { font-size: .93rem; color: var(--muted); }
@media (max-width: 900px) { .perks { grid-template-columns: 1fr 1fr; } }

/* ---------- Calculators ---------- */
.calc-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.calc-tabs a { padding: .7rem 1.15rem; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 700; color: var(--ink); background: #fff; font-size: .95rem; }
.calc-tabs a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.calc { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.calc__in { padding: clamp(1.4rem, 3vw, 2.4rem); background: #fff; display: grid; gap: 1.2rem; align-content: start; }
.calc__out { padding: clamp(1.4rem, 3vw, 2.4rem); background: var(--ink); color: #C9D4E5; display: flex; flex-direction: column; }
.calc__out h3 { color: #fff; font-family: var(--sans); font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.big-num { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 4.2rem); color: #fff; line-height: 1; margin-bottom: .3rem; }
.big-num small { font-size: .4em; color: var(--brass); margin-left: .3rem; }
.out-rows { margin-top: 1.4rem; display: grid; gap: .1rem; }
.out-row { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .96rem; }
.out-row strong { color: #fff; }
.range { display: grid; gap: .4rem; }
.range__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.range__top label { font-weight: 700; color: var(--ink); font-size: .95rem; }
.range__top output, .range__top input[type=number] { font: 700 1rem var(--sans); color: var(--crimson); }
.range__top input[type=number] { width: 130px; text-align: right; border: 1.5px solid var(--line); border-radius: 8px; padding: .35rem .5rem; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 9px; background: linear-gradient(90deg, var(--crimson) var(--p, 50%), var(--paper-2) var(--p, 50%)); outline: 0; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--crimson); cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--crimson); cursor: pointer; }
.seg { display: flex; flex-wrap: wrap; gap: .4rem; }
.seg button { flex: 1 1 auto; padding: .6rem .8rem; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; font: 700 .9rem var(--sans); color: var(--ink); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--crimson); color: #fff; border-color: var(--crimson); }
.donut { width: 170px; height: 170px; margin: 1.4rem auto .6rem; border-radius: 50%; display: grid; place-items: center; }
.donut::after { content: ""; width: 104px; height: 104px; border-radius: 50%; background: var(--ink); }
.legend { display: flex; gap: 1.2rem; justify-content: center; font-size: .88rem; flex-wrap: wrap; }
.legend i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: .4rem; vertical-align: -1px; }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.band-scale { display: flex; gap: 3px; margin-top: 1rem; }
.band-scale span { flex: 1; height: 10px; border-radius: 3px; background: rgba(255,255,255,.12); }
.band-scale span.on { background: var(--brass); }
.calc-note { font-size: .85rem; color: #93A5C0; margin-top: auto; padding-top: 1.2rem; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }

/* ---------- Student Zone ---------- */
.zone-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; }
.quiz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.quiz-card { border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; background: #fff; display: flex; flex-direction: column; gap: .5rem; }
.quiz-card__exam { font-family: var(--serif); font-size: 2rem; color: var(--ink); line-height: 1; }
.quiz-card p { font-size: .94rem; color: var(--muted); margin: 0; flex: 1; }
.quiz-card__meta { font-size: .84rem; color: var(--muted); display: flex; gap: .8rem; }
@media (max-width: 980px) { .quiz-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .quiz-grid { grid-template-columns: 1fr; } .zone-hero { grid-template-columns: 1fr; } }
.board { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.board th, .board td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
.board th { background: var(--paper); color: var(--ink); font-size: .85rem; }
.board tr:last-child td { border-bottom: 0; }
.rank { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--paper-2); font-weight: 800; font-size: .85rem; color: var(--ink); }
.rank--1 { background: var(--brass); color: #fff; }
.rank--2 { background: #9AA7B8; color: #fff; }
.rank--3 { background: #B77B4A; color: #fff; }
.board-tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.board-tabs button { border: 1.5px solid var(--line); background: #fff; border-radius: 99px; padding: .45rem .95rem; font: 700 .88rem var(--sans); color: var(--ink); cursor: pointer; }
.board-tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Quiz runner */
.runner { max-width: 820px; margin: 0 auto; }
.runner__bar { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; position: sticky; top: calc(var(--nav-h) + .5rem); background: #fff; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--r); z-index: 5; box-shadow: var(--shadow); }
.runner__prog { flex: 1; height: 8px; background: var(--paper-2); border-radius: 9px; overflow: hidden; }
.runner__prog i { display: block; height: 100%; background: var(--crimson); width: 0; transition: width .3s; }
.timer { font: 700 1rem var(--sans); color: var(--ink); min-width: 64px; text-align: right; font-variant-numeric: tabular-nums; }
.timer.is-low { color: var(--crimson); }
.qcard { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.3rem, 3vw, 2.2rem); background: #fff; }
.qcard__n { font-size: .88rem; color: var(--muted); font-weight: 700; }
.qcard__q { font-size: 1.18rem; color: var(--ink); font-weight: 600; margin: .6rem 0 1.3rem; white-space: pre-line; }
.opts { display: grid; gap: .6rem; }
.opt { display: grid; grid-template-columns: 36px 1fr; gap: .8rem; align-items: center; text-align: left; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font: 500 1rem var(--sans); color: var(--text); transition: border-color .15s, background .15s; }
.opt:hover { border-color: var(--ink-3); }
.opt b { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--ink); }
.opt[aria-pressed="true"] { border-color: var(--ink); background: #EEF2F8; }
.opt[aria-pressed="true"] b { background: var(--ink); color: #fff; }
.opt.is-right { border-color: var(--ok); background: #E6F4EC; }
.opt.is-right b { background: var(--ok); color: #fff; }
.opt.is-wrong { border-color: var(--crimson); background: #FBE8EB; }
.opt.is-wrong b { background: var(--crimson); color: #fff; }
.runner__nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.2rem; flex-wrap: wrap; }
.qdots { display: flex; flex-wrap: wrap; gap: .35rem; margin: 1.2rem 0 0; }
.qdots button { width: 34px; height: 34px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; font: 700 .85rem var(--sans); cursor: pointer; color: var(--ink); }
.qdots button.is-done { background: var(--paper-2); }
.qdots button.is-cur { border-color: var(--crimson); color: var(--crimson); }
.explain { margin-top: 1rem; padding: 1rem 1.1rem; background: var(--paper); border-radius: 10px; font-size: .96rem; }
.result-hero { text-align: center; padding: 2rem 1rem; }
.result-hero .gauge { margin: 0 auto 1rem; width: 160px; }
.result-hero .gauge::after { width: 124px; font-size: 2.2rem; }
.review-item { border-bottom: 1px solid var(--line); padding: 1.2rem 0; }

/* Assessment wizard */
.wizard { max-width: 860px; margin: 0 auto; }
.steps-bar { display: flex; gap: .4rem; margin-bottom: 1.6rem; }
.steps-bar span { flex: 1; height: 6px; border-radius: 9px; background: var(--paper-2); }
.steps-bar span.on { background: var(--crimson); }
.wstep { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.3rem, 3vw, 2.2rem); background: #fff; }
.wstep[hidden] { display: none; }
.wstep h2 { font-size: 1.6rem; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .6rem; margin: .5rem 0 1.4rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: block; padding: .9rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 600; color: var(--ink); transition: border-color .15s, background .15s; height: 100%; }
.choice input:checked + span { border-color: var(--crimson); background: #FBEFF1; }
.choice input:focus-visible + span { outline: 3px solid var(--brass); outline-offset: 2px; }
.qlabel { font-weight: 700; color: var(--ink); margin: 1rem 0 .3rem; display: block; }
.report { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; align-items: center; }
.report canvas { max-width: 100%; }
.roadmap { list-style: none; padding: 0; margin: 0; counter-reset: rm; }
.roadmap li { counter-increment: rm; position: relative; padding: 0 0 1.3rem 3rem; }
.roadmap li::before { content: counter(rm); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.roadmap li::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: 4px; width: 2px; background: var(--line); }
.roadmap li:last-child::after { display: none; }
.roadmap strong { display: block; color: var(--ink); }
@media (max-width: 700px) { .report { grid-template-columns: 1fr; } }
@media print {
  .site-header, .footer, .dock, .wa-float, .no-print, .phero { display: none !important; }
  .section { padding: 0; }
  body { font-size: 12pt; }
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #AFBDD2; padding-top: 4rem; font-size: .96rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer__logo { background: #fff; padding: .5rem .7rem; border-radius: 8px; margin-bottom: 1.2rem; height: 58px; width: auto; }
.footer__h { font-family: var(--sans); font-size: .98rem; font-weight: 800; color: #fff; margin: 0 0 .8rem; }
.footer__h:not(:first-child) { margin-top: 1.6rem; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer a { color: #D4DDEB; text-decoration: none; }
.footer a:hover { color: var(--brass-l); text-decoration: underline; }
.footer__contact { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .7rem; }
.footer__contact li { display: grid; grid-template-columns: 20px 1fr; gap: .7rem; }
.footer__contact svg { width: 18px; height: 18px; fill: var(--brass); margin-top: .2rem; }
.footer__social { display: flex; gap: 1rem; flex-wrap: wrap; font-weight: 700; }
.footer__bar { border-top: 1px solid rgba(255,255,255,.1); padding: 1.2rem 0; font-size: .86rem; }
.footer__bar-in { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Mobile dock + WhatsApp ---------- */
.dock { display: none; }
@media (max-width: 900px) {
  .dock { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 110; background: #fff; border-top: 1px solid var(--line); padding: .35rem .3rem calc(.35rem + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(14,35,64,.08); }
  .dock a, .dock button { display: flex; flex-direction: column; align-items: center; gap: .15rem; font: 700 .7rem var(--sans); color: var(--ink); text-decoration: none; background: none; border: 0; padding: .25rem 0; cursor: pointer; }
  .dock svg { width: 22px; height: 22px; fill: var(--ink-3); }
  .dock__main svg { fill: var(--crimson); }
  body { padding-bottom: 70px; }
  .wa-float { bottom: 84px !important; }
}
.wa-float { position: fixed; right: 18px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: grid; place-items: center; z-index: 105; box-shadow: 0 8px 22px rgba(37,211,102,.45); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.toast { position: fixed; left: 50%; bottom: 100px; translate: -50% 20px; background: var(--ink); color: #fff; padding: .85rem 1.3rem; border-radius: 10px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .25s, translate .25s; z-index: 200; max-width: calc(100% - 2rem); }
.toast.is-on { opacity: 1; translate: -50% 0; }

/* ---------- Misc ---------- */
.notfound { text-align: center; padding: 6rem 0; }
.notfound strong { font-family: var(--serif); font-size: 7rem; color: var(--paper-2); display: block; line-height: 1; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 800px) { .grid-2 { grid-template-columns: 1fr; } }
.legal-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.legal-nav a { padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 99px; font-size: .88rem; text-decoration: none; color: var(--ink); font-weight: 600; }
.legal-nav a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.updated { font-size: .9rem; color: var(--muted); margin-bottom: 1.5rem; }
.prog--half { grid-column: span 6; }
@media (max-width: 600px) { .prog--half { grid-column: span 12; } }
.letter__tag { display: inline-block; font-size: .72rem; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: .1rem .55rem; }
.topbar a { white-space: nowrap; }
.nav__cta { margin-left: auto; }
@media (min-width: 1081px) { .menu { margin-left: auto; } .nav__cta { margin-left: 0; } }
@media (max-width: 1080px) { .menu:not(.is-open) { visibility: hidden; box-shadow: none; } .menu { transition: transform .28s ease, visibility .28s; } }
@media (max-width: 400px) { .topbar__links a:last-child { display: none; } }
html, body { overflow-x: clip; max-width: 100%; }
@media (max-width: 700px) { .prose table { display: block; overflow-x: auto; white-space: normal; } }
[hidden] { display: none !important; }
.wizard, .runner { width: min(860px, 100% - 2.5rem); }
