/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; }
img, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
a { color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; }

/* ── Custom Properties ──────────────────────────────────────── */
:root {
  /* Colors */
  --bg:           #0e0e0e;
  --surface:      #161616;
  --surface-2:    #202020;
  --border:       #2a2727;
  --text:         #ede8df;
  --text-muted:   #978f85;
  --accent:       #c8a040;
  --accent-hover: #deb94e;
  --accent-dark:  #9a7a2c;
  --error:        #d95c5c;
  --success:      #56b87c;

  /* Typography */
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans:  system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing scale */
  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s6: 3rem;
  --s8: 4rem;
  --s12: 6rem;

  /* Layout */
  --r:     4px;
  --r-lg: 10px;
  --max-w:  1120px;
  --text-w:  680px;
}

/* ── Base ───────────────────────────────────────────────────── */
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  font-weight: normal;
}

h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: var(--s3); }
h3 { font-size: 1.15rem; margin-bottom: var(--s1); }

p { margin-bottom: var(--s2); }
p:last-child { margin-bottom: 0; }

a:not([class]) {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
a:not([class]):hover { color: var(--accent-hover); }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--s3);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--s4); }
}

.content-narrow {
  max-width: var(--text-w);
  margin-inline: auto;
  text-align: center;
}

.section {
  padding-block: var(--s8);
}

@media (min-width: 768px) {
  .section { padding-block: var(--s12); }
}

.section-alt { background: var(--surface); }

/* ── Utility ────────────────────────────────────────────────── */
.text-muted   { color: var(--text-muted); }
.text-accent  { color: var(--accent); }
.text-center  { text-align: center; }
.mt-4  { margin-top: var(--s4); }

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

[hidden] { display: none !important; }

/* ── Skip Link ──────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--s2);
  padding: var(--s1) var(--s2);
  background: var(--accent);
  color: #000;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--r);
  z-index: 999;
  transition: top 0.1s;
}
.skip-link:focus { top: var(--s2); }

/* ── Age Gate ───────────────────────────────────────────────── */
.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: var(--s3);
}

.age-gate__box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s4) var(--s3);
  max-width: 420px;
  width: 100%;
  text-align: center;
}

@media (min-width: 480px) {
  .age-gate__box { padding: var(--s6) var(--s4); }
}

.age-gate__title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: var(--s2);
}

.age-gate__text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--s4);
  line-height: 1.6;
}

.age-gate__notice {
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.55;
  margin-top: var(--s3);
  margin-bottom: 0;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  padding: 0.65em 1.4em;
  border: 1.5px solid transparent;
  border-radius: var(--r);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, opacity 0.15s;
  white-space: nowrap;
}

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

.btn-primary { background: var(--accent); color: #000; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #000; }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-sm  { font-size: 0.875rem; padding: 0.45em 1em; }
.btn-lg  { font-size: 1.1rem;   padding: 0.8em 2em;  }

.btn[disabled], .btn-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s2);
  padding-block: 0.85rem;
}

.nav-brand {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.nav-brand:hover { color: var(--accent-hover); }

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  list-style: none;
  padding: 0;
}

.nav-links a:not(.btn) {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s;
}
.nav-links a:not(.btn):hover { color: var(--text); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - 58px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--s12) var(--s3);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(200, 160, 64, 0.08) 0%, transparent 60%),
    var(--bg);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(200, 160, 64, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  width: 100%;
  margin-inline: auto;
}

.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s3);
}

.hero-name {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 10vw, 6rem);
  color: var(--text);
  margin-bottom: var(--s2);
  letter-spacing: -0.01em;
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-muted);
  margin-bottom: var(--s6);
  max-width: 540px;
  margin-inline: auto;
  font-style: italic;
}

.hero-actions {
  display: flex;
  gap: var(--s2);
  justify-content: center;
  flex-wrap: wrap;
}

/* ── About Section ──────────────────────────────────────────── */
.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: var(--s4);
}

.social-links {
  display: flex;
  gap: var(--s2);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--s3);
  list-style: none;
  padding: 0;
}

