/* AyloveTara — 21-Day Tara Pack landing
   Mobile-first, gold & green, self-contained fonts */

:root {
  --bg: #0a100d;
  --bg-2: #101812;
  --bg-3: #161f19;
  --card: #141c17;
  --gold: #c9a44a;
  --gold-2: #e4c56a;
  --gold-3: #f3e3b0;
  --gold-dim: rgba(201, 164, 74, 0.22);
  --green: #3d6b4c;
  --sage: #9bb896;
  --cream: #f4ebd6;
  --muted: #b7b09a;
  --ink: #1a1610;
  --line: rgba(201, 164, 74, 0.28);
  --danger-soft: rgba(201, 164, 74, 0.08);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --header-h: 64px;
  --max: 1120px;
  --font-display: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --font-brand: "Cinzel", "Palatino Linotype", serif;
  --font-body: "Outfit", "Segoe UI", system-ui, sans-serif;
}

@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
html, body { overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--cream);
  background: var(--bg);
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-3); }
button, input { font: inherit; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: var(--ink);
  padding: 0.5rem 1rem;
  z-index: 100;
  border-radius: 8px;
}
.skip:focus { top: 0.75rem; }

/* Background atmosphere */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201, 164, 74, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(45, 90, 61, 0.22), transparent 50%),
    radial-gradient(ellipse 40% 30% at 0% 80%, rgba(201, 164, 74, 0.07), transparent 50%),
    var(--bg);
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}
.wrap-narrow { width: min(760px, calc(100% - 2rem)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10, 16, 13, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max), calc(100% - 2rem));
}
.wordmark {
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-3);
  text-decoration: none;
}
.wordmark:hover { color: var(--gold-2); }
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(180deg, #f0d78a 0%, #c9a44a 100%);
  border-radius: 999px;
  border: 1px solid #e8c872;
  white-space: nowrap;
}
.header-cta:hover { color: var(--ink); filter: brightness(1.07); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.45rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-align: center;
  color: var(--ink);
  background: linear-gradient(180deg, #f3e0a4 0%, #c9a44a 52%, #b08b32 100%);
  border: 1px solid #f0d58a;
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(201, 164, 74, 0.28), inset 0 1px 0 rgba(255,255,255,0.35);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.btn:hover {
  color: var(--ink);
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(201, 164, 74, 0.38), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn:focus-visible,
.header-cta:focus-visible,
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
}
.btn-lg { padding: 1.1rem 1.7rem; font-size: 1.02rem; width: 100%; max-width: 34rem; }
.btn-arrow { font-size: 1.15em; line-height: 1; }

/* Typography helpers */
.eyebrow {
  font-family: var(--font-brand);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin: 0 0 0.85rem;
}
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--cream);
  margin: 0;
  font-variant-numeric: lining-nums;
}
h1 {
  font-size: clamp(2.15rem, 8vw, 4.15rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--gold-3); }
h2 {
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  margin-bottom: 1rem;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 0.4rem;
}
.lede, .subhead {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 1rem 0 0;
}
.subhead { font-size: clamp(1.02rem, 2.2vw, 1.2rem); max-width: 38rem; }
.gold { color: var(--gold-2); }
.center { text-align: center; }
.center .subhead, .center .lede { margin-inline: auto; }

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  margin: 0.5rem 0 1.5rem;
}
.ornament::before, .ornament::after {
  content: "";
  width: 3.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.7;
}

/* Hero */
.hero {
  padding: 2.25rem 0 3.25rem;
}
.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.hero-copy p.hook {
  color: var(--cream);
  margin: 1.25rem 0 0;
  max-width: 40rem;
}
.hero-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 420px);
}
.frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow), 0 0 0 1px rgba(243, 227, 176, 0.08);
}
.frame img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(243, 227, 176, 0.18);
  border-radius: inherit;
}
.glow {
  position: absolute;
  inset: 12% -8% auto;
  height: 70%;
  background: radial-gradient(circle, rgba(201, 164, 74, 0.32), transparent 68%);
  filter: blur(18px);
  z-index: -1;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.35rem 0 1.5rem;
  padding: 0;
  list-style: none;
}
.badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gold-3);
  background: var(--danger-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.trust {
  margin: 0.9rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-wrap: pretty;
}
.price-tag {
  display: inline-block;
  margin-left: 0.15rem;
  color: var(--gold-2);
  font-weight: 600;
}

/* Band image */
.band {
  margin: 0 0 0.5rem;
}
.band-frame {
  overflow: hidden;
  width: 100%;
  border-block: 1px solid var(--line);
}
.band-frame img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center 40%;
}

/* Sections */
section { padding: 3.25rem 0; }
.section-alt { background: linear-gradient(180deg, rgba(20, 28, 23, 0.55), rgba(10, 16, 13, 0)); }

