/* ========================================================================
   NEUROSPICY COMMUNITY - Landing Page
   Design: Warm Editorial - Fraunces display + Figtree body
   Palette: Deep navy anchor + cream base + logo accent colors
   ======================================================================== */

:root {
  /* Colors */
  --ink: #0F1E3D;
  --ink-soft: #2A3A5C;
  --paper: #FDF6E7;
  --cream: #FFF8EC;
  --cream-deep: #F5EBD4;

  --blue: #3B5BDB;
  --blue-deep: #1E3A8A;
  --blue-night: #16264D;

  --orange: #F26430;
  --orange-soft: #FF8A5B;
  --teal: #4ECDC4;
  --yellow: #F5C842;
  --coral: #FF9B7A;

  --border: rgba(15, 30, 61, 0.12);
  --border-strong: rgba(15, 30, 61, 0.25);
  --shadow-sm: 0 2px 8px rgba(15, 30, 61, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 30, 61, 0.10);
  --shadow-lg: 0 20px 60px rgba(15, 30, 61, 0.18);
  --shadow-cta: 0 10px 30px rgba(242, 100, 48, 0.35);

  /* Typography */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Figtree", -apple-system, "Segoe UI", sans-serif;

  /* Spacing */
  --space-section: clamp(4rem, 8vw, 7rem);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;
}

/* ----- RESET & BASE ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--blue-deep);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--orange);
}

em {
  font-style: italic;
  font-family: var(--font-display);
  font-weight: 500;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* ----- TYPOGRAPHY ----- */
.h1 {
  font-family: "Lexend", -apple-system, "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.h1 em {
  font-style: normal;
  font-family: "Lexend", -apple-system, "Segoe UI", sans-serif;
  font-weight: 800;
  color: var(--orange);
}

.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.012em;
  color: var(--ink);
  font-variation-settings: "opsz" 72;
}

.h2 em {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--orange);
}

h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h3 em {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--orange);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  padding: 0.5rem 1rem;
  background: rgba(242, 100, 48, 0.08);
  border: 1.5px solid rgba(242, 100, 48, 0.2);
  border-radius: var(--radius-pill);
  margin-bottom: 1.75rem;
}

.kicker-dot {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(242, 100, 48, 0.2);
  animation: pulse 2.5s ease-in-out infinite;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 1.5rem;
}

.eyebrow-light {
  color: rgba(255, 248, 236, 0.7);
  border-bottom-color: rgba(255, 248, 236, 0.4);
}

.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 32em;
  margin-top: 1.5rem;
}

.big-p {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 36em;
}

/* ----- BUTTONS ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1;
  text-decoration: none;
  padding: 1rem 1.75rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn svg {
  transition: transform 0.2s ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--orange);
  color: var(--cream);
  box-shadow: var(--shadow-cta);
}

.btn-primary:hover {
  background: #e05620;
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(242, 100, 48, 0.45);
}

.btn-nav {
  background: var(--ink);
  color: var(--cream);
  font-size: 0.92rem;
  padding: 0.7rem 1.25rem;
}

.btn-nav:hover {
  background: var(--orange);
  color: var(--cream);
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
  margin-top: 1.25rem;
  padding: 1.1rem 1.5rem;
  font-size: 1.1rem;
}

.btn-large {
  padding: 1.25rem 2.25rem;
  font-size: 1.15rem;
}

/* ----- DECORATIVE LEAVES ----- */
.decor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.leaf {
  position: absolute;
  opacity: 0.08;
  transform-origin: center;
  animation: float 18s ease-in-out infinite;
}

.leaf-1 {
  width: 220px;
  top: 12%;
  right: -80px;
  color: var(--orange);
  transform: rotate(25deg);
  animation-delay: -2s;
}

.leaf-2 {
  width: 180px;
  top: 55%;
  left: -60px;
  color: var(--teal);
  transform: rotate(-40deg);
  animation-delay: -6s;
}