.social-link {
  display: inline-block;
  padding: 0.4em 1em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.social-link:hover { border-color: var(--accent); color: var(--accent); }

/* ── Steps ──────────────────────────────────────────────────── */
.section-intro {
  color: var(--text-muted);
  margin-bottom: 0;
  max-width: 540px;
  margin-inline: auto;
}

.steps {
  display: grid;
  gap: var(--s3);
  margin-top: var(--s6);
}

@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.step {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s4) var(--s3);
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(200, 160, 64, 0.12);
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: var(--s2);
}

.step-title { font-family: var(--font-serif); }

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── CTA Section ────────────────────────────────────────────── */
.cta-section {
  padding-block: var(--s12);
  text-align: center;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(200, 160, 64, 0.06) 0%, transparent 70%);
}

.cta-section p {
  color: var(--text-muted);
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: var(--s4);
}

/* ── Page Header (inner pages) ──────────────────────────────── */
.page-header {
  padding-block: var(--s8) var(--s6);
  text-align: center;
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--s6);
}

.page-header h1 { font-size: clamp(1.8rem, 5vw, 3rem); }

.page-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 540px;
  margin-inline: auto;
  margin-top: var(--s2);
  margin-bottom: 0;
}

/* ── Forms ──────────────────────────────────────────────────── */
.form-page { padding-block: var(--s8); }

@media (min-width: 768px) {
  .form-page { padding-block: var(--s12); }
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s4);
  max-width: 640px;
  margin-inline: auto;
}

@media (min-width: 640px) {
  .form-card { padding: var(--s6); }
}

.form-group { margin-bottom: var(--s3); }

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: var(--s1);
  color: var(--text);
}

.form-required { color: var(--accent); margin-left: 2px; }

.form-control {
  display: block;
  width: 100%;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 0.6em 0.85em;
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.15s;
  appearance: none;
  -webkit-appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
}

.form-control::placeholder { color: var(--text-muted); opacity: 0.65; }

.form-control[aria-invalid="true"] { border-color: var(--error); }

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23978f85' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9em center;
  padding-right: 2.4em;
  cursor: pointer;
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: var(--s1);
  display: block;
}

.form-error {
  display: block;
  font-size: 0.82rem;
  color: var(--error);
  margin-top: var(--s1);
}

.char-count-row {
  display: flex;
  justify-content: flex-end;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.char-count-row.near-limit { color: var(--accent); }
.char-count-row.at-limit   { color: var(--error);  }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--s2);
  cursor: pointer;
}

.form-check-input {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.2em;
  accent-color: var(--accent);
  cursor: pointer;
}

.form-check-label {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.form-submit-row { margin-top: var(--s4); }

.form-privacy-note {
  margin-top: var(--s3);
  padding: var(--s2) var(--s3);
  background: rgba(255, 255, 255, 0.025);
  border-left: 2px solid var(--border);
  border-radius: 0 var(--r) var(--r) 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ── Thanks Page ────────────────────────────────────────────── */
.thanks-page { padding-block: var(--s8) var(--s12); }

.thanks-icon {
  font-size: 3rem;
  margin-bottom: var(--s3);
  line-height: 1;
}

.next-steps {
  counter-reset: steps;
  list-style: none;
  padding: 0;
  margin: var(--s4) 0;
  text-align: left;
}

.next-steps li {
  counter-increment: steps;
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  margin-bottom: var(--s2);
  padding: var(--s3);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

.next-steps li::before {
  content: counter(steps);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(200, 160, 64, 0.12);
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 1rem;
}

.payment-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s4) var(--s3);
  margin-top: var(--s4);
  text-align: center;
}

@media (min-width: 480px) {
  .payment-box { padding: var(--s6) var(--s4); }
}

.payment-box h2 {
  font-size: 1.3rem;
  margin-bottom: var(--s2);
}

.payment-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--s3);
}

/* ── Legal Pages (terms, privacy) ───────────────────────────── */
.legal-page { padding-block: var(--s8); }

.legal-draft-notice {
  background: rgba(200, 160, 64, 0.07);
  border: 1px solid rgba(200, 160, 64, 0.3);
  border-radius: var(--r-lg);
  padding: var(--s3) var(--s4);
  margin-bottom: var(--s6);
  color: var(--accent);
  font-size: 0.9rem;
  line-height: 1.6;
}

