/* ============================================================
   THE 30K FOCUS PROTOCOL — style.css
   Minimal · elegant · premium. White + warm gold.
   ============================================================ */

/* ---------- Self-hosted fonts (no third-party requests) ---------- */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 340 600;
  font-display: swap;
  src: url("../assets/fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 340 600;
  font-display: swap;
  src: url("../assets/fonts/fraunces-latin-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #16130e;
  --ink-soft: #4b453a;
  --ink-faint: #8a8272;
  --gold: #b8860b;
  --gold-bright: #d4a017;
  --gold-soft: #e9d9ae;
  --gold-wash: #faf6ec;
  --paper: #ffffff;
  --paper-warm: #fdfcf8;
  --line: #eee9dc;
  --radius: 20px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1120px;
  --max-text: 660px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; }

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 380;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: 1.35rem; font-weight: 500; }

p { margin: 0 0 1.2em; }

.lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--ink-soft);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.serif-i { font-family: var(--font-display); font-style: italic; }

/* ---------- Layout ---------- */

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: clamp(5rem, 10vw, 8.5rem) 0; }

.section-warm { background: var(--paper-warm); }

.center { text-align: center; }

.narrow {
  max-width: var(--max-text);
  margin-left: auto;
  margin-right: auto;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.split.flip { grid-template-columns: 0.9fr 1.1fr; }

@media (max-width: 860px) {
  .split, .split.flip { grid-template-columns: 1fr; }
  .split .art, .split.flip .art { order: -1; max-width: 420px; margin: 0 auto; }
}

.hr-gold {
  border: none;
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 2.2rem auto;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.site-header.scrolled { border-bottom-color: var(--line); }

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand svg { display: block; }

.brand-name {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
}

@media (max-width: 560px) { .site-header .brand-name { display: none; } }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 1.05rem 2.4rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-gold {
  background: linear-gradient(135deg, #caa14a, var(--gold) 55%, #9c7108);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(184, 134, 11, 0.55);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -10px rgba(184, 134, 11, 0.65);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: #d9d2c0;
}

.btn-ghost:hover { background: var(--gold-wash); }

.btn-small { padding: 0.6rem 1.4rem; font-size: 0.88rem; }

.btn-note {
  margin-top: 0.9rem;
  font-size: 0.82rem;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(4.5rem, 9vw, 8rem);
  overflow: hidden;
}

.hero .split { align-items: center; }

.hero-art { position: relative; }

.hero h1 .gold-word {
  color: var(--gold);
  font-style: italic;
  font-weight: 430;
}

.hero-tagline {
  margin-top: 1.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}

/* ---------- Hero SVG animation ---------- */

.glow-pulse {
  transform-origin: 50% 50%;
  transform-box: fill-box;
  animation: pulseGlow 4.5s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50%      { opacity: 0.95; transform: scale(1.07); }
}

.ray {
  transform-origin: 50% 50%;
  transform-box: fill-box;
  animation: rayBreathe 4.5s ease-in-out infinite;
}

@keyframes rayBreathe {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 0.9; }
}

.crown-shine { animation: crownShine 3.2s ease-in-out infinite; }

@keyframes crownShine {
  0%, 100% { opacity: 0.15; }
  45%, 55% { opacity: 0.85; }
}

.sparkle { animation: sparkleBlink 2.6s ease-in-out infinite; }
.sparkle.s2 { animation-delay: 0.9s; }
.sparkle.s3 { animation-delay: 1.7s; }

@keyframes sparkleBlink {
  0%, 100% { opacity: 0; transform: scale(0.6); }
  50%      { opacity: 1; transform: scale(1); }
}

.sparkle, .sparkle.s2, .sparkle.s3 {
  transform-origin: 50% 50%;
  transform-box: fill-box;
}

@media (prefers-reduced-motion: reduce) {
  .glow-pulse, .ray, .crown-shine, .sparkle { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Benefit cards ---------- */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-top: 3.5rem;
  text-align: left;
}

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

@media (max-width: 620px) {
  .benefits-grid { grid-template-columns: 1fr; }
}

.benefit {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
}

.benefit svg { margin-bottom: 1.1rem; }

.benefit h3 { margin-bottom: 0.4rem; }

.benefit p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- Who it's for ---------- */

.for-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-top: 3rem;
  text-align: left;
}

@media (max-width: 720px) { .for-cols { grid-template-columns: 1fr; } }

.for-card {
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
}

.for-card.yes { background: var(--gold-wash); border: 1px solid var(--gold-soft); }
.for-card.no  { background: var(--paper); border: 1px solid var(--line); }

.for-card h3 { display: flex; align-items: center; gap: 10px; }

.for-card ul { margin: 1rem 0 0; padding: 0; list-style: none; }

.for-card li {
  padding: 0.55rem 0 0.55rem 1.7rem;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.for-card.yes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.for-card.no li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--ink-faint);
}

/* ---------- Preview / inside ---------- */

.movements {
  margin: 3rem auto 0;
  max-width: 560px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}

.movement {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.15rem 1.6rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.02rem;
}

.movement:last-child { border-bottom: none; }

.movement .num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  min-width: 2rem;
  font-size: 1.1rem;
}

