/* ============================================================
   Cantori v5 Design System
   Midnight navy + antique gold · Cormorant Garamond + DM Sans
   ============================================================ */

/* ========== TOKENS ========== */

:root {
  /* Midnight palette */
  --ink:  #040e1d;
  --ink2: #071528;
  --ink3: #0d1e38;
  --ink4: #152342;
  --ink5: #1a2a50;

  /* Gold */
  --au1: #7a5a18;
  --au2: #a87c28;
  --au3: #c89838;
  --au4: #e0b44a;
  --au5: #f0c85c;
  --aug: rgba(224,180,74,0.18);   /* glow base */

  /* Parchment */
  --p0: #fefcf7;
  --p1: #f8f2e6;
  --p2: #f0e8d4;

  /* Text */
  --text-on-dark:   #f0e8d4;
  --text-muted:     rgba(240,232,212,0.55);
  --text-on-light:  #1a1408;
  --text-on-light2: #4a4030;

  /* Radius */
  --r:  12px;
  --rs:  8px;
  --rv: 20px;

  /* Shadows */
  --s1: 0 2px 8px  rgba(4,14,29,0.40);
  --s2: 0 4px 16px rgba(4,14,29,0.50);
  --s3: 0 8px 32px rgba(4,14,29,0.60);
  --s4: 0 16px 48px rgba(4,14,29,0.70);

  /* Gold glow ring */
  --sglow: 0 0 0 3px var(--aug);

  /* Legacy aliases (support/investors pages use these) */
  --navy:        var(--ink3);
  --navy-deep:   var(--ink);
  --navy-light:  var(--ink4);
  --parchment:   var(--p2);
  --parchment-warm: #e8dcc6;
  --parchment-pale: var(--p1);
  --gold:        var(--au4);
  --gold-light:  var(--au5);
  --gold-muted:  var(--au2);
  --text-primary:   var(--text-on-dark);
  --text-secondary: var(--text-muted);
  --text-dark:      var(--text-on-light);
  --text-dark-secondary: var(--text-on-light2);
}

/* ========== RESET ========== */

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--ink);
  color: var(--text-on-dark);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ========== PAGE TEXTURE — fractalNoise SVG filter ========== */

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ========== KEYFRAMES ========== */

@keyframes goldShimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

@keyframes trebleRotate {
  from { transform: translateX(-50%) rotate(0deg);   }
  to   { transform: translateX(-50%) rotate(360deg); }
}

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

/* ========== HERO — dash-hero aesthetic ========== */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 2rem 6rem;
  position: relative;
  overflow: hidden;

  /* Midnight gradient with parchment-noise quality */
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, rgba(224,180,74,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(7,21,40,0.8) 0%, transparent 60%),
    linear-gradient(175deg, var(--ink2) 0%, var(--ink3) 45%, var(--ink4) 100%);
}

/* Parchment-noise overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23p)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.022;
}

/* Gold corner ornaments */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  background:
    radial-gradient(circle 120px at 0% 0%,   rgba(224,180,74,0.09) 0%, transparent 100%),
    radial-gradient(circle 120px at 100% 0%,  rgba(224,180,74,0.09) 0%, transparent 100%),
    radial-gradient(circle 80px  at 0% 100%,  rgba(224,180,74,0.06) 0%, transparent 100%),
    radial-gradient(circle 80px  at 100% 100%,rgba(224,180,74,0.06) 0%, transparent 100%);
}

/* Treble-clef watermark */
.hero-treble {
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 28rem;
  line-height: 1;
  color: var(--au3);
  opacity: 0.022;
  pointer-events: none;
  user-select: none;
  font-family: 'Cormorant Garamond', serif;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  animation: fadeUp 0.8s ease both;
}

/* Logo gem mark */
.sb-gem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--rv);
  background: linear-gradient(135deg, var(--au3) 0%, var(--au5) 50%, var(--au3) 100%);
  box-shadow: var(--s2), inset 0 1px 0 rgba(255,255,255,0.25), 0 0 24px rgba(224,180,74,0.3);
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}

.sb-gem::after {
  content: '';
  position: absolute;
  top: 4px; left: 6px;
  width: 18px; height: 10px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  transform: rotate(-20deg);
}

.sb-gem-glyph {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--ink2);
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.hero-label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--au4);
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  line-height: 1.1;
  color: var(--p1);
  margin-bottom: 1.75rem;
  letter-spacing: -0.015em;
}

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

.hero-lede {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 3rem;
  line-height: 1.85;
}

