/* FutureOps Pickleball — design tokens + components. Mobile-first; system fonts only (CSP: style/font 'self'). */
:root {
  color-scheme: dark;
  /* Colour */
  --bg: #04150f;
  --bg-raise: #0a2219;
  --surface: #0e2c21;
  --surface-2: #133829;
  --line: #21483a;
  --line-strong: #2f6150;
  --text: #f3faf6;
  --text-2: #b8d2c7;
  --text-3: #86a99b;
  --brand: #0b3d2e;
  --accent: #d6ff5c;          /* ball lime */
  --accent-press: #c3ef45;
  --accent-ink: #13270a;
  --gold: #f2c45a;            /* Verified Pro credential */
  --success: #5fe0a0;
  --success-bg: rgba(95, 224, 160, .12);
  --warning: #ffcf6b;
  --warning-bg: rgba(255, 207, 107, .12);
  --error: #ff9b8f;
  --error-bg: rgba(255, 155, 143, .12);
  --info-bg: rgba(214, 255, 92, .1);
  /* Type */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-xs: .75rem; --fs-sm: .875rem; --fs-md: 1rem; --fs-lg: 1.125rem; --fs-xl: 1.375rem; --fs-2xl: 1.75rem;
  /* Space (4pt) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s8: 32px; --s10: 40px;
  /* Shape + depth */
  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-pill: 999px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .28);
  --tap: 48px;
  --tabbar-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; min-height: 100vh; font-family: var(--font); font-size: var(--fs-md); line-height: 1.5;
  color: var(--text); background: var(--bg);
  padding-bottom: calc(var(--tabbar-h) + var(--safe-b) + var(--s6));
}
h1, h2, h3, p { margin: 0; }
h2 { font-size: var(--fs-xl); line-height: 1.2; letter-spacing: -.01em; }
h3 { font-size: var(--fs-md); }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.skip-link { position: absolute; left: var(--s3); top: -48px; z-index: 50; padding: var(--s2) var(--s3); background: var(--accent); color: var(--accent-ink); border-radius: var(--r-sm); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: var(--s3); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── App bar ── */
.app-bar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  padding: calc(var(--s3) + env(safe-area-inset-top, 0px)) var(--s4) var(--s3);
  background: rgba(4, 21, 15, .92); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(140%) blur(8px); backdrop-filter: saturate(140%) blur(8px);
}
.brand { display: flex; align-items: center; gap: var(--s2); min-width: 0; }
.brand-mark { width: 28px; height: 28px; flex: none; }
.brand-mark circle { fill: var(--accent); }
.brand-mark .hole { fill: var(--brand); }
.brand-name { font-size: var(--fs-md); font-weight: 800; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pilot-chip { flex: none; padding: 3px 10px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); color: var(--text-2); font-size: var(--fs-xs); font-weight: 600; }

main { width: min(100%, 640px); margin: 0 auto; padding: var(--s4); outline: none; }
.eyebrow { color: var(--accent); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: var(--tap); padding: 0 var(--s5); border-radius: var(--r-md); border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: var(--fs-md); cursor: pointer; text-decoration: none;
  transition: background-color .15s ease, transform .08s ease, opacity .15s ease;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .55; cursor: progress; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-press); }
.btn-secondary { background: var(--surface-2); color: var(--text); border-color: var(--line-strong); }
.btn-secondary:hover { background: #18432f; }
.btn-ghost { background: transparent; color: var(--text-2); border-color: var(--line); }
.btn-ghost:hover { color: var(--text); border-color: var(--line-strong); }
.btn-sm { min-height: 44px; padding: 0 var(--s4); font-size: var(--fs-sm); }

/* ── Forms ── */
form { margin: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s5); }
.field { display: grid; gap: 6px; }
.field-label { color: var(--text-2); font-size: var(--fs-sm); font-weight: 600; }
.optional { color: var(--text-3); font-weight: 500; }
input[type="email"], input[type="text"], input[type="number"], input[type="datetime-local"], select {
  width: 100%; min-height: var(--tap); padding: 0 var(--s4); border-radius: var(--r-md);
  border: 1px solid var(--line-strong); background: var(--bg-raise); color: var(--text); font: inherit; font-size: 16px;
}
input::placeholder { color: var(--text-3); }
input:focus-visible, select:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.checkbox { display: flex; align-items: flex-start; gap: var(--s3); min-height: var(--tap); padding: var(--s2) 0; color: var(--text-2); font-size: var(--fs-sm); cursor: pointer; }
.checkbox input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--accent); }
.field-pair { display: grid; grid-template-columns: 1fr; gap: var(--s3); }

