:root {
  color-scheme: dark;
  --bg-base: #0D100F;
  --bg-raised: #191D1B;
  --bg-overlay: #232925;
  --text-primary: #F2F1EC;
  --text-secondary: #A4B5B5;
  --text-tertiary: #CBD3D0;
  --accent: #97CD97;
  --on-accent: #0D100F;
  --olive: #7B9669;
  --error: #E2963A;
  --border: rgba(123, 150, 105, 0.20);
  --field-border: rgba(164, 181, 181, 0.55);
  --font: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --photo-overlay: rgba(13, 16, 15, 0.8);
  --header-h: 64px;
  --gutter: 16px;
  --band: clamp(72px, 11vw, 148px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg-base);
  color: var(--text-primary);
  font: 400 16px/1.6 var(--font);
}

img, video { display: block; max-width: 100%; height: auto; }

a { color: var(--accent); text-underline-offset: 3px; }

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

/* The legal content brings a global "ul { list-style-type }" rule; keep it off the site's own lists. */
.site-header ul, .site-footer ul { list-style: none !important; }

h1 {
  font-size: clamp(2.75rem, 8.4vw, 5.75rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.028em;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 500;
  border-radius: 8px;
}
.skip-link:focus { top: 8px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  margin-bottom: 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.lede {
  font-size: clamp(1.0625rem, 1.7vw, 1.3125rem);
  font-weight: 300;
  line-height: 1.55;
  color: var(--text-tertiary);
}

h2 + .lede, h1 + .lede { margin-top: 24px; }
.lede + .lede { margin-top: 16px; }

.small { font-size: 0.875rem; color: var(--text-secondary); }

.cap::first-letter { text-transform: uppercase; }

.arrow-link {
  display: inline-block;
  padding: 8px 0;
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: var(--on-accent);
  font: 500 1rem/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: #AEDAAE; border-color: #AEDAAE; }
.btn[disabled] { opacity: 0.55; cursor: progress; }

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--field-border);
}
.btn-ghost:hover { background: rgba(242, 241, 236, 0.08); border-color: var(--text-primary); }

.btn-sm { min-height: 40px; padding: 8px 14px; font-size: 0.875rem; white-space: nowrap; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 16, 15, 0.9);
  border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--header-h);
}

.brand { display: block; margin-right: auto; padding: 8px 8px 8px 0; }
.brand img { width: 84px; }

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -6px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--text-primary);
  cursor: pointer;
}
.menu-btn svg { width: 24px; height: 24px; }

.menu-btn[aria-expanded="true"] .bar-mid { opacity: 0; }
.menu-btn[aria-expanded="true"] .bar-top { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bar-bot { transform: translateY(-5px) rotate(-45deg); }
.menu-btn line { transform-origin: 12px 12px; transition: transform 0.15s ease, opacity 0.15s ease; }

#site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 8px var(--gutter) 16px;
  background: var(--bg-base);
  border-bottom: 1px solid var(--border);
}
#site-nav.is-open { display: block; }

#site-nav a {
  display: block;
  padding: 12px 0;
  color: var(--text-primary);
  font-weight: 500;
  text-decoration: none;
}
#site-nav a[aria-current="page"] { color: var(--accent); }
#site-nav a:hover { color: var(--accent); }

@media (min-width: 768px) {
  .menu-btn { display: none; }
  #site-nav,
  #site-nav.is-open {
    display: block;
    position: static;
    padding: 0;
    margin-right: 16px;
    background: none;
    border: 0;
  }
  #site-nav ul { display: flex; gap: 8px; }
  #site-nav a { padding: 10px 12px; font-size: 0.9375rem; }
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 56px 0 40px;
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-lockup { width: 132px; aspect-ratio: 1; object-fit: cover; margin: -12px 0 -8px -24px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 20px;
  margin-top: 20px;
}
.footer-links a, .footer-mail { display: inline-block; padding: 8px 0; }
.footer-mail { overflow-wrap: anywhere; }
.footer-legal { margin-top: 12px; }

