/* All Your Golf — iDGOLF dark theme */
:root {
  --bg: #0A0F0C;
  --surface: #111814;
  --surface-2: #17201A;
  --surface-3: #1E2922;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #F2F5F3;
  --text-2: #A3B0A8;
  --text-3: #7C8A82;
  --green: #0DEB7C;
  --green-hover: #3BF294;
  --green-dim: rgba(13, 235, 124, 0.12);
  --green-ink: #03130A;
  --forest: #436451;
  --silver: #C9CFCC;

  --font: 'Figtree', 'Segoe UI', system-ui, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --text-2xl: clamp(2.25rem, 1.4rem + 3.6vw, 4.25rem);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t: 180ms var(--ease);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: var(--text-base); line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  min-height: 100dvh; display: flex; flex-direction: column;
}
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--green); color: var(--green-ink); padding: 8px 12px; border-radius: var(--r-sm); z-index: 100; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.muted { color: var(--text-2); }
.eyebrow { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.h2 { font-size: var(--text-xl); font-weight: 750; letter-spacing: -0.02em; line-height: 1.15; }
.fineprint { font-size: var(--text-xs); color: var(--text-3); margin-top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: var(--text-sm); text-decoration: none; white-space: nowrap;
  transition: background var(--t), border-color var(--t), color var(--t), transform var(--t);
}
.btn:active { transform: scale(0.98); }
.btn--sm { min-height: 38px; padding: 0 16px; }
.btn--primary { background: var(--green); color: var(--green-ink); }
.btn--primary:hover { background: var(--green-hover); }
.btn--ghost { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }
.btn--block { width: 100%; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(10, 15, 12, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.header__inner { max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); height: 64px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-weight: 800; font-size: 1.0625rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand__by { font-size: 0.75rem; color: var(--text-3); font-weight: 600; }
.brand__by b { color: var(--green); }
.nav { display: flex; gap: 4px; }
.nav__link { padding: 8px 12px; border-radius: 999px; font-size: var(--text-sm); font-weight: 600; color: var(--text-2); text-decoration: none; transition: color var(--t), background var(--t); }
.nav__link:hover { color: var(--text); }
.nav__link.is-active { color: var(--text); background: var(--surface-2); }
.header__actions { margin-left: auto; display: flex; gap: 8px; }

/* Feed intro */
.intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: clamp(28px, 5vw, 48px) 0 24px; flex-wrap: wrap; }
.intro__title { font-size: var(--text-xl); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; max-width: 20ch; }
.intro__sub { color: var(--text-2); margin-top: 8px; font-size: var(--text-base); }
.intro__count { color: var(--text-3); }
.founding-pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--green-dim); border: 1px solid rgba(13, 235, 124, 0.3); color: var(--text); text-decoration: none; font-size: var(--text-sm); transition: border-color var(--t); }
.founding-pill:hover { border-color: var(--green); }
.founding-pill b { color: var(--green); }
.founding-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(13, 235, 124, 0.18); }

/* Tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; background: none; border: 0; padding: 12px 14px; min-height: 44px; font-weight: 600; font-size: var(--text-sm); color: var(--text-2); white-space: nowrap; transition: color var(--t); }
.tab:hover { color: var(--text); }
.tab.is-active { color: var(--text); }
.tab.is-active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--green); border-radius: 2px; }

/* Controls */
.controls { display: flex; flex-direction: column; gap: 12px; padding: 16px 0 20px; }
.search { position: relative; display: block; max-width: 520px; }
.search svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; fill: none; stroke: var(--text-3); stroke-width: 2; stroke-linecap: round; }
.search input { width: 100%; min-height: 44px; padding: 0 16px 0 42px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); font-size: var(--text-base); transition: border-color var(--t); }
.search input::placeholder { color: var(--text-3); }
.search input:focus { outline: none; border-color: var(--green); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border-strong); background: transparent; color: var(--text-2); font-size: var(--text-sm); font-weight: 600; transition: all var(--t); }
.chip:hover { color: var(--text); border-color: var(--text-3); }
.chip.is-active { background: var(--green); border-color: var(--green); color: var(--green-ink); }