/* ── Notices + toast ── */
.notice { margin-top: var(--s4); padding: var(--s3) var(--s4); border-radius: var(--r-md); font-size: var(--fs-sm); }
.notice-error { background: var(--error-bg); color: var(--error); border: 1px solid rgba(255, 155, 143, .3); }
.toast {
  position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + var(--safe-b) + var(--s4)); z-index: 40;
  width: min(calc(100% - 2 * var(--s4)), 480px); transform: translateX(-50%);
  padding: var(--s3) var(--s4); border-radius: var(--r-md); box-shadow: var(--shadow);
  background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--text); font-weight: 600; font-size: var(--fs-sm);
  animation: toast-in .2s ease-out;
}
.toast.is-success { border-color: rgba(95, 224, 160, .45); }
.toast.is-success::before { content: "✓ "; color: var(--success); }
.toast.is-error { border-color: rgba(255, 155, 143, .45); color: var(--error); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ── Sign-in ── */
.auth { display: grid; gap: var(--s5); padding-top: var(--s4); }
.auth-hero { display: grid; gap: var(--s3); padding: var(--s2) 0 var(--s2); }
.auth-title { font-size: clamp(1.75rem, 7.5vw, 2.4rem); line-height: 1.08; letter-spacing: -.02em; }
.auth-lede { color: var(--text-2); }
.auth-form { display: grid; gap: var(--s4); }
.otp-sent { color: var(--text-2); overflow-wrap: anywhere; }
.otp-sent strong { color: var(--text); }
.otp-input { font-size: 22px !important; letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }

/* ── Home ── */
.home { display: grid; gap: var(--s2); padding: var(--s2) 0 var(--s5); }
.home-title { font-size: var(--fs-2xl); letter-spacing: -.02em; }
.next-session { margin-top: var(--s2); }
.next-card {
  display: grid; gap: var(--s3); padding: var(--s5); border-radius: var(--r-lg);
  background: linear-gradient(160deg, #15513b 0%, #0d3426 60%); border: 1px solid var(--line-strong);
}
.next-card .next-title { font-size: var(--fs-lg); font-weight: 800; overflow-wrap: anywhere; }
.next-card .next-meta { color: var(--text-2); font-size: var(--fs-sm); }
.next-card .btn { justify-self: start; }
.next-empty { padding: var(--s5); border-radius: var(--r-lg); border: 1px dashed var(--line-strong); color: var(--text-2); display: grid; gap: var(--s3); }
.next-empty .btn { justify-self: start; }

/* ── Player Passport ── */
.passport-section { display: grid; gap: var(--s4); padding-bottom: var(--s6); }
.passport-card {
  position: relative; overflow: hidden; border-radius: 22px; padding: var(--s5) var(--s5) var(--s4);
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(214, 255, 92, .16) 0%, rgba(214, 255, 92, 0) 55%),
    linear-gradient(165deg, #134a37 0%, #0c3024 52%, #081f17 100%);
  border: 1px solid #2c6a54; box-shadow: var(--shadow);
}
.passport-card::after { /* court line */
  content: ""; position: absolute; left: 0; right: 0; top: 46px; height: 1px; background: rgba(243, 250, 246, .12);
}
.passport-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s6); }
.passport-label { color: var(--accent); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.passport-mark { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); box-shadow: inset 0 0 0 5px rgba(11, 61, 46, .25); }
.passport-identity { display: flex; align-items: center; gap: var(--s4); }
.avatar {
  flex: none; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #2a7a5d, #0f3a2b 75%); color: var(--accent);
  font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em;
  box-shadow: 0 0 0 3px var(--accent), 0 0 0 7px rgba(214, 255, 92, .14);
}
.identity-text { min-width: 0; display: grid; gap: 6px; }
.passport-name {
  font-size: clamp(1.4rem, 6.4vw, 1.9rem); font-weight: 800; line-height: 1.08; letter-spacing: -.02em;
  overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.passport-affiliation { color: var(--text-2); font-size: var(--fs-sm); overflow-wrap: anywhere; }
.passport-affiliation:empty { display: none; }
.chip-row { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: 2px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 700; line-height: 1.4; border: 1px solid var(--line-strong); background: rgba(4, 21, 15, .35); color: var(--text); }
.chip-key { color: var(--text-3); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.chip-pro { border-color: rgba(242, 196, 90, .55); color: var(--gold); background: rgba(242, 196, 90, .1); }
.chip-pro svg { width: 14px; height: 14px; fill: var(--gold); }
.chip-pro svg .tick { fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.passport-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: var(--s6) 0 0; border-radius: var(--r-md); overflow: hidden; background: rgba(243, 250, 246, .1); }
.stat { padding: var(--s3) var(--s4); background: rgba(4, 21, 15, .45); min-width: 0; }
.stat dt { color: var(--text-3); font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.stat dd { margin: 2px 0 0; font-size: var(--fs-lg); font-weight: 800; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat-rating dd { color: var(--accent); }
.passport-note { margin-top: var(--s3); color: var(--text-3); font-size: var(--fs-xs); }

.rename-form { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: var(--s3); }

/* ── Sections + lists ── */
.section { display: grid; gap: var(--s4); padding: var(--s6) 0; border-top: 1px solid var(--line); }
.section-head { display: grid; gap: var(--s1); }
.section-sub { color: var(--text-3); font-size: var(--fs-sm); }
.list { display: grid; gap: var(--s3); }
.empty { padding: var(--s5); border-radius: var(--r-lg); border: 1px dashed var(--line-strong); color: var(--text-2); font-size: var(--fs-sm); }
.empty strong { display: block; color: var(--text); font-size: var(--fs-md); margin-bottom: 2px; }
.load-error { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s4); border-radius: var(--r-lg); background: var(--error-bg); color: var(--error); font-size: var(--fs-sm); }

.community-row, .session-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s3);
  padding: var(--s4); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
}
.row-main { min-width: 0; display: grid; gap: 4px; }
.row-title { font-weight: 700; overflow-wrap: anywhere; }
.row-meta { color: var(--text-2); font-size: var(--fs-sm); overflow-wrap: anywhere; }
.row-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.community-row.is-member { border-color: var(--line-strong); }
.community-mono { display: none; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 700; border: 1px solid transparent; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.pill-open { color: var(--accent); background: var(--info-bg); border-color: rgba(214, 255, 92, .28); }
.pill-live { color: var(--success); background: var(--success-bg); border-color: rgba(95, 224, 160, .3); }
.pill-neutral { color: var(--text-2); background: rgba(184, 210, 199, .08); border-color: var(--line); }
.pill-closed { color: var(--warning); background: var(--warning-bg); border-color: rgba(255, 207, 107, .3); }
.pill-done { color: var(--success); background: var(--success-bg); border-color: rgba(95, 224, 160, .3); }
.pill-member { color: var(--text); background: rgba(243, 250, 246, .06); border-color: var(--line-strong); }
.pill-member::before { background: var(--accent); }

.session-row .btn, .community-row .btn { min-width: 104px; }
.session-row.is-checked-in { border-color: rgba(95, 224, 160, .45); background: linear-gradient(0deg, var(--success-bg), var(--success-bg)), var(--surface); }
.checked-badge { display: inline-flex; align-items: center; gap: 6px; color: var(--success); font-weight: 800; font-size: var(--fs-sm); white-space: nowrap; }
.row-flash { animation: flash .6s ease-out; }
@keyframes flash { from { box-shadow: 0 0 0 3px rgba(95, 224, 160, .6); } to { box-shadow: 0 0 0 0 rgba(95, 224, 160, 0); } }

/* ── Organizer ── */
.organizer { display: grid; gap: var(--s3); margin-top: var(--s4); padding: var(--s4); border-radius: var(--r-lg); background: var(--bg-raise); border: 1px solid var(--line); }
.organizer-head { display: grid; gap: var(--s1); }
.organizer-head h2 { font-size: var(--fs-lg); }
.organizer-tag { justify-self: start; padding: 2px 8px; border-radius: var(--r-sm); background: rgba(242, 196, 90, .14); color: var(--gold); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.organizer-form { display: grid; gap: var(--s3); background: var(--surface); }
.organizer-form h3 { font-size: var(--fs-md); }

/* ── Account ── */
.account { padding: var(--s6) 0 var(--s2); border-top: 1px solid var(--line); }

/* ── Skeletons ── */
.skeleton { border-radius: var(--r-lg); background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.4s ease-in-out infinite; }
.skeleton-card { height: 132px; }
.skeleton-row { height: 76px; }
.skeleton-row.tall { height: 96px; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* ── Tab bar ── */
.tab-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(4, 1fr);
  height: calc(var(--tabbar-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  background: rgba(6, 26, 19, .97); border-top: 1px solid var(--line);
}
.tab { display: grid; place-items: center; align-content: center; gap: 2px; color: var(--text-3); text-decoration: none; font-size: 11px; font-weight: 700; min-height: var(--tap); -webkit-tap-highlight-color: transparent; }
.tab svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tab[aria-current="true"] { color: var(--accent); }
.tab[aria-current="true"]::after { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--accent); margin-top: 2px; }

/* ── Larger screens ── */
@media (min-width: 420px) {
  .passport-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .field-pair { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 760px) {
  main { padding: var(--s6) var(--s6) var(--s8); }
  .brand-name { font-size: var(--fs-lg); }
  .avatar { width: 104px; height: 104px; font-size: 2.3rem; }
  .passport-card { padding: var(--s6) var(--s6) var(--s5); }
}
@media (min-width: 1024px) {
  /* Desktop: the same four destinations as a centred floating bar. */
  .tab-bar { left: 50%; right: auto; bottom: var(--s5); width: 520px; height: 56px; padding: 0 var(--s2); transform: translateX(-50%);
    border: 1px solid var(--line-strong); border-radius: var(--r-pill); box-shadow: var(--shadow); align-items: center; }
  .tab { display: flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 44px; margin: 0 2px; border-radius: var(--r-pill); font-size: var(--fs-sm); }
  .tab svg { width: 18px; height: 18px; }
  .tab[aria-current="true"]::after { display: none; }
  .tab[aria-current="true"] { background: rgba(214, 255, 92, .12); }
  .toast { bottom: 96px; }
}

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

/* Grid tracks never grow past the viewport (long names, datetime inputs at 320px). */
.section, .list, .organizer, .organizer-form, .auth, .auth-form, .passport-section, .field, .field-pair { grid-template-columns: minmax(0, 1fr); min-width: 0; }
input, select { min-width: 0; max-width: 100%; }

/* ── Public landing (signed-out) ── */
.landing { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s10); padding-top: var(--s4); }
.hero { display: grid; gap: var(--s4); padding: var(--s6) 0 var(--s2); }
.hero-title { font-size: clamp(2rem, 9vw, 3.1rem); line-height: 1.04; letter-spacing: -.03em; }
.hero-lede { color: var(--text-2); font-size: var(--fs-lg); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s2); }
.hero-actions .btn { min-width: 140px; }
.hero-note { color: var(--text-3); font-size: var(--fs-sm); }
.spotlight { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
.spotlight-copy { display: grid; gap: var(--s2); }
.spotlight-copy p:not(.eyebrow) { color: var(--text-2); }
.passport-card.is-preview .passport-name { color: var(--text); }
.preview-tag { padding: 2px 8px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); color: var(--text-3); font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.features { display: grid; gap: var(--s4); }
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
.feature { display: grid; gap: 6px; align-content: start; padding: var(--s4); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.feature svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 2px; }
.feature h3 { font-size: var(--fs-md); }
.feature p { color: var(--text-2); font-size: var(--fs-sm); }
.audiences { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
.audience { padding: var(--s5); border-radius: var(--r-lg); background: var(--bg-raise); border: 1px solid var(--line); display: grid; gap: var(--s3); }
.audience h2 { font-size: var(--fs-lg); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); color: var(--text-2); }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.steps { display: grid; gap: var(--s4); }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.step-list li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: var(--s3); align-items: start; }
.step-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; }
.step-list h3 { font-size: var(--fs-md); }
.step-list p { color: var(--text-2); font-size: var(--fs-sm); }
.later { padding: var(--s5); border-radius: var(--r-lg); border: 1px dashed var(--line-strong); display: grid; gap: var(--s3); }
.later-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); }
.later-head h2 { font-size: var(--fs-lg); }
.later-tag { padding: 2px 8px; border-radius: var(--r-sm); background: rgba(184, 210, 199, .1); color: var(--text-2); font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.later-list { margin: 0; padding-left: 1.1em; display: grid; gap: var(--s2); color: var(--text-2); font-size: var(--fs-sm); }
.later-list strong { color: var(--text); }
#get-started { scroll-margin-top: 72px; padding: var(--s6) 0 0; border-top: 1px solid var(--line); }
.app-signin { min-height: 40px; }
.site-footer { width: min(100%, 640px); margin: 0 auto; padding: var(--s6) var(--s4) var(--s4); border-top: 1px solid var(--line); color: var(--text-3); font-size: var(--fs-sm); display: grid; gap: 2px; }
.footer-brand { color: var(--text-2); font-weight: 800; }
body.signed-out { padding-bottom: var(--s6); }
@media (min-width: 760px) {
  .spotlight { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .audiences { grid-template-columns: 1fr 1fr; }
  .landing { gap: var(--s10); }
}
@media (min-width: 1024px) { main, .site-footer { width: min(100%, 880px); } #signed-in-view { display: block; max-width: 640px; margin: 0 auto; } }

body:not(.signed-out) .site-footer { width: min(100%, 640px); }