/* Bands */
.band { position: relative; padding-block: var(--band); }
.band-raised { background: var(--bg-raised); border-block: 1px solid var(--border); }
.band-topo { overflow: hidden; }
.band-topo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/topo.svg") center / 1400px auto;
  opacity: 0.55;
  pointer-events: none;
}
.band-topo > * { position: relative; }

.narrow { max-width: 800px; margin-inline: auto; }
.centered .btn-row { justify-content: center; }
.link-gap { margin-top: 24px; }
.band-flush-top { padding-top: 0; }
.hero-flush-bottom { padding-bottom: 40px; }
.centered { text-align: center; }

.split { display: grid; gap: 56px; align-items: center; }
.split-text { min-width: 0; }
.split-visual { display: flex; justify-content: center; min-width: 0; }

@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(56px, 7vw, 112px); }
  .split-flip .split-visual { order: -1; }
}

/* Lists */
.ticks { margin-top: 28px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 24px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 12px;
  height: 2px;
  background: var(--olive);
}

.feature-list { margin-top: 28px; display: grid; gap: 0; }
.feature-list li { padding: 16px 0; border-top: 1px solid var(--border); color: var(--text-tertiary); }
.feature-list li:last-child { border-bottom: 1px solid var(--border); }
.feature-list strong { color: var(--text-primary); font-weight: 700; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips li {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-raised);
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}
.band-raised .chips li { background: var(--bg-base); }

.after-list { margin-top: 24px; }

/* Cards and columns */
.card-grid { display: grid; gap: 16px; margin-top: 56px; }
.card {
  padding: 28px 24px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.band-raised .card { background: var(--bg-base); }
.card p { margin-top: 8px; color: var(--text-secondary); }

@media (min-width: 640px) { .card-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .card-grid-4 { grid-template-columns: repeat(4, 1fr); } }

.pillars { display: grid; gap: 48px; }
.pillar svg { width: 40px; height: 40px; color: var(--olive); margin-bottom: 20px; }
.pillar h3 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); font-weight: 900; letter-spacing: -0.02em; }
.pillar p { margin-top: 12px; color: var(--text-secondary); }

.steps { display: grid; gap: 40px; margin-top: 56px; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 24px; border-top: 1px solid var(--border); }
.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 16px;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--olive);
}
.steps p { margin-top: 8px; color: var(--text-secondary); }

