/* =========================================================================
   Appricio — marketing site
   Brand tokens mirror the app (apps/web/app/globals.css): warm editorial
   palette, Fraunces display + Inter sans, terracotta accent.
   ========================================================================= */

:root {
  --cream: #f8f4ed;
  --cream-deep: #f1ebe0;
  --card: #ffffff;
  --ink: #1f1a17;
  --ink-soft: #6f6259;
  --ink-mute: #9a8e83;
  --ink-faint: #c8bdb1;
  --terracotta: #c2532a;
  --terracotta-deep: #9a3f1d;
  --terracotta-soft: #f4ddd0;
  --sage: #5d6b53;
  --sage-soft: #e3e7dd;
  --warm-border: #e5ddd2;
  --warm-pill: #f0eae0;

  --font-editorial: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1140px;
  --radius-card: 22px;
  --radius-lg: 28px;
  --shadow-card: 0 18px 50px -28px rgba(31, 26, 23, 0.35);
  --shadow-float: 0 30px 70px -36px rgba(31, 26, 23, 0.45);
}

[data-theme="dark"] {
  --cream: #15110e;
  --cream-deep: #1d1815;
  --card: #211b17;
  --ink: #f6f1e8;
  --ink-soft: #b8aea3;
  --ink-mute: #877a6e;
  --ink-faint: #4a423a;
  --terracotta: #e07346;
  --terracotta-deep: #c2532a;
  --terracotta-soft: #3a221a;
  --sage: #8aa07d;
  --sage-soft: #2a3127;
  --warm-border: #2e2722;
  --warm-pill: #261f1b;
  --shadow-card: 0 18px 50px -26px rgba(0, 0, 0, 0.7);
  --shadow-float: 0 34px 80px -40px rgba(0, 0, 0, 0.8);
}

/* ----------------------------- reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
  font-feature-settings: "ss01" on, "cv11" on;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--terracotta); color: #fff; }

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--cream);
  padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* --------------------------- typography ------------------------------- */