/* Grid + cards */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-bottom: 16px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: border-color var(--t); animation: rise 420ms var(--ease) both; }
.card:hover { border-color: var(--border-strong); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.player { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.player img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__btn { position: absolute; inset: 0; border: 0; padding: 0; background: none; display: grid; place-items: center; }
.player__btn:hover img { transform: scale(1.03); }
.player__play { position: absolute; width: 56px; height: 56px; border-radius: 50%; background: rgba(3, 19, 10, 0.72); border: 2px solid var(--green); display: grid; place-items: center; transition: transform var(--t), background var(--t); }
.player__play svg { width: 20px; height: 20px; fill: var(--green); margin-left: 3px; }
.player__btn:hover .player__play { transform: scale(1.08); background: var(--green); }
.player__btn:hover .player__play svg { fill: var(--green-ink); }
.player__cat { position: absolute; left: 10px; top: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(3, 10, 6, 0.78); font-size: var(--text-xs); font-weight: 700; color: var(--text); }
.card__body { padding: 14px 16px 12px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__title { font-size: 0.9375rem; font-weight: 650; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.byline { display: flex; align-items: center; gap: 8px; min-width: 0; }
.avatar { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 0.6875rem; font-weight: 800; color: var(--green-ink); background: var(--green); }
.avatar--pro { background: var(--silver); }
.avatar--brand { background: var(--text); }
.avatar--media { background: var(--forest); color: var(--text); }
.byline__name { font-size: var(--text-sm); font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 0.6875rem; font-weight: 700; white-space: nowrap; border: 1px solid var(--border-strong); color: var(--text-2); }
.badge--pro { color: var(--silver); border-color: rgba(201, 207, 204, 0.35); }
.badge--brand { color: var(--text); }
.badge--creator { color: var(--green); border-color: rgba(13, 235, 124, 0.35); }
.badge svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.star { margin-left: auto; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; background: none; display: grid; place-items: center; color: var(--text-3); transition: color var(--t); }
.star svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.star:hover { color: var(--text); }
.star.is-on { color: var(--green); }
.star.is-on svg { fill: currentColor; }
.meta { font-size: var(--text-xs); color: var(--text-3); font-variant-numeric: tabular-nums; }
.actions { display: flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--border); }
.act { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; border-radius: 999px; border: 0; background: none; color: var(--text-2); font-size: var(--text-xs); font-weight: 700; font-variant-numeric: tabular-nums; transition: color var(--t), background var(--t); }
.act:hover { color: var(--text); background: var(--surface-2); }
.act svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.act.is-on { color: var(--green); }
.act.is-on svg { fill: currentColor; }
.act--push { margin-left: auto; }
.comments { display: none; padding: 12px 16px 16px; border-top: 1px solid var(--border); background: var(--surface-2); }
.card.is-open .comments { display: block; }
.comments p { font-size: var(--text-sm); color: var(--text-2); margin-bottom: 10px; }

/* Channels */
.ch-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px; display: flex; flex-direction: column; gap: 14px; animation: rise 420ms var(--ease) both; }
.ch-card__top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ch-card .avatar { width: 44px; height: 44px; font-size: var(--text-sm); }
.ch-card__name { font-weight: 700; font-size: var(--text-base); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-card__stats { display: flex; gap: 16px; font-size: var(--text-xs); color: var(--text-3); }
.ch-card__stats b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.ch-card__links { display: flex; gap: 8px; }
.ch-card__links .btn { flex: 1; min-height: 38px; }

.empty { text-align: center; padding: 64px 16px; color: var(--text-2); }
.empty svg { width: 48px; height: 48px; fill: none; stroke: var(--text-3); stroke-width: 2; margin: 0 auto 12px; }
.empty__title { font-weight: 700; color: var(--text); margin-bottom: 4px; }
.more { display: flex; justify-content: center; padding: 8px 0 56px; }

/* Join hero */
.hero { position: relative; min-height: clamp(420px, 62vh, 600px); display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 15, 12, 0.96) 0%, rgba(10, 15, 12, 0.82) 38%, rgba(10, 15, 12, 0.1) 72%), linear-gradient(0deg, rgba(10, 15, 12, 0.9), transparent 40%); }
.hero__inner { position: relative; padding-top: 48px; padding-bottom: 48px; }
.hero__title { font-size: var(--text-2xl); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.hero__sub { margin-top: 16px; max-width: 46ch; color: var(--text-2); font-size: var(--text-lg); }
.hero__ctas { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
@media (max-width: 720px) {
  .hero { align-items: flex-end; }
  .hero__img { object-position: 78% 50%; }
  .hero__shade { background: linear-gradient(0deg, rgba(10, 15, 12, 0.98) 30%, rgba(10, 15, 12, 0.55) 70%, rgba(10, 15, 12, 0.2)); }
}

/* Founding */
.founding { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; margin-top: 48px; padding: clamp(20px, 4vw, 32px); border-radius: var(--r-lg); background: linear-gradient(135deg, rgba(13, 235, 124, 0.1), rgba(67, 100, 81, 0.08)); border: 1px solid rgba(13, 235, 124, 0.25); }
.founding__copy p:not(.eyebrow) { margin-top: 10px; color: var(--text-2); max-width: 52ch; }
.meter__row { display: flex; justify-content: space-between; font-size: var(--text-sm); color: var(--text-2); margin-bottom: 8px; }
.meter__row b { color: var(--text); font-variant-numeric: tabular-nums; }
.meter { height: 10px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--green); border-radius: inherit; }
.meter__split { list-style: none; padding: 0; margin: 14px 0 0; display: flex; gap: 16px; font-size: var(--text-sm); color: var(--text-2); flex-wrap: wrap; }
.meter__split b { color: var(--text); }
@media (max-width: 760px) { .founding { grid-template-columns: 1fr; gap: 20px; } }

/* Pricing */
.section { padding: 64px 0 0; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.section__head .muted { margin-top: 8px; max-width: 52ch; }
.toggles { display: flex; gap: 10px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }
.seg__btn { min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--text-2); font-size: var(--text-sm); font-weight: 650; display: inline-flex; align-items: center; gap: 6px; transition: all var(--t); }
.seg__btn:hover { color: var(--text); }
.seg__btn.is-active { background: var(--surface-3); color: var(--text); }
.save { font-size: 0.6875rem; color: var(--green); font-weight: 700; }
.tiers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.tiers--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1060px) { .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .tiers, .tiers--3 { grid-template-columns: 1fr; } }
.tier { position: relative; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; animation: rise 420ms var(--ease) both; }
.tier--free { border-color: rgba(13, 235, 124, 0.45); }
.tier__name { font-weight: 750; font-size: var(--text-lg); }
.tier__range { font-size: var(--text-sm); color: var(--text-2); }
.tier__price { margin-top: 12px; font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.tier__price small { font-size: var(--text-sm); font-weight: 600; color: var(--text-3); letter-spacing: 0; }
.tier__note { font-size: var(--text-xs); color: var(--text-3); min-height: 1.2em; }
.tier__list { list-style: none; padding: 12px 0 0; margin: 8px 0 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; font-size: var(--text-sm); color: var(--text-2); }
.tier__list li { display: flex; gap: 8px; }
.tier__list li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--green); }
.tier__tag { position: absolute; top: -10px; right: 14px; padding: 2px 10px; border-radius: 999px; background: var(--green); color: var(--green-ink); font-size: 0.6875rem; font-weight: 800; }

