/* ==========================================================================
   TCamp — shared design system
   One stylesheet for the whole site. Products differ by accent colour only
   (.accent-pass / .accent-community), never by their own layout or shell.
   Palette comes from the logo set: Navy #0F1B2D · Blue #2AABEE · Gold #F5B700
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:        #0F1B2D;
  --ink-soft:   #1E2A3E;
  --muted:      #5B6880;
  --muted-2:    #8794A8;

  --bg:         #F6F8FC;
  --surface:    #FFFFFF;
  --surface-2:  #EEF2F8;
  --line:       #E1E7F0;
  --line-2:     #CFD8E6;

  --blue:       #2AABEE;
  --blue-deep:  #1E8FD6;
  --blue-ink:   #1479B4;
  --blue-soft:  rgba(42,171,238,.09);
  --blue-line:  rgba(42,171,238,.28);

  --gold:       #F5B700;
  --gold-lt:    #FFD54A;
  --gold-ink:   #8A6200;
  --gold-soft:  rgba(245,183,0,.11);
  --gold-line:  rgba(245,183,0,.32);

  --green:      #0E9F6E;
  --green-soft: rgba(14,159,110,.10);
  --red:        #D64545;

  --r:      16px;
  --r-sm:   10px;
  --r-lg:   24px;
  --r-pill: 999px;

  --shadow:    0 24px 60px rgba(15,27,45,.10);
  --shadow-sm: 0 2px 10px rgba(15,27,45,.06);

  /* Default accent = Pass. The site leads with Pass. */
  --accent:      var(--gold);
  --accent-ink:  var(--gold-ink);
  --accent-soft: var(--gold-soft);
  --accent-line: var(--gold-line);
}

.accent-pass {
  --accent: var(--gold); --accent-ink: var(--gold-ink);
  --accent-soft: var(--gold-soft); --accent-line: var(--gold-line);
}
.accent-community {
  --accent: var(--blue); --accent-ink: var(--blue-ink);
  --accent-soft: var(--blue-soft); --accent-line: var(--blue-line);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
::selection { background: var(--gold-lt); color: var(--ink); }

:where(a, button, summary):focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── LAYOUT ──────────────────────────────────────────────────────────── */

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 800px; }

