/* ============================================================
   grubshelf — marketing site
   Ported from the Next.js source. Brand tokens + layout.
   ============================================================ */

:root {
  --bg-deep: #021f1a;
  --bg-teal: #04342c;
  --ink: #1a1a18;
  --text-on-dark: #e1f5ee;
  --text-on-dark-muted: rgba(225, 245, 238, 0.78);
  --text-on-dark-faint: rgba(225, 245, 238, 0.66);
  --cream: #faeeda;
  --paper: #fff8eb;
  --paper-border: #e8d8b8;
  --amber: #e8a020;
  --amber-dark: #ba7517;
  --amber-ink: #412402;
  --mint: #1d9e75;
  --danger: #a32d2d;
  --subtle: #5f5e5a;

  --font-outfit: "Outfit", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  --font-hand: "Patrick Hand", cursive;

  --pad-x: clamp(24px, 5vw, 80px);

  /* --- gradient mesh & glow tokens --- */
  --gradient-mesh: radial-gradient(ellipse 80% 50% at 20% 40%, rgba(29,158,117,0.15) 0%, transparent 70%),
                   radial-gradient(ellipse 60% 70% at 80% 20%, rgba(232,160,32,0.1) 0%, transparent 70%),
                   radial-gradient(ellipse 50% 60% at 50% 80%, rgba(29,158,117,0.08) 0%, transparent 70%);
  --gradient-mesh-dark: radial-gradient(ellipse 80% 50% at 20% 40%, rgba(29,158,117,0.12) 0%, transparent 70%),
                        radial-gradient(ellipse 60% 70% at 80% 20%, rgba(232,160,32,0.08) 0%, transparent 70%),
                        radial-gradient(ellipse 50% 60% at 50% 80%, rgba(2,31,26,0.6) 0%, transparent 70%);
  --glow-amber: 0 0 40px rgba(232,160,32,0.2), 0 0 80px rgba(232,160,32,0.1);
  --glow-mint: 0 0 40px rgba(29,158,117,0.15), 0 0 80px rgba(29,158,117,0.08);
  --glow-card: 0 8px 32px -4px rgba(4,52,44,0.18), 0 4px 12px rgba(4,52,44,0.08);

  /* --- glass effect tokens --- */
  --glass-bg: rgba(4,52,44,0.6);
  --glass-bg-light: rgba(255,248,235,0.7);
  --glass-border: rgba(225,245,238,0.12);
  --glass-border-light: rgba(4,52,44,0.08);
  --glass-blur: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-outfit);
  background: var(--bg-teal);
  color: var(--text-on-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--amber); color: var(--amber-ink); }
a { color: inherit; }
button { box-shadow: none; }
img { display: block; }

/* ---------- noise overlay helper ---------- */
.noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* ---------- nav ---------- */
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-link {
  color: var(--text-on-dark-muted);
  font-size: 14px;
  text-decoration: none;
  font-family: var(--font-outfit);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text-on-dark); }
.nav-cta {
  background: var(--amber);
  color: var(--amber-ink);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font-outfit);
  transition: transform 0.2s, filter 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); filter: brightness(1.05); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 300vh;
  background: var(--bg-teal);
}
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--bg-teal);
  perspective: 1600px;
}
.hero-sticky::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: var(--gradient-mesh);
  background-size: 200% 200%;
  animation: gradientShift 25s ease infinite;
  pointer-events: none;
  z-index: 0;
}
.hero-nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 24px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-headline {
  position: absolute;
  left: var(--pad-x);
  top: 50%;
  transform: translateY(-50%);
  max-width: 540px;
  z-index: 20;
}
.hero-headline h1 {
  font-family: var(--font-outfit);
  font-size: clamp(48px, 7vw, 84px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--text-on-dark);
  margin: 0;
}
.hero-headline h1 span { display: block; opacity: 0; }
.hl-1 { animation: fadeUpBlur 0.8s cubic-bezier(0.22,1,0.36,1) 0.05s forwards; }
.hl-2 { color: rgba(225,245,238,0.72); animation: fadeUpBlur 0.8s cubic-bezier(0.22,1,0.36,1) 0.15s forwards; }
.hl-3 {
  color: var(--amber);
  animation: fadeUpBlur 0.8s cubic-bezier(0.22,1,0.36,1) 0.25s forwards;
}
.hero-sub {
  font-family: var(--font-outfit);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
  margin-top: 28px;
  max-width: 440px;
  opacity: 0;
  animation: fadeUpBlur 0.8s cubic-bezier(0.22,1,0.36,1) 0.35s forwards;
}
.hero-ctas {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  opacity: 0;
  animation: fadeUpBlur 0.8s cubic-bezier(0.22,1,0.36,1) 0.42s forwards;
}
.btn-primary {
  background: var(--amber);
  color: var(--amber-ink);
  border: none;
  padding: 18px 36px;
  border-radius: 12px;
  font-family: var(--font-outfit);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), filter 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(232,160,32,0.35), 0 0 0 0 rgba(232,160,32,0);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.25) 50%, transparent 60%);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
  pointer-events: none;
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 8px 32px rgba(232,160,32,0.4), 0 0 60px rgba(232,160,32,0.15); }
.btn-ghost {
  background: transparent;
  color: var(--text-on-dark);
  border: 1.5px solid rgba(225,245,238,0.25);
  padding: 18px 32px;
  border-radius: 12px;
  font-family: var(--font-outfit);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.btn-ghost:hover { border-color: rgba(225,245,238,0.5); background: rgba(225,245,238,0.05); box-shadow: 0 0 20px rgba(225,245,238,0.06); }

.hero-stage {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 50%;
  transform: translateX(-15%);
  transform-style: preserve-3d;
  pointer-events: none;
}

/* mobile hero phone — hidden on desktop, shown under the headline on phones */
.hero-mobile { display: none; }

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(225,245,238,0.4);
  pointer-events: none;
}
.scroll-hint .bar {
  width: 1px; height: 24px;
  background: rgba(232,160,32,0.5);
  animation: scrollHint 1.6s ease-in-out infinite;
}

