/* GOLDAI - La Forja de Oro. Charcoal + champagne gold desk system. */
:root {
  --charcoal: #0b1014;
  --graphite: #151a20;
  --graphite-raised: #1b222a;
  --gold: #c9a34e;
  --gold-bright: #d9b565;
  --gold-deep: #8c681f;
  --paper: #fffdf8;
  --paper-dim: rgba(255, 253, 248, 0.64);
  --paper-faint: rgba(255, 253, 248, 0.4);
  --line: rgba(217, 212, 200, 0.14);
  --line-strong: rgba(217, 212, 200, 0.3);
  --red: #b64242;
}

* { box-sizing: border-box; }
html { background: var(--charcoal); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--charcoal);
  color: var(--paper);
  font-family: -apple-system, "SF Pro Text", Inter, "Segoe UI", Roboto, system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 22px; }
h1, h2, h3 { letter-spacing: -0.015em; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.9rem); font-weight: 750; }
h2 { font-size: clamp(1.55rem, 3.3vw, 2.25rem); font-weight: 680; }
h3 { font-size: 1.1rem; font-weight: 650; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* top bar */
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 24px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 16, 20, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.wordmark { display: flex; align-items: baseline; gap: 10px; }
.wordmark b { color: var(--gold); font-size: 17px; letter-spacing: 0.06em; }
.wordmark span { font-size: 11px; color: var(--paper-faint); }
.lang { display: flex; border: 1px solid var(--line-strong); border-radius: 6px; overflow: hidden; }
.lang button {
  background: none; border: none; color: var(--paper-faint); font-size: 11px;
  letter-spacing: 0.1em; padding: 7px 12px; cursor: pointer; font-weight: 600;
}
.lang button.on { background: var(--gold); color: var(--charcoal); }
.lang button:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

/* hero */
.hero { position: relative; overflow: hidden; min-height: 640px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,16,20,0.97) 0%, rgba(11,16,20,0.93) 44%, rgba(11,16,20,0.55) 74%, rgba(11,16,20,0.3) 100%);
}
/* On wide screens the hero content hugs the left edge instead of centering,
   so the text never rides over Polly and the monitors. */