/* CTA row */
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--r);
  background: linear-gradient(135deg, var(--au3) 0%, var(--au5) 100%);
  color: var(--ink2);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: var(--s2), 0 0 20px rgba(224,180,74,0.2);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: goldShimmer 3s linear infinite;
  opacity: 0;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--s3), 0 0 32px rgba(224,180,74,0.35);
}

.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--r);
  border: 1px solid rgba(224,180,74,0.3);
  color: var(--au4);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  background: rgba(224,180,74,0.05);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-ghost:hover {
  border-color: rgba(224,180,74,0.6);
  background: rgba(224,180,74,0.1);
  box-shadow: var(--sglow);
}

.hero-scroll-line {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, rgba(200,152,56,0.5));
  z-index: 1;
}

/* ========== PROBLEM ========== */

.problem {
  background: var(--p1);
  color: var(--text-on-light);
  padding: 7rem 2rem;
}

.problem-inner {
  max-width: 960px;
  margin: 0 auto;
}

.section-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--au2);
  margin-bottom: 1.25rem;
}

.problem h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  line-height: 1.22;
  color: var(--ink3);
  margin-bottom: 3.5rem;
  max-width: 680px;
}

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

.problem-card {
  padding: 2rem 1.5rem;
  border-top: 2px solid var(--au3);
  background: var(--p0);
  border-radius: 0 0 var(--rs) var(--rs);
  box-shadow: var(--s1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--s2);
}

.problem-number {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 3.2rem;
  color: var(--ink3);
  display: block;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.problem-card p {
  font-size: 0.93rem;
  color: var(--text-on-light2);
  line-height: 1.75;
}

/* ========== STAT CARDS — scard pattern ========== */

.scards {
  background: var(--ink2);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.scards-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.scard {
  background: var(--ink3);
  border: 1px solid rgba(224,180,74,0.12);
  border-radius: var(--r);
  padding: 1.75rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--s2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: default;
}

.scard::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(224,180,74,0.07) 40%,
    rgba(240,200,92,0.12) 50%,
    rgba(224,180,74,0.07) 60%,
    transparent 100%
  );
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.scard:hover {
  transform: translateY(-4px);
  box-shadow: var(--s3), 0 0 24px rgba(224,180,74,0.12);
  border-color: rgba(224,180,74,0.35);
}

.scard:hover::before {
  opacity: 1;
  animation: goldShimmer 1.8s linear infinite;
}

.scard-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--au4);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.scard-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ========== FEATURES ========== */

.features {
  background: var(--ink3);
  padding: 7rem 2rem;
}

.features-inner {
  max-width: 960px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 4rem;
}

.section-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  line-height: 1.2;
  color: var(--p1);
  margin-top: 0.75rem;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.feature-item {
  background: var(--ink4);
  border: 1px solid rgba(224,180,74,0.1);
  border-radius: var(--r);
  padding: 2rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.feature-item:hover {
  border-color: rgba(224,180,74,0.3);
  box-shadow: var(--s2);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.6rem;
  color: var(--au4);
  margin-bottom: 1rem;
  opacity: 0.85;
}

.feature-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.45rem;
  color: var(--p1);
  margin-bottom: 0.75rem;
}

.feature-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ========== SIDES (Director / Musician) — qc quick-access tile pattern ========== */

.sides {
  background: var(--ink2);
  padding: 7rem 2rem;
}

.sides-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.qc {
  background: var(--ink3);
  border: 1px solid rgba(224,180,74,0.12);
  border-radius: var(--r);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--s2);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.qc:hover {
  border-color: rgba(224,180,74,0.3);
  box-shadow: var(--s3);
}

/* Folded-corner ornament */
.qc::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 32px 32px 0;
  border-color: transparent var(--ink4) transparent transparent;
}

.qc::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 32px; height: 32px;
  background: linear-gradient(225deg, rgba(224,180,74,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.side-label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--au4);
  margin-bottom: 1rem;
}

.qc h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--p1);
  margin-bottom: 1.75rem;
  line-height: 1.3;
}

.qc ul {
  list-style: none;
  padding: 0;
}

.qc li {
  font-size: 0.92rem;
  color: var(--text-muted);
  padding: 0.6rem 0 0.6rem 1.5rem;
  position: relative;
  line-height: 1.65;
  border-bottom: 1px solid rgba(224,180,74,0.07);
}

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

.qc li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 8px;
  height: 1px;
  background: var(--au3);
}

/* ========== SCREENSHOT GALLERY ========== */

.gallery {
  background: var(--ink);
  padding: 7rem 2rem;
}

.gallery-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.gallery-frame {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid rgba(224,180,74,0.12);
  background: var(--ink3);
  box-shadow: var(--s2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-frame:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--s3), 0 0 24px rgba(224,180,74,0.1);
  border-color: rgba(224,180,74,0.28);
}

.gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(224,180,74,0.25);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-placeholder-icon {
  font-size: 2rem;
  opacity: 0.4;
}

/* ========== WAITLIST ========== */

.waitlist {
  background: var(--ink4);
  padding: 7rem 2rem;
  position: relative;
  overflow: hidden;
}

.waitlist::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 1px;
  background: linear-gradient(to right, transparent, rgba(224,180,74,0.35), transparent);
}

.waitlist-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.waitlist h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  color: var(--p1);
  margin-bottom: 1rem;
}

.waitlist p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.waitlist-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.waitlist-input {
  flex: 1;
  min-width: 240px;
  padding: 0.85rem 1.25rem;
  border-radius: var(--r);
  border: 1px solid rgba(224,180,74,0.25);
  background: rgba(4,14,29,0.6);
  color: var(--p1);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-size: max(1rem, 16px); /* prevent iOS zoom */
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.waitlist-input::placeholder {
  color: rgba(240,232,212,0.3);
}

.waitlist-input:focus {
  border-color: rgba(224,180,74,0.55);
  box-shadow: var(--sglow);
}

.waitlist-select {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1.25rem;
  border-radius: var(--r);
  border: 1px solid rgba(224,180,74,0.25);
  background: rgba(4,14,29,0.6);
  color: var(--p1);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-size: max(1rem, 16px);
  outline: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.waitlist-select:focus {
  border-color: rgba(224,180,74,0.55);
  box-shadow: var(--sglow);
}

.waitlist-select option {
  background: var(--ink3);
  color: var(--p1);
}

.waitlist-note {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: rgba(240,232,212,0.3);
  letter-spacing: 0.05em;
}

.waitlist-success {
  display: none;
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  border-radius: var(--r);
  background: rgba(200,152,56,0.1);
  border: 1px solid rgba(224,180,74,0.3);
  color: var(--au4);
  font-size: 0.95rem;
}

/* ========== CLOSING ========== */

.closing {
  background: var(--p1);
  color: var(--text-on-light);
  padding: 7rem 2rem;
  text-align: center;
}

.closing-inner {
  max-width: 680px;
  margin: 0 auto;
}

.closing-ornament {
  font-size: 1.1rem;
  color: var(--au3);
  margin-bottom: 2rem;
  opacity: 0.65;
  letter-spacing: 0.5em;
}

.closing h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--ink3);
  margin-bottom: 2rem;
  font-style: italic;
  line-height: 1.25;
}

.closing-text {
  font-size: 1.05rem;
  color: var(--text-on-light2);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.closing-secondary {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ========== FOOTER ========== */

.site-footer {
  background: var(--ink);
  padding: 3.5rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(224,180,74,0.1);
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--p1);
  letter-spacing: 0.18em;
  margin-bottom: 0.3rem;
}

.footer-tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-divider {
  width: 40px;
  height: 1px;
  background: rgba(200,152,56,0.4);
  margin: 1.75rem auto;
}

.footer-bottom {
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.75;
}

.footer-colophon {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: rgba(200,152,56,0.5);
  letter-spacing: 0.06em;
  margin-top: 0.75rem;
}

.footer-sep {
  display: inline-block;
  margin: 0 0.65em;
  opacity: 0.4;
}

.footer-support-link {
  color: var(--au3);
  text-decoration: none;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  transition: color 0.2s ease, opacity 0.2s ease;
  opacity: 0.85;
}

.footer-support-link:hover {
  color: var(--au5);
  opacity: 1;
}

/* ========== SUPPORT / INVESTORS PAGE COMPAT ========== */

/* These selectors appear in support.ejs / investors.ejs. Preserve them. */

.support-hero,
.investor-hero {
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, rgba(224,180,74,0.07) 0%, transparent 65%),
    linear-gradient(175deg, var(--ink2) 0%, var(--ink3) 45%, var(--ink4) 100%);
}

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

@media (max-width: 900px) {
  .scards-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .sides-inner {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .features-list {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 92vh;
    padding: 4rem 1.5rem 5rem;
  }
  .hero h1 {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }
  .problem,
  .features,
  .sides,
  .closing,
  .waitlist,
  .gallery,
  .scards {
    padding: 5rem 1.5rem;
  }
}

@media (max-width: 560px) {
  .scards-inner {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  .hero-cta .btn-primary,
  .hero-cta .btn-ghost {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  .waitlist-form {
    flex-direction: column;
  }
  .waitlist-input,
  .waitlist-select {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .problem h2,
  .closing h2 {
    font-size: 1.7rem;
  }
}