.leaf-3 {
  width: 260px;
  bottom: 10%;
  right: 5%;
  color: var(--yellow);
  transform: rotate(15deg);
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(var(--r, 0deg)); }
  50% { transform: translate(-15px, -25px) rotate(calc(var(--r, 0deg) + 8deg)); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

/* ----- NAV ----- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 246, 231, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

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

.nav-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.nav-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.wm-main {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.wm-sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 2px;
}

/* ----- HERO ----- */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 85% 25%, rgba(242, 100, 48, 0.12), transparent 55%),
    radial-gradient(ellipse at 15% 75%, rgba(78, 205, 196, 0.10), transparent 55%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy > * {
  opacity: 0;
  animation: rise 0.8s ease-out forwards;
}

.hero-copy .kicker { animation-delay: 0.05s; }
.hero-copy .h1 { animation-delay: 0.15s; }
.hero-copy .lede { animation-delay: 0.3s; }
.hero-copy .hero-cta { animation-delay: 0.45s; }

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

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-top: 2.25rem;
  flex-wrap: wrap;
}

.hero-trust {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.hero-trust strong {
  color: var(--ink);
  font-weight: 700;
}

.hero-visual {
  position: relative;
  animation: rise 0.9s ease-out 0.3s both;
}

.hero-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
  transition: transform 0.5s ease;
}

.hero-visual:hover img {
  transform: rotate(0deg);
}

.hero-badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--ink);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-md);
  transform: rotate(-4deg);
  font-size: 0.85rem;
}

.hero-badge span { opacity: 0.7; }

.hero-badge strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

/* ----- SECTIONS (generic) ----- */
.section {
  padding: var(--space-section) 0;
  position: relative;
  z-index: 1;
}

.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 44rem;
}

.section-head-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head-center .eyebrow {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 1rem;
}

/* ----- INTRO ----- */
.section-intro {
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.intro-eyebrow { padding-top: 0.5rem; }

/* ----- WHO IT'S FOR ----- */
.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.who-card {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.who-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.who-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.who-icon-orange { background: rgba(242, 100, 48, 0.12); color: var(--orange); }
.who-icon-teal   { background: rgba(78, 205, 196, 0.15); color: #2EA99F; }
.who-icon-yellow { background: rgba(245, 200, 66, 0.18); color: #B8923A; }
.who-icon-blue   { background: rgba(59, 91, 219, 0.12); color: var(--blue-deep); }

.who-card h3 { margin-bottom: 0.5rem; }
.who-card p { color: var(--ink-soft); font-size: 0.98rem; }

/* ----- WHAT'S INSIDE ----- */
.section-inside {
  background: var(--blue-night);
  color: var(--cream);
  position: relative;
}

.section-inside .h2,
.section-inside h3 { color: var(--cream); }

.section-inside .eyebrow {
  color: rgba(255, 248, 236, 0.65);
  border-bottom-color: rgba(255, 248, 236, 0.4);
}

.inside-stack {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 60rem;
  margin: 0 auto;
}

.inside-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 248, 236, 0.12);
}

.inside-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.inside-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.8rem;
  line-height: 0.9;
  color: var(--orange);
  font-variation-settings: "opsz" 144;
}

.inside-body h3 {
  font-size: 1.55rem;
  margin-bottom: 0.6rem;
}

.inside-body p {
  color: rgba(255, 248, 236, 0.8);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 42em;
}

/* ----- SOL ----- */
.sol-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.sol-visual {
  position: relative;
  padding: 1rem;
}

/* Decorative backdrop card — tilts slightly the opposite way to create layered depth */
.sol-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(242, 100, 48, 0.15) 0%, rgba(245, 200, 66, 0.2) 100%);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  transform: rotate(2.5deg);
  z-index: 0;
  box-shadow: 6px 6px 0 var(--ink);
}

.sol-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
  background: var(--blue-deep);
  border: 2px solid var(--ink);
  z-index: 1;
}

.sol-frame img {
  width: 100%;
  display: block;
}

.sol-tag {
  position: absolute;
  top: -20px;
  right: -10px;
  background: var(--yellow);
  color: var(--ink);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  transform: rotate(6deg);
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.sol-copy p {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-top: 1.25rem;
  max-width: 36em;
}

.sol-quote {
  margin-top: 2.25rem;
  padding: 1.75rem 2rem;
  background: var(--cream);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.4;
  font-style: italic;
  color: var(--ink);
  position: relative;
}

.sol-quote cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.95rem;
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink-soft);
}

