/* =========================================================
   DinnTro – site styles (shared by every page)
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f5f1;
  --surface-2: #f0ebf6;
  --ink: #1c1820;
  --ink-soft: #3e3943;
  --muted: #6d6871;
  --line: #e5e1db;
  --primary: #6a2db4;
  --primary-600: #57239a;
  --pink: #c2357f;
  --mint: #1f8a5b;
  --dark: #1d1723;
  /* flat colours — no gradients */
  --grad-cta: #6a2db4;
  --grad-hero: #1d1723;
  --on-dark-muted: rgba(255,255,255,0.72);
  --on-dark-line: rgba(255,255,255,0.14);
  --display: 'Outfit', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --body: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--body); font-size: 16.5px; line-height: 1.65; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.012em; line-height: 1.12; margin: 0; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
section { position: relative; }
.kicker {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 0.9rem;
  color: var(--primary-600); font-weight: 600; font-size: 0.85rem;
}
.kicker.dark { color: #d9cdea; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.side { max-width: 24rem; color: var(--muted); }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.35rem; border-radius: 8px; font-weight: 600; font-size: 0.97rem; white-space: nowrap; transition: background 150ms, border-color 150ms, color 150ms, box-shadow 200ms, transform 200ms; }
.btn-glow, .nav-btn { background: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%); color: #fff; box-shadow: 0 10px 30px rgba(124,58,237,0.35); }
.btn-glow:hover, .nav-btn:hover { box-shadow: 0 14px 38px rgba(124,58,237,0.45); transform: translateY(-1px); }
.btn-small { padding: 0.6rem 1.05rem; font-size: 0.88rem; background: #fff; color: var(--ink); }
.btn-small:hover { background: var(--bg-soft); }
.text-link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; color: var(--primary); }
.text-link::after { content: "→"; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-link.light { color: #fff; margin-top: 1.5rem; }

/* =========================================================
   HEADER — full width, transparent → dark blur on scroll
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 2rem;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  color: #f6f0ff;
  transition: background 400ms ease, padding 400ms var(--ease);
}
.nav.scrolled { background: rgba(29,23,35,0.45); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); padding-block: 0.7rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; flex-shrink: 0; color: #fff; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--grad-cta); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.3rem; line-height: 1;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15) inset, 0 6px 20px rgba(236,72,153,0.45);
}
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.02em; line-height: 1; }
.brand-logo { display: block; height: 64px; width: auto; transition: height 400ms var(--ease); }
/* Lift the purple wordmark's colours so it reads on the dark header/footer */
.nav .brand-logo, .foot-brand .brand-logo { filter: brightness(1.7) saturate(1.1); }
.nav.scrolled .brand-logo { height: 52px; }
.links { display: flex; gap: 0.25rem; margin-left: auto; }
.links a { padding: 0.5rem 0.85rem; border-radius: 6px; font-weight: 600; font-size: 0.95rem; color: rgba(255,255,255,0.92); text-shadow: 0 1px 8px rgba(0,0,0,0.35); transition: color 200ms, background 200ms; }
.links a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-btn { padding: 0.7rem 1.25rem; font-weight: 700; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.08); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 300ms var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.nav.open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu { display: none; }
@media (max-width: 980px) {
  .links { display: none; }
  .nav { gap: 0.6rem; }
  .brand-logo, .nav.scrolled .brand-logo { height: 46px; }
  .nav-btn { margin-left: auto; padding: 0.6rem 1rem; font-size: 0.9rem; }
  .burger { display: block; }
  .menu {
    display: grid; position: absolute; top: 100%; left: 0.75rem; right: 0.75rem;
    background: #1d1723; border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 0.5rem;
    opacity: 0; transform: translateY(-10px); pointer-events: none;
    transition: opacity 250ms ease, transform 350ms var(--ease);
  }
  .menu a { padding: 0.9rem 1rem; border-radius: 6px; font-weight: 600; font-size: 1.1rem; }
  .menu a:hover { background: rgba(255,255,255,0.06); }
  .nav.open .menu { opacity: 1; transform: none; pointer-events: auto; }
}

/* public header: log in / sign up pair */
.nav-auth { display: flex; align-items: center; gap: 0.4rem; }
.nav-login { padding: 0.6rem 0.95rem; border-radius: 8px; font-weight: 600; font-size: 0.95rem; color: #fff; }
.nav-login:hover { background: rgba(255,255,255,0.08); }
@media (max-width: 980px) { .nav-auth { margin-left: auto; } .nav-auth .nav-btn { margin-left: 0; } }
@media (max-width: 420px) { .nav-login { display: none; } }

/* ---------- Scroll reveals ---------- */
.rv { opacity: 0; transition: opacity 0.5s ease; }
.rv.in { opacity: 1; transform: none; }

/* =========================================================
   PAGE SECTIONS — event-discovery layout
   ========================================================= */
.block { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.5rem; }
.block-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -0.02em; }
.see-all { font-weight: 600; color: var(--primary); white-space: nowrap; font-size: 0.95rem; }
.see-all::after { content: " →"; }
.see-all:hover { text-decoration: underline; }


/* ---------- Category circles ---------- */
.cats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 1rem; }
.cats a { display: grid; justify-items: center; gap: 0.6rem; text-align: center; font-weight: 600; font-size: 0.92rem; color: var(--ink-soft); }
.cats img { width: 100%; max-width: 116px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow 150ms; }
.cats a:hover img { box-shadow: 0 0 0 2px var(--ink); }
.cats a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .cats { display: flex; overflow-x: auto; gap: 1.1rem; padding-bottom: 0.5rem; scrollbar-width: none; margin: 0 calc(clamp(1.25rem, 4vw, 2.5rem) * -1); padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
  .cats::-webkit-scrollbar { display: none; }
  .cats li { flex: 0 0 92px; }
}

/* ---------- Event-format cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 1.25rem; }
.card { background: #fff; }
.card:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.card-img { position: relative; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: #eee; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; left: 0.6rem; top: 0.6rem; padding: 0.2rem 0.5rem; border-radius: 4px; background: #fff; font-size: 0.75rem; font-weight: 600; color: var(--ink); }
.card-body { padding: 0.85rem 0.15rem 0; }
.card .when { font-size: 0.82rem; font-weight: 600; color: var(--primary); }
.card h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; margin: 0.25rem 0 0.3rem; }
.card .meta { font-size: 0.88rem; color: var(--muted); }
.verified { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.4rem; font-size: 0.8rem; font-weight: 600; color: var(--mint); }
.verified::before { content: "✓"; font-size: 0.75rem; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Host banner ---------- */
.host-banner { display: grid; grid-template-columns: 0.9fr 1.1fr; border-radius: 10px; overflow: hidden; background: var(--bg-soft); }
.hb-img { background: #ddd8d0; min-height: 340px; }
.hb-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hb-copy { padding: clamp(1.75rem, 4vw, 3rem); align-self: center; }
.hb-copy h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
.hb-copy > p { color: var(--ink-soft); margin: 0.75rem 0 1.25rem; max-width: 34rem; }
.hb-copy ul { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: 0.55rem; }
.hb-copy li { position: relative; padding-left: 1.2rem; color: var(--ink-soft); }
.hb-copy li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 6px; height: 6px; background: var(--primary); }
@media (max-width: 820px) { .host-banner { grid-template-columns: 1fr; } .hb-img { min-height: 260px; height: 280px; } }

/* ---------- How it works ---------- */
.how-cols { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: none; }
.how-cols li { padding-top: 1rem; border-top: 2px solid var(--ink); }
.how-cols .num { display: block; color: var(--muted); font-family: var(--display); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.5rem; }
.how-cols h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.3rem; }
.how-cols p { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 900px) { .how-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .how-cols { grid-template-columns: 1fr; } }

/* ---------- Safety ---------- */
.safety { background: var(--bg-soft); }
.safe-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
.safe-cols .ic { display: block; color: var(--ink); margin-bottom: 0.7rem; }
.safe-cols h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.3rem; }
.safe-cols p { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 900px) { .safe-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .safe-cols { grid-template-columns: 1fr; } }

