/* Layout: a hardcourt-blue hero with court lines, then plain light sections. Ball yellow is the only accent. */
:root {
  --bg: #F3F6F9;
  --fg: #0E1B2C;
  --muted: #4A5A6E;
  --card: #FFFFFF;
  --line: #C9D4E0;
  --court: #123660;
  --court-text: #1B4B82;
  --ball: #D4EE3A;
  --on-ball: #0E1B2C;
  --on-court: #F3F7FB;
  --on-court-muted: #B7C8DC;
  --warn-bg: #FFF6D6;
  --warn-line: #E6D48A;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1624; --fg: #EAF0F6; --muted: #9DB0C4; --card: #122236; --line: #25384F;
    --court: #0D2848; --court-text: #7DB2EE; --warn-bg: #2A2610; --warn-line: #5C5320; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B1624; --fg: #EAF0F6; --muted: #9DB0C4; --card: #122236; --line: #25384F;
  --court: #0D2848; --court-text: #7DB2EE; --warn-bg: #2A2610; --warn-line: #5C5320; color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 16px; line-height: 1.6; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ball); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { max-width: 1040px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--court-text); }

/* Hero */
.hero { position: relative; background: var(--court); color: var(--on-court); overflow: hidden; }
.hero svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.22; }
.hero .wrap { position: relative; padding-block: 20px 64px; }
.hero .eyebrow { color: var(--ball); }
.topnav { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; justify-content: space-between; padding-bottom: 36px; }
.topnav .brand { font-family: var(--display); font-weight: 800; font-size: 1.1rem; text-decoration: none; color: var(--on-court); }
.topnav ul { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; margin: 0; padding: 0; }
.topnav ul a { font-size: 0.92rem; font-weight: 500; text-decoration: none; color: var(--on-court-muted); }
.topnav ul a:hover { color: var(--on-court); }
.hero h1 { font-size: clamp(2.8rem, 9vw, 5.6rem); font-weight: 800; margin-top: 14px; }
.hero p.lead { max-width: 34rem; margin-top: 20px; font-family: var(--display); font-size: clamp(1.35rem, 3.6vw, 1.9rem); font-weight: 500; line-height: 1.2; color: var(--on-court); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 32px; }
.btn { display: inline-block; padding: 13px 22px; border-radius: 6px; font-weight: 600; text-decoration: none; border: 2px solid var(--ball); font-size: 1rem; cursor: pointer; font-family: var(--body); }
.btn.solid { background: var(--ball); color: var(--on-ball); }
.btn.ghost { background: transparent; color: var(--on-court); border-color: var(--on-court-muted); }
.btn.dark { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn.outline { background: transparent; color: var(--fg); border-color: var(--line); }
.btn:hover { transform: translateY(-1px); }
.textlink { font-weight: 600; color: var(--on-court); padding: 8px 4px; }
.stat { margin-top: 44px; max-width: 30rem; font-size: 0.92rem; color: var(--on-court-muted); border-top: 1px solid rgba(183,200,220,0.35); padding-top: 14px; }
.stat strong { color: var(--on-court); font-family: var(--display); font-size: 1.5rem; margin-right: 6px; }

section.block { padding-block: 64px; scroll-margin-top: 8px; }
section.block + section.block { border-top: 1px solid var(--line); }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); font-weight: 700; margin-top: 8px; }
.sub { color: var(--muted); max-width: 38rem; margin-top: 12px; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 32px; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; border-top: 3px solid var(--fg); padding-top: 14px; min-width: 0; }
.steps li::before { content: "Step " counter(step); display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.steps h3 { font-size: 1.25rem; margin-bottom: 6px; }
.steps p { color: var(--muted); }

/* Pillars and reasons */
.pillars, .reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 32px; }
.pillars { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.pillar, .reason { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 26px; min-width: 0; }
.pillar h3 { font-size: 1.5rem; margin-bottom: 10px; }
.reason h3 { font-size: 1.2rem; margin-bottom: 8px; }
.reason p { color: var(--muted); font-size: 0.97rem; }
.pillar ul { margin: 14px 0 0; padding-left: 1.1rem; color: var(--muted); }
.pillar li + li { margin-top: 6px; }
.fine { margin-top: 18px; font-size: 0.88rem; color: var(--muted); max-width: 40rem; }
.section-cta { margin-top: 28px; }

/* Story */
.story { max-width: 40rem; }
.story p { margin-top: 16px; color: var(--fg); }
.story p.sub { color: var(--muted); }

/* Mentor types and filters */
.types { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 28px; }
.type { border-left: 3px solid var(--ball); padding-left: 16px; min-width: 0; }
.type h3 { font-size: 1.2rem; margin-bottom: 4px; }
.type p { color: var(--muted); font-size: 0.95rem; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 28px; }
.chip { font: inherit; font-size: 0.9rem; font-weight: 600; color: var(--fg); background: transparent; border: 1px solid var(--line); border-radius: 99px; padding: 7px 16px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.filters input { width: auto; flex: 1 1 220px; max-width: 320px; font: inherit; color: var(--fg); background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; }
.empty { margin-top: 16px; color: var(--muted); }

/* Listings (real cards) and empty states */
.listing { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card .name { font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.card .meta { color: var(--muted); font-size: 0.92rem; }
.card .tag { align-self: flex-start; font-size: 0.75rem; font-weight: 600; background: var(--ball); color: var(--on-ball); padding: 3px 9px; border-radius: 99px; }
.empty-state { margin-top: 24px; border: 2px dashed var(--line); border-radius: 10px; padding: 28px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.empty-state h3 { font-size: 1.25rem; margin-bottom: 4px; }
.empty-state p { color: var(--muted); max-width: 32rem; font-size: 0.97rem; }
.more { margin-top: 20px; }
.more a { font-weight: 600; color: var(--court-text); }

/* Chat */
.notice { margin-top: 20px; background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 8px; padding: 12px 16px; font-size: 0.9rem; max-width: 46rem; }
.chat-off { margin-top: 24px; border: 2px dashed var(--line); border-radius: 10px; padding: 24px; color: var(--muted); max-width: 46rem; }
.chat { margin-top: 24px; max-width: 46rem; }
.askform { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.askform label { font-size: 0.85rem; font-weight: 600; display: flex; flex-direction: column; gap: 5px; }
.askform input, .askform textarea, .replyform input, .replyform textarea { font: inherit; font-weight: 400; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; width: 100%; }
.askform textarea, .replyform textarea { min-height: 84px; resize: vertical; }
.formrow { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.note { font-size: 0.88rem; color: var(--muted); min-height: 1.4em; }
.note.err { color: #B3261E; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .note.err { color: #FF8A80; } }
.thread { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.q { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; min-width: 0; }
.msg-head { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.msg-head .who { font-weight: 600; }
.msg-head .when { font-size: 0.82rem; color: var(--muted); }
.msg-text { margin-top: 6px; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg-actions { display: flex; gap: 14px; margin-top: 10px; }
/* Continuous chat */
.chatbox { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.chatlog { height: 460px; max-height: 65vh; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.bubble { max-width: 82%; background: var(--card); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 9px 13px; align-self: flex-start; min-width: 0; }
.bubble.mine { align-self: flex-end; background: var(--ball); color: var(--on-ball); border-color: transparent; border-radius: 14px 14px 4px 14px; }
.bubble .msg-head { gap: 2px 8px; }
.bubble .who { font-size: 0.82rem; font-weight: 700; }
.bubble .when { font-size: 0.74rem; opacity: 0.7; }
.bubble .msg-text { margin-top: 2px; }
.bubble .linkbtn { font-size: 0.74rem; opacity: 0.6; }
.bubble .msg-actions { margin-top: 2px; }
.empty-thread { margin: auto; color: var(--muted); text-align: center; }
.composer { border-top: 1px solid var(--line); padding: 12px; display: flex; flex-direction: column; gap: 8px; background: var(--card); }
.composer .row { display: flex; gap: 8px; }
.composer input, .composer textarea { font: inherit; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; min-width: 0; }
.composer textarea { flex: 1; resize: none; height: 44px; }
.composer .nameinput { width: 100%; max-width: 220px; font-size: 0.9rem; padding: 6px 10px; }
.composer .btn { flex: 0 0 auto; }

.linkbtn { font: inherit; font-size: 0.85rem; font-weight: 600; background: none; border: none; padding: 2px 0; color: var(--court-text); cursor: pointer; text-decoration: underline; }
.linkbtn[disabled] { color: var(--muted); text-decoration: none; cursor: default; }
.replies { margin-top: 12px; padding-left: 16px; border-left: 3px solid var(--ball); display: flex; flex-direction: column; gap: 14px; }
.replyform { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.empty-thread { color: var(--muted); }

/* FAQ */
.faq { margin-top: 28px; max-width: 46rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { font-family: var(--display); font-weight: 700; font-size: 1.15rem; cursor: pointer; }
.faq details p { margin-top: 10px; color: var(--muted); }

/* Forms tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tab { font: inherit; font-weight: 600; font-size: 0.95rem; padding: 10px 18px; border: 1px solid var(--line); border-radius: 99px; background: transparent; color: var(--fg); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.panel { margin-top: 20px; max-width: 640px; }
.formcard { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 26px; display: flex; flex-direction: column; gap: 14px; min-width: 0; scroll-margin-top: 24px; }
.formcard iframe { width: 100%; height: 1300px; border: 0; background: transparent; }


/* Site forms (replace the embedded Google Forms) */
.jform { display: flex; flex-direction: column; gap: 18px; }
.jfield { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.jfield > .jlabel, .jfield > legend { font-size: 0.92rem; font-weight: 600; padding: 0; }
.jfield .req { color: var(--court-text); }
.jfield input[type=text], .jfield input[type=email], .jfield input[type=url], .jfield input[type=date], .jfield textarea { font: inherit; font-weight: 400; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; width: 100%; min-width: 0; }
.jfield textarea { min-height: 96px; resize: vertical; }
.jfield input:focus, .jfield textarea:focus { outline: 3px solid var(--ball); outline-offset: 1px; border-color: var(--fg); }
.jopts { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.jopt { display: flex; align-items: flex-start; gap: 10px; font-size: 0.97rem; cursor: pointer; }
.jopt input { margin-top: 5px; accent-color: var(--court-text); flex: 0 0 auto; }
.jhint { font-size: 0.85rem; color: var(--muted); }
.jfield.bad input[type=text], .jfield.bad input[type=email], .jfield.bad input[type=url], .jfield.bad input[type=date], .jfield.bad textarea { border-color: #B3261E; }
.jerr { font-size: 0.85rem; color: #B3261E; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .jerr { color: #FF8A80; } }
.jrow { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.jthanks { border: 2px dashed var(--line); border-radius: 10px; padding: 22px; }
.jthanks h3 { font-size: 1.3rem; margin-bottom: 6px; }
.jthanks p { color: var(--muted); }
.jtrap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

footer { background: var(--court); color: var(--on-court-muted); padding-block: 40px; }
footer .name { font-family: var(--display); color: var(--on-court); font-weight: 700; font-size: 1.2rem; }

@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } html { scroll-behavior: auto; } }

/* ===== Multi-page additions ===== */
body { overflow-x: hidden; }
section.block { padding-block: 88px; }
.lead-p { font-size: 1.1rem; color: var(--muted); max-width: 40rem; margin-top: 14px; }

/* Header and menu */
.topnav { position: relative; flex-wrap: nowrap; gap: 16px; padding-bottom: 0; align-items: center; }
.topnav .brand { white-space: nowrap; }
.topnav ul { gap: 2px 6px; flex-wrap: nowrap; align-items: center; }
.topnav ul a { display: block; padding: 8px 12px; border-radius: 6px; white-space: nowrap; }
.topnav ul a[aria-current="page"] { color: var(--on-court); background: rgba(243,247,251,0.12); }
.topnav ul a.nav-cta { background: var(--ball); color: var(--on-ball); font-weight: 600; margin-left: 6px; }
.topnav ul a.nav-cta:hover { color: var(--on-ball); transform: translateY(-1px); }
.menu-toggle { display: none; font: inherit; font-weight: 600; color: var(--on-court); background: transparent; border: 1px solid var(--on-court-muted); border-radius: 6px; padding: 8px 14px; cursor: pointer; }
.hero .wrap.navwrap { padding-block: 18px 0; }
.hero.home .wrap.navwrap { padding-bottom: 0; }
.hero .herobody { position: relative; padding-block: 72px 80px; }
.pagehead { position: relative; background: var(--court); color: var(--on-court); overflow: hidden; }
.pagehead svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.16; }
.pagehead .wrap { position: relative; }
.pagehead .headbody { padding-block: 56px 60px; }
.pagehead .eyebrow { color: var(--ball); }
.pagehead h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 800; margin-top: 10px; }
.pagehead p.lead { max-width: 38rem; margin-top: 16px; font-size: 1.15rem; color: var(--on-court-muted); }
.hero .herobody .cta-row { margin-top: 36px; }

@media (max-width: 880px) {
  .menu-toggle { display: inline-block; }
  .topnav { flex-wrap: wrap; }
  .topnav ul { display: none; flex-direction: column; align-items: stretch; width: 100%; padding: 10px 0 6px; gap: 2px; }
  .topnav.open ul { display: flex; }
  .topnav ul a { padding: 12px 10px; }
  .topnav ul a.nav-cta { margin-left: 0; text-align: center; margin-top: 6px; }
}

/* Cards that link to pages */
.picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 36px; }
.pick { display: flex; flex-direction: column; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 28px; text-decoration: none; color: var(--fg); min-width: 0; transition: transform .15s ease, border-color .15s ease; }
.pick:hover { transform: translateY(-2px); border-color: var(--fg); }
.pick h3 { font-size: 1.35rem; }
.pick p { color: var(--muted); font-size: 0.97rem; }
.pick .go { margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--court-text); }
.pillar .more-link { display: inline-block; margin-top: 18px; font-weight: 600; color: var(--court-text); }
.pillars.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }

/* How it works paths */
.path { padding-block: 64px; border-top: 1px solid var(--line); scroll-margin-top: 8px; }
.path:first-of-type { border-top: 0; }
.path h2 { margin-top: 6px; }
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 30px; }
.opt { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 26px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.opt .num { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.opt h3 { font-size: 1.25rem; }
.opt p { color: var(--muted); font-size: 0.97rem; }
.opt .btn { margin-top: auto; align-self: flex-start; padding: 10px 18px; font-size: 0.95rem; }
.btn.small { padding: 10px 18px; font-size: 0.95rem; }

/* FAQ spacing */
.faq { max-width: 46rem; }

/* Chat page */
.notice.compact { margin-top: 18px; padding: 8px 12px; font-size: 0.82rem; max-width: 46rem; }
.qa-head { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; margin-top: 44px; max-width: 46rem; }
.qa-head h3 { font-size: 1.5rem; }
.qa-search { flex: 1 1 240px; max-width: 340px; font: inherit; color: var(--fg); background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; }
.qa-search:focus { outline: 3px solid var(--ball); outline-offset: 1px; }
.qa-count { margin-top: 8px; font-size: 0.88rem; color: var(--muted); max-width: 46rem; }
.thread { max-width: 46rem; margin-top: 16px; }

/* Guide */
.guide-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; border-right: 1px solid var(--line); padding-right: 18px; }
.toc h2 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-family: var(--body); font-weight: 600; margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; counter-reset: ch; }
.toc a { display: block; padding: 7px 10px; border-radius: 6px; text-decoration: none; font-size: 0.93rem; color: var(--muted); }
.toc a:hover, .toc a.on { background: var(--card); color: var(--fg); }
.toc-mobile { display: none; }
.prose { min-width: 0; max-width: 46rem; }
.prose section.chapter { padding-top: 56px; margin-top: 56px; border-top: 1px solid var(--line); scroll-margin-top: 8px; }
.prose section.chapter:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.prose h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-top: 6px; }
.prose h3 { font-size: 1.3rem; margin-top: 36px; }
.prose h4 { font-size: 1.05rem; font-family: var(--body); font-weight: 700; margin: 24px 0 0; letter-spacing: 0; }
.prose p { margin-top: 14px; }
.prose ul, .prose ol { margin: 12px 0 0; padding-left: 1.3rem; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--court-text); font-weight: 500; overflow-wrap: anywhere; }
.callout { margin-top: 22px; border-left: 4px solid var(--ball); background: var(--card); border-radius: 0 8px 8px 0; padding: 14px 18px; }
.callout.warn { border-left-color: #E3A21A; background: var(--warn-bg); }
.callout p { margin-top: 0; }
.callout p + p { margin-top: 8px; }
.callout strong { font-weight: 700; }
.tablewrap { overflow-x: auto; margin-top: 18px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 12px; vertical-align: top; }
.prose th { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.template { margin-top: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; font-size: 0.96rem; }
.template p { margin-top: 10px; }
.template p:first-child { margin-top: 0; }
.updated { margin-top: 20px; font-size: 0.88rem; color: var(--muted); }
@media (max-width: 900px) {
  .guide-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .toc { display: none; }
  .toc-mobile { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; }
  .toc-mobile summary { font-weight: 600; cursor: pointer; }
  .toc-mobile ol { margin: 10px 0 0; padding-left: 1.2rem; }
  .toc-mobile li + li { margin-top: 6px; }
  .toc-mobile a { color: var(--court-text); text-decoration: none; }
}

/* Support page */
.profiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 28px; }
.steps4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 30px; padding: 0; list-style: none; counter-reset: s4; }
.steps4 li { counter-increment: s4; border-top: 3px solid var(--fg); padding-top: 14px; min-width: 0; }
.steps4 li::before { content: counter(s4); display: block; font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--court-text); margin-bottom: 4px; }
.steps4 h3 { font-size: 1.15rem; margin-bottom: 6px; }
.steps4 p { color: var(--muted); font-size: 0.97rem; }
.panel { max-width: 680px; }

/* Footer */
footer { padding-block: 56px; }
footer .foot { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 32px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px 24px; }
footer ul a { text-decoration: none; color: var(--on-court-muted); }
footer ul a:hover { color: var(--on-court); text-decoration: underline; }
footer p { margin-top: 8px; font-size: 0.92rem; }
@media (max-width: 700px) { footer .foot { grid-template-columns: minmax(0, 1fr); } }

/* Photo backgrounds */
.hero.photo, .pagehead.photo { background-size: cover; background-position: center; }
.hero.photo svg.lines, .pagehead.photo svg.lines { display: none; }
.photobg { position: relative; background-size: cover; background-position: center; color: var(--on-court); }
.photobg h2 { color: #fff; }
.photobg .eyebrow { color: var(--ball); }
.photobg .lead-p, .photobg .sub, .photobg .fine { color: rgba(243,247,251,0.9); }
.photobg .pillar, .photobg .reason, .photobg .formcard, .photobg .pick { background: var(--card); color: var(--fg); }
.photobg .pillar p, .photobg .pillar li { color: var(--muted); }
footer .credit { font-size: 0.82rem; }
footer .credit a { color: var(--on-court-muted); }
.photobg .story p { color: #fff; }
.photobg .empty-state { background: var(--card); color: var(--fg); border: 1px solid var(--line); }
.photobg .opt { background: var(--card); color: var(--fg); }
.photobg .section-cta { margin-top: 28px; }
.path.photobg.panel-bg { border-radius: 16px; padding: 48px 32px; margin-top: 56px; border-top: 0; color: var(--on-court); }
.path.photobg.panel-bg .lead-p { color: rgba(243,247,251,0.92); }
@media (max-width: 600px) { .path.photobg.panel-bg { padding: 32px 18px; } }
