@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,500;0,9..144,600;1,9..144,500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg-deep: #180f2b;
  --bg-deep-2: #0d0818;
  --bg-mid: #241638;
  --sand: #f7ece0;
  --muted: #cbbfe0;
  --muted-dim: #a99bc4;
  --terracotta: #e28a5c;
  --amber: #f0bb74;
  --rose: #cb7591;
  --card-bg: rgba(255, 255, 255, 0.045);
  --card-border: rgba(255, 255, 255, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--sand);
  font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, .wordmark {
  font-family: 'Fraunces', serif;
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ============ BACKGROUND LAYERS ============ */

#bg-gradient {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% 12%, rgba(240, 187, 116, 0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 55%, var(--bg-deep-2) 100%);
}

#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
}

/* ============ LAYOUT SHELL ============ */

.content {
  position: relative;
  z-index: 10;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============ NAV ============ */

nav {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  background: rgba(20, 13, 36, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.wordmark {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--sand);
}

.wordmark span {
  color: var(--terracotta);
}

#buy_now_link {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--terracotta), var(--amber));
  color: #221129;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 6px 18px rgba(226, 138, 92, 0.25);
}

#buy_now_link:hover,
#buy_now_link:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 10px 24px rgba(226, 138, 92, 0.38);
}

#buy_now_link:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 3px;
}

/* ============ HERO ============ */

.hero {
  position: relative;
  z-index: 2;
  padding-top: 13vh;
  padding-bottom: 9vh;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-bottom: 26px;
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(226, 138, 92, 0.18);
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 5rem);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--sand);
}

.hero h1 em {
  font-style: italic;
  color: var(--amber);
}

.hero p.lede {
  max-width: 680px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.7;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-ghost {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--sand);
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

/* ============ CARDS ============ */

.cards-section {
  position: relative;
  z-index: 2;
  padding: 6vh 0 10vh;
}

.section-heading {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

.section-heading h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 500;
  color: var(--sand);
}

.section-heading p {
  margin-top: 12px;
  color: var(--muted-dim);
  font-size: 0.98rem;
  line-height: 1.6;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 38px 34px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 187, 116, 0.35);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 20px 40px rgba(13, 8, 24, 0.45);
}

.card .mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(226, 138, 92, 0.22), rgba(240, 187, 116, 0.14));
  margin-bottom: 20px;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: var(--amber);
  font-size: 1.05rem;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--sand);
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
  margin: 0;
}

/* ============ CTA ============ */

.cta,
.signal-line {
  position: relative;
  z-index: 2;
}

.cta {
  padding: 10vh 0 14vh;
  text-align: center;
}

.cta-panel {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.signal-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 700;
  margin: 0 0 26px;
}

.signal-status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  animation: statusPulse 2.4s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240, 187, 116, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(240, 187, 116, 0); }
}

#buy_now_bottom {
  display: inline-block;
  padding: 19px 46px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--terracotta), var(--amber));
  color: #221129;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 34px rgba(226, 138, 92, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

#buy_now_bottom:hover,
#buy_now_bottom:focus-visible {
  transform: translateY(-3px);
  filter: brightness(1.05);
  box-shadow: 0 18px 40px rgba(226, 138, 92, 0.42);
}

#buy_now_bottom:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 4px;
}

.signal-sub {
  margin: 20px 0 0;
  color: var(--muted-dim);
  font-size: 0.88rem;
}

/* ============ FOOTER ============ */
/* Footer markup itself is injected via SSI and shouldn't be edited per-domain -
   spacing and contrast live here instead. */

footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 26px 20px 40px;
  text-align: center;
  color: var(--muted-dim);
  font-size: 0.82rem;
  background: var(--bg-deep-2);
}

footer div {
  margin: 4px 0;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 480px) {
  .wrap {
    padding: 0 20px;
  }

  .hero {
    padding-top: 12vh;
    padding-bottom: 7vh;
  }

  .card {
    padding: 30px 24px;
  }

  #buy_now_bottom {
    padding: 16px 32px;
    width: 100%;
  }

  .cta-panel {
    width: 100%;
  }

  nav .wrap {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .wordmark {
    font-size: 1.25rem;
  }

  #buy_now_link {
    padding: 9px 16px;
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .eyebrow::before,
  .signal-status::before {
    animation: none;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}