/* ----- TESTIMONIALS ----- */
.section-testimonials {
  background: var(--cream);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.testimonial {
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 2rem 1.75rem;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: -10px;
  left: 22px;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--orange);
  opacity: 0.3;
}

.testimonial blockquote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 1.25rem;
  font-weight: 500;
  position: relative;
}

.testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.t-name {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
}

.t-meta {
  font-size: 0.82rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.testimonials-note {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
  opacity: 0.7;
  font-style: italic;
}

/* ----- PRICING ----- */
.pricing-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.pricing-ribbon {
  background: var(--yellow);
  color: var(--ink);
  padding: 0.6rem 1rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pricing-body {
  padding: 2.5rem 2.25rem;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin: 0.5rem 0;
  color: var(--cream);
}

.p-dollar {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  margin-right: 0.1rem;
  opacity: 0.85;
}

.p-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 5rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--yellow);
}

.p-period {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 0.7;
  margin-left: 0.3rem;
}

.pricing-tag {
  color: rgba(255, 248, 236, 0.65);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.pricing-list {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
}

.pricing-list li {
  padding: 0.65rem 0 0.65rem 1.75rem;
  position: relative;
  border-bottom: 1px solid rgba(255, 248, 236, 0.1);
  font-size: 1rem;
  color: rgba(255, 248, 236, 0.9);
}

.pricing-list li:last-child { border-bottom: none; }

.pricing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}

/* ----- FAQ ----- */
.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.faq-head { position: sticky; top: 100px; }

.faq-aside {
  margin-top: 1.5rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--ink);
  background: var(--paper);
}

.faq-item summary {
  list-style: none;
  padding: 1.35rem 1.75rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
}

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

.faq-toggle {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  position: relative;
  transition: transform 0.3s ease, background 0.2s ease;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--cream);
  transition: transform 0.3s ease;
}

.faq-toggle::before {
  width: 12px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-toggle::after {
  width: 2px;
  height: 12px;
  transform: translate(-50%, -50%);
}

.faq-item[open] .faq-toggle {
  background: var(--orange);
  transform: rotate(180deg);
}

.faq-item[open] .faq-toggle::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.faq-body {
  padding: 0 1.75rem 1.5rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
}

.faq-body p { margin-top: 0.25rem; }

/* ----- FINAL CTA ----- */
.section-final-cta {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-night) 100%);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-final-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(242, 100, 48, 0.25), transparent 65%);
  pointer-events: none;
}

.section-final-cta::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(78, 205, 196, 0.18), transparent 65%);
  pointer-events: none;
}

.final-cta {
  position: relative;
  z-index: 1;
}

.final-h2 {
  color: var(--cream);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1rem;
}

.final-p {
  font-size: 1.2rem;
  color: rgba(255, 248, 236, 0.75);
  margin-bottom: 2.25rem;
}

/* ----- FOOTER ----- */
.footer {
  background: var(--ink);
  color: rgba(255, 248, 236, 0.7);
  padding: 3rem 0 2rem;
  font-size: 0.92rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-brand img {
  border-radius: 8px;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--cream);
  line-height: 1.2;
}

.footer-tag {
  font-size: 0.82rem;
  color: rgba(255, 248, 236, 0.55);
  margin-top: 2px;
}

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

.footer-nav a {
  color: rgba(255, 248, 236, 0.75);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.footer-meta {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 2rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 248, 236, 0.1);
  font-size: 0.82rem;
  color: rgba(255, 248, 236, 0.5);
}

/* ========================================================================
   LEGAL PAGES (privacy, terms, cookies)
   ======================================================================== */
.legal {
  padding: clamp(3rem, 6vw, 5rem) 0;
  max-width: 780px;
  margin: 0 auto;
}

.legal h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.legal .updated {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 2.5rem;
}