@media (min-width: 768px) {
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

/* Phone frame */
.phone {
  --w: min(66vw, 320px);
  flex: none;
  width: var(--w);
  padding: calc(var(--w) * 0.024);
  background: #050606;
  border: 1px solid rgba(242, 241, 236, 0.2);
  border-radius: calc(var(--w) * 0.135);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.phone-screen {
  position: relative;
  aspect-ratio: 886 / 1920;
  overflow: hidden;
  background: #0E1010;
  border-radius: calc(var(--w) * 0.11);
}

.phone-screen img,
.phone-screen video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status-bar {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.6%;
  padding: 0 9%;
  font-size: calc(var(--w) * 0.04);
  font-weight: 500;
  line-height: 1;
  color: var(--text-primary);
}
.status-bar svg { display: block; height: calc(var(--w) * 0.032); width: auto; }

.phone-sm { --w: min(42vw, 176px); }
.phone-xs { --w: min(28vw, 132px); }

.duo { display: flex; justify-content: center; align-items: flex-start; gap: clamp(12px, 3vw, 40px); margin-top: 56px; }
.duo .phone { --w: min(43vw, 300px); }

.visuals { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; }
.stack { display: flex; justify-content: center; gap: 10px; }

@media (min-width: 1100px) {
  .visuals { flex-direction: row; justify-content: center; align-items: center; gap: 24px; }
  .stack { flex-direction: column; gap: 16px; }
  .phone-sm { --w: 150px; }
  .phone-xs { --w: 108px; }
}

/* Pending-screenshot cards */
.text-card {
  width: 100%;
  max-width: 440px;
  padding: 32px 28px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 20px;
}
.band-raised .text-card { background: var(--bg-base); }
.text-card-title {
  margin-bottom: 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.text-card li {
  padding: 14px 0;
  border-top: 1px solid var(--border);
  font-size: 1.0625rem;
  font-weight: 500;
}
.text-card .small { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }

/* Photo slots. The overlay is dark enough that text passes AA even over a pure white photo. The topo
   lines and green tint mark an empty slot and sit above the overlay; they go away once an <img> is in. */
.photo {
  position: absolute;
  inset: 0;
  z-index: 0; /* Keeps the overlay and lines below the section's text and phone. */
  overflow: hidden;
  background: var(--bg-base);
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--photo-overlay);
}
.photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    url("/assets/topo.svg") center / 1400px auto,
    linear-gradient(160deg, rgba(88, 120, 66, 0.38) 0%, rgba(40, 58, 34, 0.18) 46%, transparent 100%);
}
.photo:has(img)::before { display: none; }

.band-photo > .wrap { position: relative; }

.photo-plain::after { background: rgba(13, 16, 15, 0.2); }
.photo-band { position: relative; height: clamp(200px, 34vw, 480px); }

.hero .photo::after {
  background: linear-gradient(180deg, var(--photo-overlay) 0%, var(--photo-overlay) 65%, var(--bg-base) 100%);
}
.hero .photo::before {
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}

.clubs-head { position: relative; padding-block: var(--band) clamp(56px, 7vw, 96px); }
.clubs-head > .wrap { position: relative; }
.clubs-head .photo::after {
  background: linear-gradient(180deg, var(--photo-overlay) 0%, var(--photo-overlay) 65%, var(--bg-raised) 100%);
}
.clubs-head .photo::before {
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
.head-text { max-width: 800px; }
.clubs-body { padding-bottom: var(--band); }
.clubs-body .card-grid { margin-top: 0; }

/* Heroes */
.hero { position: relative; display: flex; align-items: center; padding-block: clamp(48px, 8vw, 96px); }
.hero > .wrap { position: relative; }

.hero-home { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); }
.hero-home h1 { max-width: 9em; }
.hero-home .lede { max-width: 36em; }
.hero-home .split-visual { order: 1; }

.hero-page { padding-block: clamp(72px, 11vw, 136px); }
.hero-page h1 { max-width: 15em; }
.hero-page .lede { max-width: 40em; }
.hero-photo { min-height: min(72vh, 640px); }

.cta-band { position: relative; padding-block: clamp(96px, 14vw, 184px); text-align: center; }
.cta-band > .wrap { position: relative; }

/* In-page menu */
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(13, 16, 15, 0.94);
  border-bottom: 1px solid var(--border);
}
.subnav ul {
  position: relative;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: 4px;
}
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: block;
  padding: 10px 12px;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 6px;
}
.subnav a:hover { color: var(--text-primary); }
.subnav a[aria-current] { color: var(--accent); }
.subnav :focus-visible { outline-offset: -2px; }
html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 64px); }

/* About */
.wont-list { display: grid; gap: 0; margin-top: 40px; }
.wont-list li {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 500;
  line-height: 1.4;
}
.wont-list li:last-child { border-bottom: 1px solid var(--border); }

.team { display: grid; gap: 16px; margin-top: 40px; }
.team strong { display: block; font-size: 1.25rem; font-weight: 700; }
.team span { color: var(--text-secondary); }
@media (min-width: 640px) { .team { grid-template-columns: repeat(2, 1fr); } }
.team-note { margin-top: 32px; overflow-wrap: anywhere; }

