/* ============================================================
   Tysha — marketing site
   Mobile-first. Base styles target phones; min-width queries
   enhance for tablet / desktop. Warm, editorial, premium.
   ============================================================ */

/* Self-hosted fonts (latin subset) — removes the render-blocking Google
   Fonts request; swap avoids invisible text while they load. */
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/hanken-400.woff2) format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/hanken-500.woff2) format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/hanken-600.woff2) format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/hanken-700.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/instrument-400.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/instrument-400-italic.woff2) format('woff2'); }

:root {
  /* surfaces */
  --sand:    #FBF3E7;
  --sand-2:  #F7E9D6;
  --paper:   #FFFCF7;
  --paper-2: #FFF8EE;
  /* ink + text */
  --ink:     #2C221B;
  --ink-2:   #6B594B;
  --muted:   #9C8A78;
  --line:    rgba(74, 52, 34, 0.12);
  --line-2:  rgba(74, 52, 34, 0.07);
  /* accent */
  --terra:       #D87B49;
  --terra-deep:  #BD6336;
  --terra-ink:   #A6552C;
  --amber:       #F0A86E;
  --accent-soft: rgba(216, 123, 73, 0.12);
  --accent-line: rgba(216, 123, 73, 0.30);
  /* night */
  --night:   #221913;
  --night-2: #3A2A1F;
  --cream:   #FBEAD7;
  /* shadows */
  --sh-sm: 0 4px 14px rgba(120, 78, 40, 0.07);
  --sh:    0 14px 38px rgba(120, 78, 40, 0.10);
  --sh-lg: 0 30px 70px rgba(120, 78, 40, 0.16);
  /* shape */
  --r-sm: 14px;
  --r:    20px;
  --r-lg: 30px;
  --r-xl: 38px;
  /* layout */
  --maxw: 1140px;
  --pad: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  background: var(--sand);
  color: var(--ink-2);
  line-height: 1.62;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html { overflow-x: clip; }

h1, h2, h3 { color: var(--ink); line-height: 1.05; margin: 0; font-weight: 600; }
p { margin: 0; }
a { color: var(--terra-ink); text-decoration: none; }
img { max-width: 100%; display: block; }
em { font-style: italic; }

.serif {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.005em;
}

/* fluid display sizes */
.d1 { font-size: clamp(42px, 11vw, 78px); }
.d2 { font-size: clamp(33px, 7vw, 50px); }
.d3 { font-size: clamp(27px, 5vw, 36px); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

/* Keyboard skip-to-content link (visible only on focus) */
.skip-link {
  position: absolute; left: 12px; top: -64px; z-index: 100;
  background: var(--ink); color: #fff; padding: 11px 18px;
  border-radius: 0 0 12px 12px; font-weight: 700; font-size: 14px;
  transition: top .2s;
}
.skip-link:focus { top: 0; color: #fff; outline: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--terra-ink);
}
.eyebrow.chip {
  padding: 8px 15px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  letter-spacing: 0.06em;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--terra); }

.lede { color: var(--ink-2); font-size: clamp(17px, 2.4vw, 19px); line-height: 1.6; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-weight: 700; font-size: 15.5px; cursor: pointer;
  border: 1.5px solid transparent; border-radius: 14px; padding: 15px 22px;
  text-align: center; transition: transform .16s ease, box-shadow .22s ease, background .2s ease, color .2s ease;
  min-height: 50px;
}
.btn-ink { background: var(--ink); color: #FFF6EC; box-shadow: 0 12px 26px rgba(44, 34, 27, 0.26); }
.btn-ink:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(44, 34, 27, 0.32); color: #FFF6EC; }
.btn-terra { background: var(--terra); color: #fff; box-shadow: 0 12px 26px rgba(216, 123, 73, 0.32); }
.btn-terra:hover { transform: translateY(-2px); background: var(--terra-deep); color: #fff; }
.btn-ghost { background: rgba(255,255,255,0.65); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: #fff; border-color: rgba(74,52,34,0.2); color: var(--ink); }

.btn-store { padding: 13px 22px; }
.btn-store .lbl { text-align: left; line-height: 1.05; }
.btn-store .lbl small { display: block; font-size: 11px; font-weight: 500; opacity: .82; }
.btn-store .lbl b { display: block; font-size: 18px; font-weight: 700; }
.btn-store svg { flex: none; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 243, 231, 0.82);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--line-2);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 36px; height: 36px; border-radius: 11px; box-shadow: var(--sh-sm); }
.brand span { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.nav-links { display: none; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink-2); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--terra-deep); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-actions .btn { padding: 10px 18px; min-height: 0; font-size: 14.5px; border-radius: 999px; }

/* hamburger toggle (mobile only) */
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; margin-right: -8px;
  border: 0; background: transparent; cursor: pointer; color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ""; display: block; width: 22px; height: 2px; border-radius: 2px;
  background: currentColor; transition: transform .25s ease, opacity .2s ease, background .2s ease;
}
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before { position: absolute; left: 0; top: -7px; }
.nav-toggle .bars::after  { position: absolute; left: 0; top: 7px; }
.nav.menu-open .nav-toggle .bars { background: transparent; }
.nav.menu-open .nav-toggle .bars::before { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .nav-toggle .bars::after  { transform: translateY(-7px) rotate(-45deg); }

/* slide-down mobile menu panel (overlays content, no layout shift) */
.mobile-menu {
  position: absolute; top: 100%; left: 0; right: 0;
  display: grid; gap: 2px;
  max-height: 0; overflow: hidden;
  padding-inline: var(--pad);
  background: rgba(251, 243, 231, 0.97);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: max-height .32s ease, padding .32s ease, border-color .25s ease, box-shadow .25s ease;
}
.nav.menu-open .mobile-menu {
  max-height: 70vh;
  padding-block: 6px 18px;
  border-bottom-color: var(--line);
  box-shadow: 0 20px 40px rgba(120, 78, 40, 0.12);
}
.mobile-menu a:not(.btn) {
  padding: 14px 4px; font-size: 17px; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--line-2);
}
.mobile-menu a:not(.btn):active { color: var(--terra-deep); }
.mobile-menu .btn { margin-top: 14px; width: 100%; }

/* ---------- section scaffolding ---------- */
.section { padding-block: clamp(64px, 11vw, 116px); position: relative; }
.section-head { max-width: 640px; margin: 0 auto clamp(36px, 6vw, 56px); text-align: center; }
.section-head .d2 { margin-top: 12px; }
.section-head p { margin-top: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 16%, rgba(240, 168, 110, 0.30), transparent 62%),
    radial-gradient(70% 60% at 10% 96%, rgba(255, 255, 255, 0.65), transparent 60%),
    linear-gradient(170deg, var(--sand) 0%, var(--sand-2) 100%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: 30px; padding-block: clamp(40px, 8vw, 88px); align-items: center; }
.hero-copy { text-align: center; }
.hero-copy .eyebrow { margin-bottom: 20px; }
.hero h1 { margin-bottom: 18px; }
.hero h1 em { color: var(--terra); }
.hero-copy .lede { max-width: 500px; margin-inline: auto; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.hero-cta .btn { flex: 1 1 auto; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center;
  margin-top: 22px; font-size: 13.5px; font-weight: 600; color: var(--muted);
}
.hero-trust .sep { opacity: .45; }

/* phone product */
.device-stage { position: relative; display: flex; justify-content: center; padding-top: 8px; }
.device-glow {
  position: absolute; width: 78%; max-width: 380px; aspect-ratio: 1; top: 6%;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(240, 168, 110, 0.42), rgba(240, 168, 110, 0) 68%);
  animation: glow 7s ease-in-out infinite;
}
.device {
  position: relative; z-index: 1;
  width: min(282px, 78vw); aspect-ratio: 286 / 588;
  background: #16151a; border-radius: 46px; padding: 11px;
  box-shadow: 0 40px 80px rgba(90, 55, 25, 0.30), 0 0 0 2px rgba(0,0,0,0.05);
  animation: float 7s ease-in-out infinite;
}
.device .notch {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 88px; height: 25px; background: #000; border-radius: 999px; z-index: 3;
}
.screen {
  width: 100%; height: 100%; border-radius: 36px; overflow: hidden;
  background: linear-gradient(180deg, #FFF6EC 0%, #FAE6D1 100%);
  display: flex; flex-direction: column; color: #4A3526;
}
.screen .statusbar { display: flex; justify-content: space-between; padding: 16px 22px 0; font-size: 12.5px; font-weight: 600; color: #5A4636; }
.screen .body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 22px; }
.screen .np { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #B08A6A; font-weight: 700; }
.screen .track { margin-top: 6px; font-family: 'Instrument Serif', serif; font-size: 26px; color: #4A3526; }
.orb { position: relative; margin-top: 26px; width: 138px; height: 138px; display: grid; place-items: center; }
.orb .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(216, 123, 73, 0.42); animation: ring 3s ease-out infinite; }
.orb .ring.r2 { animation-delay: 1.5s; }
.orb .core {
  width: 104px; height: 104px; border-radius: 50%;
  background: linear-gradient(145deg, #F2A971, #DD7E44);
  display: grid; place-items: center; box-shadow: 0 16px 30px rgba(220, 120, 60, 0.42);
}
.orb .core .tri { width: 0; height: 0; border-top: 16px solid transparent; border-bottom: 16px solid transparent; border-left: 26px solid #fff; margin-left: 6px; }
.mixer { margin-top: 32px; width: 100%; display: flex; flex-direction: column; gap: 13px; }
.mixrow { display: flex; align-items: center; gap: 10px; }
.mixrow .name { font-size: 12px; width: 42px; color: #7A6452; font-weight: 600; }
.mixrow .bar { flex: 1; height: 6px; border-radius: 99px; background: rgba(180, 138, 106, 0.24); overflow: hidden; }
.mixrow .bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #EBA268, #DD7E44); }
.screen .timer { display: flex; justify-content: center; padding: 0 22px 24px; }
.screen .timer span { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; background: rgba(255,255,255,0.72); border: 1px solid rgba(180, 138, 106, 0.26); border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #5A4636; }

/* ---------- trust rule ---------- */
.trust-rule {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 0;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--paper); box-shadow: var(--sh-sm); overflow: hidden;
}
.trust-rule .stat { flex: 1 1 50%; padding: 20px 14px; text-align: center; border-top: 1px solid var(--line-2); }
.trust-rule .stat:nth-child(-n+2) { border-top: 0; }
.trust-rule .stat .n { font-family: 'Instrument Serif', serif; font-size: 30px; color: var(--terra); line-height: 1; }
.trust-rule .stat .l { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: 4px; }

/* ---------- features (bento) ---------- */
.bento { display: grid; gap: 16px; }
.feat {
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--sh-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.feat .ico {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--terra-deep); margin-bottom: 16px;
}
.feat h3 { font-size: 19px; margin-bottom: 7px; }
.feat p { font-size: 15px; color: var(--ink-2); }
.feat.wide { background: linear-gradient(150deg, var(--paper) 0%, var(--paper-2) 100%); }

/* ---------- mixer / "real noise" showcase ---------- */
.showcase .wrap { display: grid; gap: 34px; align-items: center; }
.showcase h2 { margin-bottom: 14px; }
.showcase .lede { margin-bottom: 22px; }
.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist .row { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink); }
.checklist .row .tick { flex: none; width: 23px; height: 23px; border-radius: 50%; background: var(--terra); display: grid; place-items: center; margin-top: 1px; }
.console {
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  box-shadow: var(--sh); padding: 26px 24px;
}
.console .label { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.console .label b { color: var(--terra-deep); }
.eq { display: flex; align-items: flex-end; gap: 5px; height: 120px; margin: 22px 0 24px; }
.eq i { flex: 1; background: linear-gradient(180deg, var(--amber), var(--terra)); border-radius: 6px; animation: eq 1.4s ease-in-out infinite; opacity: .9; }
.console .legend { display: flex; flex-wrap: wrap; gap: 10px; }
.console .legend span { font-size: 13px; font-weight: 600; color: var(--terra-ink); background: var(--accent-soft); border: 1px solid var(--accent-line); padding: 7px 13px; border-radius: 999px; }

/* ---------- night (3am) section ---------- */
.night {
  background: linear-gradient(165deg, var(--night) 0%, var(--night-2) 100%);
  color: var(--cream); overflow: hidden;
}
.night .d2 { color: #FFF6EC; }
.night .d2 em { color: var(--amber); }
.night .eyebrow { color: var(--amber); }
.night-grid { display: grid; gap: 40px; align-items: center; }
.night p { color: rgba(251, 234, 215, 0.78); }
.night-points { display: flex; flex-direction: column; gap: 16px; margin-top: 26px; }
.night-points .row { display: flex; gap: 13px; align-items: flex-start; color: #FFF6EC; font-weight: 500; }
.night-points .row .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--terra); display: grid; place-items: center; }
.moon-stage { position: relative; display: grid; place-items: center; min-height: 240px; }
.moon {
  position: relative; width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, #FCEBD2, #F0A86E 70%, #D87B49);
  box-shadow: 0 0 70px rgba(240, 168, 110, 0.5), inset -14px -14px 36px rgba(160, 85, 44, 0.4);
}
.moon .wave { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(240, 168, 110, 0.5); animation: ring 3.6s ease-out infinite; }
.moon .wave.w2 { animation-delay: 1.2s; }
.moon .wave.w3 { animation-delay: 2.4s; }
.star { position: absolute; border-radius: 50%; background: #FCEBD2; animation: twinkle 3s ease-in-out infinite; }

/* ---------- pricing ---------- */
.pricing .wrap { max-width: 720px; }
.price-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--sh); padding: clamp(30px, 5vw, 44px) clamp(22px, 4vw, 40px); text-align: center;
}
.price-card .price { font-family: 'Instrument Serif', serif; font-size: clamp(48px, 12vw, 62px); color: var(--ink); line-height: 1; }
.price-card .sub { color: var(--muted); font-size: 15px; margin-top: 6px; }
.price-card .hr { height: 1px; background: var(--line); margin: 26px auto; max-width: 340px; }
.price-feats { display: grid; gap: 12px 26px; text-align: left; max-width: 440px; margin: 0 auto; }
.price-feats .row { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--ink); }
.price-feats .row .tick { color: var(--terra); flex: none; }
.price-card .btn { margin-top: 30px; }
.price-note { margin: 22px auto 0; max-width: 520px; text-align: center; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.price-note strong { color: var(--ink-2); }

/* Lifetime Pro panel — clearly separated from the free plan */
.pro-card {
  margin-top: 18px; background: var(--paper); border: 1px solid var(--accent-line);
  border-radius: var(--r-lg); box-shadow: var(--sh-sm);
  padding: clamp(24px, 4vw, 32px);
}
.pro-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pro-badge {
  font-weight: 700; font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--terra-ink); background: var(--accent-soft); border: 1px solid var(--accent-line);
  padding: 6px 13px; border-radius: 999px;
}
.pro-price { font-size: 14px; color: var(--muted); font-weight: 600; }
.pro-sub { margin-top: 15px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.pro-feats { margin-top: 16px; display: grid; gap: 12px; }
.pro-feats .row { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--ink); line-height: 1.45; }
.pro-feats .row strong { font-weight: 700; }
.pro-feats .tick-pro { color: var(--terra); flex: none; font-size: 15px; line-height: 1.5; }
.pro-note { margin-top: 16px; font-size: 13.5px; color: var(--muted); }

/* Small "Pro" tag for a Pro-only feature card */
.pro-pill {
  display: inline-block; vertical-align: middle; margin-left: 8px;
  font-family: 'Hanken Grotesk', sans-serif; font-weight: 700;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--terra-ink); background: var(--accent-soft); border: 1px solid var(--accent-line);
  padding: 3px 9px; border-radius: 999px;
}

/* ---------- testimonials ---------- */
.quotes { display: grid; gap: 16px; }
.quote {
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r);
  padding: 24px; box-shadow: var(--sh-sm);
}
.quote .stars { color: var(--terra); font-size: 14px; letter-spacing: 2px; }
.quote p { margin: 12px 0 16px; font-size: 15.5px; line-height: 1.55; color: var(--ink); }
.quote .who { font-size: 14px; font-weight: 700; color: var(--ink); }
.quote .who small { display: block; font-weight: 500; font-size: 13px; color: var(--muted); }

/* ---------- faq ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--paper); border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 19px 22px; font-size: 16px; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--terra); font-size: 24px; font-weight: 400; transition: transform .25s ease; line-height: 1; }
.faq-item[open] summary::after { content: '\2013'; }
.faq-item p { padding: 0 22px 20px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* ---------- final CTA ---------- */
.final { text-align: center; }
.final .wrap { max-width: 640px; }
.final img.mark { width: 72px; height: 72px; border-radius: 20px; margin: 0 auto; box-shadow: var(--sh); }
.final h2 { margin: 24px 0 14px; }
.final .lede { margin-inline: auto; max-width: 440px; }
.final .btn { margin-top: 28px; }

/* ---------- footer ---------- */
.footer { background: var(--night); color: rgba(251, 234, 215, 0.66); }
.footer .wrap { padding-block: 52px; }
.footer .top { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.footer .about { max-width: 300px; }
.footer .about .brand span { color: #FFF6EC; }
.footer .about p { margin-top: 14px; font-size: 14px; line-height: 1.55; }
.footer .cols { display: flex; flex-wrap: wrap; gap: 48px; }
.footer .col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--amber); margin: 0 0 12px; }
.footer .col a { display: block; color: inherit; font-size: 14px; padding: 5px 0; }
.footer .col a:hover { color: #FFF6EC; }
.footer .copyright { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.09); font-size: 13px; color: rgba(251, 234, 215, 0.5); text-align: center; }

/* ============================================================
   Animations
   ============================================================ */
@keyframes float  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes glow   { 0%,100% { opacity: .55; transform: scale(1); } 50% { opacity: .9; transform: scale(1.06); } }
@keyframes ring   { 0% { transform: scale(.82); opacity: .55; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes twinkle{ 0%,100% { opacity: .25; } 50% { opacity: .95; } }
@keyframes eq     { 0%,100% { height: 28%; } 50% { height: 100%; } }

[data-reveal] { opacity: 0; transform: translateY(22px); }
.revealed [data-reveal], [data-reveal].revealed { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Tablet  ≥ 720px
   ============================================================ */
@media (min-width: 720px) {
  :root { --pad: 32px; }
  .trust-rule .stat { flex: 1; border-top: 0; border-left: 1px solid var(--line-2); }
  .trust-rule .stat:first-child { border-left: 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .night-grid { grid-template-columns: 1.1fr 0.9fr; }
  .moon-stage { min-height: 300px; }
  .footer .wrap { padding-block: 60px; }
  .footer .copyright { text-align: left; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
}

/* ============================================================
   Desktop ≥ 1000px
   ============================================================ */
@media (min-width: 1000px) {
  body { font-size: 17.5px; }
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none; }
  .hero-grid { grid-template-columns: 1.04fr 0.96fr; gap: 44px; padding-block: 76px 90px; }
  .hero-copy { text-align: left; }
  .hero-copy .eyebrow { margin-bottom: 22px; }
  .hero-copy .lede { margin-inline: 0; }
  .hero-cta { justify-content: flex-start; }
  .hero-cta .btn { flex: 0 0 auto; }
  .hero-trust { justify-content: flex-start; }
  .device-stage { order: 0; }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .feat.wide { grid-column: span 2; display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; }
  .feat.wide .ico { margin-bottom: 0; }
  .showcase .wrap { grid-template-columns: 0.92fr 1.08fr; gap: 56px; }
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .eq { height: 150px; }
}

/* ============ REAL SCREENSHOT IN HERO FRAME ============ */
/* The screenshot ships its own status bar + notch, so hide the CSS notch. */
.device.real .notch { display: none; }
.device.real .screen { background: #16151a; }
.screen .shot { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============ SCREENSHOT GALLERY ("See it in action") ============ */
/* Track widths are capped so each phone is bounded by its column, not just
   by the frame's max-width — the layout can't blow up if a rule is missed. */
.shots-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 46vw));
  justify-content: center;
  gap: 30px 16px;
  margin-top: 44px;
}
@media (min-width: 560px) { .shots-grid { grid-template-columns: repeat(2, 200px); gap: 44px 34px; } }
@media (min-width: 980px) { .shots-grid { grid-template-columns: repeat(4, 210px); gap: 40px 30px; } }
.shot-item { text-align: center; min-width: 0; }
.shot-item .frame {
  width: 100%; margin: 0 auto; background: #14131a; padding: 7px;
  border-radius: 30px;
  box-shadow: 0 20px 44px rgba(90, 55, 25, 0.20), 0 2px 6px rgba(90, 55, 25, 0.10);
}
.shot-item .frame img { width: 100%; height: auto; display: block; border-radius: 24px; }
.shot-item h3 {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: clamp(18px, 2.2vw, 22px); line-height: 1.12; margin: 22px 0 6px;
  text-wrap: balance;
}
.shot-item h3 em { color: var(--terra); font-style: italic; }
.shot-item p { color: var(--ink-2); font-size: 14px; line-height: 1.5; max-width: 230px; margin: 0 auto; }

/* ============ STICKY MOBILE DOWNLOAD BAR (conversion) ============ */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px 18px; border-radius: 16px;
    background: var(--ink); color: #FFF6EC; font-weight: 700; font-size: 16px;
    box-shadow: 0 12px 30px rgba(44, 34, 27, 0.34);
    animation: stickyIn 0.4s ease 0.6s both;
  }
  @keyframes stickyIn { from { transform: translateY(120%); } to { transform: translateY(0); } }
  /* Keep the final CTA clear of the bar */
  .final { padding-bottom: 96px; }
}
