/* Tradence — Early Bird funnel page
   Values taken from the design reference (Main.dc.html). */

/* Fonts: self-hosted (no requests to Google). Subset to Latin; open licence (OFL). */
@font-face { font-family: 'Playfair Display'; src: url('fonts/playfair-display.woff2') format('woff2'); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('fonts/playfair-display-italic.woff2') format('woff2'); font-weight: 600 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Libre Franklin'; src: url('fonts/libre-franklin.woff2') format('woff2'); font-weight: 400 800; font-style: normal; font-display: swap; }

:root {
  --navy-950: #010c1d;   /* page background */
  --navy-900: #07182d;   /* panels, FAQ band */
  --navy-800: #0d2a4d;   /* card gradient start */
  --navy-700: #123764;   /* featured price card gradient start */
  --line: #1c2e45;       /* borders, dividers */
  --line-input: #2c4260;

  --gold: #cba86b;
  --gold-light: #e3c88e;
  --gold-pale: #f3e0b0;
  --gold-deep: #a8864a;
  --gold-tint: rgba(203, 168, 107, 0.14);

  --ink: #eceef2;        /* primary text */
  --ink-soft: #c3c7d1;   /* body copy */
  --ink-muted: #9aa2b4;  /* fine print */

  --grad-gold: linear-gradient(135deg, var(--gold-pale), var(--gold) 55%, var(--gold-deep));
  --grad-card: linear-gradient(160deg, var(--navy-800), var(--navy-900));

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Libre Franklin', system-ui, sans-serif;

  --container: 1200px;
  --gutter: 24px;
  --pill: 999px;
}

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

html { -webkit-text-size-adjust: 100%; }

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

img { max-width: 100%; display: block; }

a { color: var(--gold-light); }
a:hover { color: var(--gold-pale); }

:focus-visible { outline: 2px solid var(--gold-pale); outline-offset: 3px; }

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

.page { position: relative; overflow: hidden; }

/* Background glows */
.glow { position: absolute; border-radius: 50%; pointer-events: none; }
.glow--gold {
  top: -200px; right: -200px; width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(203, 168, 107, 0.28), transparent 65%);
}
.glow--blue {
  top: 500px; left: -300px; width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(32, 86, 170, 0.30), transparent 65%);
}

.container {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Shared type ---------- */
.display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
}
.display em { font-style: italic; color: var(--gold-light); }