.display {
  font-family: var(--font-editorial);
  font-weight: 600;
  font-variation-settings: "opsz" 144, "SOFT" 48;
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.h2 {
  font-family: var(--font-editorial);
  font-weight: 600;
  font-variation-settings: "opsz" 96, "SOFT" 36;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.ink-accent { font-style: italic; color: var(--terracotta); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.eyebrow--sm { font-size: 10px; letter-spacing: 0.15em; color: var(--ink-mute); }
.eyebrow--invert { color: rgba(255, 255, 255, 0.7); }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 34ch;
}
.lede strong { color: var(--ink); font-weight: 600; }
.body-lg { font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.6; color: var(--ink-soft); }
.body-lg + .body-lg { margin-top: 1rem; }

/* ------------------------------ buttons ------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 14.5px; cursor: pointer;
  border: 1px solid transparent; transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: var(--terracotta); transform: translateY(-1px); }

/* ------------------------------- nav ---------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(180%) blur(14px);
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.is-scrolled { border-bottom-color: var(--warm-border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  transition: color 0.18s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 12px; }

.wordmark { display: inline-flex; align-items: baseline; gap: 5px; }
.wordmark__text {
  font-family: var(--font-editorial); font-weight: 600;
  font-variation-settings: "opsz" 80, "SOFT" 40;
  font-size: 23px; letter-spacing: -0.02em; color: var(--ink);
}
.wordmark__dot { width: 7px; height: 7px; border-radius: 999px; background: var(--terracotta); }
.wordmark--lg .wordmark__text { font-size: 30px; }
.wordmark--lg .wordmark__dot { width: 9px; height: 9px; }

.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 999px;
  background: transparent; border: 1px solid var(--warm-border); color: var(--ink-soft);
  cursor: pointer; transition: color 0.18s ease, border-color 0.18s ease;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--ink-mute); }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* ------------------------------ hero ---------------------------------- */
.hero { padding: clamp(48px, 7vw, 92px) 0 clamp(40px, 6vw, 72px); position: relative; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__copy .eyebrow { margin-bottom: 18px; }
.display + .lede, .hero__copy .display { margin-top: 0; }
.hero .display { margin-bottom: 22px; }
.hero__micro { margin-top: 18px; font-size: 13px; color: var(--ink-mute); }
.hero__micro a { color: var(--terracotta); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.store-badges { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; }
.store-badges--center { justify-content: center; }
.store-badge { transition: transform 0.18s ease, opacity 0.18s ease; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge img { width: auto; }
.store-badge img[src*="appstore"] { height: 50px; }
.store-badge img[src*="googleplay"] { height: 50px; }

/* ---------------------------- waitlist -------------------------------- */
.waitlist { width: 100%; max-width: 440px; margin-top: 28px; }
.waitlist__row { display: flex; gap: 10px; }
.waitlist__input {
  flex: 1; min-width: 0; padding: 13px 18px; border-radius: 999px;
  border: 1px solid var(--warm-border); background: var(--card); color: var(--ink);
  font-family: var(--font-sans); font-size: 15px; transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.waitlist__input::placeholder { color: var(--ink-mute); }
.waitlist__input:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px color-mix(in srgb, var(--terracotta) 18%, transparent); }
.waitlist__btn { white-space: nowrap; flex: none; }
.waitlist__btn:disabled { opacity: 0.7; cursor: default; }
.waitlist__btn--invert { background: #fff; color: var(--terracotta-deep); }
.waitlist__btn--invert:hover { background: var(--ink); color: var(--cream); }
.waitlist__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.waitlist__msg { margin-top: 11px; font-size: 13px; min-height: 17px; line-height: 1.4; color: var(--ink-soft); }
.waitlist__msg.is-error { color: var(--terracotta-deep); font-weight: 500; }
.waitlist__msg.is-success { color: var(--sage); font-weight: 500; }
.waitlist.is-done .waitlist__row { display: none; }
.waitlist.is-done .waitlist__msg { margin-top: 0; font-size: 16px; }

/* Invert variant — on the terracotta download band */
.waitlist--invert { margin-left: auto; margin-right: auto; }
.waitlist--invert .waitlist__input { background: rgba(255, 255, 255, 0.96); border-color: transparent; color: #1f1a17; }
.waitlist--invert .waitlist__input:focus { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4); }
.waitlist--invert .waitlist__msg,
.waitlist--invert .waitlist__msg.is-error,
.waitlist--invert .waitlist__msg.is-success { color: #fff; }

/* Founding 100 strip */
.founding {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  width: 100%; max-width: 460px; margin-top: 26px; padding: 10px 14px;
  border-radius: 14px; background: var(--terracotta-soft);
  border: 1px solid color-mix(in srgb, var(--terracotta) 22%, transparent);
}
.founding__pill {
  display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--terracotta-deep); white-space: nowrap;
}
.founding__copy { font-size: 13px; line-height: 1.35; color: var(--ink); }
.founding__copy strong { color: var(--terracotta-deep); font-weight: 700; }
.founding__count { color: var(--ink-soft); font-weight: 600; }
.founding + .waitlist { margin-top: 14px; }
.founding--invert { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.28); margin-left: auto; margin-right: auto; }
.founding--invert .founding__pill { color: #fff; }
.founding--invert .founding__copy { color: rgba(255,255,255,0.94); }
.founding--invert .founding__copy strong { color: #fff; }
.founding--invert .founding__count { color: rgba(255,255,255,0.82); }

/* "Launching soon" pill + muted store badges */
.hero__soon { display: flex; align-items: center; gap: 14px; margin-top: 22px; flex-wrap: wrap; }
.download__soon { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 30px; }
.soon-pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft);
  background: var(--warm-pill); border: 1px solid var(--warm-border); padding: 7px 13px; border-radius: 999px;
}
.soon-pill--invert { color: rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.28); }
.soon-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--terracotta); animation: soonPulse 2.4s ease-in-out infinite; }
.soon-pill--invert .soon-dot { background: #fff; }
@keyframes soonPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.store-badges--muted { margin: 0; }
.store-badges--muted img { width: auto; filter: grayscale(1); opacity: 0.5; }
/* Google's official asset has built-in padding, so it needs more height than
   Apple's to read as the same visual size. */
.store-badges--muted img[src*="appstore"] { height: 40px; }
.store-badges--muted img[src*="googleplay"] { height: 40px; }
.download__soon .store-badges--muted img { filter: grayscale(1) brightness(1.5); opacity: 0.6; }

/* ------------------------------ phone --------------------------------- */
.hero__device { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: 340px; aspect-ratio: 340 / 700;
  background: linear-gradient(160deg, #2b2420, #15110e);
  border-radius: 46px; padding: 11px;
  box-shadow: var(--shadow-float), 0 0 0 2px rgba(255, 255, 255, 0.04) inset;
  z-index: 2;
}
.phone__notch {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 26px; background: #15110e;
  border-radius: 0 0 16px 16px; z-index: 5;
}
.phone__screen {
  position: relative; width: 100%; height: 100%;
  background: var(--cream); border-radius: 36px; overflow: hidden;
}
.phone__glow {
  position: absolute; inset: -8% -12%; z-index: 1;
  background: radial-gradient(60% 50% at 60% 30%, color-mix(in srgb, var(--terracotta) 32%, transparent), transparent 70%);
  filter: blur(40px); opacity: 0.7;
}

/* "Right Now" card inside the phone — mirrors the app HeroCard */
.rn {
  position: absolute; inset: 0; padding: 38px 16px 16px;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(6px) scale(0.995);
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;
}
.rn.is-active { opacity: 1; visibility: visible; transform: none; }
.rn__ctx { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.rn__ctx--inline { margin-bottom: 10px; }
.rn__chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; color: var(--ink-soft);
  background: var(--card); border: 1px solid var(--warm-border);
  padding: 5px 10px; border-radius: 999px;
}
.rn__city { font-size: 12px; font-weight: 600; color: var(--ink); }
.dot { width: 8px; height: 8px; border-radius: 999px; display: inline-block; }
.dot--sun { background: #e8a23d; box-shadow: 0 0 0 3px rgba(232,162,61,0.18); }
.dot--moon { background: #6b7c9a; box-shadow: 0 0 0 3px rgba(107,124,154,0.18); }
.dot--rain { background: #5f8fa6; box-shadow: 0 0 0 3px rgba(95,143,166,0.18); }
.rn .eyebrow--sm { margin-bottom: 4px; }
.rn__headline {
  font-family: var(--font-editorial); font-weight: 600;
  font-variation-settings: "opsz" 80, "SOFT" 40;
  font-size: 24px; line-height: 1.05; letter-spacing: -0.02em; color: var(--ink);
}
.rn__sub { font-size: 12.5px; line-height: 1.35; color: var(--ink-soft); margin-top: 6px; }

.rn__card {
  margin-top: 14px; background: var(--card); border: 1px solid var(--warm-border);
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-card);
}
.rn__media { position: relative; aspect-ratio: 4 / 3; }
.rn__media img { width: 100%; height: 100%; object-fit: cover; }
.pill {
  position: absolute; top: 10px; font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 4px;
}
.pill--top { left: 10px; background: color-mix(in srgb, var(--cream) 92%, transparent); color: var(--ink); border: 1px solid var(--warm-border); backdrop-filter: blur(4px); }
.pill--walk { right: 10px; background: rgba(31,26,23,0.86); color: #f8f4ed; backdrop-filter: blur(4px); }
.spark { color: var(--terracotta); font-size: 10px; }
.rn__body { padding: 14px; }
.rn__meta { font-size: 9.5px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-mute); }
.rn__title {
  font-family: var(--font-editorial); font-weight: 600;
  font-variation-settings: "opsz" 60, "SOFT" 30;
  font-size: 19px; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); margin-top: 4px;
}
.rn__summary { font-size: 12px; line-height: 1.45; color: var(--ink-soft); margin-top: 7px; }
.rn__why { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--warm-border); }
.rn__why ul { list-style: none; padding: 0; margin: 7px 0 0; display: flex; flex-direction: column; gap: 6px; }
.rn__why li { display: flex; align-items: flex-start; gap: 8px; font-size: 11.5px; color: var(--ink-soft); }
.why-dash { margin-top: 6px; width: 11px; height: 3px; border-radius: 999px; background: var(--terracotta); flex: none; }
.rn__actions { display: flex; align-items: center; gap: 7px; margin-top: 14px; }
.rn__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  font-size: 11.5px; font-weight: 600; border-radius: 999px; padding: 9px 10px;
  border: 1px solid var(--warm-border); background: var(--cream-deep); color: var(--ink);
}
.rn__btn--save { flex: 1; }
.rn__btn--no { color: var(--ink-soft); }
.rn__btn--go { background: var(--ink); color: var(--cream); border-color: var(--ink); width: 40px; height: 40px; padding: 0; }

/* ----------------------------- trust ---------------------------------- */
.trust { padding: 8px 0 4px; }
.trust__inner { text-align: center; border-top: 1px solid var(--warm-border); border-bottom: 1px solid var(--warm-border); padding: 30px 0; }
.trust__line { font-family: var(--font-editorial); font-weight: 500; font-size: clamp(1.05rem, 2vw, 1.4rem); letter-spacing: -0.01em; color: var(--ink); }
.trust__cities { margin-top: 12px; font-size: 13.5px; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
.trust__cities span { font-weight: 600; color: var(--ink); }
.trust__cities i { color: var(--ink-faint); font-style: normal; }
.trust__cities em { font-style: normal; color: var(--ink-mute); width: 100%; margin-top: 2px; }

/* ---------------------------- problem --------------------------------- */
.problem { padding: clamp(64px, 9vw, 120px) 0; }
.problem__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.problem__copy .h2 { margin: 16px 0 22px; }

.problem__viz { display: flex; align-items: center; justify-content: center; gap: 16px; }
.viz-old {
  flex: 1; max-width: 230px; background: var(--card); border: 1px solid var(--warm-border);
  border-radius: 18px; padding: 14px; box-shadow: var(--shadow-card); position: relative;
  opacity: 0.92;
}
.viz-old__bar { height: 26px; border-radius: 8px; background: var(--cream-deep); margin-bottom: 12px; }
.viz-old__list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.viz-old__list li { display: flex; align-items: center; gap: 9px; position: relative; }
.viz-old__list li > span:first-child { width: 34px; height: 34px; border-radius: 8px; background: var(--cream-deep); flex: none; }
.viz-old__list li > span:last-child { height: 9px; border-radius: 999px; background: var(--cream-deep); flex: 1; }
.viz-old__list li.ad > span:first-child { background: var(--terracotta-soft); }
.viz-old__list li.ad b {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 8px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--terracotta-deep); background: var(--terracotta-soft); padding: 2px 6px; border-radius: 5px;
}
.viz-old__tag { margin-top: 14px; text-align: center; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }
.viz-arrow { color: var(--ink-faint); flex: none; }
.viz-new {
  flex: none; width: 150px; background: var(--card); border: 1.5px solid var(--terracotta);
  border-radius: 18px; padding: 16px; box-shadow: var(--shadow-float);
}
.viz-new__chip { display: inline-flex; align-items: center; gap: 4px; font-size: 9px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--terracotta-deep); background: var(--terracotta-soft); padding: 4px 8px; border-radius: 999px; }
.viz-new__title { font-family: var(--font-editorial); font-weight: 600; font-size: 17px; margin-top: 10px; color: var(--ink); }
.viz-new__line { height: 8px; border-radius: 999px; background: var(--cream-deep); margin-top: 9px; }
.viz-new__line.short { width: 60%; }
.viz-new__tag { margin-top: 14px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terracotta); }

/* ---------------------------- features -------------------------------- */
.features { padding: clamp(20px, 3vw, 36px) 0 clamp(40px, 6vw, 72px); }
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 86px);
  align-items: center; padding: clamp(40px, 6vw, 72px) 0;
}
.feature--reverse .feature__media { order: 2; }
.feature__copy .h2 { margin: 16px 0 20px; }
.feature__media { display: flex; justify-content: center; position: relative; }