/* ============================================================
   GENERIC SECTION HELPERS
   ============================================================ */
.section { padding: 96px var(--pad-x); position: relative; overflow: hidden; }
.wrap { max-width: 1240px; margin: 0 auto; position: relative; }
.center { text-align: center; }
.h2 {
  font-family: var(--font-outfit);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0;
}
.lead {
  font-size: 17px;
  line-height: 1.6;
  margin-top: 24px;
  margin-left: auto;
  margin-right: auto;
}

.reveal { opacity: 0; transform: translateY(28px); filter: blur(4px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1), filter 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal.in { opacity: 1; transform: translateY(0); filter: blur(0); }

/* ---------- STORY ---------- */
.story { background: var(--cream); }
.story-layout {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 280px 1fr; gap: 80px;
}
.story-sticky { position: sticky; top: 80px; align-self: start; }
.story-beats { display: flex; flex-direction: column; gap: 56px; }
.beat {
  display: grid;
  grid-template-columns: 80px 1fr 280px;
  gap: 32px;
  align-items: start;
}
.beat-n {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--amber-dark);
  font-weight: 600;
  padding-top: 8px;
}
.beat h3 {
  font-family: var(--font-outfit);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--bg-teal);
  margin: 0 0 14px;
}
.beat p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--subtle);
  margin: 0;
  max-width: 480px;
}

/* ---------- PRODUCT FEATURES ---------- */
.feature { padding: 80px var(--pad-x); }
.feature-grid {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 100px;
  align-items: center;
}
.feature h3 {
  font-family: var(--font-outfit);
  font-size: 44px; font-weight: 700;
  line-height: 1.05; letter-spacing: -0.03em;
  margin: 0 0 24px;
}
.feature p.body {
  font-size: 17px; line-height: 1.65; margin: 0 0 28px; max-width: 460px;
}
.feature ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.feature li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; line-height: 1.5;
}
.tick {
  flex-shrink: 0; margin-top: 2px;
  width: 18px; height: 18px; border-radius: 5px;
  color: var(--mint);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.feature-visual {
  display: flex; justify-content: center;
  position: relative;
}
.feature-visual .phone {
  animation: floatY 5s ease-in-out infinite;
  will-change: transform;
  transform: translateZ(0);
}
.feature-visual::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,160,32,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  animation: glowPulse 5s ease-in-out infinite;
}
.feature-text.reveal-x { opacity: 0; transition: all 0.7s cubic-bezier(0.22,1,0.36,1); }
.feature-text.from-left { transform: translateX(-40px); }
.feature-text.from-right { transform: translateX(40px); }
.feature-text.in { opacity: 1; transform: translateX(0); }
.feature-visual.reveal-v { opacity: 0; transform: translateY(20px) scale(0.96); transition: all 0.7s cubic-bezier(0.22,1,0.36,1) 0.1s; }
.feature-visual.in { opacity: 1; transform: translateY(0) scale(1); }