.movement.locked span:not(.num):not(.lock) {
  filter: blur(5px);
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
  color: var(--ink-faint);
}

.movement.locked .lock {
  margin-left: auto;
  filter: none;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.inside-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-top: 3.2rem;
  text-align: left;
}

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

@media (max-width: 620px) {
  .inside-list { grid-template-columns: 1fr; }
}

.inside-item {
  padding: 1.6rem 1.5rem;
  border-radius: var(--radius);
  background: var(--paper-warm);
  border: 1px solid var(--line);
}

.inside-item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.08rem;
  margin-bottom: 0.35rem;
}

.inside-item span { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- Quote band ---------- */

.quote-band {
  background: var(--ink);
  color: #f6f1e4;
  text-align: center;
}

.quote-band blockquote {
  margin: 0 auto;
  max-width: 760px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 340;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  line-height: 1.4;
}

.quote-band cite {
  display: block;
  margin-top: 1.6rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

/* ---------- Honesty note ---------- */

.honesty {
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  background: var(--gold-wash);
  padding: 2.6rem clamp(1.6rem, 4vw, 3rem);
  text-align: center;
}

.honesty p { color: var(--ink-soft); font-size: 0.98rem; }
.honesty p:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */

.faq { max-width: 720px; margin: 3rem auto 0; text-align: left; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.4rem 0;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 460;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-family: var(--font-body);
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 300;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq details p { color: var(--ink-soft); padding-bottom: 1rem; margin: 0; }

/* ---------- Final CTA ---------- */

.final-cta { position: relative; }

.final-cta .art { max-width: 300px; margin: 0 auto 2rem; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 2.5rem;
  font-size: 0.85rem;
  color: var(--ink-faint);
  background: var(--paper-warm);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2.2rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
}

.footer-nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-nav a:hover { color: var(--gold); }

.footer-legal { max-width: 760px; line-height: 1.65; }

.footer-legal p { margin-bottom: 0.6em; }

/* ---------- Thank-you page ---------- */

.ty-hero { padding: clamp(4rem, 9vw, 7rem) 0 2rem; }

.steps {
  max-width: 620px;
  margin: 3rem auto 0;
  text-align: left;
  display: grid;
  gap: 1.4rem;
}

.step-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.9rem;
  background: var(--paper);
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
}

.step-card.gold { background: var(--gold-wash); border-color: var(--gold-soft); }

.step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
  padding-top: 0.2rem;
}

.step-card h3 { margin-bottom: 0.4rem; }

.step-card p { font-size: 0.95rem; color: var(--ink-soft); }

@media (max-width: 560px) {
  .step-card { flex-direction: column; gap: 0.7rem; padding: 1.7rem 1.5rem; }
  .step-card .btn { width: 100%; padding-left: 1rem; padding-right: 1rem; }
}

.btn-whatsapp {
  background: #128c50;
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(18, 140, 80, 0.55);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -10px rgba(18, 140, 80, 0.6);
}

/* ---------- Legal pages ---------- */

.legal-page { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }

.legal-page .wrap { max-width: 760px; }

.legal-page h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); margin-bottom: 1.5rem; }

.legal-page h2 { font-size: 1.4rem; margin-top: 2.4rem; }

.legal-page p, .legal-page li { color: var(--ink-soft); font-size: 0.97rem; }

.placeholder {
  background: #fff7dd;
  border-radius: 4px;
  padding: 0 4px;
  font-style: italic;
}