/* ---------- Feature pair ---------- */
.feature-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.feature { display: grid; grid-template-columns: 0.9fr 1.1fr; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: border-color 150ms; }
.feature:hover { border-color: #c9c3bb; }
.feature:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.feature img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; }
.feature > div { padding: 1.5rem; align-self: center; }
.feature h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.4rem; }
.feature p { color: var(--muted); font-size: 0.94rem; margin-bottom: 0.9rem; }
@media (max-width: 900px) { .feature-pair { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .feature { grid-template-columns: 1fr; } .feature img { height: 180px; } }

/* ---------- App band ---------- */
.app-band { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); align-items: center; gap: 2rem; padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem) 0; border-radius: 10px; background: var(--dark); color: #fff; overflow: hidden; }
.app-band > div { min-width: 0; }
.app-band > div:first-child { padding-bottom: clamp(2rem, 4vw, 3rem); }
.app-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
.app-band p { color: var(--on-dark-muted); margin-top: 0.6rem; }
.wait-form { display: flex; gap: 0.4rem; max-width: 460px; margin-top: 1.5rem; padding: 0.3rem; background: #fff; border-radius: 8px; }
.wait-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 0.9rem; color: var(--ink); }
.wait-form .btn { border-radius: 6px; padding: 0.75rem 1.2rem; }
.form-ok { margin-top: 1rem; font-weight: 600; color: #a7f3d0 !important; }
.stores { display: flex; gap: 0.6rem; margin-top: 1.5rem; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.85rem; border-radius: 9px; background: #000; border: 1px solid rgba(255,255,255,0.25); font-weight: 600; line-height: 1.1; }
.store small { display: block; font-size: 0.64rem; font-weight: 500; opacity: 0.75; }
.app-img { align-self: end; height: 320px; }
.app-img img { height: 100%; width: 100%; object-fit: cover; object-position: center; border-radius: 6px 6px 0 0; }
@media (max-width: 820px) { .app-band { grid-template-columns: minmax(0, 1fr); } .app-img { height: 240px; } }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 900px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 9px; height: 9px; flex-shrink: 0; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform 250ms var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding: 0 0 1.2rem; color: var(--muted); max-width: 46rem; }
.faq details p a { color: var(--primary); text-decoration: underline; }

/* =========================================================
   FOOTER — flat dark, Meetup-style link footer
   ========================================================= */
.foot { background: #17111f; color: #fff; padding: 3rem 0 2rem; }
.foot-cta { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.14); }
.foot-cta p { font-family: var(--display); font-weight: 600; font-size: 1.2rem; }
.foot-btn { padding: 0.6rem 1.2rem; border: 1.5px solid #fff; border-radius: 10px; font-weight: 600; font-size: 0.95rem; transition: background 200ms, color 200ms; }
.foot-btn:hover { background: #fff; color: #17111f; }
.foot-main { display: grid; grid-template-columns: repeat(3, 1fr) 1.3fr; gap: 2rem; padding: 2.25rem 0 2.5rem; }
.foot-col h4 { margin: 0 0 0.9rem; font-family: var(--body); font-size: 1rem; font-weight: 700; color: #fff; }
.foot-col a { display: block; padding: 0.3rem 0; font-size: 0.95rem; color: rgba(255,255,255,0.78); transition: color 200ms; }
.foot-col a:hover { color: #fff; text-decoration: underline; }
.socials { display: flex; gap: 0.6rem; margin-bottom: 1.4rem; }
.foot .socials a { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; background: rgba(255,255,255,0.1); color: #fff; transition: background 200ms; }
.foot .socials a:hover { background: var(--primary); text-decoration: none; }
.foot-stores { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.foot-stores .store { display: inline-flex; padding: 0.4rem 0.75rem; font-size: 0.9rem; color: #fff; }
.foot-stores .store:hover { text-decoration: none; border-color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.14); }
.foot-legal { display: flex; gap: 0.4rem 1.25rem; flex-wrap: wrap; font-size: 0.88rem; color: rgba(255,255,255,0.7); }
.foot-legal a:hover { color: #fff; text-decoration: underline; }
.foot-brand { display: inline-flex; align-items: center; gap: 0.5rem; color: #fff; }
.foot-brand .brand-mark { width: 30px; height: 30px; border-radius: 8px; font-size: 1rem; box-shadow: none; }
.foot-brand .brand-name { font-size: 1.15rem; }
.foot-brand .brand-logo { height: 52px; }
@media (max-width: 900px) { .foot-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-main { grid-template-columns: 1fr; } }

/* =========================================================
   INNER PAGES
   ========================================================= */
.links a.active { color: #fff; background: rgba(255,255,255,0.1); }

/* ---------- Page banner (dark, sits under the transparent header) ---------- */
.page-hero { position: relative; background: var(--grad-hero); color: #fff; overflow: hidden;
  /* every inner page banner: same height, content vertically centred below the 80px header */
  min-height: 620px; padding: 140px 0 60px; display: flex; align-items: flex-start; }
.page-hero > .wrap { width: 100%; }
.ph-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.ph-grid.solo { grid-template-columns: 1fr; }
.ph-grid.solo > * { max-width: 820px; }
.crumbs { display: flex; gap: 0.5rem; font-size: 0.88rem; color: var(--on-dark-muted); margin-bottom: 1.25rem; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span[aria-current] { color: #fff; }
.page-hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); line-height: 1.08; color: #fff; max-width: 18ch; }
.page-hero .lead { margin-top: 1.1rem; font-size: 1.12rem; color: var(--on-dark-muted); max-width: 38rem; }
.page-hero .actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.75rem; }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.ph-media { position: relative; border-radius: 8px; overflow: hidden; height: 400px; }
.ph-media img { width: 100%; height: 100%; object-fit: cover; }
.ph-media.char { background: #ddd8d0; }
.ph-note { position: absolute; left: 1rem; bottom: 1rem; display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.85rem; background: #fff; color: var(--ink); border-radius: 6px; font-size: 0.88rem; font-weight: 600; }
.ph-note b { color: var(--primary); }
@media (max-width: 860px) { .page-hero { min-height: 0; padding: 110px 0 48px; } .ph-grid { grid-template-columns: 1fr; } .ph-media { height: 240px; } }

/* ---------- Generic blocks ---------- */
.block.alt { background: var(--bg-soft); }
.block-intro { color: var(--muted); max-width: 44rem; margin: -0.75rem 0 2rem; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.info-card { padding: 1.1rem 0 0; border-top: 1px solid #d6d1ca; }
.info-card .ic { display: block; width: auto; height: auto; color: var(--ink); margin-bottom: 0.7rem; }
.info-card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 0.35rem; }
.info-card p { color: var(--muted); font-size: 0.95rem; }
.info-card .big-num { font-family: var(--display); font-weight: 700; font-size: 2.2rem; line-height: 1; letter-spacing: -0.03em; color: var(--ink); margin-bottom: 0.6rem; }
.info-card .big-num small { font-size: 0.9rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.info-card ul, .tier ul { list-style: none; padding: 0; margin: 0.9rem 0 0; display: grid; gap: 0.45rem; }
.info-card li, .tier li { position: relative; padding-left: 1.1rem; font-size: 0.93rem; color: var(--ink-soft); }
.info-card li::before, .tier li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 5px; height: 5px; background: var(--primary); }

/* text + image split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split.rev .split-media { order: -1; }
.split-media { border-radius: 8px; overflow: hidden; aspect-ratio: 5 / 4; background: #eee; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: 1rem; }
.split p + p { margin-top: 0.9rem; }
.split p { color: var(--ink-soft); }
.check-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 0.6rem; }
.check-list li { position: relative; padding-left: 1.2rem; color: var(--ink-soft); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 6px; height: 6px; background: var(--primary); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.rev .split-media { order: 0; } }

/* numbered steps (vertical) */
.steps-list { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.steps-list li:last-child { border-bottom: 1px solid var(--line); }
.steps-list li::before { content: counter(s, decimal-leading-zero); color: var(--muted); font-family: var(--display); font-weight: 600; font-size: 0.95rem; padding-top: 0.1rem; }
.steps-list h3 { font-size: 1.05rem; font-weight: 700; }
.steps-list p { color: var(--muted); font-size: 0.95rem; margin-top: 0.2rem; }

/* numbers row */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.stat-row > div { padding: 1.4rem 1.5rem; }
.stat-row > div + div { border-left: 1px solid var(--line); }
.stat-row strong { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.03em; line-height: 1.1; }
.stat-row span { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 760px) { .stat-row { grid-template-columns: 1fr 1fr; } .stat-row > div:nth-child(3) { border-left: 0; } .stat-row > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* data table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.table th, .table td { padding: 0.9rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }
.table th { background: var(--bg-soft); font-weight: 600; color: var(--ink-soft); font-size: 0.85rem; }
.table tr:last-child td { border-bottom: 0; }
.table td strong { font-family: var(--display); }

/* tier cards (badges, levels) */
.tier { position: relative; padding: 1.5rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; border-top: 4px solid var(--tone, var(--primary)); }
.tier .tier-name { display: flex; align-items: center; gap: 0.6rem; font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
.tier .swatch { width: 14px; height: 14px; border-radius: 50%; background: var(--tone, var(--primary)); }
.tier .tier-req { margin-top: 0.4rem; font-size: 0.88rem; color: var(--muted); }
.tier .tier-perk { margin-top: 1rem; padding: 0.6rem 0.8rem; border-radius: 6px; background: var(--bg-soft); font-weight: 600; font-size: 0.92rem; }

/* callout */
.notice { display: flex; gap: 0.9rem; padding: 1.1rem 1.25rem; border-radius: 6px; background: var(--bg-soft); border-left: 3px solid var(--primary); color: var(--ink-soft); }
.notice strong { color: var(--ink); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1rem; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: 0.35rem; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }
.form input, .form select, .form textarea { width: 100%; padding: 0.8rem 0.95rem; border: 1px solid var(--line); border-radius: 6px; background: #fff; border-color: #d6d1ca; font: inherit; font-size: 0.97rem; color: var(--ink); outline: none; transition: border-color 200ms, background 200ms; }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--primary); background: #fff; }
.form .btn { justify-self: start; border-radius: 8px; }
.form-msg { padding: 0.9rem 1rem; border-radius: 10px; background: #e7f3ec; color: #17603f; font-weight: 600; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }

/* ---------- Legal / long text ---------- */
.legal { display: grid; grid-template-columns: 240px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.toc { position: sticky; top: 100px; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 8px; font-size: 0.9rem; }
.toc strong { display: block; margin-bottom: 0.6rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.toc a { display: block; padding: 0.3rem 0; color: var(--ink-soft); }
.toc a:hover { color: var(--primary); }
.prose { max-width: 760px; color: var(--ink-soft); }
.prose h2 { font-size: 1.45rem; font-weight: 700; color: var(--ink); margin: 2.25rem 0 0.75rem; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin: 1.5rem 0 0.5rem; }
.prose p { margin: 0 0 1rem; }
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }
.prose a { color: var(--primary); text-decoration: underline; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.updated { font-size: 0.9rem; color: var(--on-dark-muted); margin-top: 0.75rem; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .toc { position: static; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .rv { opacity: 1 !important; transform: none !important; }
}
.prose .notice { margin: 1.25rem 0 1.5rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-left: 3px solid var(--primary); border-radius: 8px; }
.prose .notice strong { display: block; margin-bottom: 0.35rem; color: var(--ink); }
.prose .notice p { margin: 0; }