/* ---------- PHONE FRAME ---------- */
.phone {
  background: var(--ink);
  border-radius: 44px;
  border: 3px solid #3a3a36;
  padding: 8px;
  width: 300px; height: 600px;
  position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 80px rgba(232,160,32,0.12);
}
.phone .notch {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 30px; background: #000; border-radius: 18px; z-index: 5;
}
.phone .screen {
  width: 100%; height: 100%;
  background: var(--cream);
  border-radius: 36px;
  overflow: hidden;
  position: relative;
}
.statusbar {
  position: absolute; top: 16px; left: 24px; right: 24px; z-index: 4;
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--ink);
}
.statusbar .right { display: flex; gap: 4px; font-size: 10px; }
.screen-body { padding-top: 50px; height: 100%; overflow: hidden; }
.eyebrow {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--subtle); margin-bottom: 4px;
}
.screen-title {
  font-family: var(--font-outfit); font-weight: 700; font-size: 26px;
  color: var(--bg-teal); letter-spacing: -0.02em;
}
.screen-meta { font-family: var(--font-outfit); font-size: 13px; color: var(--subtle); margin-top: 2px; }

.chip-row { display: flex; gap: 6px; margin-top: 4px; }
.chip {
  font-family: var(--font-outfit); font-size: 11px; font-weight: 600;
  padding: 5px 11px; border-radius: 999px;
  background: transparent; color: var(--subtle); border: 1px solid var(--paper-border);
}
.chip.active { background: var(--bg-teal); color: var(--text-on-dark); border: none; }

.row-card {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; background: var(--paper);
  border-radius: 12px; border: 1px solid var(--paper-border);
}
.qty {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px;
  background: var(--cream); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 9px; color: var(--subtle); font-weight: 600;
}
.item-name { font-family: var(--font-hand); font-size: 17px; color: var(--ink); line-height: 1.1; }
.tag {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 4px 9px; border-radius: 999px; font-weight: 600;
}
.tag.good { background: rgba(29,158,117,0.18); color: var(--mint); }
.tag.warn { background: rgba(232,160,32,0.20); color: var(--amber-dark); }
.tag.bad  { background: rgba(163,45,45,0.18); color: var(--danger); }

.aisle-label {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--amber-dark); font-weight: 600;
  padding: 4px 8px; margin-bottom: 4px;
}
.checkbox {
  width: 18px; height: 18px; flex-shrink: 0; border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 11px; font-weight: 700;
  border: 1.5px solid #d3c5a3; background: transparent;
}
.checkbox.checked { border: none; background: var(--mint); }
.have-it {
  font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--subtle);
}

/* ---------- SAVINGS ---------- */
.savings {
  background: var(--bg-deep);
  position: relative;
}
.savings::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh-dark);
  background-size: 200% 200%;
  animation: gradientShift 30s ease infinite;
  pointer-events: none;
}
.stat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: rgba(225,245,238,0.06); border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(225,245,238,0.08);
  position: relative;
}
.stat {
  background: rgba(4,52,44,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 60px 40px;
  position: relative;
}
.stat .value {
  font-family: var(--font-outfit); font-size: 88px; font-weight: 700;
  line-height: 1; letter-spacing: -0.04em; color: var(--amber); margin-bottom: 20px;
}
.stat .label {
  font-family: var(--font-outfit); font-weight: 600; font-size: 18px;
  color: var(--text-on-dark); margin-bottom: 8px; letter-spacing: -0.01em;
}
.stat .sub { font-size: 14px; line-height: 1.5; color: rgba(225,245,238,0.72); }

/* ---------- TESTIMONIALS ---------- */
.testimonials { background: var(--cream); }
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.quote-card {
  background: var(--paper);
  padding: 40px 36px;
  box-shadow: 0 24px 40px -12px rgba(4,52,44,0.15), 0 8px 16px rgba(4,52,44,0.08);
  background-image: repeating-linear-gradient(0deg, transparent, transparent 31px, rgba(4,52,44,0.05) 31px, rgba(4,52,44,0.05) 32px);
  position: relative;
  opacity: 0;
  transition: all 0.7s cubic-bezier(0.22,1,0.36,1);
}
.quote-card .tape {
  position: absolute; top: -10px; left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 70px; height: 22px; background: rgba(232,160,32,0.4);
}
.quote-text { font-family: var(--font-hand); font-size: 24px; line-height: 1.5; color: var(--ink); margin-bottom: 24px; }
.quote-foot { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(4,52,44,0.1); }
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-teal); color: var(--text-on-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-outfit); font-weight: 700; font-size: 14px;
}
.quote-name { font-family: var(--font-outfit); font-weight: 600; font-size: 14px; color: var(--bg-teal); letter-spacing: -0.01em; }
.quote-role { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--subtle); margin-top: 2px; }

