/* Tierio — the website. The app's own palette and type: ink, a lime
   brand, a violet accent; Bricolage Grotesque for display, Manrope for
   text. No framework, no build step. */

:root {
  --bg: #f6f6f9;
  --surface: #ffffff;
  --muted: #f0f0f5;
  --ink: #0f1117;
  --ink-2: #2a2d38;
  --subtle: #6e7180;
  --line: #e7e7ee;
  --brand: #d5f55a;
  --brand-ink: #1b2a0a;
  --accent: #5b4bff;
  --accent-soft: #edebff;
  --night: #16171f;
  --night-2: #262158;
  --tier-s: #ff6b6b;
  --tier-a: #ffa24c;
  --tier-b: #ffd43b;
  --tier-c: #51cf66;
  --tier-d: #4dabf7;
  --radius: 28px;
  --wrap: 1180px;
  --shadow-soft: 0 1px 2px rgba(26, 27, 46, .04), 0 6px 18px rgba(26, 27, 46, .06);
  --shadow-float: 0 1px 4px rgba(26, 27, 46, .06), 0 14px 36px rgba(26, 27, 46, .12);
  --shadow-phone: 0 2px 6px rgba(15, 17, 23, .12), 0 40px 80px -20px rgba(15, 17, 23, .35);
  --display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 500 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px;
  text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 16px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ------------------------------------------------------------ type */

h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; margin: 0; }
h1 { font-size: clamp(48px, 8.4vw, 112px); line-height: .92; letter-spacing: -.045em; }
h2 { font-size: clamp(36px, 5.2vw, 64px); line-height: .98; }
h3 { font-size: 24px; line-height: 1.1; letter-spacing: -.02em; }
p { margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 800 12px/1 var(--text); letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow.on-dark { color: var(--brand); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); }
.on-dark .lead, .lead.on-dark { color: rgba(255, 255, 255, .74); }
.mark {
  background: linear-gradient(transparent 58%, var(--brand) 58%, var(--brand) 92%, transparent 92%);
  padding-inline: .06em; margin-inline: -.06em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246, 246, 249, .78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font: 800 25px/1 var(--text); letter-spacing: -.05em;
}
.brand-mark { width: 34px; height: 34px; border-radius: 10px; box-shadow: var(--shadow-soft); }
.site-header nav { margin-left: auto; }
.nav-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 9px 14px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 15px; color: var(--ink-2);
}
.nav-links a:hover { background: var(--muted); color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang {
  font-weight: 800; font-size: 13px; letter-spacing: .06em; text-decoration: none;
  padding: 9px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
}
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }
.mobile-menu { display: none; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; }
  .nav-actions { margin-left: auto; }
  .nav-actions .btn { display: none; }
  .mobile-menu.is-open { display: block; padding-bottom: 18px; }
  .mobile-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
  .mobile-menu a {
    display: block; padding: 14px 16px; border-radius: 16px; background: var(--surface);
    text-decoration: none; font-weight: 800;
  }
}

/* --------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  font: 800 16px/1 var(--text); text-decoration: none; cursor: pointer;
  transition: transform .18s cubic-bezier(.2, .9, .3, 1.4), box-shadow .18s, background .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-float); }
.btn-brand { background: var(--brand); color: var(--ink); }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-soft); }
.btn svg { width: 20px; height: 20px; flex: none; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 22px 0 18px;
  border-radius: 18px; background: var(--ink); color: #fff; text-decoration: none;
  box-shadow: var(--shadow-float);
}
.store svg { width: 28px; height: 28px; }
.store small { display: block; font-size: 11px; font-weight: 700; opacity: .72; letter-spacing: .02em; }
.store strong { display: block; font: 800 20px/1.05 var(--display); letter-spacing: -.02em; }
.store[aria-disabled="true"] { cursor: default; }
.store.light { background: #fff; color: var(--ink); }

/* ------------------------------------------------------------ hero */

.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 8vw, 120px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { margin: 22px 0 26px; }
.hero .lead { max-width: 34ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 34px; }
.hero-proof {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px;
  font-weight: 700; font-size: 14px; color: var(--subtle);
}
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 18px; height: 18px; color: var(--success, #16a36a); }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px;
  border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-soft);
  font-weight: 800; font-size: 14px; text-decoration: none;
}
.pill b {
  background: var(--brand); color: var(--ink); border-radius: 999px; padding: 4px 10px;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
}