.legal-draft-notice strong { font-weight: 700; }

.legal-content h2 {
  font-size: 1.25rem;
  margin-top: var(--s6);
  margin-bottom: var(--s2);
  padding-bottom: var(--s1);
  border-bottom: 1px solid var(--border);
}

.legal-content h2:first-of-type { margin-top: 0; }

.legal-content ul, .legal-content ol {
  padding-left: var(--s4);
  margin-bottom: var(--s2);
}

.legal-content li { margin-bottom: 0.4rem; }

.placeholder-tag {
  display: inline;
  background: rgba(200, 160, 64, 0.15);
  color: var(--accent);
  border-radius: 3px;
  padding: 0.1em 0.4em;
  font-size: 0.85em;
  font-family: var(--font-sans);
  font-style: normal;
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-block: var(--s6);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s3);
  text-align: center;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--accent);
  text-decoration: none;
}
.footer-brand:hover { color: var(--accent-hover); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  list-style: none;
  padding: 0;
  justify-content: center;
}

@media (min-width: 640px) {
  .footer-links { justify-content: flex-end; }
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  margin-top: var(--s3);
  padding-top: var(--s3);
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.6;
  margin: 0;
}

/* ── 404 Page ───────────────────────────────────────────────── */
.error-page {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--s8) var(--s3);
}

.error-code {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 20vw, 10rem);
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: var(--s2);
}

.error-page h1 { font-size: clamp(1.4rem, 4vw, 2rem); margin-bottom: var(--s2); }

.error-page .text-muted {
  max-width: 380px;
  margin-inline: auto;
  margin-bottom: var(--s4);
}

/* ── Extra utility classes ──────────────────────────────────── */
.text-sm { font-size: 0.9rem; }

.container-legal { max-width: 760px; }

.form-label-optional { font-weight: normal; }

.thanks-sub { margin-top: 0.5rem; }

.thanks-next-header {
  padding-top: 2rem;
  padding-bottom: 0;
  margin-bottom: 0;
}

.thanks-next-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.payment-note-sm {
  margin-top: 1rem;
  font-size: 0.8rem;
}

/* ── Divider ────────────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-block: var(--s4);
}

/* ── Language Switcher ──────────────────────────────────────── */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.lang-btn {
  background: none;
  border: none;
  padding: 0.2rem 0.4rem;
  font-size: 0.72rem;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--r);
  transition: color 0.15s, background 0.15s;
  line-height: 1;
}

.lang-btn:hover { color: var(--accent); background: rgba(200, 160, 64, 0.08); }
.lang-btn[aria-current="true"] { color: var(--accent); font-weight: 700; }

.lang-sep {
  color: var(--border);
  font-size: 0.75rem;
  user-select: none;
  line-height: 1;
}

/* ── About layout with image ────────────────────────────────── */
.about-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s6);
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .about-layout {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: var(--s8);
  }
}

.about-img {
  flex-shrink: 0;
  width: 180px;
  border-radius: var(--r-lg);
  overflow: hidden;
  align-self: center;
}

@media (min-width: 768px) {
  .about-img { width: 210px; align-self: flex-start; }
}

.about-img img,
.about-img svg { width: 100%; height: auto; display: block; }

.about-text-block { flex: 1; }

.about-text { white-space: pre-line; }

.about-text-block h2 { text-align: inherit; }

.about-text-block .social-links { justify-content: center; }

@media (min-width: 768px) {
  .about-text-block .social-links { justify-content: flex-start; }
}

/* ── Hero decoration ────────────────────────────────────────── */
.hero-deco {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}

.hero-deco img {
  width: min(600px, 90vw);
  height: auto;
  opacity: 0.55;
}

/* ── Pricing box (thanks page) ──────────────────────────────── */
.pricing-box {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.pricing-box__heading {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.pricing-box__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
}

.pricing-box__list li {
  font-size: 0.95rem;
  color: var(--text);
}

.pricing-box__list strong {
  color: var(--accent);
}
