:root {
  color-scheme: dark;
  --bg: #090a0c;
  --panel: #14161a;
  --panel-soft: #1d2026;
  --text: #f4f0ea;
  --muted: #b8b1a8;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #d7b56d;
  --accent-strong: #f0cf86;
  --wine: #6f1d3b;
  --teal: #1f7a74;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 20% 18%, rgba(111, 29, 59, 0.28), transparent 32rem),
    linear-gradient(135deg, #090a0c 0%, #15171b 54%, #101615 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  min-height: 100vh;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
}

.brand,
.nav-links,
.hero-actions,
.age-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent-strong);
  font-size: 0.82rem;
  letter-spacing: 0;
}

.nav-links {
  gap: 24px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a:hover,
.topbar-action:hover {
  color: var(--text);
}

.topbar-action {
  color: var(--accent-strong);
  font-weight: 700;
}

.topbar-auth,
.topbar-form {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-form {
  margin: 0;
}

.muted-action {
  color: var(--muted);
}

.link-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.link-button:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(340px, 1.06fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 130px);
  margin: 0 auto;
  padding: 38px 0 86px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.7rem, 8vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 590px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.7;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button-primary {
  background: var(--accent);
  color: #17120a;
}

.button-primary:hover {
  background: var(--accent-strong);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.media-stage {
  display: grid;
  gap: 18px;
  min-height: 520px;
}

.video-card,
.mini-video {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.video-card::before,
.mini-video::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), transparent 36%),
    linear-gradient(155deg, rgba(31, 122, 116, 0.78), rgba(111, 29, 59, 0.74) 48%, rgba(215, 181, 109, 0.72));
}

.video-card-large {
  display: flex;
  align-items: end;
  justify-content: space-between;
  min-height: 340px;
  padding: 28px;
}

.video-card-large > * {
  position: relative;
  z-index: 1;
}

.play-symbol {
  align-self: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.56);
  background: rgba(0, 0, 0, 0.24);
}

.play-symbol::after {
  display: block;
  width: 0;
  height: 0;
  margin: 24px 0 0 29px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid #fff;
  content: "";
}

.video-label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  font-weight: 700;
}

.video-card strong {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
}

.video-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mini-video {
  min-height: 162px;
  padding: 18px;
}

.mini-video-alt::before {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(155deg, rgba(215, 181, 109, 0.76), rgba(31, 122, 116, 0.78));
}

.mini-video span,
.mini-video p {
  position: relative;
  z-index: 1;
}

.mini-video span {
  display: block;
  width: 44px;
  height: 28px;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.mini-video p {
  margin: 64px 0 0;
  font-weight: 800;
}

.content-band {
  padding: 76px max(16px, calc((100% - 1180px) / 2));
  background: #f4f0ea;
  color: #151515;
}

.section-heading {
  max-width: 670px;
}

.section-heading .eyebrow {
  color: var(--wine);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.feature-card {
  min-height: 188px;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  background: #fff;
}

.feature-card h3 {
  margin: 0 0 14px;
  font-size: 1.18rem;
}

.feature-card p {
  margin: 0;
  color: #5d5a55;
  line-height: 1.65;
}

.security-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 38px;
}

.security-strip p {
  margin: 0;
  color: var(--muted);
}

.security-strip a {
  color: var(--accent-strong);
  font-weight: 800;
}

.age-gate {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(12px);
}

.age-gate.is-visible {
  display: grid;
}

.age-gate-panel {
  width: min(520px, 100%);
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #121418;
  box-shadow: var(--shadow);
}

.age-gate-panel h2 {
  margin: 0;
  font-size: clamp(1.9rem, 5vw, 3rem);
  letter-spacing: 0;
}

.age-gate-panel p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.age-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.checkout-placeholder {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 20px;
}

.checkout-panel,
.auth-panel {
  width: min(720px, 100%);
  padding: clamp(28px, 6vw, 56px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(20, 22, 26, 0.92);
  box-shadow: var(--shadow);
}

.checkout-brand {
  margin-bottom: 42px;
}

.checkout-panel h1 {
  font-size: clamp(2.2rem, 6vw, 4.8rem);
}

.checkout-panel p:not(.eyebrow) {
  max-width: 590px;
  color: var(--muted);
  line-height: 1.7;
}

.auth-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 20px;
}

.auth-panel {
  width: min(560px, 100%);
}

.auth-panel h1 {
  margin: 0;
  font-size: clamp(2.3rem, 7vw, 4.5rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.auth-copy,
.auth-switch {
  color: var(--muted);
  line-height: 1.7;
}

.auth-switch a {
  color: var(--accent-strong);
  font-weight: 800;
}

.auth-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.auth-form input {
  width: 100%;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  padding: 0 14px;
}

.auth-form input:focus {
  outline: 2px solid rgba(240, 207, 134, 0.5);
  outline-offset: 2px;
}

.form-error {
  padding: 12px 14px;
  border: 1px solid rgba(240, 207, 134, 0.32);
  border-radius: 6px;
  background: rgba(111, 29, 59, 0.34);
  color: #fff1d1;
  line-height: 1.5;
}

.dashboard {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 86px;
}

.dashboard-hero {
  max-width: 820px;
}

.dashboard-hero h1 {
  margin: 0;
}

.dashboard-hero p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.7;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.member-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.member-card span {
  display: block;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.member-card strong {
  display: block;
  margin-top: 16px;
  font-size: 1.7rem;
}

.member-card p {
  color: var(--muted);
  line-height: 1.65;
}

body.age-locked {
  overflow: hidden;
}

@media (max-width: 840px) {
  .topbar {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 26px;
  }

  .media-stage {
    min-height: 0;
  }

  .feature-grid,
  .member-grid,
  .video-stack {
    grid-template-columns: 1fr;
  }

  .security-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .topbar-action {
    font-size: 0.92rem;
  }

  .topbar-auth,
  .topbar-form {
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }

  .button {
    width: 100%;
  }

  .video-card-large {
    align-items: flex-start;
    flex-direction: column;
    min-height: 300px;
  }
}