/* ---------- FOUNDER NOTE ---------- */
.founder-note { background: var(--cream); position: relative; overflow: hidden; }
.founder-note .eyebrow { display: inline-block; }
.founder-quote {
  margin: 0; padding: 0; border: none;
  font-family: var(--font-outfit); font-weight: 500;
  font-size: clamp(22px, 2.6vw, 30px); line-height: 1.45; letter-spacing: -0.01em;
  color: var(--bg-teal); text-align: center; text-wrap: pretty;
  position: relative;
}
.founder-quote::before {
  content: '\201C';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-outfit);
  font-size: 140px;
  font-weight: 800;
  line-height: 1;
  color: rgba(4,52,44,0.04);
  pointer-events: none;
}
.founder-sign {
  margin-top: 28px; text-align: center;
  font-family: var(--font-hand); font-size: 26px; color: var(--mint);
  position: relative;
}
.founder-sign::after {
  content: '';
  display: block;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--mint), transparent);
  margin: 8px auto 0;
  border-radius: 2px;
}

/* ---------- PRICING ---------- */
.pricing { background: var(--cream); }
.pricing-blob1 { position: absolute; top: 12%; left: -8%; width: 320px; height: 320px; border-radius: 50%; background: rgba(29,158,117,0.08); pointer-events: none; }
.pricing-blob2 { position: absolute; bottom: 8%; right: -6%; width: 280px; height: 280px; border-radius: 50%; background: rgba(232,160,32,0.1); pointer-events: none; }
.pricing-cards {
  display: flex; flex-wrap: wrap; gap: 40px;
  align-items: flex-end; justify-content: center; padding-top: 16px;
}
.tier { position: relative; flex: 1 1 340px; max-width: 400px; transition: transform 0.4s cubic-bezier(0.22,1,0.36,1); }
.tier .tape {
  position: absolute; top: -10px; left: 50%;
  transform: translateX(-50%) rotate(-1deg);
  width: 72px; height: 24px; border-radius: 2px; z-index: 1;
}
.tier-tag {
  position: absolute; top: -14px; right: 20px; z-index: 2;
  font-family: var(--font-hand); font-size: 18px; color: var(--amber-ink);
  background: var(--amber); padding: 4px 14px 6px; border-radius: 4px;
  transform: rotate(6deg); box-shadow: 2px 3px 0 rgba(4,52,44,0.12);
}
.tier-card {
  position: relative; border-radius: 6px;
  padding: 44px 32px 36px; min-height: 480px;
  display: flex; flex-direction: column;
}
.tier-card .redline { position: absolute; left: 28px; top: 36px; bottom: 36px; width: 1px; }
.tier-card.light {
  background: var(--paper); color: var(--bg-teal); border: 1px solid var(--paper-border);
  background-image: repeating-linear-gradient(0deg, transparent, transparent 27px, rgba(4,52,44,0.07) 27px, rgba(4,52,44,0.07) 28px);
  box-shadow: 0 16px 40px rgba(4,52,44,0.1), 2px 4px 0 rgba(4,52,44,0.04);
}
.tier-card.light .redline { background: rgba(163,45,45,0.25); }
.tier-card.dark {
  background: var(--bg-teal); color: var(--text-on-dark); min-height: 520px;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 27px, rgba(225,245,238,0.08) 27px, rgba(225,245,238,0.08) 28px);
  box-shadow: 0 28px 56px rgba(4,52,44,0.35), 4px 8px 0 rgba(232,160,32,0.15);
}
.tier-card.dark .redline { background: rgba(163,45,45,0.35); }
.tier-name { font-family: var(--font-hand); font-size: 28px; margin: 0 0 20px 12px; line-height: 1.1; }
.tier-card.light .tier-name { color: var(--bg-teal); }
.tier-card.dark .tier-name { color: var(--amber); }
.tier-price-row { display: flex; align-items: flex-start; gap: 14px; margin-left: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.tier-price { font-family: var(--font-outfit); font-size: 52px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; flex-shrink: 0; }
.tier-sub { font-family: var(--font-outfit); font-size: 14px; line-height: 1.4; }
.tier-card.light .tier-sub { color: var(--subtle); }
.tier-card.dark .tier-sub { color: var(--text-on-dark-muted); }
.tier-yearly { font-family: var(--font-outfit); font-size: 13px; line-height: 1.45; color: var(--amber); font-weight: 600; margin-top: 4px; }
.tier-feats { list-style: none; padding: 0; margin: 0 0 28px 12px; flex: 1; display: flex; flex-direction: column; gap: 16px; }
.tier-feats li { display: flex; align-items: flex-start; gap: 10px; font-family: var(--font-outfit); font-size: 15px; line-height: 1.5; }
.feat-n { font-family: var(--font-mono); font-size: 11px; flex-shrink: 0; margin-top: 3px; font-weight: 600; }
.tier-card.light .feat-n { color: var(--amber-dark); }
.tier-card.dark .feat-n { color: var(--amber); }
.tier-card.dark .tier-feats li { color: rgba(225,245,238,0.9); }
.tier-card.light .tier-feats li { color: var(--ink); }
.tier-btn {
  margin-left: 12px; width: calc(100% - 12px);
  padding: 15px 20px; border-radius: 12px; cursor: pointer;
  font-family: var(--font-outfit); font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform 0.2s, filter 0.2s;
}
.tier-btn.primary { background: var(--amber); color: var(--amber-ink); border: none; }
.tier-btn.secondary { background: transparent; }
.tier-card.light .tier-btn.secondary { color: var(--bg-teal); border: 1.5px solid var(--bg-teal); }
.tier-card.dark .tier-btn.secondary { color: var(--text-on-dark); border: 1.5px solid rgba(225,245,238,0.3); }
.tier-btn:hover { transform: translateY(-2px); }

/* ---------- FAQ ---------- */
.faq { background: var(--cream); }
.faq-wrap { max-width: 880px; margin: 0 auto; }
.faq-list { background: var(--paper); border-radius: 18px; border: 1px solid var(--paper-border); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--paper-border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; padding: 24px 32px; background: transparent; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; text-align: left;
  font-family: var(--font-outfit);
}
.faq-q span.q { font-size: 18px; font-weight: 600; color: var(--bg-teal); letter-spacing: -0.01em; padding-right: 16px; }
.faq-q span.plus {
  width: 24px; height: 24px; flex-shrink: 0; color: var(--amber-dark);
  font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.faq-item.open .faq-q span.plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.22,1,0.36,1); }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner { padding: 0 32px 28px; font-size: 16px; line-height: 1.7; color: var(--subtle); max-width: 700px; }

