/* 2026-11-15 Golden-hour pass (owner approved on the Training page and homepage):
   dark surfaces, lime only as a small accent, muted heading highlights, warm art.
   Loaded after each page's own styles on the marketing pages (not index/training, which carry their own). */

/* Founding strip: dark with a lime link */
html body .fd-strip { background:#15171B; color:#F4F5F7; border-bottom:1px solid rgba(255,255,255,.08); }
html body .fd-strip .fd-go, html body .fd-strip button { color:#F4F5F7; }
html body .fd-strip u { color:#C4D824; }

/* Big lime bands off; blurred lime glows become a faint warm glow */
/* (bands restyled as the dusk band below) */
.hb-blob, .tm-viz-glow, .pt-glow { background:#B9536A !important; opacity:.12 !important; }

/* Heading highlights: muted, with a few key words in lime (.gh-hl) */
body h1 em, body h2 em { font-style:normal; }
body h1 em { color:color-mix(in srgb, currentColor 70%, transparent) !important; }
body h2 em { color:color-mix(in srgb, currentColor 62%, transparent) !important; }
body .gh-hl, body h1 em .gh-hl, body h2 em .gh-hl { color:var(--c-action, #C4D824) !important; }

/* Full lime sections become warm dusk panels (dark theme) or warm sand panels (light theme) */
.rd-lime {
  background:linear-gradient(165deg, #211A28 0%, #2D2033 55%, #43263A 100%) !important;
  color:#F4F1EA !important;
  --white:#F4F1EA; --text:#F4F1EA; --text-2:rgba(244,241,234,.8); --c-action:#C4D824;
  --border:rgba(244,241,234,.14); --border-strong:rgba(244,241,234,.28);
  position:relative; overflow:hidden;
}
.rd-lime::after { content:""; position:absolute; right:-120px; bottom:-180px; width:420px; height:420px; border-radius:50%;
  background:radial-gradient(circle, rgba(238,138,94,.42), rgba(238,138,94,0) 70%); pointer-events:none; }
.rd-lime > * { position:relative; z-index:1; }
.rd-lime a:not(.btn):not(.rd-btn-ink) { color:#F4F1EA !important; }
.rd-lime img.rd-wm.rd-lt-only { display:block !important; }
.rd-lime img.rd-wm.rd-ink-only { display:none !important; }
.rd-lime .rd-btn-ink { background:#C4D824 !important; color:#0B0C0E !important; }
.rd-lime .rd-btn-ink:hover { background:#D8E85C !important; }
:root[data-theme="light"] .rd-lime {
  background:linear-gradient(165deg, #FBF3EA 0%, #F7E6DA 60%, #F1D6C8 100%) !important;
  color:#1A1620 !important;
  --white:#1A1620; --text:#1A1620; --text-2:#4A4250; --c-action:#5A650E;
  --border:rgba(26,22,32,.14); --border-strong:rgba(26,22,32,.28);
}
:root[data-theme="light"] .rd-lime a:not(.btn):not(.rd-btn-ink) { color:#1A1620 !important; }
:root[data-theme="light"] .rd-lime img.rd-wm.rd-lt-only { display:none !important; }
:root[data-theme="light"] .rd-lime img.rd-wm.rd-ink-only { display:block !important; }
:root[data-theme="light"] .rd-lime .rd-btn-ink { background:#1A1620 !important; color:#F4F1EA !important; }

/* Small two-figure art above section headings */
.gh-mini { display:block; width:200px; margin:0 0 1.1rem; }
.gh-mini img { display:block; width:100%; height:auto; }
.gh-lt { display:none !important; }
:root[data-theme="light"] .gh-dk { display:none !important; }
:root[data-theme="light"] .gh-lt { display:block !important; }

/* Golden-hour hero art */
.gh-hero { margin:0; align-self:center; }
.gh-hero img { display:block; width:100%; max-width:560px; height:auto; margin-left:auto; border-radius:28px; box-shadow:0 30px 80px rgba(0,0,0,.35); }
:root[data-theme="light"] .gh-hero img { box-shadow:0 24px 60px rgba(40,20,40,.18); }
@media (max-width:700px) { .gh-hero img { max-width:100%; } .gh-mini { width:170px; } }

/* Lime-washed panels become a neutral or warm wash */
.tm-panel { background:linear-gradient(135deg, rgba(185,83,106,.10), rgba(255,255,255,.03)) !important; }
:root[data-theme="light"] .tm-panel { background:linear-gradient(135deg, rgba(238,138,94,.10), rgba(0,0,0,.02)) !important; }
.pt-ph { box-shadow:inset 0 0 0 1px rgba(244,241,234,.18), 0 26px 50px rgba(0,0,0,.5) !important; }
.pt-chip, .gd-chip { outline-color:rgba(244,241,234,.22) !important; }
.gd-chip { color:#F4F1EA !important; }

/* Find a Coach: the "For coaches" note becomes a warm dusk card */
.fc-notes > div:last-child { background:linear-gradient(165deg,#211A28,#43263A) !important; box-shadow:0 0 0 1px rgba(244,241,234,.08) !important; }
.fc-notes > div:last-child h2, .fc-notes > div:last-child p, .fc-notes > div:last-child a { color:#F4F1EA !important; }
:root[data-theme="light"] .fc-notes > div:last-child { background:linear-gradient(165deg,#FBF3EA,#F1D6C8) !important; box-shadow:none !important; }
:root[data-theme="light"] .fc-notes > div:last-child h2, :root[data-theme="light"] .fc-notes > div:last-child p, :root[data-theme="light"] .fc-notes > div:last-child a { color:#1A1620 !important; }

/* Pricing: hero and Founding card text follow the dusk/sand panels */
.rd-lime.pb-hero h1, .rd-lime .pb-found-t, .rd-lime .pb-found-price b, .rd-lime .pb-found .pb-left { color:var(--text) !important; }
.rd-lime .pb-lede, .rd-lime .pb-found-price small, .rd-lime .pb-found p { color:var(--text-2) !important; }
.rd-lime .pb-points li { color:var(--text) !important; }
.pb-found.rd-lime .pb-found-t, .pb-found.rd-lime .pb-found-price b, .pb-found.rd-lime .pb-left { color:var(--text) !important; }
.pb-found.rd-lime p, .pb-found.rd-lime .pb-found-price small { color:var(--text-2) !important; }
.rd-lime h1, .rd-lime h2, .rd-lime h3, .rd-lime h4 { color:var(--text) !important; }
.rd-lime p { color:var(--text-2); }


/* ===== 2026-11-15 owner round 2 ===== */
/* Sunset tokens: the Find a Coach dusk band is the shared accent */
:root {
  --gh-dusk: linear-gradient(90deg, #1E1828 0%, #3A2238 45%, #7A3E45 78%, #C9714F 100%);
  --gh-dusk-d: linear-gradient(160deg, #1E1828 0%, #3A2238 42%, #7A3E45 80%, #C9714F 100%);
  --gh-btn-bg: #F4F1EA; --gh-btn-fg: #0B0C0E; --gh-btn-bg-h: #FFFFFF;
  --gh-chip-bg: rgba(12,13,15,.82); --gh-chip-fg: #F4F1EA; --gh-ring: rgba(196,216,36,.6);
}
:root[data-theme="light"] {
  --gh-dusk: linear-gradient(90deg, #F4E6DC 0%, #F2CDB4 55%, #EEA77F 100%);
  --gh-dusk-d: linear-gradient(160deg, #F7EBE2 0%, #F2CDB4 58%, #EEA77F 100%);
  --gh-btn-bg: #16121C; --gh-btn-fg: #F4F1EA; --gh-btn-bg-h: #2A2230;
  --gh-chip-bg: #FFFFFF; --gh-chip-fg: #16121C; --gh-ring: rgba(90,101,14,.45);
}
/* Hero bands behind product screenshots: the dusk band, not lime */
.hb-band, .tm-band, .pt-band, .gd-band, .tr-brand-band { display:block !important; background:var(--gh-dusk) !important; opacity:1 !important; }
.hb-blob, .tm-viz-glow, .pt-glow, .gd-blob { background:#C9714F !important; opacity:.10 !important; }
.rd-lime, .fc-notes > div:last-child { background:var(--gh-dusk-d) !important; }

/* No lime fills behind text: readable primary buttons */
html body .btn-primary, html body .nav-cta, html body .fc-submit, html body .fc-go, html body .fd-btn, html body .fp-btn-main,
html body .q-row .go, html body .reply-box .go, html body .wp-dlg .wp-go, html body .rd-lime .rd-btn-ink, html body .ai-send, html body .context-set-btn {
  background:var(--gh-btn-bg) !important; color:var(--gh-btn-fg) !important; border-color:transparent !important; box-shadow:none !important;
}
html body .btn-primary:hover, html body .nav-cta:hover, html body .fc-submit:hover, html body .fc-go:hover, html body .fc-card:hover .fc-go,
html body .fd-btn:hover, html body .fp-btn-main:hover, html body .rd-lime .rd-btn-ink:hover { background:var(--gh-btn-bg-h) !important; color:var(--gh-btn-fg) !important; }
html body .btn-primary:focus-visible, html body .fc-submit:focus-visible, html body .fc-go:focus-visible { outline:2px solid #C4D824 !important; outline-offset:2px; }
/* Chips, pins and badges with text: dark (or white) with a thin lime ring */
html body .fc-open, html body .fp-status, html body .hb-pin, html body .tm-viz-pin, html body .gd-tag, html body .hb-tm .going, html body .sb-badge,
html body .session-card .sc-badge, html body .record-line .pr-chip, html body .glance .move, html body .glance .pr, html body .prog-badge, html body .program-badge,
html body .profile-card .tier-badge, html body .fd-fab b, html body .ft-pill, html body .gd-chip, html body .fcv-card em {
  background:var(--gh-chip-bg) !important; color:var(--gh-chip-fg) !important; box-shadow:inset 0 0 0 1px var(--gh-ring) !important; outline:none !important;
}
.hb-pin i, .gd-tag i { display:none !important; }
/* Selected states: off-white (dark mode) or ink (light mode) with dark/light text */
html body .fc-chip:has(input:checked), html body .fc-chip[aria-pressed="true"], html body .sport-btn.is-active, html body .ptabs button[aria-selected="true"],
html body .pb-bill input:checked + span, html body .fq-rail a.is-on, html body .rd-node-you {
  background:var(--gh-btn-bg) !important; color:var(--gh-btn-fg) !important; border-color:transparent !important;
}
html body .flow-num { background:transparent !important; color:var(--text) !important; box-shadow:inset 0 0 0 2px #C4D824 !important; }
html body .tr-flow-row figcaption b { background:none !important; color:inherit !important; box-shadow:inset 0 -2px 0 #C4D824; }
html body .skip-link { background:#16121C !important; color:#F4F1EA !important; }
html body .fd-strip u { color:#F4F5F7 !important; text-decoration-color:#C4D824 !important; }
/* Initials cards on Find a Coach: light text, lime ring */
html body .fc-mono { color:#F4F1EA !important; box-shadow:inset 0 0 0 2px var(--gh-ring) !important; }
:root[data-theme="light"] .fc-mono { color:#16121C !important; }

/* Lime text becomes readable text; lime stays as small marks and underlines */
html body .pp .kicker, html body .kicker, html body .section-tag, html body .hero-tag, html body .hm-kicker, html body .tr-step, html body .day-label, html body .meal-time,
html body .person-role, html body .content-section .person-role, html body .roles4 .role, html body .pt-chip b, html body .tw-note b, html body .wk-note b,
html body .week .note b, html body .sb-record b, html body .sport-page .sp-stats b, html body .astat-num, html body .trust-num, html body .principle-num,
html body .pb-range output, html body .tl-row .ok, html body .prog-level, html body .program-level, html body .quote-title-attr, html body .cw-node figcaption,
html body .tm-copy .kicker, html body .wk-count b, html body #fc-more-n { color:var(--text) !important; }
html body .rd-link, html body .link-go, html body .hm-go, html body .tr-jump, html body .fc-notes a, html body .pb-qs a, html body .pb-close-more a, html body .person-contact a,
html body .fp-fine a, html body .fp-soc a, html body .tr-qa a, html body .tr-qa .rd-a a, html body .rd-a a, html body .pg-training .price-rows a, html body .goal-list p a,
html body .cols3 a, html body .route .route-go, html body .pillar-link, html body .pg-parents .p-fine a, html body .tr-fine a, html body .tm-copy a, html body .cmp tfoot a, html body .cmp-tier a {
  color:var(--text) !important; text-decoration:underline !important; text-decoration-color:#C4D824 !important; text-decoration-thickness:2px !important; text-underline-offset:4px !important;
}
:root[data-theme="light"] .rd-link, :root[data-theme="light"] .link-go, :root[data-theme="light"] .hm-go, :root[data-theme="light"] .tm-copy a, :root[data-theme="light"] .fc-notes a,
:root[data-theme="light"] .tr-qa a, :root[data-theme="light"] .rd-a a { text-decoration-color:#8A9A16 !important; }
/* Highlighted heading words: lime on dark only; in light mode ink with a lime underline */
html body .cj-hl { color:var(--c-action, #C4D824) !important; }
:root[data-theme="light"] .gh-hl, :root[data-theme="light"] .cj-hl, :root[data-theme="light"] body h1 em .gh-hl {
  color:inherit !important; text-decoration:underline; text-decoration-color:#B5C81F; text-decoration-thickness:.09em; text-underline-offset:.12em;
}
/* Retire the small glyph figures next to labels */
html body .kicker .fig, html body .hm-kicker .fig, html body .tr-step .fig, html body .card-fig, html body .hm-app-fig { display:none !important; }

/* Product badge: the app icon and the product name */
.gh-badge { display:inline-flex; align-items:center; gap:.7rem; margin:0 0 1.15rem; }
.gh-badge img { width:40px; height:40px; flex:none; border-radius:10px; box-shadow:0 0 0 1px rgba(255,255,255,.14), 0 6px 16px rgba(0,0,0,.35); }
.gh-badge span { display:grid; line-height:1.15; }
.gh-badge b { font-weight:700; font-size:1.06rem; letter-spacing:-.01em; color:var(--text); }
.gh-badge small { font-size:.86rem; color:var(--text-2); margin-top:.1rem; }
.gh-badge-sm { margin:0 0 .8rem; gap:.55rem; } .gh-badge-sm img { width:32px; height:32px; border-radius:8px; } .gh-badge-sm b { font-size:.95rem; }
:root[data-theme="light"] .gh-badge img { box-shadow:0 0 0 1px rgba(0,0,0,.08), 0 6px 14px rgba(0,0,0,.14); }
.gh-appicon { width:44px; height:44px; border-radius:11px; display:block; margin:0 auto .9rem; }
/* Search sits on the dark search panel in both themes */
html body .fc-submit { background:#F4F1EA !important; color:#0B0C0E !important; }
/* Sunset band behind the Teams and Parents hero screenshots */
.tm-viz, .p-shot { position:relative; isolation:isolate; }
.tm-viz::before, main > section:first-of-type .p-shot::before { content:""; position:absolute; left:4%; right:-70%; top:52%; height:44%; background:var(--gh-dusk); transform:translateY(-50%) rotate(-6deg); z-index:-1; pointer-events:none; }
section:has(.tm-viz), section:has(.p-shot) { overflow-x:clip; }

/* Story figures blended into the product heroes (owner: product and story hand in hand) */
.gh-figs { position:absolute; z-index:6; pointer-events:none; height:auto; filter:drop-shadow(0 10px 18px rgba(0,0,0,.35)); }
.gh-figs-teams { left:-12%; bottom:-64px; width:min(320px,46%); }
.gh-figs-training { left:24%; bottom:-50px; width:min(240px,40%); }
.gh-figs-gyms { left:-6%; bottom:-58px; width:min(290px,44%); }
.gh-figs-parents { left:auto; right:-20%; bottom:-4%; width:min(250px,58%); }
.hb-tr, .gd, .tm-viz, .p-shot { position:relative; }
:root[data-theme="light"] .gh-figs { filter:drop-shadow(0 8px 14px rgba(40,20,40,.18)); }
@media (max-width:860px) { .gh-figs-parents { right:0; bottom:-8%; width:46%; } }
@media (max-width:700px) { .gh-figs-teams, .gh-figs-gyms, .gh-figs-training { width:46%; bottom:-28px; } }

/* ── 2026-11-16 owner: one continuous sunset light down every page ──────────
   Option B's feel (warm top right, plum bottom left) repeated down the full page
   length with per-page palettes. One absolutely positioned layer on <body>, CSS
   only. A tinted base gradient sits under the color fields so no stretch of any
   page, footer included, is flat black. Palette per page: <body data-flow="..."> */
html { background:#16111A; }
:root[data-theme="light"] { background:#F6F1EC; }
html body { position:relative; background:transparent !important; }
html body::before {
  content:""; position:absolute; left:0; right:0; top:0; bottom:0; z-index:-1; pointer-events:none;
  --c1:rgba(201,113,79,.42); --c2:rgba(185,83,106,.26); --c3:rgba(120,70,140,.28);
  --c4:rgba(120,70,140,.24); --c5:rgba(70,80,160,.24); --c6:rgba(70,80,160,.22); --c7:rgba(201,113,79,.24);
  --b1:#1A1219; --b2:#18121E; --b3:#141523;
  background:
    radial-gradient(75vw 900px at 92% 1%,  var(--c1), transparent 70%),
    radial-gradient(70vw 1000px at 6% 16%, var(--c2), transparent 70%),
    radial-gradient(70vw 1000px at 94% 32%, var(--c3), transparent 70%),
    radial-gradient(70vw 1000px at 6% 48%, var(--c4), transparent 70%),
    radial-gradient(70vw 1000px at 94% 64%, var(--c5), transparent 70%),
    radial-gradient(70vw 1000px at 6% 80%, var(--c6), transparent 70%),
    radial-gradient(80vw 900px at 85% 99%, var(--c7), transparent 70%),
    radial-gradient(60vw 800px at 50% 24%, var(--c2), transparent 72%),
    radial-gradient(60vw 800px at 45% 40%, var(--c3), transparent 72%),
    radial-gradient(60vw 800px at 55% 56%, var(--c4), transparent 72%),
    radial-gradient(60vw 800px at 45% 72%, var(--c5), transparent 72%),
    radial-gradient(60vw 800px at 50% 89%, var(--c6), transparent 72%),
    linear-gradient(180deg, var(--b1) 0%, var(--b2) 50%, var(--b3) 100%);
}
/* Training: indigo into sunset into rose */
html body[data-flow="training"]::before { --c1:rgba(70,80,160,.38); --c2:rgba(90,70,150,.26); --c3:rgba(201,113,79,.30); --c4:rgba(201,113,79,.24); --c5:rgba(185,83,106,.28); --c6:rgba(185,83,106,.22); --c7:rgba(120,70,140,.26); --b1:#131521; --b2:#19121D; --b3:#1B1218; }
/* Teams: warm amber sunset into plum into deep navy */
html body[data-flow="teams"]::before { --c1:rgba(214,150,80,.36); --c2:rgba(201,113,79,.28); --c3:rgba(150,80,110,.28); --c4:rgba(120,70,140,.26); --c5:rgba(50,70,140,.28); --c6:rgba(40,60,120,.26); --c7:rgba(201,113,79,.22); --b1:#1C1412; --b2:#18121C; --b3:#111521; }
/* About: rose into sunset into plum */
html body[data-flow="about"]::before { --c1:rgba(185,83,106,.36); --c2:rgba(201,113,79,.30); --c3:rgba(201,113,79,.26); --c4:rgba(150,80,110,.26); --c5:rgba(120,70,140,.28); --c6:rgba(120,70,140,.24); --c7:rgba(185,83,106,.24); --b1:#1C1218; --b2:#1A1218; --b3:#17121E; }
/* Find a Coach: its purple-pink, all the way down */
html body[data-flow="find"]::before { --c1:rgba(160,70,150,.38); --c2:rgba(201,90,120,.28); --c3:rgba(130,70,160,.30); --c4:rgba(201,90,120,.24); --c5:rgba(130,70,160,.28); --c6:rgba(185,83,106,.24); --c7:rgba(160,70,150,.24); --b1:#1A121E; --b2:#19121F; --b3:#17121E; }
/* Pricing, FAQ, Library: a calmer version */
html body[data-flow="calm"]::before { --c1:rgba(201,113,79,.26); --c2:rgba(120,70,140,.18); --c3:rgba(120,70,140,.18); --c4:rgba(70,80,160,.16); --c5:rgba(70,80,160,.16); --c6:rgba(120,70,140,.16); --c7:rgba(201,113,79,.16); --b1:#171218; --b2:#16131B; --b3:#14141D; }
/* Light mode: pale peach, blush and lavender washes */
:root[data-theme="light"] body::before {
  --c1:rgba(238,150,110,.30) !important; --c2:rgba(230,150,170,.22) !important; --c3:rgba(190,160,220,.24) !important;
  --c4:rgba(238,170,140,.20) !important; --c5:rgba(170,175,225,.22) !important; --c6:rgba(230,160,180,.20) !important; --c7:rgba(238,150,110,.20) !important;
  --b1:#FAF1EA !important; --b2:#F6F0F2 !important; --b3:#F2F1F6 !important;
}
/* Let the flow show through: page sections stop painting flat colors (their own gradients and panels stay) */
html body main > section, html body > section, html body .hm-teams, html body .hm-training { background-color:transparent !important; }
html body footer { background:rgba(10,8,14,.35) !important; }
:root[data-theme="light"] body footer { background:rgba(255,255,255,.35) !important; }

/* ── 2026-11-16 owner: sections clearly defined, but not all the same ──────
   Four treatments used in a rhythm, chosen by what a section does:
     open  : sits on the flowing light, defined by a hairline and its heading (story text, fact strips)
     band  : full-bleed tinted slice of the page, square edges (the one wide moment, closing calls to action)
     panel : rounded translucent container (dense or interactive things: plans, FAQ, forms, results)
     grid  : no outer box, each item is its own outlined card on the light
   Set per section with data-section="open|band|panel|grid"; templated pages get defaults below. */
html body main > section { position:relative; }
html body main > section:not(:first-of-type) { border-radius:0; box-shadow:none; }

/* open (default for every section after the hero) */
html body main > section:not(:first-of-type)::before {
  content:""; position:absolute; top:0; left:50%; transform:translateX(-50%);
  width:min(1200px, calc(100% - 32px)); height:1px; pointer-events:none;
  background:linear-gradient(90deg, transparent, rgba(240,190,170,.30) 20%, rgba(240,190,170,.30) 80%, transparent);
}
:root[data-theme="light"] body main > section:not(:first-of-type)::before {
  background:linear-gradient(90deg, transparent, rgba(150,90,100,.26) 20%, rgba(150,90,100,.26) 80%, transparent);
}
/* the hero ends cleanly: the next section's hairline marks the boundary */
html body main > section:first-of-type { border-bottom:0 !important; }

/* band */
html body main > section[data-section="band"],
html body main > section.sp-band, html body main > section.sp-cta {
  background:linear-gradient(180deg, rgba(12,9,18,.50), rgba(30,18,32,.42)) !important;
  border-top:1px solid rgba(240,190,170,.18) !important; border-bottom:1px solid rgba(240,190,170,.18) !important;
  border-left:0 !important; border-right:0 !important;
}
:root[data-theme="light"] body main > section[data-section="band"],
:root[data-theme="light"] body main > section.sp-band, :root[data-theme="light"] body main > section.sp-cta {
  background:linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,246,240,.52)) !important;
  border-color:rgba(150,90,100,.18) !important;
}
html body main > section[data-section="band"]::before,
html body main > section.sp-band::before, html body main > section.sp-cta::before { display:none; }

/* panel */
html body main > section[data-section="panel"] {
  max-width:1280px; margin-inline:max(16px, calc((100% - 1280px) / 2)) !important;
  margin-block:clamp(20px,3vw,36px) !important;
  border-radius:28px !important;
  border:1px solid rgba(240,190,170,.16) !important;
  background:linear-gradient(180deg, rgba(24,18,30,.62), rgba(18,15,26,.56)) !important;
  box-shadow:0 1px 0 rgba(255,255,255,.05) inset, 0 24px 60px rgba(8,6,12,.28) !important;
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); overflow:hidden;
}
html body main > section[data-section="panel"]::before { display:none; }
:root[data-theme="light"] body main > section[data-section="panel"] {
  border-color:rgba(120,70,90,.14) !important;
  background:linear-gradient(180deg, rgba(255,255,255,.74), rgba(255,255,255,.64)) !important;
  box-shadow:0 1px 0 rgba(255,255,255,.6) inset, 0 20px 50px rgba(120,80,90,.10) !important;
}

/* grid: items become outlined cards right on the light */
html body main > section[data-section="grid"] :is(.role, .hx-row, .gh-ab-3 > div, .fq-app),
html body main > section.roles-sec .role {
  border:1px solid rgba(240,190,170,.18) !important; border-radius:20px !important;
  background:linear-gradient(180deg, rgba(26,18,32,.58), rgba(20,15,28,.50)) !important;
  padding:clamp(16px,2vw,24px) !important;
  -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px);
}
:root[data-theme="light"] body main > section[data-section="grid"] :is(.role, .hx-row, .gh-ab-3 > div, .fq-app),
:root[data-theme="light"] body main > section.roles-sec .role {
  border-color:rgba(120,70,90,.14) !important; background:rgba(255,255,255,.66) !important;
}
html body main > section[data-section="grid"] .gh-ab-3 { gap:16px !important; }
html body main > section[data-section="grid"] .gh-ab-3 > div { border-left-width:1px !important; }

/* Templated pages without explicit hooks: dense content becomes a panel, the last section a band */
html body main > section:not([data-section]):not(:first-of-type):has(details, form, .faq, table) {
  max-width:1280px; margin-inline:max(16px, calc((100% - 1280px) / 2)) !important; margin-block:clamp(20px,3vw,36px) !important;
  border-radius:28px !important; border:1px solid rgba(240,190,170,.16) !important;
  background:linear-gradient(180deg, rgba(24,18,30,.62), rgba(18,15,26,.56)) !important;
}
:root[data-theme="light"] body main > section:not([data-section]):not(:first-of-type):has(details, form, .faq, table) {
  border-color:rgba(120,70,90,.14) !important; background:rgba(255,255,255,.70) !important;
}
html body main > section:not([data-section]):not(:first-of-type):last-of-type:not(:has(details, form, .faq, table)) {
  background:linear-gradient(180deg, rgba(12,9,18,.50), rgba(30,18,32,.42)) !important;
  border-top:1px solid rgba(240,190,170,.18) !important;
}
:root[data-theme="light"] body main > section:not([data-section]):not(:first-of-type):last-of-type:not(:has(details, form, .faq, table)) {
  background:linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,246,240,.52)) !important; border-top-color:rgba(150,90,100,.18) !important;
}

/* Footer: a full-bleed band */
html body > footer, html body footer.site-footer {
  max-width:none; margin:0 !important; border-radius:0;
  border:0 !important; border-top:1px solid rgba(240,190,170,.18) !important;
  background:linear-gradient(180deg, rgba(14,10,20,.55), rgba(10,8,14,.62)) !important;
}
:root[data-theme="light"] body > footer { border-top-color:rgba(150,90,100,.18) !important; background:rgba(255,255,255,.62) !important; }
@media (max-width:700px){
  html body main > section[data-section="panel"],
  html body main > section:not([data-section]):not(:first-of-type):has(details, form, .faq, table) { margin-inline:10px !important; border-radius:22px !important; }
}