/* FAQ */
.faq { margin-top: 40px; border-bottom: 1px solid var(--border); }
.faq details { border-top: 1px solid var(--border); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h2,
.faq summary h3 { font-size: clamp(1.0625rem, 1.8vw, 1.25rem); font-weight: 500; letter-spacing: 0; line-height: 1.35; }
.faq summary:hover h2,
.faq summary:hover h3 { color: var(--accent); }
.faq summary svg { flex: none; width: 20px; height: 20px; color: var(--text-secondary); transition: transform 0.15s ease; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { max-width: 44em; padding-bottom: 24px; color: var(--text-secondary); }
.faq-more { margin-top: 24px; }

/* Beta: tabs and forms */
.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.tabs button {
  min-height: 44px;
  padding: 8px 20px;
  background: none;
  border: 0;
  border-radius: 8px;
  color: var(--text-secondary);
  font: 500 0.9375rem/1.2 var(--font);
  cursor: pointer;
}
.tabs button:hover { color: var(--text-primary); }
.tabs button[aria-selected="true"] { background: var(--accent); color: var(--on-accent); }

.form-panel { margin-top: 40px; max-width: 640px; }
.form-panel[hidden] { display: none; }

.field { margin: 24px 0 0; border: 0; padding: 0; min-width: 0; }
.field:first-child { margin-top: 0; }
.field > label:not(.choice),
.field > legend { display: block; padding: 0; margin-bottom: 8px; font-weight: 500; }

.req { color: var(--text-secondary); font-weight: 400; }

input[type="text"],
input[type="email"],
select,
textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  background: var(--bg-raised);
  border: 1px solid var(--field-border);
  border-radius: 8px;
  color: var(--text-primary);
  font: 400 1rem/1.4 var(--font);
}
textarea { min-height: 128px; resize: vertical; }
[aria-invalid="true"]:not(fieldset) { border-color: var(--error); }

.choice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  cursor: pointer;
}
.choice input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.choices-inline { display: flex; gap: 24px; }

.field-error { color: var(--error); font-size: 0.875rem; }
.field-error:empty { display: none; }
.field-note { margin-top: 8px; font-size: 0.875rem; color: var(--text-secondary); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.turnstile-slot { min-height: 65px; margin-top: 24px; }

.form-actions { margin-top: 24px; }
.form-actions .btn { width: 100%; }
@media (min-width: 640px) { .form-actions .btn { width: auto; } }

.form-status { margin-top: 16px; color: var(--error); overflow-wrap: anywhere; }
.form-status:empty { display: none; }
.form-status a { color: var(--error); }

.form-success {
  padding: 28px 24px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 1.125rem;
  font-weight: 500;
}

/* 404 */
.not-found { flex: 1; display: flex; align-items: center; padding-block: var(--band); }
.not-found p { margin-top: 16px; }

/* Legal: Termly's HTML assumes dark text, so it always sits on a white panel. */
.legal-main { padding: 16px; flex: 1; }

.legal-panel {
  color-scheme: light;
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 20px;
  background: #FFFFFF;
  color: #1B201D;
  border-radius: 8px;
  overflow-wrap: break-word;
  min-height: 100vh; /* The content loads after the page; this keeps the footer from jumping. */
}
.legal-panel h1, .legal-panel h2, .legal-panel h3 {
  margin: revert;
  font-size: revert;
  font-weight: revert;
  line-height: revert;
  letter-spacing: normal;
}
.legal-panel p, .legal-panel ul, .legal-panel ol { margin: revert; }
.legal-panel ul, .legal-panel ol { padding: revert; list-style: revert; }
.legal-panel a { color: revert; }
.legal-panel [id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.legal-panel table { display: block; max-width: 100%; overflow-x: auto; }
.legal-status { margin: 0; }

@media (min-width: 640px) {
  .legal-main { padding: 32px 24px; }
  .legal-panel { padding: 40px; }
}

@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; } }

/* Scroll reveal */
.reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-waiting { opacity: 0; transform: translateY(20px); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .btn, .menu-btn line, .faq summary svg { transition: none; }
}