/* ---------- NEWSLETTER ---------- */
.newsletter { background: var(--cream); padding: 88px var(--pad-x); position: relative; overflow: hidden; }
.newsletter-wrap {
  max-width: 580px; margin: 0 auto; text-align: center; position: relative; z-index: 1;
  background: var(--glass-bg-light);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border-light);
  border-radius: 18px;
  padding: 48px 40px;
  box-shadow: 0 16px 48px -12px rgba(4,52,44,0.12);
}
.newsletter h2 {
  font-family: var(--font-outfit); font-size: clamp(28px,5vw,44px); font-weight: 700;
  line-height: 1.15; letter-spacing: -0.03em; color: var(--bg-teal); margin: 0;
}
.newsletter .accent { color: var(--mint); }
.newsletter p.copy { margin: 20px auto 0; font-size: 16px; line-height: 1.65; color: rgba(4,52,44,0.72); max-width: 420px; }
.newsletter form { margin-top: 32px; display: flex; flex-direction: column; gap: 8px; max-width: 420px; margin-left: auto; margin-right: auto; }
.newsletter input {
  padding: 16px 20px; border-radius: 12px; border: 1px solid rgba(4,52,44,0.1);
  background: #fff; color: var(--bg-teal); font-family: var(--font-outfit); font-size: 15px;
  outline: none; box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.newsletter input:focus { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(29,158,117,0.12), 0 2px 8px rgba(0,0,0,0.04); }
.newsletter button {
  padding: 16px 28px; border-radius: 12px; border: none;
  background: var(--bg-teal); color: #fff;
  font-family: var(--font-outfit); font-size: 15px; font-weight: 700; cursor: pointer;
  transition: filter 0.2s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 16px rgba(4,52,44,0.2);
  position: relative;
  overflow: hidden;
}
.newsletter button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
  pointer-events: none;
}
.newsletter button:hover { filter: brightness(1.15); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(4,52,44,0.25); }
.newsletter .msg { margin-top: 16px; font-family: var(--font-outfit); font-size: 14px; font-weight: 500; }
.newsletter .msg.ok { color: var(--mint); }
.newsletter .msg.err { color: var(--danger); }
.msg.ok { color: var(--mint); }
.msg.err { color: var(--danger); }