.eyebrow {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.copy { margin: 0; color: var(--ink-soft); }
.fine { font-size: 13px; color: var(--ink-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--pill);
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn--gold {
  min-height: 58px;
  padding: 0 38px;
  background: var(--grad-gold);
  color: var(--navy-950);
  font-weight: 800;
  font-size: 18px;
  border: 0;
  box-shadow: 0 10px 34px rgba(203, 168, 107, 0.4);
}
.btn--gold:hover {
  color: var(--navy-950);
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(203, 168, 107, 0.5);
}
.btn--outline {
  min-height: 48px;
  padding: 0 26px;
  border: 1.5px solid var(--gold);
  background: transparent;
  color: var(--gold-pale);
  font-weight: 700;
}
.btn--outline:hover { background: var(--gold-tint); color: var(--gold-pale); }
.btn--dark {
  min-height: 58px;
  padding: 0 38px;
  background: var(--navy-950);
  color: var(--gold-pale);
  font-weight: 800;
  font-size: 18px;
}
.btn--dark:hover { color: var(--gold-pale); transform: translateY(-1px); }
.btn--block { display: flex; width: 100%; min-height: 60px; padding: 0 24px; }

/* Pulsing dot + note */
.dot {
  width: 9px; height: 9px; flex: none;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
  animation: pulse 1.6s ease-in-out infinite;
}
.price-note {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--gold-pale); font-weight: 700;
}
.price-note .dot { margin-top: calc(0.8em - 4.5px); } /* centre on the first line */

/* ---------- Header ---------- */
.site-header {
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px;
}
.site-header__logo img { height: 62px; width: auto; }

/* ---------- Hero ---------- */
.hero {
  display: flex; flex-wrap: wrap; gap: 56px; align-items: center;
  padding-top: 56px; padding-bottom: 96px;
}
.hero__main { flex: 1 1 520px; display: flex; flex-direction: column; gap: 28px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  padding: 8px 18px;
  border-radius: var(--pill);
  background: var(--gold-tint);
  border: 1px solid rgba(203, 168, 107, 0.5);
  color: var(--gold-pale);
  font-weight: 700; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.hero__title {
  font-size: clamp(46px, 7vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.hero__lede { max-width: 560px; font-size: 20px; }
.price-float__cta { margin-top: 4px; }
.hero__fine { font-size: 14px; color: var(--ink-muted); }

.price-float {
  flex: 1 1 380px; max-width: 460px; margin: 16px auto 0;
  position: relative;
  padding: 48px 36px 36px;
  border-radius: 24px;
  background: linear-gradient(170deg, #0b2442, var(--navy-950) 70%);
  border: 2px solid var(--gold);
  box-shadow:
    0 0 0 6px rgba(203, 168, 107, 0.08),
    0 0 60px rgba(203, 168, 107, 0.35),
    0 30px 100px rgba(203, 168, 107, 0.2);
  display: flex; flex-direction: column; gap: 16px;
  animation: float 5s ease-in-out infinite;
}
.price-float .plan__label { color: var(--ink-muted); font-size: 15px; letter-spacing: 0.06em; text-transform: none; font-weight: 600; }
.price-float .plan__price { font-size: clamp(56px, 9vw, 72px); color: var(--ink); }
.price-float .plan__was { font-size: 22px; }
.price-float .plan__list { margin: 2px 0 4px; }

/* ---------- Ticker ---------- */
.ticker {
  position: relative;
  background: var(--gold); color: var(--navy-950);
  padding: 16px 0;
  overflow: hidden;
}
.ticker__track {
  display: flex; width: max-content;
  font-weight: 800; font-size: 18px;
  letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap;
}
.ticker__track.is-looping { animation: ticker 30s linear infinite; }
.ticker__track span { padding-right: 40px; }

/* ---------- How it works ---------- */
.steps { display: flex; flex-direction: column; gap: 48px; padding-top: 112px; padding-bottom: 96px; }
.steps__title {
  font-size: clamp(36px, 5.5vw, 56px);
  line-height: 1.08; max-width: 820px; letter-spacing: -0.01em;
}
.steps__grid { display: flex; flex-wrap: wrap; gap: 24px; margin: 0; padding: 0; list-style: none; }
.step {
  flex: 1 1 300px; /* three across on desktop, stacked on phones */
  padding: 36px; border-radius: 22px;
  background: var(--grad-card);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
}
.step__num {
  font-family: var(--font-display); font-size: 72px; font-weight: 700;
  line-height: 1; color: var(--gold);
}
.step h3 { margin: 0; font-size: 22px; }
.step__list {
  list-style: none; margin: 4px 0 0; padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
}
.step__list li {
  position: relative; padding-left: 22px;
  color: var(--ink); line-height: 1.5;
}
.step__list li::before {
  content: ""; position: absolute; left: 2px; top: 0.55em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
}

/* Eyebrow + heading (+ intro) grouped above a section's content */
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 820px; }

/* ---------- What's inside ---------- */
.inside { display: flex; flex-direction: column; gap: 40px; padding-bottom: 112px; }
.inside__title {
  font-size: clamp(32px, 4.8vw, 48px);
  line-height: 1.1; letter-spacing: -0.01em;
}
.inside__grid { display: flex; flex-wrap: wrap; gap: 24px; margin: 0; padding: 0; list-style: none; }
.inside__item {
  flex: 1 1 392px;
  padding: 32px 36px; border-radius: 22px;
  background: var(--grad-card);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  display: flex; flex-direction: column; gap: 10px;
}
.inside__item h3 { margin: 0; font-size: 21px; }
.inside__note { margin: 0; font-size: 15px; color: var(--ink-muted); font-style: italic; }

/* ---------- Footer social links ---------- */
.social {
  position: relative;
  display: flex; justify-content: center; align-items: center; gap: 12px;
  margin-top: 48px;
  font-weight: 700; font-size: 15px;
  color: var(--ink-muted);
}
.social a { color: var(--gold-light); text-decoration: none; padding: 6px 4px; }
.social a:hover { color: var(--gold-pale); text-decoration: underline; }
.social + .disclaimer { margin-top: 16px; }

/* ---------- Footer legal ---------- */
.legal {
  position: relative;
  max-width: 680px; margin: 20px auto 0; padding: 0 24px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-muted); text-align: center;
}
.legal p { margin: 0; }
.legal p a { color: var(--ink-soft); text-underline-offset: 3px; }
.legal p a:hover { color: var(--gold-pale); }
.legal__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; }
.legal__links a, .linklike {
  color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px;
  background: none; border: 0; padding: 4px 0; font: inherit; cursor: pointer;
}
.legal__links a:hover, .linklike:hover { color: var(--gold-pale); }
.legal + .disclaimer { margin-top: 16px; }

/* ---------- Phone buy bar ---------- */
.buybar { display: none; }

/* ---------- Founder ---------- */
.founder {
  display: flex; flex-wrap: wrap; gap: 64px; align-items: center;
  padding-top: 24px; padding-bottom: 112px;
}
.founder__photo { flex: 1 1 320px; display: flex; justify-content: center; }
.founder__ring {
  padding: 10px; border-radius: 50%;
  background: conic-gradient(from 200deg, var(--gold-pale), var(--gold), #1d5fb8, var(--gold), var(--gold-pale));
  box-shadow: 0 0 80px rgba(203, 168, 107, 0.3);
}
.founder__ring img {
  width: 340px; height: auto; aspect-ratio: 1; object-fit: cover;
  border-radius: 50%; border: 6px solid var(--navy-950);
}
.founder__body { flex: 2 1 460px; display: flex; flex-direction: column; gap: 20px; }
.founder__title { font-size: clamp(34px, 4.6vw, 46px); line-height: 1.1; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.chips li {
  padding: 10px 18px; border-radius: var(--pill);
  border: 1px solid var(--gold);
  color: var(--gold-pale); font-weight: 700; font-size: 15px;
}

/* ---------- Pricing ---------- */
.pricing { display: flex; flex-direction: column; gap: 44px; padding-bottom: 112px; }
.pricing__intro { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.pricing__title { font-size: clamp(36px, 5.4vw, 54px); line-height: 1.08; }
.pricing__cards { display: flex; flex-wrap: wrap; gap: 28px; align-items: stretch; }

.plan {
  padding: 44px; border-radius: 26px;
  display: flex; flex-direction: column; gap: 20px;
}
.plan__label {
  font-weight: 700; font-size: 14px;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.plan__price { font-family: var(--font-display); font-weight: 700; line-height: 1; }

.plan--featured {
  flex: 1.2 1 440px; position: relative;
  gap: 18px; padding-top: 52px;
  background: linear-gradient(170deg, #0b2442, var(--navy-950) 70%);
  border: 2px solid var(--gold);
  box-shadow:
    0 0 0 6px rgba(203, 168, 107, 0.08),
    0 0 60px rgba(203, 168, 107, 0.35),
    0 30px 120px rgba(203, 168, 107, 0.22);
}
.plan--featured .plan__label { color: var(--ink-muted); font-size: 15px; letter-spacing: 0.06em; text-transform: none; font-weight: 600; }
.plan__flag {
  position: absolute; top: 0; left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  padding: 9px 22px; border-radius: var(--pill);
  background: linear-gradient(135deg, var(--gold-pale), var(--gold));
  color: var(--navy-950);
  font-weight: 800; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase;
  box-shadow: 0 6px 24px rgba(203, 168, 107, 0.45);
}
.plan__pricing { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
.plan__was {
  font-size: 26px; color: var(--ink-muted);
  text-decoration: line-through; text-decoration-thickness: 2px;
}
.plan--featured .plan__price { font-size: clamp(64px, 11vw, 88px); color: var(--ink); }
.plan__per { font-size: 17px; color: var(--ink-muted); }
.plan__save {
  align-self: flex-start;
  padding: 7px 14px; border-radius: 10px;
  background: rgba(52, 199, 120, 0.14);
  border: 1px solid rgba(52, 199, 120, 0.35);
  color: #4fdc8f; font-weight: 700; font-size: 14px;
}
.plan__bonus {
  padding: 14px 16px; border-radius: 14px;
  background: var(--gold-tint);
  border: 1px solid rgba(203, 168, 107, 0.4);
  display: flex; flex-direction: column; gap: 4px;
}
.plan__bonus-label {
  color: var(--gold-light); font-weight: 800; font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.plan__bonus p { margin: 0; color: var(--ink); font-size: 15px; line-height: 1.5; }
.plan__list {
  list-style: none; margin: 4px 0 6px; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.plan__list li {
  position: relative; padding-left: 30px;
  color: var(--ink); line-height: 1.45;
}
.plan__list li::before {
  content: ""; position: absolute; left: 2px; top: 0.3em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold-tint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23e3c88e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

.pricing__cards { justify-content: center; }
.pricing__cards .plan--featured { flex: 0 1 600px; }
.plan--featured .notify { margin-top: 8px; }

.plan--launch {
  flex: 1 1 340px;
  background: var(--navy-900);
  border: 1px solid var(--line);
  opacity: 0.9;
}
.plan--launch .plan__label,
.plan--launch .plan__price { color: var(--ink-muted); }
.plan--launch .plan__price { font-size: 72px; }

.notify {
  margin-top: auto; padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
}
.notify__title { font-weight: 700; }
.notify input {
  min-height: 52px; padding: 0 20px;
  border-radius: var(--pill);
  border: 1.5px solid var(--line-input);
  background: var(--navy-950); color: var(--ink);
  font-size: 16px; font-family: inherit;
}
.notify input::placeholder { color: var(--ink-muted); }
.notify input:focus { outline: none; border-color: var(--gold); }
.notify .btn--outline { min-height: 52px; padding: 0 28px; font-size: 16px; }
.notify__embed { min-height: 52px; }
.notify__embed--placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 14px 20px; border-radius: 16px;
  border: 1.5px dashed var(--line-input);
  color: var(--ink-muted); font-size: 14px;
}

/* ---------- FAQ ---------- */
.faq { position: relative; background: var(--navy-900); padding: 96px 0; }
.faq__inner { max-width: 860px; display: flex; flex-direction: column; gap: 30px; }
.faq__title { font-size: 44px; }
.faq__item { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.faq__item:last-child { padding-bottom: 0; border-bottom: 0; }
.faq__item h3 { margin: 0 0 6px; font-size: 19px; }

/* ---------- Final CTA ---------- */
.cta {
  position: relative;
  max-width: 1000px; width: calc(100% - 48px);
  margin: 96px auto 0;
  padding: 72px 32px;
  border-radius: 32px;
  background: var(--grad-gold);
  color: var(--navy-950);
  text-align: center;
  display: flex; flex-direction: column; gap: 22px; align-items: center;
}
.cta__title { font-size: clamp(34px, 5.2vw, 52px); line-height: 1.08; }
.cta p { margin: 0; font-size: 19px; max-width: 560px; }

.disclaimer {
  position: relative;
  margin: 48px auto 0; padding: 0 24px 40px;
  max-width: 680px;
  font-size: 13px; color: var(--ink-muted); text-align: center;
}

/* ---------- Motion ---------- */
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track, .ticker__track.is-looping, .dot, .price-float { animation: none; }
  .btn { transition: none; }
}

/* ---------- Small screens ---------- */
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .site-header__logo img { height: 46px; }
  .site-header .btn--outline { min-height: 44px; padding: 0 18px; font-size: 15px; }
  .hero { padding-top: 32px; padding-bottom: 72px; gap: 40px; }
  .hero__lede { font-size: 18px; }
  .price-float { padding: 44px 28px 28px; }
  .steps { padding-top: 80px; padding-bottom: 72px; }
  .step, .plan { padding: 28px; }
  .inside__item { padding: 26px 28px; }
  .inside { padding-bottom: 80px; }
  .founder { gap: 40px; padding-bottom: 80px; }
  .founder__ring img { width: 260px; }
  .pricing { padding-bottom: 80px; }
  .plan--launch .plan__price { font-size: 56px; }
  .plan--featured { padding-top: 46px; }
  .faq { padding: 72px 0; }
  .faq__title { font-size: 36px; }
  .cta { width: calc(100% - 32px); margin-top: 72px; padding: 56px 24px; }
  .cta .btn--dark { width: 100%; padding: 0 20px; }

  .buybar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: rgba(7, 24, 45, 0.96);
    border-top: 1px solid var(--line-input);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.4);
  }
  .buybar[hidden] { display: none; }
  .buybar__price { display: flex; flex-direction: column; line-height: 1.2; }
  .buybar__label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-light); }
  .buybar__price strong { font-family: var(--font-display); font-size: 24px; }
  .buybar .btn { min-height: 46px; padding: 0 20px; font-size: 16px; box-shadow: none; white-space: nowrap; }
}

/* ---------- Very small phones ---------- */
@media (max-width: 360px) {
  .site-header { flex-wrap: nowrap; gap: 12px; }
  .site-header__logo img { height: 38px; }
  .site-header .btn--outline { min-height: 40px; padding: 0 14px; font-size: 14px; white-space: nowrap; }
}

/* ---------- Legal pages ---------- */
.doc { max-width: 760px; padding-top: 40px; padding-bottom: 72px; }
.doc__title { font-size: clamp(38px, 6vw, 56px); line-height: 1.08; margin: 10px 0 24px; }
.doc__lede { font-size: 19px; color: var(--ink-soft); margin: 0 0 8px; }
.doc h2 { font-family: var(--font-display); font-size: 26px; line-height: 1.2; margin: 40px 0 12px; }
.doc h3 { font-size: 18px; margin: 24px 0 6px; }
.doc p, .doc li { color: var(--ink-soft); }
.doc p { margin: 0 0 14px; }
.doc ul { margin: 0 0 14px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.doc strong { color: var(--ink); }
.todo { background: rgba(203, 168, 107, 0.25); color: var(--gold-pale); padding: 0 4px; border-radius: 4px; }

.faq__more { align-self: flex-start; color: var(--gold-light); font-weight: 700; text-decoration: none; padding: 4px 0; }
.faq__more:hover { color: var(--gold-pale); text-decoration: underline; text-underline-offset: 3px; }
.doc__cta { margin-top: 48px; padding: 32px; border-radius: 22px; background: var(--grad-card); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.doc__cta p { margin: 0; font-size: 19px; color: var(--ink); font-weight: 700; }