.float-card {
  width: min(360px, 100%); background: var(--card); border: 1px solid var(--warm-border);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-float);
  position: relative;
}
.float-card::before {
  content: ""; position: absolute; inset: -14% -10% auto -10%; height: 60%; z-index: -1;
  background: radial-gradient(50% 60% at 50% 0%, color-mix(in srgb, var(--terracotta) 22%, transparent), transparent 70%);
  filter: blur(34px);
}
.float-card__media { aspect-ratio: 5 / 4; }
.float-card__media--short { aspect-ratio: 16 / 9; }
.float-card__media img { width: 100%; height: 100%; object-fit: cover; }
.float-card__body { padding: 18px 20px 20px; }
.float-card .rn__title { font-size: 22px; }
.float-card .rn__summary { font-size: 13px; margin-top: 8px; }
.float-card .rn__ctx { margin-bottom: 12px; }

.welcome-banner { background: var(--sage-soft); padding: 14px 18px; border-bottom: 1px solid var(--warm-border); }
.welcome-banner__eyebrow { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); }
.welcome-banner__text { font-size: 12.5px; line-height: 1.4; color: var(--ink); margin-top: 5px; }

.trip-card {
  width: min(360px, 100%); background: var(--card); border: 1px solid var(--warm-border);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-float); position: relative;
}
.trip-card::before {
  content: ""; position: absolute; inset: -14% -10% auto -10%; height: 60%; z-index: -1;
  background: radial-gradient(50% 60% at 50% 0%, color-mix(in srgb, var(--sage) 26%, transparent), transparent 70%);
  filter: blur(34px);
}
.trip-card__head { display: flex; align-items: flex-start; justify-content: space-between; padding: 18px 20px 12px; }
.trip-card__badge { font-size: 11px; font-weight: 700; color: var(--cream); background: var(--ink); padding: 5px 11px; border-radius: 999px; }
.trip-card__media { aspect-ratio: 16 / 7; }
.trip-card__media img { width: 100%; height: 100%; object-fit: cover; }
.trip-card__days { list-style: none; padding: 16px 20px 22px; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.trip-card__days li { display: flex; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 2px solid var(--terracotta); }
.trip-card__days b { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }
.trip-card__days span { font-size: 13px; color: var(--ink); }

/* ---------------------------- pillars --------------------------------- */
.pillars { padding: clamp(56px, 8vw, 100px) 0; background: var(--cream-deep); }
.pillars__head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); }
.pillars__head .h2 { margin-top: 14px; }
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar { background: var(--card); border: 1px solid var(--warm-border); border-radius: var(--radius-card); padding: 30px 26px; }
.pillar__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px;
  border-radius: 14px; background: var(--terracotta-soft); color: var(--terracotta-deep); margin-bottom: 18px;
}
.pillar__title { font-family: var(--font-editorial); font-weight: 600; font-size: 1.4rem; letter-spacing: -0.01em; margin-bottom: 10px; }
.pillar__text { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }

/* ----------------------------- voice ---------------------------------- */
.voice { padding: clamp(64px, 9vw, 120px) 0; background: #1a1512; color: #f6f1e8; }
.voice__head { text-align: center; max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); }
.h2--invert { color: #fbf7f0; margin-top: 14px; }
.voice__sub { color: rgba(246, 241, 232, 0.6); margin-top: 16px; font-size: 15px; }
.voice__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin: 0 auto; }
.take {
  position: relative; background: #221b16; border: 1px solid #322822;
  border-radius: var(--radius-card); padding: 28px 28px 28px 30px;
  border-left: 3px solid var(--terracotta);
}
.take p { font-family: var(--font-editorial); font-weight: 500; font-size: clamp(1.05rem, 1.9vw, 1.3rem); line-height: 1.4; letter-spacing: -0.01em; color: #f3ece2; }

/* ---------------------------- compare --------------------------------- */
.compare { padding: clamp(56px, 8vw, 100px) 0; }
.compare__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.compare__col { border-radius: var(--radius-lg); padding: 34px 32px; border: 1px solid var(--warm-border); }
.compare__col--is { background: var(--sage-soft); }
.compare__col--isnt { background: var(--cream-deep); }
.compare__title { font-family: var(--font-editorial); font-weight: 600; font-size: 1.55rem; letter-spacing: -0.01em; margin-bottom: 22px; }
.compare__col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 15px; }
.compare__col li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; line-height: 1.4; color: var(--ink); }
.compare__col li svg { flex: none; margin-top: 1px; }
.compare__col--is li svg { color: var(--sage); }
.compare__col--isnt { color: var(--ink-soft); }
.compare__col--isnt li { color: var(--ink-soft); }
.compare__col--isnt li svg { color: var(--ink-mute); }