.section { padding: 92px 0; }
.section-tight { padding: 60px 0; }
.section-surface { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-sunken { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-ink { background: var(--ink); color: #fff; }

@media (max-width: 720px) {
  .section { padding: 64px 0; }
}

/* ── BRAND LOCKUP ───────────────────────────────────────────────────────
   The tent mark is SVG; the wordmark is live text in Inter 800, which is
   what the logo set itself is drawn from. Keeping it as text means it
   scales, stays selectable, and needs no image request.                   */

.lockup { display: inline-flex; align-items: center; gap: 10px; }
.lockup .mark { display: block; flex-shrink: 0; }
.wordmark {
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}
.wordmark .pass {
  display: inline-block;
  margin-left: .22em;
  padding: .08em .26em .14em;
  border-radius: .28em;
  background: linear-gradient(180deg, var(--gold-lt) 0%, var(--gold) 100%);
  color: var(--ink);
}
.lockup-sub {
  display: block;
  margin-top: 5px;
  font-size: 11px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted-2);
}

/* ── NAV ─────────────────────────────────────────────────────────────── */

.site-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 24px;
  height: 64px;
  background: rgba(246,248,252,.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-nav > .wrap { display: flex; align-items: center; gap: 24px; }
.site-nav .lockup .mark { width: 26px; height: 26px; }
.site-nav .wordmark { font-size: 19px; }

.nav-links {
  display: flex; align-items: center; gap: 26px;
  margin-left: auto;
  font-size: 14px; color: var(--muted);
}
.nav-links a { transition: color .15s; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.on { color: var(--ink); font-weight: 600; }

.nav-cta {
  padding: 9px 20px; border-radius: var(--r-pill);
  background: var(--ink); color: #fff;
  font-size: 13.5px; font-weight: 600; white-space: nowrap;
  transition: opacity .18s;
}
.nav-cta:hover { opacity: .86; }

/* Second row on small screens: the links must not simply vanish. */
.nav-sub {
  display: none;
  position: sticky; top: 64px; z-index: 99;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.nav-sub::-webkit-scrollbar { display: none; }
.nav-sub-inner { display: flex; gap: 20px; padding: 11px 24px; white-space: nowrap; }
.nav-sub a { font-size: 13.5px; color: var(--muted); }
.nav-sub a.on { color: var(--accent-ink); font-weight: 600; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-sub { display: block; }
  .site-nav > .wrap { justify-content: space-between; }
  .nav-cta { margin-left: auto; }
}
@media (max-width: 400px) {
  .site-nav .wordmark { font-size: 17px; }
  .nav-cta { padding: 8px 14px; font-size: 12.5px; }
}

/* ── BUTTONS ─────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 30px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 700;
  border: 1px solid transparent;
  transition: transform .15s, opacity .18s, background .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-lt) 0%, var(--gold) 100%);
  color: var(--ink);
  box-shadow: 0 6px 20px rgba(245,183,0,.32);
}
.btn-gold:hover { opacity: .92; }
.btn-blue {
  background: var(--blue); color: #fff;
  box-shadow: 0 6px 20px rgba(42,171,238,.30);
}
.btn-blue:hover { opacity: .92; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { opacity: .88; }
.btn-ghost {
  background: var(--surface); color: var(--ink);
  border-color: var(--line-2); font-weight: 600;
}
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { padding: 11px 22px; font-size: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14.5px; font-weight: 600; color: var(--accent-ink);
}
.link-arrow:hover { gap: 10px; transition: gap .15s; }

/* ── TYPE ────────────────────────────────────────────────────────────── */

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 16px;
}
.eyebrow-pill {
  padding: 6px 15px; border-radius: var(--r-pill);
  border: 1px solid var(--accent-line); background: var(--accent-soft);
  letter-spacing: .04em; text-transform: none; font-size: 12.5px; font-weight: 600;
}
.eyebrow-pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 7px var(--green);
}

h1, h2, h3 { letter-spacing: -.03em; line-height: 1.12; font-weight: 800; }

.h-display { font-size: clamp(38px, 6.2vw, 66px); }
.h-section  { font-size: clamp(29px, 4.2vw, 44px); margin-bottom: 16px; }
.h-card     { font-size: 17px; font-weight: 700; letter-spacing: -.01em; line-height: 1.35; }

.h-display em, .h-section em { font-style: normal; color: var(--accent-ink); }
.h-display .gold-line {
  font-style: normal; display: block;
  background: linear-gradient(100deg, #C98F00 0%, #F5B700 55%, #FFD54A 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.lead { font-size: 17.5px; color: var(--muted); line-height: 1.7; max-width: 620px; }
.lead strong { color: var(--ink); font-weight: 600; }
.lead-center { margin-left: auto; margin-right: auto; text-align: center; }
/* Inside a narrow wrap the lead should sit centred as a block, not flush left. */
.wrap-narrow .lead { margin-left: auto; margin-right: auto; }
.fine { font-size: 12.5px; color: var(--muted-2); line-height: 1.7; }

/* ── HERO ────────────────────────────────────────────────────────────── */

.hero { padding: 84px 0 72px; text-align: center; }
.hero .lead { margin: 0 auto 34px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.hero-trust {
  max-width: 520px; margin: 26px auto 0;
  font-size: 15px; line-height: 1.6; color: var(--ink); font-weight: 500;
}
.hero-trust span { color: var(--muted); font-weight: 400; }
.hero-lockup { display: inline-flex; margin-bottom: 30px; align-items: flex-start; }
.hero-lockup .mark { width: 56px; height: 56px; }
.hero-lockup .wordmark { font-size: 40px; }
@media (max-width: 520px) {
  .hero { padding: 56px 0 52px; }
  .hero-lockup .mark { width: 44px; height: 44px; }
  .hero-lockup .wordmark { font-size: 31px; }
}

.page-hero { padding: 66px 0 44px; text-align: center; }
.page-hero .lead { margin: 0 auto; }
.page-hero .updated { margin-top: 14px; font-size: 13px; color: var(--muted-2); }

/* ── MOCK (product screenshot stand-in) ──────────────────────────────── */

.mock {
  max-width: 420px; margin: 46px auto 0;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  text-align: left; box-shadow: var(--shadow);
}
.mock-bar {
  display: flex; align-items: center; gap: 9px;
  padding: 13px 18px; border-bottom: 1px solid var(--line);
  font-size: 13.5px; font-weight: 700;
}
.mock-bar .tag {
  margin-left: auto; padding: 2px 9px; border-radius: var(--r-pill);
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em;
  color: var(--green); background: var(--green-soft);
  border: 1px solid rgba(14,159,110,.22);
}
.mock-row { padding: 15px 18px; border-bottom: 1px solid var(--line); }
.mock-row:last-child { border-bottom: none; }
.mock-title { font-size: 13.5px; font-weight: 600; margin-bottom: 3px; }
.mock-meta { font-size: 12px; color: var(--muted); line-height: 1.55; }
.mock-gate {
  display: flex; align-items: center; gap: 8px;
  margin-top: 12px; padding: 10px 14px; border-radius: var(--r-sm);
  background: var(--gold-soft); border: 1px solid var(--gold-line);
  font-size: 12.5px; font-weight: 600; color: var(--gold-ink);
}
.mock-gate .pay {
  margin-left: auto; padding: 5px 15px; border-radius: var(--r-pill);
  background: linear-gradient(180deg, var(--gold-lt), var(--gold));
  color: var(--ink); font-size: 11.5px; font-weight: 700;
}
.mock-ok { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--green); }
.mock-split {
  margin: 0 18px 18px; padding: 14px 16px; border-radius: var(--r-sm);
  background: var(--green-soft); border: 1px solid rgba(14,159,110,.20);
}
.mock-split-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--green); margin-bottom: 8px;
}
.mock-split-row {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 12.5px; color: var(--muted); padding: 2px 0;
}
.mock-split-row strong { color: var(--ink); font-weight: 700; }
.mock-split-row.zero strong { color: var(--green); }
.mock-foot {
  padding: 11px 18px; border-top: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 11.5px; color: var(--muted); text-align: center;
}

/* ── GRIDS & CARDS ───────────────────────────────────────────────────── */

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 28px;
}
.card p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-top: 8px; }
.card .icon { font-size: 22px; line-height: 1; margin-bottom: 14px; display: block; }

/* A whole card as one link. */
a.card { display: block; transition: border-color .18s, transform .18s; }
a.card:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.card .link-arrow { margin-top: 14px; }

.step-num {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent-ink); margin-bottom: 12px;
}
.card .note { margin-top: 10px; font-size: 12.5px; color: var(--muted-2); }