/* ---------- NEWSLETTER SUCCESS STATE ---------- */
.newsletter-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  animation: fadeUpBlur 0.5s cubic-bezier(0.22,1,0.36,1) forwards;
}
.newsletter-success .check-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}
.newsletter-success .check-circle svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
  stroke-width: 3;
  fill: none;
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: checkDraw 0.4s ease 0.2s forwards;
}
@keyframes checkDraw {
  to { stroke-dashoffset: 0; }
}
.newsletter-success p {
  font-family: var(--font-outfit);
  font-weight: 600;
  font-size: 16px;
  color: var(--bg-teal);
  margin: 0;
}
.newsletter-success .sub-text {
  font-weight: 400;
  font-size: 14px;
  color: var(--subtle);
}
.newsletter .fine { margin-top: 16px; font-family: var(--font-outfit); font-size: 12px; color: rgba(4,52,44,0.6); }
.newsletter-follow {
  margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(4,52,44,0.1);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.newsletter-follow > span {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(4,52,44,0.55);
}
.newsletter-follow-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.newsletter-follow-links a {
  font-family: var(--font-outfit); font-size: 14px; font-weight: 600;
  color: var(--bg-teal); text-decoration: none; border-bottom: 1.5px solid transparent;
  transition: border-color 0.2s;
}
.newsletter-follow-links a:hover { border-bottom-color: var(--bg-teal); }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--bg-deep); color: rgba(225,245,238,0.5); padding: 64px var(--pad-x) 40px;
  border-top: 1px solid rgba(225,245,238,0.08);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 120%, rgba(29,158,117,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.footer-ios-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 0;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(225,245,238,0.06);
  font-family: var(--font-outfit);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-on-dark-muted);
}
.footer-ios-badge svg { width: 20px; height: 20px; opacity: 0.6; }
.footer-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 56px; position: relative; }
.footer-brand { font-family: var(--font-outfit); font-weight: 600; font-size: 16px; color: var(--text-on-dark); letter-spacing: -0.01em; display: block; margin-bottom: 16px; }
.footer p { font-size: 14px; line-height: 1.6; color: rgba(225,245,238,0.62); margin: 0; max-width: 320px; }
.footer-col-title { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--amber); margin-bottom: 16px; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(225,245,238,0.8); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--text-on-dark); }
.footer-bottom { max-width: 1240px; margin: 0 auto; padding-top: 32px; border-top: 1px solid rgba(225,245,238,0.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-copy { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes heroReveal12 { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroReveal20 { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scrollHint {
  0% { transform: scaleY(0.3); transform-origin: top; opacity: 0.3; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0.3); transform-origin: bottom; opacity: 0.3; }
}
@keyframes heroPhoneIn {
  from { opacity: 0; transform: translateY(48px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroMobItemIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUpBlur {
  from { opacity: 0; transform: translateY(32px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes gradientShift {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 0.8; transform: scale(1.05); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marqueeReverse {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   UTILITY CLASSES — glass, glow, gradient text
   ============================================================ */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  box-shadow: var(--glow-card);
}
.glass-card-light {
  background: var(--glass-bg-light);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border-light);
  border-radius: 18px;
  box-shadow: var(--glow-card);
}


/* ---------- TESTIMONIALS MARQUEE ---------- */
.testimonials-marquee {
  background: var(--cream);
  padding: 80px 0;
  overflow: hidden;
  position: relative;
}
.testimonials-marquee .section-header {
  text-align: center;
  padding: 0 var(--pad-x);
  margin-bottom: 48px;
}
.marquee-row {
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  margin-bottom: 20px;
}
.marquee-row:last-child { margin-bottom: 0; }
.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 40s linear infinite;
  will-change: transform;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-row.reverse .marquee-track {
  animation-name: marqueeReverse;
}
.marquee-card {
  flex-shrink: 0;
  width: 360px;
  padding: 28px 24px;
  background: var(--paper);
  border-radius: 12px;
  border: 1px solid var(--paper-border);
  background-image: repeating-linear-gradient(0deg, transparent, transparent 31px, rgba(4,52,44,0.04) 31px, rgba(4,52,44,0.04) 32px);
  box-shadow: 0 8px 24px -8px rgba(4,52,44,0.1), 0 2px 8px rgba(4,52,44,0.04);
  position: relative;
}
.marquee-card .tape {
  position: absolute; top: -8px; left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 56px; height: 18px; background: rgba(232,160,32,0.35);
  border-radius: 2px;
}
.marquee-card .quote-text {
  font-family: var(--font-hand); font-size: 20px; line-height: 1.45; color: var(--ink); margin-bottom: 16px;
}
.marquee-card .quote-foot {
  display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid rgba(4,52,44,0.08);
}

/* ---------- MID-PAGE CTA STRIP ---------- */
.mid-cta {
  background: var(--bg-teal);
  padding: 64px var(--pad-x);
  position: relative;
  overflow: hidden;
}
.mid-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  background-size: 200% 200%;
  animation: gradientShift 20s ease infinite;
  opacity: 0.6;
}
.mid-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.mid-cta h2 {
  font-family: var(--font-outfit);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-on-dark);
  margin: 0 0 12px;
}
.mid-cta p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
  margin: 0 0 32px;
}
.mid-cta-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
}
.mid-cta-form input {
  flex: 1;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid rgba(225,245,238,0.15);
  background: rgba(225,245,238,0.08);
  color: var(--text-on-dark);
  font-family: var(--font-outfit);
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.mid-cta-form input::placeholder { color: var(--text-on-dark-faint); }
.mid-cta-form input:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(232,160,32,0.2); }
.mid-cta-form button {
  padding: 16px 28px;
  border-radius: 12px;
  border: none;
  background: var(--amber);
  color: var(--amber-ink);
  font-family: var(--font-outfit);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s, filter 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(232,160,32,0.3);
}
.mid-cta-form button:hover { transform: translateY(-1px); filter: brightness(1.08); }

/* ---------- STICKY MOBILE CTA BAR ---------- */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  padding: 12px var(--pad-x) calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(4,52,44,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(225,245,238,0.1);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.mobile-cta-bar.visible { transform: translateY(0); }
.mobile-cta-bar-inner {
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
}
.mobile-cta-bar .btn-primary {
  padding: 14px 24px;
  font-size: 14px;
  flex-shrink: 0;
  width: 100%;
  justify-content: center;
}
.mobile-cta-bar .close-bar {
  position: absolute;
  top: -28px;
  right: 16px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(4,52,44,0.7);
  border: 1px solid rgba(225,245,238,0.15);
  color: var(--text-on-dark-muted);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ---------- APP STORE BADGE ---------- */
.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 12px;
  background: rgba(225,245,238,0.06);
  border: 1px solid rgba(225,245,238,0.1);
  font-family: var(--font-outfit);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-on-dark-muted);
  text-decoration: none;
  margin-top: 20px;
}
.app-store-badge svg { width: 18px; height: 18px; opacity: 0.7; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .feature-grid { grid-template-columns: 1fr; gap: 48px; }
  .feature-text { order: 2 !important; }
  .feature-visual { order: 1 !important; }
  .stat-grid { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .pricing-cards { flex-direction: column; align-items: stretch; padding-top: 0; }
  .pricing-cards .tier { max-width: none; transform: none !important; }
  .story-layout { grid-template-columns: 1fr; gap: 40px; }
  .story-sticky { position: static; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .beat { grid-template-columns: 48px 1fr; }
  .beat-visual { grid-column: 1 / -1; max-width: 320px; }
  .hero-nav { flex-wrap: wrap; gap: 10px 14px; justify-content: flex-end; }
  .hero-nav .nav-cta { padding: 8px 14px; font-size: 12px; }
}
@media (max-width: 760px) {
  .nav-links { gap: 16px; }
  .h2 { font-size: clamp(34px, 8vw, 52px) !important; }
  .feature h3 { font-size: 34px; }
  .stat .value { font-size: 68px; }

  /* --- mobile hero: collapse the 300vh scroll stage into a normal stacked layout --- */
  .hero { height: auto; }
  .hero-sticky { position: static; height: auto; overflow: visible; padding-top: 100px; padding-bottom: 56px; }
  .hero-stage { display: none; }
  .scroll-hint { display: none; }

  .hero-headline {
    position: static;
    transform: none;
    max-width: none;
    margin: 0 auto;
    padding: 0 var(--pad-x);
    text-align: center;
  }
  .hero-headline h1 { font-size: clamp(40px, 10vw, 58px); }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }

  .hero-mobile {
    display: flex;
    justify-content: center;
    padding: 48px var(--pad-x) 8px;
  }
  .hero-mobile .phone { width: min(300px, 82vw); height: auto; aspect-ratio: 1 / 2; }

  /* --- center all section content on mobile --- */
  /* Story */
  .story-sticky { text-align: center; }
  .story-sticky p { max-width: 300px; margin-left: auto !important; margin-right: auto !important; }
  .beat { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 16px; }
  .beat-n { padding-top: 0; }
  .beat p { margin-left: auto; margin-right: auto; }
  .beat-visual { grid-column: 1 / -1; max-width: 320px; width: 100%; margin: 0 auto; }

  /* Product features */
  .feature-text { text-align: center; }
  .feature p.body { margin-left: auto; margin-right: auto; }
  .feature ul { align-items: center; }
  .feature li { text-align: left; }

  /* Footer */
  .footer { text-align: center; }
  .footer p { margin-left: auto; margin-right: auto; }
  .footer-col ul { align-items: center; }
  .footer-bottom { justify-content: center; text-align: center; }

  /* Savings stats */
  .stat { text-align: center; }

  /* Mobile CTA bar */
  .mobile-cta-bar { display: block; }

  /* Mid-page CTA */
  .mid-cta-form { flex-direction: column; }

  /* Newsletter glass card */
  .newsletter-wrap { padding: 32px 24px; }

  /* Testimonials marquee */
  .marquee-card { width: 300px; padding: 24px 20px; }

  /* App store badge */
  .app-store-badge { margin-left: auto; margin-right: auto; }
}

@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .hero-mobile .phone { opacity: 0; animation: heroPhoneIn 0.9s cubic-bezier(0.22,1,0.36,1) 0.15s forwards; }
  .hero-mobile .row-card { opacity: 0; animation: heroMobItemIn 0.55s ease forwards; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-hint .bar { animation: none; }
  .hero-sticky::before { animation: none; }
  .savings::before { animation: none; }
  .mid-cta::before { animation: none; }
  .btn-primary::after { animation: none; }
  .newsletter button::after { animation: none; }
  .marquee-track { animation: none; }
  .feature-visual .phone { animation: none; }
  .feature-visual::after { animation: none; }
  .reveal { transition-duration: 0.01s; filter: none; }
}

/* ============================================================
   ACCESSIBILITY — visible keyboard focus
   ============================================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
.nav-cta:focus-visible,
.btn-primary:focus-visible,
.btn-ghost:focus-visible,
.tier-btn:focus-visible,
.faq-q:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}
/* On amber backgrounds, switch to a dark ring so it stays visible */
.btn-primary:focus-visible,
.nav-cta:focus-visible,
.tier-btn.primary:focus-visible {
  outline-color: var(--bg-teal);
}
.newsletter input:focus-visible {
  outline: 3px solid var(--bg-teal);
  outline-offset: 2px;
  border-color: var(--bg-teal);
}

/* ============================================================
   STICKY HEADER (revealed after the hero)
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--pad-x);
  background: rgba(4, 52, 44, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(225, 245, 238, 0.1);
  transform: translateY(-105%);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.site-header.visible { transform: translateY(0); box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.site-header .brand { display: flex; align-items: center; text-decoration: none; }
.site-header .brand img { height: 24px; width: auto; }
.site-header-nav { display: flex; align-items: center; gap: 28px; }
.site-header-nav .nav-cta { padding: 9px 18px; font-size: 13px; }
@media (max-width: 620px) {
  .site-header-nav .nav-link { display: none; }
}

/* ============================================================
   HERO TRUST LINE (honest momentum, no fabricated numbers)
   ============================================================ */
.hero-trust {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-on-dark-muted);
  opacity: 0;
  animation: fadeUpBlur 0.8s cubic-bezier(0.22,1,0.36,1) 0.5s forwards;
}
.hero-trust .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(29,158,117,0.55);
  flex-shrink: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-trust .dot { animation: trustPulse 2.4s ease-out infinite; }
}
@keyframes trustPulse {
  0% { box-shadow: 0 0 0 0 rgba(29,158,117,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(29,158,117,0); }
  100% { box-shadow: 0 0 0 0 rgba(29,158,117,0); }
}

/* ============================================================
   APP SCREENSHOTS GALLERY
   ============================================================ */
.app-shots { background: var(--bg-teal); }
.shots-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px 40px;
}
.shot {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.shot:hover { transform: translateY(-8px) scale(1.02); }
.shot:nth-child(2) .shot-phone { transform: perspective(800px) rotateY(-2deg); }
.shot-phone {
  position: relative;
  width: 264px;
  aspect-ratio: 1206 / 2622;
  background: #1f1f1d;
  border: 3px solid #3a3a36;
  border-radius: 42px;
  padding: 6px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 70px rgba(232,160,32,0.1);
  overflow: hidden;
  transition: box-shadow 0.4s;
}
.shot:hover .shot-phone { box-shadow: 0 40px 80px rgba(0,0,0,0.45), 0 0 100px rgba(232,160,32,0.15); }
.shot:nth-child(2)::after {
  content: '';
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,160,32,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.shot-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 104px; height: 28px; background: #000; border-radius: 16px; z-index: 3;
}
.shot-img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 36px;
  display: block;
}
.shot-placeholder {
  position: absolute; inset: 7px;
  display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  border-radius: 34px;
  background: var(--cream);
  border: 2px dashed var(--paper-border);
  text-align: center; padding: 24px;
}
.shot-placeholder span {
  font-family: var(--font-outfit); font-weight: 700; font-size: 17px; color: var(--bg-teal);
}
.shot-placeholder small {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--subtle);
}
.shot-phone.empty .shot-img { display: none; }
.shot-phone.empty .shot-placeholder { display: flex; }
.shot figcaption {
  font-family: var(--font-outfit); font-weight: 600; font-size: 15px;
  color: var(--text-on-dark); letter-spacing: -0.01em; text-align: center; max-width: 240px;
}
.shot-desc {
  font-family: var(--font-outfit); font-size: 13px; line-height: 1.5;
  color: var(--text-on-dark-faint); text-align: center; max-width: 220px;
  margin-top: -8px;
}