/* Problem */
.problem-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.problem-grid p { color: var(--muted); margin: 0 0 1rem; }
.problem-grid p:last-child { margin-bottom: 0; }
.portrait-frame { width: min(100%, 380px); margin-inline: auto; }
.portrait-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Audio */
.audio-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.2rem 1.2rem;
  box-shadow: var(--shadow);
  max-width: 640px;
  margin: 1.5rem auto 0;
}
.audio-card .caption {
  text-align: center;
  color: var(--muted);
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 1rem;
}
.player {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem 0.9rem;
  align-items: center;
}
.play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid #f0d58a;
  background: linear-gradient(180deg, #f3e0a4 0%, #c9a44a 100%);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(201, 164, 74, 0.3);
}
.play-btn svg { width: 22px; height: 22px; fill: currentColor; }
.play-btn[aria-pressed="true"] .icon-play { display: none; }
.play-btn[aria-pressed="false"] .icon-pause,
.play-btn:not([aria-pressed="true"]) .icon-pause { display: none; }
.play-btn[aria-pressed="true"] .icon-pause { display: block; }
.progress-wrap { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.progress {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: rgba(201, 164, 74, 0.2);
  outline: none;
  cursor: pointer;
}
.progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold-3);
  border: 2px solid #8a6d22;
}
.progress::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold-3);
  border: 2px solid #8a6d22;
}
.time {
  font-size: 0.78rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.audio-fallback { width: 100%; margin-top: 0.5rem; }
.player-js-on .audio-fallback { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Included */
.included-intro { margin-bottom: 1.75rem; }
.file-count {
  display: inline-block;
  margin-top: 0.35rem;
  font-family: var(--font-brand);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.include-stack { display: grid; gap: 1.1rem; }
.include-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.3rem;
}
.include-card header {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}
.ico {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--danger-soft);
  border: 1px solid var(--line);
  font-size: 1.2rem;
}
.include-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
  font-variant-numeric: lining-nums;
}
.kicker {
  margin: 0;
  font-size: 0.8rem;
  color: var(--gold-2);
  letter-spacing: 0.04em;
}
.include-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}
.include-card li { margin: 0.35rem 0; }
.hz {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.9rem;
  padding: 0;
  list-style: none;
}
.hz li {
  padding: 0.28rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(201, 164, 74, 0.07);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 1.75rem;
}
.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gallery figcaption {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-2);
  text-align: center;
  padding: 0.45rem 0.4rem 0.6rem;
  background: #0e1511;
}

/* Ritual */
.steps {
  display: grid;
  gap: 1rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 1.15rem 1.15rem 1.15rem 4.4rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.05rem;
  top: 1.15rem;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  background: linear-gradient(180deg, #f3e0a4, #c9a44a);
  border-radius: 50%;
}
.steps h3 { font-size: 1.25rem; margin-bottom: 0.25rem; }
.steps p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* Created for */
.for-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}
.for-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
}
.for-card h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.for-card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.quote {
  margin: 1.6rem 0 0;
  padding: 1.25rem 1.3rem;
  border-left: 2px solid var(--gold);
  background: rgba(201, 164, 74, 0.06);
  border-radius: 0 14px 14px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--gold-3);
}

/* FAQ */
.faq-list { display: grid; gap: 0.7rem; margin-top: 1.4rem; }
details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
}
summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 2.6rem 1rem 1.15rem;
  font-weight: 600;
  position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-2);
  font-weight: 400;
  font-size: 1.3rem;
}
details[open] summary::after { content: "–"; }
.faq-body {
  padding: 0 1.15rem 1.1rem;
  color: var(--muted);
  margin: 0;
}

/* Final CTA */
.final {
  padding: 0 0 2rem;
}
.final-panel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  min-height: 420px;
  display: grid;
  align-items: end;
}
.final-bg {
  position: absolute;
  inset: 0;
}
.final-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.final-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,16,13,0.25) 0%, rgba(10,16,13,0.55) 40%, rgba(10,16,13,0.92) 100%),
    linear-gradient(90deg, rgba(10,16,13,0.55), transparent 50%);
}
.final-content {
  position: relative;
  z-index: 1;
  padding: 2.4rem 1.3rem 2rem;
  text-align: center;
}
.portal {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.35rem, 3.5vw, 1.9rem);
  color: var(--gold-3);
  margin: 0 0 1rem;
}
.guarantee {
  margin: 1rem auto 0;
  max-width: 34rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.final-content .btn { margin-top: 0.4rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 7rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer a { color: var(--gold-2); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.ig {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(10, 16, 13, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}
.sticky-cta .meta { font-size: 0.78rem; color: var(--muted); line-height: 1.3; }
.sticky-cta .meta strong { display: block; color: var(--cream); font-weight: 600; font-size: 0.88rem; }
.sticky-cta .btn { width: auto; padding: 0.7rem 1rem; font-size: 0.85rem; max-width: none; white-space: nowrap; }
.sticky-cta.is-hidden { display: none; }

@media (min-width: 720px) {
  .hero { padding: 3.25rem 0 4rem; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; }
  .hero-visual { width: 100%; max-width: 460px; justify-self: end; }
  .btn-lg { width: auto; }
  .problem-grid { grid-template-columns: 0.9fr 1.1fr; gap: 3rem; }
  .portrait-frame { margin: 0; width: 100%; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .for-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .final-content { padding: 4rem 2.5rem 2.6rem; }
  .site-footer { padding-bottom: 2.5rem; }
  .sticky-cta { display: none; }
  section { padding: 4.25rem 0; }
}

@media (min-width: 980px) {
  .include-stack { grid-template-columns: 1fr 1fr; }
  .include-card.span-2 { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .header-cta { transition: none; }
  .btn:hover { transform: none; }
}