/* numbered reason list */
.reasons { display: flex; flex-direction: column; gap: 12px; }
.reason {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 24px 26px;
  transition: border-color .18s;
}
.reason:hover { border-color: var(--accent-line); }
.reason .n {
  flex-shrink: 0; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 11px; font-size: 14px; font-weight: 800;
  color: var(--accent-ink); background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}
.reason p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-top: 5px; }
@media (max-width: 520px) { .reason { padding: 20px; gap: 14px; } }

/* strike list (the old way) */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
@media (max-width: 860px) { .pains { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .pains { grid-template-columns: 1fr; } }
.pain {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 18px 20px;
  font-size: 14px; color: var(--muted); line-height: 1.6;
}
.pain .x { color: var(--red); font-weight: 800; flex-shrink: 0; }
.pain-close {
  margin-top: 28px; padding: 26px 28px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--accent-line);
  text-align: center; font-size: clamp(19px, 2.6vw, 26px);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.35;
}
.pain-close em { font-style: normal; color: var(--accent-ink); }

/* ── PRICING ─────────────────────────────────────────────────────────── */

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; align-items: start; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

.plan {
  position: relative;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 34px 30px;
}
.plan.hero-plan {
  border-color: var(--gold-line);
  box-shadow: 0 18px 44px rgba(245,183,0,.16);
}
.plan-pip {
  position: absolute; top: -13px; left: 30px;
  padding: 4px 14px; border-radius: var(--r-pill);
  background: linear-gradient(180deg, var(--gold-lt), var(--gold));
  color: var(--ink); font-size: 11.5px; font-weight: 800;
  letter-spacing: .04em;
}
.plan-name { font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.plan-rate {
  display: flex; align-items: baseline; gap: 8px;
  margin-top: 12px; font-size: 62px; font-weight: 800; letter-spacing: -.04em; line-height: 1;
}
.plan.hero-plan .plan-rate { color: var(--gold-ink); }
.plan-rate small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan-tag { margin-top: 10px; font-size: 14px; color: var(--muted); }
/* Bullets are positioned, not flex items: a flex li would split its own text
   and its <strong> into separate flex items and space them apart. */
.plan-ul { list-style: none; margin: 22px 0 0; }
.plan-ul li {
  position: relative; padding: 10px 0 10px 26px;
  border-bottom: 1px solid var(--line);
  font-size: 14px; color: var(--muted); line-height: 1.55;
}
.plan-ul li:last-child { border-bottom: none; }
.plan-ul li::before {
  content: '✓'; position: absolute; left: 0; top: 10px;
  color: var(--green); font-weight: 800;
}
.plan-ul li.off { color: var(--muted-2); }
.plan-ul li.off::before { content: '—'; color: var(--line-2); }
.plan-ul li strong { color: var(--ink); font-weight: 600; }
.plan .btn { width: 100%; margin-top: 24px; }
.plan-fine { margin-top: 16px; font-size: 12.5px; color: var(--muted-2); line-height: 1.65; }

/* five-tier grid for the community plans */
.tiers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 40px; align-items: start; }
@media (max-width: 1000px) { .tiers { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .tiers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px)  { .tiers { grid-template-columns: 1fr; } }
.tier {
  position: relative;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px 20px;
}
.tier.featured { border-color: var(--blue-line); box-shadow: 0 14px 34px rgba(42,171,238,.14); }
.tier-name { font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.tier-price { margin-top: 8px; font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.tier-price sub { font-size: 12px; font-weight: 500; color: var(--muted); vertical-align: baseline; }
.tier-cap { margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.tier-ul { list-style: none; margin-top: 14px; }
.tier-ul li {
  position: relative; padding: 5px 0 5px 19px;
  font-size: 12.5px; color: var(--muted); line-height: 1.5;
}
.tier-ul li::before {
  content: '✓'; position: absolute; left: 0; top: 5px;
  color: var(--green); font-weight: 700;
}
.tier-ul li.off::before { content: '—'; color: var(--line-2); }
.tier-ul li.fee { color: var(--ink); font-weight: 600; }
.tier-ul li.fee::before { content: '%'; color: var(--blue-ink); font-weight: 800; }

/* ── TABLE ───────────────────────────────────────────────────────────── */

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 36px; }
.table {
  width: 100%; min-width: 560px; border-collapse: collapse;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  font-size: 14px;
}
.table th {
  text-align: left; padding: 14px 18px;
  background: var(--surface-2); border-bottom: 1px solid var(--line);
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--muted);
}
.table td { padding: 14px 18px; border-bottom: 1px solid var(--line); color: var(--muted); }
.table tr:last-child td { border-bottom: none; }
.table td:first-child { color: var(--ink); font-weight: 600; }
.table .hl { background: var(--accent-soft); }
.table .hl td:first-child { color: var(--accent-ink); }

/* ── FAQ ─────────────────────────────────────────────────────────────── */

.faq { margin-top: 36px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  width: 100%; padding: 20px 0; cursor: pointer;
  font-size: 15.5px; font-weight: 600; text-align: left; line-height: 1.45;
  background: none; border: none; color: inherit; font-family: inherit;
}
.faq-q::after {
  content: '+'; flex-shrink: 0;
  font-size: 22px; font-weight: 400; color: var(--muted); line-height: 1;
}
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
  display: none;
  padding-bottom: 22px;
  font-size: 14.5px; color: var(--muted); line-height: 1.75;
  max-width: 760px;
}
.faq-item.open .faq-a { display: block; }
.faq-a a { color: var(--accent-ink); font-weight: 600; }
.faq-a strong { color: var(--ink); font-weight: 600; }
.faq-group-title {
  margin: 44px 0 4px;
  font-size: 13px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent-ink);
}