/* The stage: two phones and stickers floating around them. */
.stage { position: relative; height: clamp(520px, 52vw, 680px); }
.stage::before {
  content: ""; position: absolute; inset: 8% 2% 4% 6%; border-radius: 48px;
  background:
    radial-gradient(60% 60% at 30% 30%, rgba(213, 245, 90, .55), transparent 70%),
    radial-gradient(50% 50% at 80% 70%, rgba(91, 75, 255, .18), transparent 70%);
  filter: blur(8px);
}
.phone {
  position: absolute; width: clamp(220px, 23vw, 300px); aspect-ratio: 390 / 844;
  border-radius: 46px; padding: 10px; background: #0b0c11; box-shadow: var(--shadow-phone);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 37px; background: var(--bg); }

.stage .phone.back { right: 4%; top: 2%; rotate: 6deg; }
.stage .phone.front { left: 6%; top: 12%; rotate: -5deg; }
.sticker {
  position: absolute; z-index: 3; display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 20px; border: 4px solid #fff;
  font: 800 30px/1 var(--display); color: rgba(15, 17, 23, .72); box-shadow: var(--shadow-float);
  animation: float 6s ease-in-out infinite;
}
.sticker.s { background: var(--tier-s); left: 0; top: 6%; rotate: -12deg; }
.sticker.a { background: var(--tier-a); right: 0; top: 46%; rotate: 10deg; animation-delay: -2s; }
.sticker.b { background: var(--tier-b); left: 42%; bottom: 0; rotate: -6deg; animation-delay: -4s; }
.chip {
  position: absolute; z-index: 3; width: 78px; padding: 5px 5px 0; border-radius: 16px; background: #fff;
  box-shadow: var(--shadow-float); animation: float 7s ease-in-out infinite;
  font: 800 11px/1 var(--text); text-align: center;
}
.chip img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 11px; }
.chip span { display: block; padding: 6px 0 7px; }
.chip.c1 { left: 44%; top: 0; rotate: 7deg; animation-delay: -1s; }
.chip.c2 { right: 2%; bottom: 8%; rotate: -8deg; animation-delay: -3s; }
.chip.c3 { left: -2%; bottom: 18%; rotate: 5deg; animation-delay: -5s; }
@keyframes float { 50% { translate: 0 -12px; } }
@media (prefers-reduced-motion: reduce) { .sticker, .chip { animation: none; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stage { height: 560px; max-width: 520px; margin: 10px auto 0; width: 100%; }
}
@media (max-width: 480px) {
  .stage { height: 470px; }
  .phone { width: 200px; }
  .stage .phone.front { left: 0; }
  .stage .phone.back { right: 0; }
  .sticker { width: 52px; height: 52px; font-size: 24px; }
  .chip { width: 64px; }
}

/* ---------------------------------------------------------- marquee */

.marquee {
  border-block: 1px solid var(--line); background: var(--surface); overflow: hidden;
  padding: 16px 0;
}
.marquee-track { display: flex; gap: 12px; width: max-content; animation: slide 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px;
  border-radius: 999px; background: var(--muted); font-weight: 800; font-size: 15px; white-space: nowrap;
}
.marquee-item img { width: 34px; height: 34px; border-radius: 999px; object-fit: cover; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track [aria-hidden="true"] { display: none; }
}

/* --------------------------------------------------------- sections */

section { padding: clamp(72px, 10vw, 140px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { margin: 16px 0 18px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }
.points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.points li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.points .ico {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.points .ico svg { width: 22px; height: 22px; }
.points strong { display: block; font: 800 18px/1.25 var(--text); letter-spacing: -.01em; margin-bottom: 2px; }
.points span { color: var(--subtle); font-size: 16px; }
.on-dark .points .ico { background: rgba(213, 245, 90, .14); color: var(--brand); }
.on-dark .points span { color: rgba(255, 255, 255, .66); }

.showcase { position: relative; display: grid; place-items: center; min-height: 600px; }
.showcase .phone { position: relative; }
.showcase .phone + .phone { position: absolute; }
.showcase.pair .phone:first-child { translate: -24% 0; rotate: -4deg; }
.showcase.pair .phone + .phone { translate: 30% 6%; rotate: 5deg; }
@media (max-width: 560px) {
  .showcase { min-height: 520px; }
  .showcase.pair .phone:first-child { translate: -16% 0; }
  .showcase.pair .phone + .phone { translate: 22% 8%; }
}

/* ---------------------------------------------------- try it: board */

.try {
  border-radius: 36px; background: var(--surface); box-shadow: var(--shadow-float);
  padding: clamp(18px, 3vw, 28px);
}
.try-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.try-head h3 { font-size: 26px; }
.try-head button {
  border: 0; background: var(--muted); color: var(--ink); border-radius: 999px; padding: 10px 16px;
  font: 800 14px/1 var(--text); cursor: pointer;
}
.tier-row {
  display: grid; grid-template-columns: 64px 1fr; min-height: 84px; border-radius: 22px;
  margin-bottom: 8px; transition: box-shadow .18s, background .18s;
  border: 2px solid transparent;
}
.tier-row[data-tier="s"] { background: #ffe1e1; --tier: var(--tier-s); }
.tier-row[data-tier="a"] { background: #ffeddc; --tier: var(--tier-a); }
.tier-row[data-tier="b"] { background: #fff5d2; --tier: var(--tier-b); }
.tier-row[data-tier="c"] { background: #e0f6e4; --tier: var(--tier-c); }
.tier-row.is-target { border-color: var(--tier); }
.tier-row .label {
  display: grid; place-items: center; font: 800 34px/1 var(--display);
  color: color-mix(in srgb, var(--tier) 62%, #000);
}
.tier-row .slots { display: flex; flex-wrap: wrap; gap: 8px; padding: 9px 10px 9px 0; align-content: center; }
.pool {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding: 12px; min-height: 92px;
  border-radius: 22px; background: var(--muted);
}
.pool:empty::after {
  content: attr(data-done); margin: auto; font-weight: 800; color: var(--success, #16a36a);
}
.tile {
  width: 66px; padding: 4px 4px 0; border-radius: 14px; background: #fff; border: 0;
  box-shadow: 0 1px 2px rgba(26, 27, 46, .08), 0 4px 10px rgba(26, 27, 46, .1);
  cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
  font: 800 11px/1 var(--text); color: var(--ink);
  transition: transform .18s cubic-bezier(.2, .9, .3, 1.4), box-shadow .18s;
}
.tile img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; pointer-events: none; }
.tile span { display: block; padding: 5px 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile:hover { transform: translateY(-2px) rotate(-2deg); }
.tile.is-picked { box-shadow: 0 0 0 3px var(--accent), var(--shadow-float); transform: scale(1.06); }
.tile.is-dragging { opacity: .25; }
.tile-ghost {
  position: fixed; z-index: 100; pointer-events: none; rotate: -4deg; scale: 1.1;
  box-shadow: var(--shadow-phone);
}
.try-hint { margin-top: 12px; font-size: 14px; color: var(--subtle); font-weight: 600; }

/* ------------------------------------------------------- tournament */

.night {
  background: linear-gradient(180deg, var(--night), var(--night-2));
  color: #fff; position: relative; overflow: hidden;
}
.night::before {
  content: ""; position: absolute; width: 640px; height: 640px; right: -220px; top: -220px;
  background: radial-gradient(circle, rgba(213, 245, 90, .22), transparent 65%);
}
.rounds { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 0; padding: 0; list-style: none; }
.rounds li {
  padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08);
  font-weight: 800; font-size: 14px; color: rgba(255, 255, 255, .72);
}
.rounds li.on { background: var(--brand); color: var(--ink); }
.bracket { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 34px; max-width: 520px; }
.bracket figure { margin: 0; position: relative; }
.bracket img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; border: 3px solid rgba(255, 255, 255, .9); }
.bracket .out img { filter: grayscale(1) brightness(.6); border-color: rgba(255, 255, 255, .2); }
.bracket .champ img { border-color: var(--brand); }
.bracket .champ::after {
  content: "🏆"; position: absolute; top: -12px; right: -8px; font-size: 22px;
}

/* ------------------------------------------------------------ party */

.agree {
  display: inline-flex; align-items: baseline; gap: 6px; margin-top: 26px; padding: 12px 18px;
  border-radius: 18px; background: var(--brand); font-weight: 800;
}
.agree b { font: 800 34px/1 var(--display); }

/* ------------------------------------------------------------ bento */

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card {
  grid-column: span 2; border-radius: var(--radius); background: var(--surface); padding: 28px;
  box-shadow: var(--shadow-soft); position: relative; overflow: hidden; min-height: 230px;
  display: flex; flex-direction: column;
}
.card.wide { grid-column: span 3; }
.card.ink { background: var(--ink); color: #fff; }
.card.lime { background: var(--brand); }
.card.violet { background: var(--accent); color: #fff; }
.card h3 { margin: 14px 0 10px; }
.card p { color: var(--subtle); font-size: 16px; }
.card.ink p, .card.violet p { color: rgba(255, 255, 255, .72); }
.card.lime p { color: rgba(15, 17, 23, .72); }
.card .big { font: 800 64px/1 var(--display); letter-spacing: -.04em; margin-top: auto; padding-top: 18px; }
.card .ico {
  width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.card.ink .ico, .card.violet .ico { background: rgba(255, 255, 255, .12); color: var(--brand); }
.card.lime .ico { background: rgba(15, 17, 23, .08); color: var(--ink); }
.card .ico svg { width: 23px; height: 23px; }
.langs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 18px; }
.langs span { padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: 13px; font-weight: 800; }
@media (max-width: 900px) { .card, .card.wide { grid-column: span 3; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .card, .card.wide { grid-column: auto; min-height: 0; } }

/* -------------------------------------------------------------- faq */

.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 10px; }
.faq details {
  border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-soft); padding: 0 24px;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative;
  font: 800 18px/1.35 var(--text); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%;
  font: 600 28px/1 var(--text); color: var(--accent); transition: rotate .2s;
}
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 0 22px; color: var(--ink-2); }

/* -------------------------------------------------------------- cta */

.cta {
  border-radius: 44px; background: var(--ink); color: #fff; text-align: center;
  padding: clamp(48px, 7vw, 96px) 24px; position: relative; overflow: hidden;
}
.cta::before, .cta::after {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(213, 245, 90, .35), transparent 65%);
}
.cta::before { left: -140px; top: -160px; }
.cta::after { right: -140px; bottom: -180px; background: radial-gradient(circle, rgba(91, 75, 255, .45), transparent 65%); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { max-width: 14ch; margin: 18px auto 18px; }
.cta .lead { max-width: 46ch; margin-inline: auto; color: rgba(255, 255, 255, .72); }
.cta .hero-ctas { justify-content: center; }

/* ----------------------------------------------------------- footer */

.site-footer { padding: 64px 0 48px; color: var(--subtle); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.site-footer h4 { margin: 0 0 12px; font: 800 13px/1 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--ink); }
.footer-note { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-tagline { margin-top: 14px; max-width: 34ch; }

/* Sections ease in once, as they scroll into view. */
.reveal { opacity: 0; translate: 0 28px; transition: opacity .7s ease, translate .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-in { opacity: 1; translate: 0 0; }

/* ------------------------------------------------------ legal pages */

.doc { padding: clamp(40px, 6vw, 72px) 0 40px; }
.doc-grid { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.doc h1 { font-size: clamp(44px, 6vw, 72px); margin: 14px 0 12px; }
.doc .meta { color: var(--subtle); font-weight: 600; }
.toc {
  position: sticky; top: 96px; border-radius: 22px; background: var(--surface);
  padding: 20px; box-shadow: var(--shadow-soft); font-size: 14px;
}
.toc strong { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.toc a { text-decoration: none; color: var(--ink-2); font-weight: 600; }
.toc a:hover { color: var(--accent); }
.prose { max-width: 760px; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: 30px; margin-top: 52px; scroll-margin-top: 96px; }
.prose h3 { font-size: 20px; margin-top: 28px; }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--accent); font-weight: 700; }
.prose .callout {
  border-radius: 20px; background: var(--accent-soft); padding: 18px 20px; color: var(--ink-2);
}
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); }
@media (max-width: 900px) { .doc-grid { grid-template-columns: 1fr; } .toc { position: static; } }

.credits { columns: 2 320px; column-gap: 32px; font-size: 14px; }
.credits li { break-inside: avoid; margin-bottom: 8px; }
.credits a { word-break: break-word; }

.faq-page .faq { margin-inline: 0; }
.contact-card {
  margin-top: 40px; border-radius: 28px; background: var(--ink); color: #fff; padding: 32px;
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between;
}
.contact-card p { color: rgba(255, 255, 255, .72); }

.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound h1 { font-size: clamp(80px, 16vw, 180px); }

.notfound .hero-ctas { justify-content: center; }