/* Boost */
.boost { margin-top: 48px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; padding: clamp(20px, 4vw, 32px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.boost__main p:not(.eyebrow) { margin-top: 10px; color: var(--text-2); max-width: 58ch; }
.split { display: flex; height: 44px; border-radius: var(--r-md); overflow: hidden; font-size: var(--text-sm); font-weight: 750; }
.split__a { background: var(--green); color: var(--green-ink); display: flex; align-items: center; padding-left: 14px; }
.split__b { background: var(--surface-3); color: var(--text-2); display: flex; align-items: center; justify-content: center; }
@media (max-width: 760px) { .boost { grid-template-columns: 1fr; gap: 20px; } }

/* Rules */
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
@media (max-width: 760px) { .rules { grid-template-columns: 1fr; } }
.rule { padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--border); }
.rule svg { width: 22px; height: 22px; fill: none; stroke: var(--green); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.rule h3 { font-size: var(--text-base); font-weight: 700; margin-bottom: 6px; }
.rule p { font-size: var(--text-sm); color: var(--text-2); }

/* Apply */
.apply { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 5vw, 64px); align-items: start; padding-bottom: 80px; }
@media (max-width: 860px) { .apply { grid-template-columns: 1fr; } }
.apply__intro .muted { margin-top: 10px; max-width: 46ch; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 12px; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 12px; color: var(--text-2); font-size: var(--text-sm); }
.steps li::before { content: counter(s); width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--green-dim); color: var(--green); font-weight: 800; font-size: var(--text-xs); }
.steps b { color: var(--text); }
.form, .success { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 28px); display: flex; flex-direction: column; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: var(--text-sm); font-weight: 650; color: var(--text); padding: 0; margin-bottom: 0; }
fieldset.field legend { margin-bottom: 6px; }
.field input, .field select { min-height: 44px; padding: 0 14px; border-radius: var(--r-md); border: 1px solid var(--border-strong); background: var(--bg); font-size: var(--text-base); transition: border-color var(--t); width: 100%; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A3B0A8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus { outline: none; border-color: var(--green); }
.field.has-error input { border-color: #FF6B6B; }
.field__err { display: none; font-size: var(--text-xs); color: #FF8A8A; }
.field.has-error .field__err { display: block; }
.radios { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 560px) { .radios { grid-template-columns: 1fr 1fr; } }
.radio { position: relative; }
.radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 44px; padding: 6px 10px; border-radius: var(--r-md); border: 1px solid var(--border-strong); font-size: var(--text-sm); font-weight: 600; color: var(--text-2); transition: all var(--t); }
.radio input:checked + span { border-color: var(--green); color: var(--text); background: var(--green-dim); }
.radio input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.check { display: flex; align-items: center; gap: 10px; font-size: var(--text-sm); color: var(--text-2); cursor: pointer; min-height: 32px; }
.check input { width: 18px; height: 18px; accent-color: var(--green); flex: none; }
.tier-result { border-radius: var(--r-md); padding: 14px 16px; background: var(--surface-2); border: 1px dashed var(--border-strong); font-size: var(--text-sm); color: var(--text-2); }
.tier-result b { color: var(--text); }
.tier-result .price { color: var(--green); font-weight: 800; }
.success { align-items: flex-start; }
.success svg { width: 48px; height: 48px; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.success p { color: var(--text-2); }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 28px 0; margin-top: 24px; }
.footer__inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__brand { display: flex; flex-direction: column; font-size: var(--text-sm); }
.footer__name { font-weight: 800; }
.footer__nav { display: flex; gap: 16px; font-size: var(--text-sm); }
.footer__nav a { color: var(--text-2); text-decoration: none; }
.footer__nav a:hover { color: var(--green); }
.footer__meta { margin-left: auto; font-size: var(--text-xs); color: var(--text-3); }

/* Toast */
.toasts { position: fixed; left: 50%; bottom: 24px; translate: -50% 0; z-index: 80; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast { background: var(--surface-3); border: 1px solid var(--border-strong); color: var(--text); padding: 10px 16px; border-radius: 999px; font-size: var(--text-sm); font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); animation: toast 2600ms var(--ease) both; }
@keyframes toast { 0% { opacity: 0; transform: translateY(8px); } 10%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }

[hidden] { display: none !important; }

@media (max-width: 720px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * clamp(16px, 4vw, 32px)); padding: 0 clamp(16px, 4vw, 32px); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .nav { display: none; }
  .header__inner { gap: 12px; }
  .intro { align-items: flex-start; }
}
.signin__short { display: none; }
@media (max-width: 480px) {
  .signin__long { display: none; } .signin__short { display: inline; }
  .brand__name { white-space: nowrap; } .brand { gap: 8px; } .brand__mark { width: 32px; height: 32px; }
  .header__inner { gap: 8px; } .header__actions { gap: 6px; }
  .header__actions .btn--sm { padding-left: 11px; padding-right: 11px; font-size: 13px; white-space: nowrap; }
}
/* Smallest phones: keep both buttons and show just the logo mark */
@media (max-width: 370px) { .brand__text { display: none; } }
@media (max-width: 900px) and (min-width: 721px) { .signin__long { display: none; } .signin__short { display: inline; } .nav__link { padding-left: 10px; padding-right: 10px; } .nav__link[data-route=join] { display: none; } }
.nav__link { white-space: nowrap; }
.header__inner { min-width: 0; } .header__actions { flex: none; } .brand { min-width: 0; }
.signin__perks { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 8px; }
.signin__perks li { position: relative; padding-left: 26px; color: var(--text-2); font-size: 14px; line-height: 1.45; }
.signin__perks li::before { content: ""; position: absolute; left: 4px; top: 5px; width: 10px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.check--box { padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: rgba(255,255,255,.02); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* Shorts & Reels */
.rail { margin-bottom: 28px; }
.rail__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.rail__title { font-size: var(--text-lg); font-weight: 750; }
.rail__all { background: none; border: 0; color: var(--green); font-weight: 700; font-size: var(--text-sm); min-height: 36px; padding: 0 4px; }
.rail__all:hover { text-decoration: underline; }
.rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: 196px; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
.rail__track .short { scroll-snap-align: start; }
.grid--shorts { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1100px) { .grid--shorts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 800px) { .grid--shorts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid--shorts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rail__track { grid-auto-columns: 160px; } }
.player--tall { aspect-ratio: 9 / 16; }
.player__pf { position: absolute; right: 8px; top: 8px; width: 28px; height: 28px; border-radius: 50%; background: rgba(3, 10, 6, 0.78); display: grid; place-items: center; color: var(--text); }
.pf { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.pf .pf-fill, .pf-fill { fill: currentColor; stroke: none; }
.short .player__play { width: 46px; height: 46px; }
.short__body { padding: 10px 12px 8px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.short__title { font-size: var(--text-sm); font-weight: 650; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.short__by { font-size: var(--text-xs); color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.short__acts { display: flex; margin-top: auto; padding-top: 4px; }
.short .act { padding: 0 8px; }
.avatar--host { background: none; }
.avatar--host svg { width: 100%; height: 100%; }
.badge--host { color: var(--green); border-color: rgba(13, 235, 124, 0.35); }
.btn--icon { flex: 0 0 44px !important; padding: 0; }
.btn--icon .pf { width: 18px; height: 18px; }
.input-prefix { position: relative; }
.input-prefix span { position: absolute; left: 14px; top: 50%; translate: 0 -50%; color: var(--text-3); font-weight: 600; }
.field .input-prefix input { padding-left: 30px; }
.field__hint { font-size: var(--text-xs); color: var(--text-3); margin-top: -6px; }

/* Legal pages */
.legal { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); padding-top: clamp(32px, 5vw, 56px); padding-bottom: 80px; align-items: start; }
@media (max-width: 820px) { .legal { grid-template-columns: 1fr; } }
.legal__nav { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 820px) { .legal__nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; } }
.legal__nav a { padding: 8px 12px; border-radius: var(--r-md); color: var(--text-2); text-decoration: none; font-size: var(--text-sm); font-weight: 600; }
@media (max-width: 820px) { .legal__nav a { border: 1px solid var(--border-strong); border-radius: 999px; } }
.legal__nav a:hover { color: var(--text); background: var(--surface-2); }
.legal__nav a.is-active { color: var(--text); background: var(--surface-2); box-shadow: inset 2px 0 0 var(--green); }
.prose { max-width: 72ch; color: var(--text-2); }
.prose h1 { font-size: var(--text-xl); font-weight: 800; letter-spacing: -0.02em; color: var(--text); line-height: 1.15; }
.legal__meta { font-size: var(--text-sm); color: var(--text-3); margin: 8px 0 24px; }
.prose h2 { font-size: var(--text-lg); font-weight: 750; color: var(--text); margin: 36px 0 10px; scroll-margin-top: 88px; }
.prose h3 { font-size: var(--text-base); font-weight: 700; color: var(--text); margin: 20px 0 6px; }
.prose p { margin: 0 0 12px; }
.prose ul, .prose ol { margin: 0 0 12px; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose b { color: var(--text); font-weight: 650; }
.prose a { color: var(--green); text-underline-offset: 3px; }
.prose a:hover { color: var(--green-hover); }
.table-wrap { overflow-x: auto; margin: 4px 0 16px; border: 1px solid var(--border); border-radius: var(--r-md); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.prose th, .prose td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { color: var(--text); background: var(--surface); font-weight: 700; }
.prose tr:last-child td { border-bottom: 0; }
.form__legal { margin-top: 0; text-align: center; }
.form__legal a, .footer__meta a { color: var(--text-2); }
.footer__meta { max-width: 46ch; text-align: right; }
@media (max-width: 720px) { .footer__meta { margin-left: 0; text-align: left; } }

/* Cookie banner + modal */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 12px clamp(12px, 3vw, 24px) calc(12px + env(safe-area-inset-bottom)); animation: slideup 380ms var(--ease) both; }
@keyframes slideup { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }
.cookie__inner { max-width: var(--max); margin: 0 auto; display: flex; gap: 24px; align-items: center; padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--border-strong); box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5); }
.cookie__copy { flex: 1; font-size: var(--text-sm); color: var(--text-2); }
.cookie__title { font-weight: 750; color: var(--text); font-size: var(--text-base); margin-bottom: 4px; }
.cookie__copy a { color: var(--green); }
.cookie__actions { display: flex; gap: 8px; flex-wrap: wrap; flex: none; }
@media (max-width: 900px) { .cookie__inner { flex-direction: column; align-items: stretch; gap: 14px; } .cookie__actions { display: grid; grid-template-columns: 1fr 1fr; } .cookie__actions .btn--ghost { grid-column: 1 / -1; } }
@media (max-width: 400px) { .cookie__actions { grid-template-columns: 1fr; } }
.modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.65); animation: fade 200ms ease both; }
@keyframes fade { from { opacity: 0; } }
.modal__panel { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 28px); animation: rise 300ms var(--ease) both; }
.modal__panel:focus { outline: none; }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.modal__title { font-size: var(--text-lg); font-weight: 750; }
.modal__x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: none; color: var(--text-2); display: grid; place-items: center; }
.modal__x:hover { background: var(--surface-2); color: var(--text); }
.modal__x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.modal__intro { font-size: var(--text-sm); color: var(--text-2); margin: 6px 0 16px; }
.pref { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--border); }
.pref__text { font-size: var(--text-sm); color: var(--text-2); }
.pref__name { display: block; font-weight: 700; color: var(--text); font-size: var(--text-base); margin-bottom: 2px; }
.pref__always { flex: none; font-size: var(--text-xs); font-weight: 700; color: var(--green); padding-top: 4px; }
.switch { position: relative; flex: none; width: 48px; height: 28px; margin-top: 2px; cursor: pointer; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--border-strong); transition: background var(--t); pointer-events: none; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--text-2); transition: transform var(--t), background var(--t); }
.switch input:checked + span { background: var(--green); border-color: var(--green); }
.switch input:checked + span::after { transform: translateX(20px); background: var(--green-ink); }
.switch input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.modal__actions { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--border); }
@media (max-width: 480px) { .modal__actions .btn { flex: 1 1 100%; } }
body.no-scroll { overflow: hidden; }
.footer__btn, .linkbtn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.footer__btn { color: var(--text-2); font-size: var(--text-sm); }
.footer__btn:hover { color: var(--green); }
.linkbtn { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.prose code { font-size: 0.85em; background: var(--surface-2); padding: 1px 6px; border-radius: 4px; color: var(--text); }
/* Click-to-play gate */
.gate { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; padding: 14px; text-align: center; background: rgba(6, 10, 8, 0.9); backdrop-filter: blur(4px); font-size: var(--text-sm); color: var(--text); animation: fade 160ms ease both; }
.gate__btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.short .gate { font-size: var(--text-xs); }
.short .gate .btn { min-height: 34px; padding: 0 12px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn:disabled { opacity: 0.6; cursor: wait; }

.modal__panel--sm { width: min(440px, 100%); display: flex; flex-direction: column; gap: 14px; }
.modal__panel--sm .modal__intro { margin: 0; }
.gsi { min-height: 44px; display: flex; justify-content: center; }
.field__hint a { color: var(--text-2); }

/* ---------- Pricing v2 ---------- */
.tiers--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; }
.tiers--1 { grid-template-columns: minmax(0, 1fr); max-width: 460px; }
@media (max-width: 700px) { .tiers--2 { grid-template-columns: 1fr; } }
.tier--soon { border-style: dashed; }
.tier--soon .tier__price { color: var(--text-2); font-size: 1.5rem; }
a.byline__name { text-decoration: none; }
a.byline__name:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Proof block */
.proof { margin-top: 48px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center; padding: clamp(20px, 4vw, 32px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.proof__main p:not(.eyebrow) { margin: 10px 0 20px; color: var(--text-2); max-width: 52ch; }
.proof__steps { list-style: none; counter-reset: p; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.proof__steps li { counter-increment: p; display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; }
.proof__steps li::before { content: counter(p); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--green-dim); color: var(--green); font-weight: 800; font-size: var(--text-xs); }
.proof__steps b { font-size: var(--text-base); }
.proof__steps span { font-size: var(--text-sm); color: var(--text-2); }
@media (max-width: 760px) { .proof { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Audience ---------- */
.aud { padding-top: 40px; padding-bottom: 80px; }
.aud__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.aud__head .intro__title { max-width: 22ch; }
.aud__notice { margin-top: 24px; padding: 14px 18px; border-radius: var(--r-md); background: var(--green-dim); border: 1px solid rgba(13, 235, 124, 0.3); font-size: var(--text-sm); color: var(--text-2); }
.aud__notice b { color: var(--text); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
@media (max-width: 900px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kpi { padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.kpi__label { font-size: var(--text-sm); color: var(--text-2); font-weight: 600; }
.kpi__value { margin-top: 8px; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi__note { margin-top: 8px; font-size: var(--text-xs); color: var(--text-3); }
.aud__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; margin-top: 12px; }
.aud__grid--cta { grid-template-columns: 1fr 1fr; margin-top: 48px; }
@media (max-width: 860px) { .aud__grid, .aud__grid--cta { grid-template-columns: 1fr; } }
.panel { padding: clamp(18px, 3vw, 28px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; }
.panel--accent { background: linear-gradient(135deg, rgba(13, 235, 124, 0.1), rgba(67, 100, 81, 0.08)); border-color: rgba(13, 235, 124, 0.25); }
.panel .btn { align-self: flex-start; }
.panel .hero__ctas { margin-top: 4px; }
.panel__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.panel__title { font-size: var(--text-base); font-weight: 700; }
.panel__sub { font-size: var(--text-xs); color: var(--text-3); }
.panel__empty { font-size: var(--text-sm); color: var(--text-3); margin: auto; text-align: center; }
.bars { height: 200px; display: flex; align-items: flex-end; gap: 4px; padding-top: 8px; border-bottom: 1px solid var(--border); }
.bar { flex: 1; min-width: 3px; background: var(--green); border-radius: 3px 3px 0 0; opacity: 0.85; transition: opacity var(--t); }
.bar:hover { opacity: 1; }
.bar { position: relative; max-width: 28px; }
.bars { justify-content: space-between; padding-top: 22px; }
.bar--zero { background: var(--border); opacity: 1; }
.bar__val { position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 700; color: var(--text); }
.bars__axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--text-2); }
.toplist { list-style: none; counter-reset: t; margin: 0; padding: 0; display: flex; flex-direction: column; flex: 1; }
.toplist li:not(.panel__empty) { counter-increment: t; display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: var(--text-sm); }
.toplist li:not(.panel__empty)::before { content: counter(t); width: 20px; color: var(--text-3); font-weight: 700; font-variant-numeric: tabular-nums; }
.toplist__name { font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toplist__val { color: var(--text-2); font-variant-numeric: tabular-nums; }
.numlist { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--text-2); font-size: var(--text-sm); }
.numlist b { color: var(--text); }
.aud__how { max-width: 80ch; margin-top: 24px; }
.footer__nav { flex-wrap: wrap; row-gap: 10px; }
.footer__nav a, .footer__btn { white-space: nowrap; }

.card.is-linked { outline: 2px solid var(--green); outline-offset: 4px; border-radius: var(--r-lg); }

.reel-ph { position: absolute; inset: 0; display: block; background: radial-gradient(120% 80% at 20% 0%, #2a1f3d 0%, transparent 60%), radial-gradient(120% 80% at 100% 100%, #3d1f2a 0%, transparent 55%), var(--surface-2, #17201A); }

.controls__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.seg { display: inline-flex; flex: none; padding: 3px; border-radius: 999px; background: var(--surface-2, #17201A); border: 1px solid var(--border-strong); }
.seg__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--text-2); font: inherit; font-size: var(--text-sm); font-weight: 600; cursor: pointer; transition: all var(--t); }
.seg__btn:hover { color: var(--text); }
.seg__btn.is-active { background: var(--green); color: var(--green-ink); }
.seg__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.seg__btn svg .pf-fill { fill: currentColor; stroke: none; }
.seg__btn:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
@media (max-width: 720px) {
  .controls__row { flex-direction: column; align-items: stretch; }
  .seg { align-self: flex-start; }
}

/* Sponsored banners */
.grid:has(.ad) { grid-auto-flow: row dense; }
.ad { grid-column: 1 / -1; position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--border); animation: rise 420ms var(--ease) both; }
.ad__slide { display: none; color: inherit; text-decoration: none; }
.ad__slide.is-active { display: flex; animation: adfade 500ms var(--ease) both; }
@keyframes adfade { from { opacity: 0; } to { opacity: 1; } }
.ad__slide--img { position: relative; }
.ad__slide--img picture, .ad__slide--img img { display: block; width: 100%; }
.ad__slide--img img { aspect-ratio: 4 / 1; object-fit: cover; }
.ad__slide--img .ad__label { position: absolute; top: 10px; left: 10px; background: rgba(3, 19, 10, .78); color: #F2F5F3; padding: 3px 9px; border-radius: 999px; }
.ad__slide--text { align-items: center; justify-content: space-between; gap: 24px; padding: 26px 30px; min-height: 140px;
  background: radial-gradient(120% 160% at 100% 0%, rgba(13, 235, 124, .16), transparent 55%), var(--surface-2, #17201A); }
.ad__copy { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ad__label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3, #7C8A82); }
.ad__headline { font-size: clamp(1.15rem, 1rem + 1vw, 1.6rem); line-height: 1.2; font-weight: 800; color: var(--text); text-wrap: balance; }
.ad__brand { text-transform: none; letter-spacing: .02em; }
.ad__text { color: var(--text-2); font-size: var(--text-sm); max-width: 60ch; }
.ad__cta { flex: none; pointer-events: none; }
.ad__slide:hover .ad__cta { filter: brightness(1.08); }
.ad__slide:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
.ad__dots { position: absolute; right: 14px; bottom: 12px; display: flex; gap: 6px; }
.ad__dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(242, 245, 243, .35); cursor: pointer; transition: all var(--t); }
.ad__dot.is-active { width: 22px; background: var(--green); }
.ad__dot:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
@media (max-width: 640px) {
  .ad__slide--text { flex-direction: column; align-items: flex-start; padding: 20px 20px 30px; gap: 14px; }
  .ad__slide--img.has-m img { aspect-ratio: 2 / 1; }
  .ad__dots { bottom: 10px; right: 12px; }
}
@media (prefers-reduced-motion: reduce) { .ad__slide.is-active { animation: none; } }

/* Photo banners: picture behind the headline, text and button */
.ad__slide--photo { position: relative; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 36px; min-height: 220px; isolation: isolate; }
.ad__slide--photo .ad__bg, .ad__slide--photo .ad__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ad__slide--photo .ad__bg { z-index: -2; }
.ad__slide--photo .ad__bg img { object-fit: cover; object-position: center 60%; transition: transform 600ms var(--ease); }
.ad__slide--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 9, 7, .9) 0%, rgba(5, 9, 7, .72) 45%, rgba(5, 9, 7, .2) 100%); }
.ad__slide--photo:hover .ad__bg img { transform: scale(1.03); }
.ad__slide--photo .ad__copy { max-width: 560px; }
.ad__slide--photo .ad__label { color: #C9D3CD; }
.ad__slide--photo .ad__headline { color: #F2F5F3; }
.ad__slide--photo .ad__text { color: #DCE3DF; }
@media (max-width: 640px) {
  .ad__slide--photo { flex-direction: column; align-items: flex-start; justify-content: flex-end; min-height: 320px; padding: 22px 20px 34px; gap: 14px; }
  .ad__slide--photo .ad__bg img { object-position: center 85%; }
  .ad__slide--photo::before { background: linear-gradient(180deg, rgba(5, 9, 7, .1) 0%, rgba(5, 9, 7, .55) 40%, rgba(5, 9, 7, .92) 100%); }
}

/* Page banners: top and bottom of every page */
.page-ad[hidden] { display: none; }
.page-ad--top { margin-top: clamp(20px, 4vw, 32px); margin-bottom: clamp(4px, 1vw, 8px); }
.page-ad--bottom { margin-top: clamp(32px, 5vw, 48px); margin-bottom: clamp(32px, 5vw, 56px); }
.aud .page-ad--top { margin: 4px 0 clamp(20px, 3vw, 28px); }
.page-ad .ad { animation: none; }

.oneoffs { margin-top: 12px; padding: 16px 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.oneoffs__title { font-weight: 700; margin: 0 0 8px; display: flex; gap: 10px; align-items: baseline; }
.oneoffs__title span { font-weight: 500; font-size: var(--text-xs); color: var(--text-3); }
.oneoffs ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 28px; font-size: var(--text-sm); color: var(--text-2); }
.oneoffs li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--border); }
.oneoffs li b { color: var(--text); font-weight: 600; white-space: nowrap; }
@media (max-width: 700px) { .oneoffs ul { grid-template-columns: 1fr; } }

/* Email-code sign-in */
.or-rule { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; color: var(--text-3); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 650; }
.or-rule::before, .or-rule::after { content: ""; flex: 1; height: 1px; background: var(--border-strong); }
.email-signin { margin-bottom: 14px; }
.email-signin .field { gap: 8px; }
.email-signin .btn { margin-top: 4px; }
.email-signin #es-code { letter-spacing: 0.4em; font-size: var(--text-lg); font-weight: 700; text-align: center; }
.email-signin .field__err.is-on { display: block; }
.es-links { margin-top: 2px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--green); font: inherit; text-decoration: underline; cursor: pointer; }

/* Phone fixes: keep legal pages and the category chips inside the screen */
.legal > * { min-width: 0; }
.prose { overflow-wrap: anywhere; }
@media (max-width: 640px) { .prose table { display: block; overflow-x: auto; } }
.chips { min-width: 0; max-width: 100%; }