/* ── PRODUCT SPLIT (root page) ───────────────────────────────────────── */

.product {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
}
@media (max-width: 880px) { .product { grid-template-columns: 1fr; gap: 32px; } }
.product-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px 6px 8px; border-radius: var(--r-pill);
  border: 1px solid var(--accent-line); background: var(--accent-soft);
  font-size: 13px; font-weight: 700; color: var(--ink);
  margin-bottom: 18px;
}
.product-badge .mark { width: 20px; height: 20px; }
.product ul { list-style: none; margin: 22px 0 26px; }
.product ul li {
  position: relative; padding: 7px 0 7px 26px;
  font-size: 14.5px; color: var(--muted); line-height: 1.6;
}
.product ul li::before {
  content: '✓'; position: absolute; left: 0; top: 7px;
  color: var(--accent-ink); font-weight: 800;
}
.product ul li strong { color: var(--ink); font-weight: 600; }

/* ── TRUST BAND ──────────────────────────────────────────────────────── */

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .trust { grid-template-columns: 1fr; } }
.trust-item { text-align: center; padding: 8px 12px; }
.trust-item .icon { font-size: 24px; display: block; margin-bottom: 12px; }
.trust-item h3 { font-size: 16px; margin-bottom: 7px; }
.trust-item p { font-size: 13.5px; color: rgba(255,255,255,.66); line-height: 1.65; }
.section-ink .h-section, .section-ink h3 { color: #fff; }
.section-ink .lead { color: rgba(255,255,255,.66); }
.section-ink .eyebrow { color: var(--gold-lt); }

/* ── CTA BAND ────────────────────────────────────────────────────────── */

.cta { padding: 92px 0; text-align: center; }
.cta h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.cta p { font-size: 16.5px; color: var(--muted); margin-bottom: 32px; }

/* ── LEGAL DOC ───────────────────────────────────────────────────────── */

.legal { max-width: 820px; margin: 0 auto; padding: 8px 0 40px; }
.toc {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px 26px; margin-bottom: 40px;
}
.toc-title { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc a { display: block; padding: 7px 0; font-size: 14.5px; font-weight: 600; border-bottom: 1px solid var(--line); }
.toc a:last-child { border-bottom: none; }
.toc a span { display: block; font-size: 12.5px; font-weight: 400; color: var(--muted); }
.toc a:hover { color: var(--accent-ink); }

.part { margin-bottom: 56px; scroll-margin-top: 90px; }
.part-label {
  font-size: 11.5px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent-ink); margin-bottom: 8px;
}
.part > h2 { font-size: 30px; margin-bottom: 26px; padding-bottom: 16px; border-bottom: 2px solid var(--line); }
.art { margin-bottom: 30px; scroll-margin-top: 90px; }
.art h3 { font-size: 17.5px; margin-bottom: 12px; }
.art p, .art li { font-size: 14.5px; color: var(--muted); line-height: 1.8; }
.art > p + p { margin-top: 12px; }
.art ol, .art ul { margin: 10px 0 0 22px; }
.art li { padding: 5px 0; }
.art strong { color: var(--ink); font-weight: 600; }
.art code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .9em; padding: 1px 5px; border-radius: 5px;
  background: var(--surface-2); border: 1px solid var(--line);
}
.callout {
  margin-top: 18px; padding: 16px 20px; border-radius: var(--r-sm);
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  font-size: 14px; color: var(--ink); line-height: 1.7;
}
.backlink { margin-top: 20px; font-size: 13.5px; }
.backlink a { color: var(--muted); }
.backlink a:hover { color: var(--ink); }