/* ---------------------------- download -------------------------------- */
.download { padding: clamp(64px, 9vw, 120px) 0; background: linear-gradient(150deg, var(--terracotta), var(--terracotta-deep)); color: #fff; }
.download__inner { text-align: center; max-width: 720px; margin: 0 auto; }
.display--invert { color: #fff; margin: 16px 0 0; }
.download__sub { color: rgba(255, 255, 255, 0.82); font-size: clamp(1rem, 1.6vw, 1.2rem); margin-top: 18px; }
.download .store-badges { margin-top: 30px; }
.download .store-badge img[src*="appstore"] { height: 54px; }
.download .store-badge img[src*="googleplay"] { height: 54px; }
.download__qr { display: inline-flex; align-items: center; gap: 16px; margin-top: 34px; padding: 14px 22px 14px 14px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22); border-radius: 18px; }
.download__qr p { font-size: 13px; line-height: 1.3; text-align: left; color: rgba(255,255,255,0.9); }
.qr { width: 90px; height: 90px; background: #fff; border-radius: 10px; padding: 7px; }
.qr svg, .qr img, .qr canvas { width: 100%; height: 100%; display: block; }
.download__qr.is-empty { display: none; }

/* ------------------------------- faq ---------------------------------- */
.faq { padding: clamp(56px, 8vw, 100px) 0 clamp(72px, 10vw, 120px); }
.faq__head { text-align: center; margin-bottom: clamp(32px, 4vw, 48px); }
.faq__head .h2 { margin-top: 12px; }
.faq__list { max-width: 760px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--warm-border); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 22px 4px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: var(--font-editorial); font-weight: 600; font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  letter-spacing: -0.01em; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; width: 16px; height: 16px; flex: none; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; background: var(--terracotta); border-radius: 2px; transition: transform 0.25s ease; }
.faq__plus::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq__plus::after { top: 0; left: 7px; width: 2px; height: 16px; }
.faq__item[open] .faq__plus::after { transform: rotate(90deg); opacity: 0; }
.faq__a { overflow: hidden; }
.faq__a p { font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); padding: 0 4px 24px; max-width: 64ch; }
.faq__a a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------ footer -------------------------------- */
.footer { background: var(--cream-deep); border-top: 1px solid var(--warm-border); padding: clamp(48px, 6vw, 72px) 0 32px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer__tag { font-family: var(--font-editorial); font-weight: 500; font-size: 1.2rem; color: var(--ink); margin-top: 14px; }
.footer__made { font-size: 13px; color: var(--ink-mute); margin-top: 8px; }
.footer__col h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 16px; }
.footer__col a { display: block; font-size: 14.5px; color: var(--ink-soft); padding: 5px 0; transition: color 0.18s ease; }
.footer__col a:hover { color: var(--terracotta); }
.footer__base {
  margin-top: clamp(36px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--warm-border);
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-mute);
}
.footer__dot { color: var(--ink-faint); }

