/* ============================================
   Crypto Mastery — Design Tokens
   Palette: ink navy + brass/gold + candle green/red
   Type: Fraunces (display) / Manrope (body) / JetBrains Mono (data)
   ============================================ */
:root {
  --ink: #0a0f1c;
  --ink-2: #111a2e;
  --ink-3: #16213a;
  --paper: #f2ede2;
  --paper-dim: #c9c3b4;
  --brass: #c9a24a;
  --brass-bright: #e6c777;
  --green: #3fae72;
  --red: #c1584f;
  --line: rgba(242, 237, 226, 0.12);

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --container: 1180px;
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

::selection { background: var(--brass); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--brass);
  color: var(--ink);
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  font-weight: 500;
}
.ticker__track {
  display: inline-flex;
  gap: 36px;
  padding: 7px 0;
  animation: ticker-scroll 32s linear infinite;
}
.ticker__track span { padding-right: 36px; border-right: 1px solid rgba(10,15,28,0.25); }
.ticker__track span:last-child { border-right: none; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 15, 28, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--paper);
}
.logo__text em { color: var(--brass); font-style: normal; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color .18s ease;
}
.btn--primary {
  background: linear-gradient(180deg, var(--brass-bright), var(--brass));
  color: var(--ink);
  box-shadow: 0 8px 24px -8px rgba(201,162,74,0.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(201,162,74,0.7); }
.btn--large { padding: 17px 36px; font-size: 16px; }
.btn--ghost {
  border-color: var(--brass);
  color: var(--brass);
  background: transparent;
}
.btn--ghost:hover { background: rgba(201,162,74,0.1); }
.btn--small { padding: 9px 18px; font-size: 13px; }
.btn--text { padding: 13px 4px; color: var(--paper-dim); font-weight: 600; }
.btn--text:hover { color: var(--brass-bright); }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 14px;
}
.eyebrow--center { text-align: center; }
.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin: 0 0 20px;
  color: var(--paper);
}
.section__title--center { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }

.section { padding: 96px 0; }
.section + .section { border-top: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 88px 28px 100px;
  position: relative;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.12;
  margin: 0 0 22px;
  animation: rise 0.8s ease both;
}
.hero__title-em { color: var(--brass-bright); font-style: italic; }
.hero__sub {
  font-size: 17.5px;
  color: var(--paper-dim);
  max-width: 480px;
  margin: 0 0 32px;
  animation: rise 0.8s ease 0.1s both;
}
.hero__cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: rise 0.8s ease 0.2s both;
}
.hero__proof {
  display: flex;
  gap: 40px;
  animation: rise 0.8s ease 0.3s both;
}
.proof__item { display: flex; flex-direction: column; }
.proof__num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--brass-bright);
  font-weight: 600;
}
.proof__label { font-size: 12.5px; color: var(--paper-dim); max-width: 110px; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Book cover photo + trust card (signature element) ---------- */
.hero__book {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  animation: rise 1s ease 0.15s both;
}
.book-photo-wrap {
  perspective: 1200px;
  display: flex;
  justify-content: center;
}
.book-photo {
  width: 300px;
  height: auto;
  transform: rotateY(-6deg) rotateX(1deg);
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: drop-shadow(18px 28px 40px rgba(0,0,0,0.55));
}
.hero__book:hover .book-photo {
  transform: rotateY(-2deg) rotateX(0deg);
}

.trust-card {
  width: 100%;
  max-width: 340px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  padding: 18px 22px;
  text-align: center;
}
.trust-card__line {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--paper-dim);
  line-height: 1.5;
}
.trust-card__line strong { color: var(--paper); }
.trust-card__link {
  color: var(--brass-bright);
  font-weight: 700;
  border-bottom: 1px solid rgba(230,199,119,0.4);
}
.trust-card__link:hover { border-color: var(--brass-bright); }
.trust-card__cta {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--brass);
  font-weight: 600;
}
.trust-card__cta a { color: var(--brass-bright); }

/* ---------- Steps ---------- */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 56px;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 28px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  color: var(--brass);
  opacity: 0.85;
  line-height: 1;
}
.step__body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin: 4px 0 10px;
  color: var(--paper);
}
.step__body p { color: var(--paper-dim); max-width: 620px; margin: 0 0 6px; }
.email-link { color: var(--brass-bright); font-weight: 600; border-bottom: 1px solid rgba(230,199,119,0.4); }
.email-link:hover { border-color: var(--brass-bright); }

.exchange-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.exchange-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 240px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.exchange-card:hover {
  border-color: var(--brass);
  background: var(--ink-3);
  transform: translateY(-2px);
}
.exchange-card__name { font-weight: 700; font-family: var(--font-body); }
.exchange-card__cta { font-family: var(--font-mono); font-size: 12.5px; color: var(--brass); }
.step__note {
  font-size: 12.5px;
  color: rgba(242,237,226,0.4);
  font-style: italic;
  margin-top: 14px !important;
}

/* ---------- Bonus ---------- */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.bonus-card {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.bonus-card:hover { transform: translateY(-4px); border-color: rgba(201,162,74,0.4); }
.bonus-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--brass);
  color: var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  margin-bottom: 20px;
}
.bonus-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  margin: 0 0 10px;
  color: var(--paper);
}
.bonus-card p { color: var(--paper-dim); margin: 0; font-size: 15px; }

/* ---------- About ---------- */
.about__inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
}
.portrait-frame {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--ink-3), var(--ink));
  border: 1px solid var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 0 6px rgba(201,162,74,0.08);
}
.portrait-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: saturate(0.92) contrast(1.03);
}
.about__lede { font-size: 18px; color: var(--paper); margin: 0 0 18px; }
.about p { color: var(--paper-dim); }
.about strong { color: var(--paper); }
.about em { color: var(--brass-bright); font-style: italic; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 52px auto 0; display: flex; flex-direction: column; gap: 4px; }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--paper);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--brass);
  transition: transform 0.2s ease;
  margin-left: 20px;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--paper-dim); margin: 14px 0 0; max-width: 640px; }

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center;
  background: radial-gradient(120% 180% at 50% 0%, rgba(201,162,74,0.08), transparent 60%);
}
.final-cta__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.25;
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--paper);
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer__note { color: var(--paper-dim); font-size: 13.5px; max-width: 480px; margin: 0; }
.footer__copy { color: rgba(242,237,226,0.35); font-size: 12.5px; margin: 0; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 56px; }
  .hero__book { order: -1; margin-bottom: 20px; }
  .book-photo { width: 240px; }
  .book__title { font-size: 24px; }
  .about__inner { grid-template-columns: 1fr; text-align: left; }
  .portrait-frame { width: 140px; height: 140px; }
  .portrait-initials { font-size: 38px; }
  .bonus-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .hero { padding: 44px 20px 64px; gap: 40px; }
  .hero__proof { gap: 24px; flex-wrap: wrap; }
  .step { grid-template-columns: 48px 1fr; gap: 16px; padding: 28px 0; }
  .step__num { font-size: 28px; }
  .exchange-card { min-width: 0; width: 100%; }
  .exchange-row { flex-direction: column; }
  .bonus-grid { grid-template-columns: 1fr; }
  .book-photo { width: 190px; }
  .book__cover { padding: 24px 20px; }
  .book__title { font-size: 20px; }
  .book__chart { height: 46px; margin-bottom: 14px; }
  .final-cta__title { padding: 0 4px; }
  .br-desktop { display: none; }
}