.legal h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.legal p,
.legal ul {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.legal ul {
  padding-left: 1.5rem;
}

.legal ul li { margin-bottom: 0.5rem; }

.legal a {
  color: var(--blue-deep);
  font-weight: 500;
}

/* ========================================================================
   HERO TRIAL CHIPS (replaces .hero-trust)
   ======================================================================== */
.hero-trust-row {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: rise 0.8s ease-out 0.55s forwards;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.hero-chip strong {
  color: var(--ink);
  font-weight: 700;
}

.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.chip-dot-green  { background: #2EB872; box-shadow: 0 0 0 3px rgba(46, 184, 114, 0.2); }
.chip-dot-orange { background: var(--orange); box-shadow: 0 0 0 3px rgba(242, 100, 48, 0.2); }

/* ========================================================================
   VIDEO SECTION
   ======================================================================== */
.section-video {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
}

.section-video .section-head {
  margin-bottom: 2.5rem;
}

.video-wrap {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

.video-frame {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--ink);
  border: 6px solid var(--cream);
  outline: 2px solid var(--border);
}

.video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
}

.play-arrow {
  color: var(--orange);
}

/* ========================================================================
   PRICING UPDATES (strike price, trial banner, footnote)
   ======================================================================== */
.p-strike {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.6rem;
  color: rgba(255, 248, 236, 0.4);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  margin-right: 0.75rem;
  align-self: flex-start;
  margin-top: 0.5rem;
}

.pricing-ribbon {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.trial-banner {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  background: rgba(245, 200, 66, 0.12);
  border: 1.5px solid rgba(245, 200, 66, 0.35);
  border-radius: var(--radius-md);
  margin: 1.25rem 0 1.5rem;
}

.trial-banner svg {
  color: var(--yellow);
  flex-shrink: 0;
}

.trial-banner > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trial-banner strong {
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.trial-banner span {
  color: rgba(255, 248, 236, 0.75);
  font-size: 0.88rem;
  line-height: 1.4;
}

.pricing-footnote {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 248, 236, 0.6);
  font-style: italic;
}

/* ========================================================================
   EBOOK LEAD MAGNET
   ======================================================================== */
.section-ebook {
  background: linear-gradient(135deg, #FEF2E4 0%, var(--paper) 100%);
  position: relative;
  overflow: hidden;
}

.section-ebook::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(242, 100, 48, 0.12), transparent 70%);
  pointer-events: none;
}

.ebook-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.ebook-visual {
  display: flex;
  justify-content: center;
}

.ebook-book {
  position: relative;
  max-width: 360px;
  width: 100%;
  transform: rotate(-3deg);
  transition: transform 0.4s ease;
}

.ebook-book:hover {
  transform: rotate(0deg) scale(1.02);
}

.ebook-book img {
  width: 100%;
  border-radius: 6px;
  box-shadow:
    0 1px 3px rgba(15, 30, 61, 0.1),
    0 12px 30px rgba(15, 30, 61, 0.18),
    -8px 0 0 -4px rgba(15, 30, 61, 0.08);
  border: 1px solid var(--border);
}

.ebook-badge {
  position: absolute;
  top: -12px;
  right: -14px;
  background: var(--orange);
  color: var(--cream);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  transform: rotate(8deg);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.ebook-lede {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-top: 1.5rem;
  margin-bottom: 1.25rem;
}

.ebook-lede strong {
  color: var(--ink);
  font-weight: 700;
}

.ebook-bullets {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}

.ebook-bullets li {
  padding: 0.45rem 0 0.45rem 1.8rem;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.5;
}

.ebook-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}

.ebook-form {
  margin-top: 1rem;
}

/* Honeypot - visually hidden but not display:none (bots skip display:none fields) */
.ebook-honeypot {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.btn-loading {
  display: inline-flex;
  align-items: center;
}

.ebook-submit:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none !important;
}

.ebook-error {
  margin-top: 0.85rem;
  padding: 0.75rem 1rem;
  background: rgba(242, 100, 48, 0.08);
  border: 1.5px solid rgba(242, 100, 48, 0.3);
  border-radius: var(--radius-sm);
  color: #B8431E;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* ========================================================================
   SPICYBRAIN TEST CALLOUT CARD
   ======================================================================== */
.test-callout {
  margin-top: 2rem;
  padding: 1.75rem 1.75rem 1.75rem 1.5rem;
  background: linear-gradient(135deg, #F3E8FF 0%, #FAF5FF 50%, #FCE7F3 100%);
  border: 2px solid #4C1D95;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 1.5rem;
  align-items: center;
  position: relative;
  box-shadow: 4px 4px 0 #4C1D95;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.test-callout:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #4C1D95;
}

.test-visual {
  width: 128px;
  height: 128px;
  flex-shrink: 0;
}

.test-visual svg {
  width: 100%;
  height: 100%;
}

.test-copy {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.test-kicker {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7C3AED;
}

.test-copy h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.2;
  color: #2E1065;
  margin: 0;
  letter-spacing: -0.01em;
}

.test-copy p {
  font-size: 0.95rem;
  color: #5B21B6;
  line-height: 1.5;
  margin: 0.25rem 0 0.75rem;
}

/* Secondary button for the test callout — purple to match SpicyBrainTest brand */
.btn-secondary {
  background: #7C3AED;
  color: #FFFFFF;
  align-self: flex-start;
  padding: 0.8rem 1.4rem;
  font-size: 0.95rem;
  box-shadow: none;
}

.btn-secondary:hover {
  background: #6D28D9;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.35);
}

.ebook-form-row {
  display: flex;
  gap: 0.5rem;
  background: var(--cream);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.35rem 0.35rem 1.25rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ebook-form-row:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(242, 100, 48, 0.12);
}

.ebook-form input[type="email"] {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  outline: none;
  min-width: 0;
}

.ebook-form input[type="email"]::placeholder {
  color: #A0A0A8;
}

.ebook-submit {
  padding: 0.85rem 1.4rem;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.ebook-trust {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.ebook-trust svg {
  color: #2EB872;
}

.ebook-trust strong {
  color: var(--ink);
  font-weight: 600;
}

.ebook-success {
  padding: 2rem 1.5rem;
  background: var(--cream);
  border: 2px solid var(--yellow);
  border-radius: var(--radius-lg);
  text-align: center;
  animation: rise 0.5s ease-out;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #2EB872;
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.ebook-success h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.ebook-success p {
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  line-height: 1.55;
}

/* Screen-reader only utility */
.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;
}

/* ========================================================================
   FINAL CTA - extra footnote
   ======================================================================== */
.final-tiny {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 248, 236, 0.6);
}

/* ========================================================================
   RESPONSIVE - Mobile + Tablet
   ======================================================================== */
@media (max-width: 960px) {
  .hero-grid,
  .intro-grid,
  .sol-grid,
  .faq-grid,
  .ebook-grid {
    grid-template-columns: 1fr;
  }

  .ebook-book {
    max-width: 280px;
  }

  .sol-visual {
    max-width: 440px;
    margin: 0 auto;
  }

  .faq-head { position: static; }

  .who-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-nav {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  body { font-size: 16px; }

  .who-grid {
    grid-template-columns: 1fr;
  }

  .inside-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .inside-num { font-size: 3rem; }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .hero-trust-row {
    gap: 0.4rem;
  }

  .hero-chip {
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
  }

  .ebook-form-row {
    flex-direction: column;
    padding: 0.75rem;
    gap: 0.75rem;
    border-radius: var(--radius-md);
  }

  .ebook-form input[type="email"] {
    padding: 0.5rem 0.5rem 0.5rem 0.75rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--paper);
  }

  .ebook-form input[type="email"]:focus {
    border-color: var(--orange);
  }

  .ebook-submit {
    width: 100%;
  }

  .ebook-badge {
    font-size: 0.78rem;
    padding: 0.5rem 0.85rem;
    top: -10px;
    right: -8px;
  }

  .test-callout {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 1.5rem;
    gap: 1rem;
  }

  .test-visual {
    width: 96px;
    height: 96px;
  }

  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .p-strike {
    font-size: 1.3rem;
  }

  .btn-nav { padding: 0.6rem 1rem; font-size: 0.85rem; }

  .nav-wordmark .wm-sub { display: none; }

  .sol-tag {
    top: -14px;
    right: 10px;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .hero-badge {
    bottom: -12px;
    left: 10px;
    padding: 0.55rem 0.9rem;
  }

  .hero-badge strong { font-size: 0.95rem; }
}

/* ----- ACCESSIBILITY ----- */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

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