/* ----------------------------- reveal --------------------------------- */
/* Hidden initial state applies ONLY when JS is on (html.js). No JS → content
   is visible by default, so the site degrades gracefully. */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
html.js .reveal.in { opacity: 1; transform: none; }

/* Hero entrance — pure CSS so above-the-fold content NEVER depends on JS to
   be visible (no blank-hero risk if the script is slow or blocked). */
.hero-in { animation: heroIn 0.8s cubic-bezier(0.22,1,0.36,1) both; }
.hero-in--delay { animation-delay: 0.12s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-in { animation: none; }
  .rn { transition: opacity 0.3s linear; }
}

/* --------------------------- responsive ------------------------------- */
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero__device { margin-top: 26px; }
  /* Keep the decorative glow within the device so it never overflows the viewport. */
  .phone__glow { left: 0; right: 0; }
  .lede { max-width: 46ch; }
  .store-badges { justify-content: center; }
  .problem__grid, .feature, .feature--reverse, .compare__grid, .voice__grid { grid-template-columns: 1fr; }
  .feature--reverse .feature__media { order: 0; }
  .problem__copy, .feature__copy { text-align: center; }
  .problem__viz { margin-top: 8px; }
  .pillars__grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .nav__links { display: none; }
  .container { padding: 0 20px; }
  .voice__grid { gap: 14px; }
  .compare__col, .pillar { padding: 26px 22px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 440px) {
  .waitlist__row { flex-direction: column; }
  .waitlist__btn { width: 100%; }
}
@media (max-width: 380px) {
  .phone { width: 300px; }
}