.contact-card {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 28px 32px;
}
.contact-card h3 { font-size: 17px; margin-bottom: 5px; }
.contact-card p { font-size: 14px; color: var(--muted); }
.contact-card a.mail { color: var(--blue-ink); font-weight: 600; }

/* ── GUIDE (stars page) ──────────────────────────────────────────────── */

.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; align-items: start; }
@media (max-width: 780px) { .paths { grid-template-columns: 1fr; } }
.path {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px;
}
.path.gold { border-color: var(--gold-line); box-shadow: 0 16px 40px rgba(245,183,0,.14); }
.path-label {
  display: inline-block; padding: 5px 13px; border-radius: var(--r-pill);
  background: var(--surface-2); border: 1px solid var(--line);
  font-size: 11.5px; font-weight: 700; color: var(--muted);
  margin-bottom: 16px;
}
.path.gold .path-label { background: var(--gold-soft); border-color: var(--gold-line); color: var(--gold-ink); }
.path h2 { font-size: 22px; margin-bottom: 4px; }
.path-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.path-steps { list-style: none; counter-reset: s; }
.path-steps li {
  counter-increment: s; position: relative;
  padding: 12px 0 12px 40px; border-bottom: 1px solid var(--line);
  font-size: 14.5px; color: var(--muted); line-height: 1.7;
}
.path-steps li:last-child { border-bottom: none; }
.path-steps li::before {
  content: counter(s); position: absolute; left: 0; top: 13px;
  width: 25px; height: 25px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--line);
  font-size: 12px; font-weight: 800; color: var(--ink);
}
.path-steps li strong { color: var(--ink); font-weight: 600; }
.path-steps .sub { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted-2); }

/* ── FOOTER ──────────────────────────────────────────────────────────── */

.site-foot {
  background: var(--ink); color: rgba(255,255,255,.62);
  padding: 56px 0 32px; font-size: 13.5px;
}
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px;
  padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.12);
}
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot .wordmark { color: #fff; font-size: 19px; }
.foot-about { margin-top: 14px; line-height: 1.7; max-width: 260px; }
.foot-col h4 {
  font-size: 12px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.44); margin-bottom: 14px;
}
.foot-col a { display: block; padding: 5px 0; color: rgba(255,255,255,.72); transition: color .15s; }
.foot-col a:hover { color: #fff; }
.foot-base {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap; padding-top: 24px;
  font-size: 12.5px; color: rgba(255,255,255,.46);
}
.foot-base a { color: rgba(255,255,255,.62); }
.foot-base a:hover { color: #fff; }

/* ── UTILITIES ───────────────────────────────────────────────────────── */

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
