@font-face { font-family: "Geist"; src: url("/assets/fonts/Geist-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/Geist-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/Geist-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/GeistMono-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }

:root {
  --black: #0B0B0D;
  --ink: #111114;
  --ivory: #F4EFE4;
  --gold: #C9A45C;
  --canvas: #EDEDF0;
  --surface: #FFFFFF;
  --text-2: #5F5F66;
  --on-dark-2: #B4B4BC;
  --on-dark-3: #8A8A93;
  --line: #EFEFF2;
  --line-strong: #D9D9DE;
  --field: #16161A;
  --field-line: #2A2A30;
  --warn: #F2B66B;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1240px; margin: 0 auto; padding-inline: 24px; }

/* Header + hero */
.dark { background: var(--black); color: var(--ivory); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px; }
.nav-logo img { height: 32px; width: auto; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links a:not(.btn) { color: var(--on-dark-2); }
.nav-links a:not(.btn):hover { color: var(--ivory); }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--ivory); color: var(--black); font: 600 16px/1 var(--sans); cursor: pointer; white-space: nowrap; }
.btn:hover { background: #FFFFFF; }
.btn-sm { height: auto; padding: 12px 20px; font-size: 15px; }

.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 56px; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; padding-bottom: 88px; }
.kicker { font-size: 15px; color: var(--on-dark-3); }
.hero h1 { margin: 0; font-size: clamp(52px, 7vw, 96px); line-height: 0.98; font-weight: 600; letter-spacing: -0.045em; }
.lede { margin: 0; max-width: 520px; font-size: 20px; line-height: 1.5; color: var(--on-dark-2); }
.note { margin: 0; font-size: 14px; color: var(--on-dark-3); }

.join { display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; margin-top: 8px; }
.join input[type="email"] { flex: 1 1 260px; min-width: 0; height: 56px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--field-line); background: var(--field); color: var(--ivory); font: 400 16px var(--sans); }
.join input::placeholder { color: var(--on-dark-3); }
.join input[aria-invalid="true"] { border-color: var(--warn); }
.join .btn[disabled] { opacity: 0.6; cursor: progress; }
.join-error { margin: -16px 0 0; font-size: 14px; color: var(--warn); }
.joined { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; max-width: 520px; margin-top: 8px; padding: 18px 22px; border-radius: 22px; background: var(--field); border: 1px solid var(--field-line); }
.joined strong { font-weight: 500; font-size: 16px; }
.joined .member-no { font-family: var(--mono); font-size: 15px; color: var(--on-dark-2); }

.phone { width: 320px; max-width: 100%; padding: 10px; background: var(--ink); border-radius: 56px; border: 1px solid var(--field-line); box-shadow: 0 24px 48px rgba(17, 17, 20, 0.22); }
.phone img { width: 100%; height: auto; border-radius: 46px; }
.hero-phone { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; padding-bottom: 88px; }
.hero-phone .phone { box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55); }

/* Content sections */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; padding-block: 120px; }
.split.reverse { flex-wrap: wrap-reverse; }
.split-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.split-media { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.h2 { margin: 0; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.04; font-weight: 600; letter-spacing: -0.035em; max-width: 640px; }
.body { margin: 0; max-width: 480px; font-size: 18px; line-height: 1.6; color: var(--text-2); }
.white { background: var(--surface); }

.spec { list-style: none; margin: 8px 0 0; padding: 0; max-width: 480px; border-bottom: 1px solid var(--line); }
.spec li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 16px; }
.spec li span:last-child { color: var(--text-2); }

.band { background: var(--ink); color: var(--ivory); }
.band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-block: 88px; }
.band-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.band-label { font-size: 15px; font-weight: 500; color: var(--gold); }
.band h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; font-weight: 600; letter-spacing: -0.035em; }
.band p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--on-dark-2); }

.features { max-width: 860px; padding-bottom: 120px; }
.feature { display: flex; flex-wrap: wrap; gap: 8px 32px; padding: 20px 0; border-top: 1px solid var(--line-strong); }
.feature:last-child { border-bottom: 1px solid var(--line-strong); }
.feature h3 { margin: 0; flex: 0 0 220px; font-size: 18px; font-weight: 600; }
.feature p { margin: 0; flex: 1 1 320px; min-width: 0; font-size: 17px; line-height: 1.5; color: var(--text-2); }

.security { display: flex; flex-wrap: wrap; gap: 48px; padding-block: 120px; }
.security .h2 { flex: 1 1 400px; min-width: 0; }
.cards-grid { flex: 1 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--surface); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.card h3 { margin: 0; font-size: 18px; font-weight: 600; }
.card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-2); }

.membership { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 56px; padding-block: 120px; }
.membership-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.membership h2 { margin: 0; font-size: clamp(40px, 5vw, 64px); line-height: 1.02; font-weight: 600; letter-spacing: -0.04em; }
.membership p { margin: 0; max-width: 500px; font-size: 18px; line-height: 1.6; color: var(--on-dark-2); }
.membership .btn { align-self: flex-start; margin-top: 8px; }
.member-card { flex: 0 1 440px; min-width: 0; max-width: 100%; aspect-ratio: 1.586; border-radius: 26px; background: var(--field); border: 1px solid var(--field-line); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); }
.member-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.member-card-top img { height: 56px; width: auto; }
.member-card-label { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.member-card-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.member-card-bottom span:first-child { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.member-card-bottom span:last-child { font-family: var(--mono); font-size: 18px; color: var(--on-dark-2); }

.footer { border-top: 1px solid #1C1C21; color: var(--on-dark-2); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-block: 40px 56px; font-size: 14px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; max-width: 520px; }
.footer-brand img { height: 26px; width: auto; }
.footer-brand p { margin: 0; line-height: 1.6; color: var(--on-dark-3); }
.footer nav { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.footer nav a:hover { color: var(--ivory); }

/* Sign-up confirmation */
.joined-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--black); }
.joined-page > * { width: 100%; }
.joined-main { flex: 1 1 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 64px; padding-block: 48px 96px; }
.joined-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.joined-copy h1 { margin: 0; font-size: clamp(44px, 5.5vw, 72px); line-height: 1; font-weight: 600; letter-spacing: -0.045em; }
.joined-copy .lede { max-width: 480px; }
.joined-card-wrap { flex: 0 1 460px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.joined-card-wrap .member-card { flex: none; width: 100%; }
.joined-card-wrap .member-card-bottom span:last-child { color: var(--ivory); font-size: 20px; }

/* Legal pages */
.legal { max-width: 720px; margin: 0 auto; padding: 88px 24px 120px; display: flex; flex-direction: column; gap: 36px; font-size: 17px; line-height: 1.65; }
.legal h1 { margin: 0; font-size: clamp(40px, 6vw, 56px); line-height: 1.04; font-weight: 600; letter-spacing: -0.035em; }
.legal h2 { margin: 0 0 12px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.legal p, .legal ul { margin: 0; }
.legal ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal .muted { color: var(--text-2); }

@media (max-width: 640px) {
  .nav-links { gap: 18px; }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding-top: 24px; gap: 8px; }
  .hero-copy { padding-bottom: 40px; }
  .split, .security, .membership { padding-block: 80px; }
  .feature h3 { flex-basis: 100%; }
}