.hero .wrap { max-width: 1400px; padding-left: clamp(22px, 5vw, 72px); }
.hero-inner { position: relative; padding-top: 84px; padding-bottom: 84px; max-width: 660px; }
.eyebrow { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 0; }
.hero h1 { margin-top: 20px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.sub { margin-top: 20px; font-size: 16.5px; color: var(--paper-dim); max-width: 54ch; }
.no-line { margin-top: 13px; font-size: 13px; color: var(--paper-faint); letter-spacing: 0.02em; }
.ctas { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.btn {
  display: inline-block; border-radius: 8px; padding: 14px 26px; font-size: 15px; font-weight: 600;
  text-decoration: none; transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:active { transform: scale(0.98); }
.btn-gold { background: var(--gold); color: var(--charcoal); }
.btn-gold:hover { background: var(--gold-bright); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--paper); background: rgba(11,16,20,0.4); }
.btn-ghost:hover { border-color: var(--gold-deep); color: var(--gold); }
.btn.big { padding: 16px 34px; font-size: 16px; }
.micro { margin-top: 24px; font-size: 11.5px; line-height: 1.6; color: var(--paper-faint); max-width: 58ch; }

/* sections */
.section { padding: 88px 0; }
.section + .section { border-top: 1px solid var(--line); }
.body { margin-top: 18px; font-size: 15.5px; color: var(--paper-dim); max-width: 62ch; }
.split { display: grid; grid-template-columns: 7fr 5fr; gap: 52px; align-items: center; }
.split .media { margin: 0; }
.media { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.media video, .media img { display: block; width: 100%; height: auto; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* proof board */
.board {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--graphite); padding: 26px 22px;
}
.counter { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.counter .num { font-size: 2.1rem; color: var(--paper-faint); font-weight: 650; }
.counter .cap { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper-faint); text-align: center; }
.board-state { margin-top: 18px; font-size: 14px; color: var(--gold); max-width: 60ch; }
.board-legal { margin-top: 8px; font-size: 12px; color: var(--paper-faint); max-width: 62ch; }

/* signal frame */
.signal-frame {
  margin-top: 32px; border: 1px dashed var(--line-strong); border-radius: 12px;
  background: var(--graphite); padding: 48px 28px; text-align: center;
}
.signal-empty { font-size: 14px; color: var(--paper-faint); }

/* ladder */
.ladder { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 38px; }
.tier {
  border: 1px solid var(--line); border-radius: 12px; background: var(--graphite);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 18px;
}
.tier.vip { border-color: rgba(201, 163, 78, 0.5); background: var(--graphite-raised); }
.tier h3 { color: var(--gold); }
.tier ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.tier li { font-size: 14.5px; color: var(--paper-dim); padding-left: 20px; position: relative; }
.tier li::before { content: "\25C6"; position: absolute; left: 0; top: 1px; font-size: 9px; color: var(--gold-deep); }
.price { font-size: 15px; color: var(--paper); }
.price .num { font-size: 1.9rem; font-weight: 700; color: var(--gold); }
.price i { font-style: normal; color: var(--paper-faint); }
.tier .btn { align-self: flex-start; }
.ladder-note { margin-top: 20px; font-size: 13px; color: var(--paper-faint); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.step-card {
  border: 1px solid var(--line); border-radius: 12px; background: var(--graphite);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 10px;
}
.step-num {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--gold-deep); color: var(--gold); font-weight: 700; font-size: 15px;
}
.step-card p { font-size: 14px; color: var(--paper-dim); }

/* first 7 days */
.days { margin-top: 36px; max-width: 720px; }
.day { display: grid; grid-template-columns: 110px 1fr; gap: 22px; padding: 18px 0; border-top: 1px solid var(--line); }
.day:first-child { border-top: none; }
.day-label { color: var(--gold); font-weight: 700; font-size: 14px; letter-spacing: 0.04em; }
.day p { font-size: 15px; color: var(--paper-dim); }

/* media aspect boxes to avoid layout shift */
.ar-4-3 { aspect-ratio: 4 / 3; }
.ar-1-1 { aspect-ratio: 1 / 1; }
.media.ar-4-3 video, .media.ar-1-1 video { width: 100%; height: 100%; object-fit: cover; }

/* story */
.story .story-body { max-width: 58ch; font-size: 16.5px; line-height: 1.75; }
.story h2 { color: var(--gold); }

/* faq */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 20px 0; font-size: 16.5px; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 20px; font-weight: 400; flex-shrink: 0; }
.faq details[open] summary::after { content: "-"; }
.faq summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.faq .a { padding: 0 0 22px; color: var(--paper-dim); font-size: 15px; max-width: 62ch; }
.faq h2 { margin-bottom: 26px; }

/* final cta */
.final-cta .center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.polly-final { width: min(520px, 100%); height: auto; aspect-ratio: 1108 / 828; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); }

/* footer */
footer { border-top: 1px solid var(--line-strong); padding: 52px 0 68px; }
.foot-brand b { color: var(--gold); font-size: 15px; letter-spacing: 0.06em; }
.entity { margin-top: 8px; font-size: 13px; color: var(--paper-dim); max-width: 66ch; }
.foot-links { display: flex; gap: 26px; margin: 26px 0 30px; flex-wrap: wrap; }
.foot-links a { color: var(--paper); font-size: 13.5px; text-decoration: none; border-bottom: 1px solid var(--gold-deep); padding-bottom: 2px; }
.foot-links a:hover { color: var(--gold); }
.legal { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } }
.disclosure { font-size: 12px; line-height: 1.8; color: var(--paper-faint); max-width: 78ch; }
.risk-block {
  margin-top: 18px; padding: 16px 20px; border-left: 2px solid var(--red);
  background: var(--graphite); font-size: 12px; color: var(--paper-dim); max-width: 74ch;
}
.fine { margin-top: 28px; font-size: 12px; color: var(--paper-faint); }

@media (max-width: 520px) {
  .wordmark span { display: none; }
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 30px; }
  .ladder { grid-template-columns: 1fr; }
  .board { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .section { padding: 64px 0; }
  .hero { min-height: 560px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- experiment section ---------- */
.experiment .exp-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.exp-chip {
  border: 1px solid var(--gold-deep); color: var(--gold-bright); border-radius: 999px;
  padding: 7px 16px; font-size: 13px; letter-spacing: 0.02em;
}

/* ---------- lead forms (VIP waitlist + newsletter) ---------- */
.lead-form { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; max-width: 640px; }
.lead-form input[type="email"], .lead-form input[type="text"] {
  flex: 1 1 220px; background: var(--graphite-raised); border: 1px solid rgba(255, 253, 248, 0.16);
  border-radius: 8px; padding: 13px 16px; color: var(--paper); font-size: 15px; min-width: 0;
}
.lead-form input::placeholder { color: var(--paper-faint); }
.lead-form input:focus { outline: 2px solid var(--gold-deep); border-color: var(--gold-deep); }
.lead-form button { flex: 0 0 auto; }
.lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { margin-top: 12px; font-size: 14px; color: var(--gold-bright); min-height: 20px; }
.vipform .micro a { color: var(--paper-dim); }
.newsletter { border-top: 1px solid rgba(255, 253, 248, 0.08); }

/* ---------- legal pages ---------- */
.legal-page { max-width: 760px; margin: 0 auto; padding: 60px 22px 90px; }
.legal-page h1 { font-size: 30px; margin-bottom: 8px; }
.legal-page h2 { font-size: 19px; margin: 34px 0 8px; color: var(--gold-bright); }
.legal-page p, .legal-page li { color: var(--paper-dim); font-size: 15px; line-height: 1.65; }
.legal-page .updated { color: var(--paper-faint); font-size: 13px; margin-bottom: 26px; }
.legal-page a { color: var(--gold-bright); }
.legal-page .back { display: inline-block; margin-top: 40px; }
