/* ============================================================
   SnipSmart · snip-smart.com landing (coming soon)
   Self-contained. Shares the app's dark brand system.
   Dark slate canvas · Lamp Teal lead · Couch Coral warmth.
   ============================================================ */

/* ---- Self-hosted fonts (latin, variable) -------------------
   Both files are Google's variable woff2s, so one face per
   family covers every weight. No third-party font request. */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/fraunces-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/plus-jakarta-latin.woff2") format("woff2");
}

:root {
  /* surfaces — cool slate / navy */
  --bg-deep:   oklch(0.112 0.012 245);
  --surface:   oklch(0.205 0.017 243);
  --surface-2: oklch(0.248 0.019 243);

  /* text — cool near-white */
  --ink:     oklch(0.958 0.008 240);
  --ink-2:   oklch(0.882 0.010 240);
  --muted:   oklch(0.745 0.013 242);
  --muted-2: oklch(0.625 0.014 242);

  /* lines */
  --line:   oklch(1 0 0 / 0.08);
  --line-2: oklch(1 0 0 / 0.14);

  /* brand: teal lead */
  --primary:      oklch(0.762 0.135 197);
  --primary-ink:  oklch(0.195 0.040 220);
  --primary-soft: oklch(0.762 0.135 197 / 0.15);
  --primary-line: oklch(0.762 0.135 197 / 0.32);

  /* secondary: coral warmth (used only in the ambient glow) */
  --accent: oklch(0.715 0.150 34);

  --font-ui:   "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-disp: "Fraunces", Georgia, "Times New Roman", serif;

  --r-md: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --maxw: 600px;
}

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

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---- Ambient, lamp-lit brand glow ------------------------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(72% 56% at 50% -12%, oklch(0.762 0.135 197 / 0.17), transparent 70%),
    radial-gradient(46% 42% at 88% 114%, oklch(0.715 0.150 34 / 0.11), transparent 72%),
    radial-gradient(38% 30% at 50% 40%, oklch(0.762 0.135 197 / 0.06), transparent 70%),
    var(--bg-deep);
}

.sprite { position: absolute; }

/* ---- Layout ----------------------------------------------- */
.stage {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  padding: clamp(40px, 8vh, 96px) clamp(20px, 5vw, 40px) clamp(28px, 5vh, 56px);
}

.hero {
  width: 100%;
  max-width: var(--maxw);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---- Wordmark --------------------------------------------- */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex: none;
  display: grid;
  place-items: center;
  font-family: var(--font-disp);
  font-weight: 600;
  font-size: 23px;
  line-height: 1;
  color: var(--primary-ink);
  background: linear-gradient(155deg, oklch(0.820 0.105 192), var(--primary));
  box-shadow: 0 6px 22px oklch(0.762 0.135 197 / 0.34);
}
.wordmark-text {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* ---- Status pill ------------------------------------------ */
.status {
  margin: clamp(28px, 5vh, 44px) 0 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  border: 1px solid var(--primary-line);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
}

/* ---- Headline --------------------------------------------- */
.headline {
  margin: 20px 0 0;
  max-width: 15ch;
  font-family: var(--font-disp);
  font-weight: 500;
  font-size: clamp(2.1rem, 6.6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.headline .accent { color: var(--primary); }

/* ---- Lede ------------------------------------------------- */
.lede {
  margin: 20px 0 0;
  max-width: 52ch;
  color: var(--ink-2);
  font-size: clamp(1rem, 2.3vw, 1.08rem);
  line-height: 1.62;
  font-weight: 450;
  text-wrap: pretty;
}
/* the warm, human beat (coral, per the One Lead Rule) */
.lede .warm { color: var(--accent); }

/* ---- Store badges (informational, non-interactive) -------- */
.stores {
  margin: clamp(30px, 5.5vh, 46px) 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 58px;
  padding: 11px 19px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line-2);
}
.store-glyph {
  width: 26px;
  height: 26px;
  fill: var(--ink-2);
  flex: none;
}
.store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
  text-align: left;
}
.store-text small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.store-text strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* ---- Social ----------------------------------------------- */
.social { margin: clamp(34px, 6vh, 54px) 0 0; }
.social-label {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
}
.social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}
.social-link {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  color: var(--muted);
  text-decoration: none;
  transition: color .22s var(--ease), background-color .22s var(--ease),
              border-color .22s var(--ease), transform .22s var(--ease);
}
.brand-ic {
  width: 19px;
  height: 19px;
  fill: currentColor;
  display: block;
}
.social-link:hover,
.social-link:focus-visible {
  color: var(--primary);
  background: var(--primary-soft);
  border-color: var(--primary-line);
  transform: translateY(-2px);
}
.social-link:active { transform: translateY(0); }

/* ---- Footer ----------------------------------------------- */
.foot {
  position: relative;
  z-index: 1;
  padding: 0 clamp(20px, 5vw, 40px) clamp(24px, 5vh, 40px);
  text-align: center;
}
.foot-privacy {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.foot-copy {
  margin: 0;
  color: var(--muted-2);
  font-size: 12.5px;
  font-weight: 500;
}

/* ---- Focus ------------------------------------------------ */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 12px;
}

/* ---- Small screens ---------------------------------------- */
@media (max-width: 390px) {
  .stores { gap: 10px; width: 100%; }
  .store { flex: 1 1 100%; justify-content: center; }
}

/* ---- Motion: a calm, staggered entrance ------------------- */
/* Content is fully visible by default; motion is added only
   when the visitor welcomes it. */
@media (prefers-reduced-motion: no-preference) {
  .hero > *,
  .foot {
    animation: rise .72s var(--ease) both;
  }
  .wordmark { animation-delay: .05s; }
  .status   { animation-delay: .14s; }
  .headline { animation-delay: .22s; }
  .lede     { animation-delay: .32s; }
  .stores   { animation-delay: .42s; }
  .social   { animation-delay: .52s; }
  .foot     { animation-delay: .62s; }

  .status-dot::after { animation: ping 2.6s var(--ease) infinite; }
}

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

@keyframes ping {
  0%   { opacity: .55; transform: scale(.55); }
  70%  { opacity: 0;   transform: scale(1.7); }
  100% { opacity: 0;   transform: scale(1.7); }
}

/* ---- Privacy policy page (privacy.html) ------------------------------------------------ */
.policy {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}
.policy .back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 28px;
}
.policy .back:hover { color: var(--ink-2); }
.policy h1 {
  font-family: var(--font-disp);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 8px;
}
.policy .updated { color: var(--muted-2); font-size: 0.85rem; font-weight: 600; margin: 0 0 8px; }
.policy h2 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 40px 0 6px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.policy h3 { font-size: 1rem; font-weight: 800; color: var(--ink); margin: 24px 0 4px; }
.policy p { color: var(--ink-2); font-size: 1rem; line-height: 1.65; margin: 12px 0; }
.policy ul { margin: 12px 0; padding-left: 0; list-style: none; }
.policy li {
  position: relative;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.6;
  padding-left: 20px;
  margin: 8px 0;
}
.policy li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.policy a { color: var(--primary); text-decoration: none; }
.policy a:hover { text-decoration: underline; }
.policy .lead { color: var(--muted); font-size: 1.05rem; line-height: 1.6; }

.foot-link { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.foot-link:hover { color: var(--ink-2); }

/* ============================================================
   Full site (2026-07): nav, index bands, gallery, teaser video,
   articles, FAQ, legal pages. Same brand system, same tokens.
   ============================================================ */

/* ---- Site nav (subpages + shared) -------------------------- */
.site-nav {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px clamp(20px, 5vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}
.logo-sm {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  font-size: 16px;
}
.nav-brand-text {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav-links a:hover,
.nav-links a.on {
  color: var(--primary);
  background: var(--primary-soft);
}

/* ---- Index: the hero becomes the first fold, not the page -- */
.stage {
  min-height: 0;
  padding-bottom: clamp(20px, 4vh, 44px);
}

/* ---- Teaser video in a phone shell ------------------------- */
.teaser {
  margin: clamp(34px, 6vh, 52px) 0 0;
  display: flex;
  justify-content: center;
}
.phone {
  width: min(292px, 74vw);
  padding: 10px;
  border-radius: 46px;
  background: var(--bg-deep);
  border: 1px solid var(--line-2);
  box-shadow:
    0 30px 80px -32px oklch(0.762 0.135 197 / 0.38),
    0 12px 40px -20px oklch(0 0 0 / 0.8);
}
.phone video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 37px;
  background: var(--bg-deep);
}

/* ---- Content bands ----------------------------------------- */
.band {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(44px, 9vh, 92px) clamp(20px, 5vw, 40px) 0;
}
.band > h2 {
  margin: 0;
  font-family: var(--font-disp);
  font-weight: 550;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.band-lede {
  margin: 14px 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
  text-wrap: pretty;
}
.band-lede a { color: var(--primary); text-decoration: none; }
.band-lede a:hover { text-decoration: underline; }
.more-link {
  margin: 22px 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}
.more-link a { color: var(--primary); text-decoration: none; }
.more-link a:hover { text-decoration: underline; }

/* ---- Screenshot gallery: a horizontal shelf ----------------- */
.shots {
  list-style: none;
  margin: 30px calc(-1 * clamp(20px, 5vw, 40px)) 0;
  padding: 8px clamp(20px, 5vw, 40px) 22px;
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: clamp(20px, 5vw, 40px);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--surface-2) transparent;
}
.shot {
  flex: 0 0 236px;
  scroll-snap-align: start;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
  border: 1px solid var(--line-2);
  background: var(--bg-deep);
}
.shot-label {
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.shot-cap {
  margin: 4px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}

/* ---- The three chapters (a real sequence, so numbered) ------ */
.chapters {
  list-style: none;
  counter-reset: chapter;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.chapters li {
  counter-increment: chapter;
  padding: 22px 20px 24px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.chapters li::before {
  content: counter(chapter);
  display: block;
  font-family: var(--font-disp);
  font-weight: 600;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--primary);
}
.chapters h3 {
  margin: 12px 0 0;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.chapters p {
  margin: 8px 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---- Article cards (index + articles hub) ------------------- */
.art-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.art-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 8px;
  padding: 20px 20px 18px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color .22s var(--ease), background-color .22s var(--ease),
              transform .22s var(--ease);
}
.art-card:hover {
  border-color: var(--primary-line);
  background: var(--surface-2);
  transform: translateY(-2px);
}
.art-card h3 {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--ink);
  text-wrap: balance;
}
.art-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.art-card-meta {
  margin-top: auto;
  padding-top: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
}

/* ---- FAQ accordions ----------------------------------------- */
.faq {
  margin: 26px 0 0;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  border-radius: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 600;
  font-size: 17px;
  transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin: 0;
  padding: 0 18px 16px;
  max-width: 65ch;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
}

/* ---- Article page -------------------------------------------- */
.article {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(20px, 4vh, 40px) clamp(20px, 5vw, 40px) 40px;
}
.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted-2);
}
.crumbs a { color: var(--primary); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.article h1 {
  margin: 18px 0 0;
  font-family: var(--font-disp);
  font-weight: 560;
  font-size: clamp(1.9rem, 5vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.art-meta {
  margin: 12px 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted-2);
}
.short-version {
  margin: 26px 0 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--primary-soft);
  border: 1px solid var(--primary-line);
}
.sv-label {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
}
.short-version p { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.65; }
.article > h2 {
  margin: 42px 0 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.article > p {
  margin: 16px 0 0;
  font-size: 1.04rem;
  line-height: 1.72;
  color: var(--ink-2);
  text-wrap: pretty;
}
.article > ul {
  margin: 16px 0 0;
  padding-left: 0;
  list-style: none;
}
.article > ul li {
  position: relative;
  padding-left: 22px;
  margin: 10px 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink-2);
}
.article > ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.66em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.table-wrap {
  margin: 20px 0 0;
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.table-wrap th,
.table-wrap td {
  padding: 13px 18px;
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}
.table-wrap tr + tr th,
.table-wrap tr + tr td { border-top: 1px solid var(--line); }
.table-wrap th { color: var(--ink-2); font-weight: 600; width: 58%; }
.table-wrap td { color: var(--primary); font-weight: 700; }

/* ---- Medical disclaimer (mirrors the app's closing line) ------ */
.med-note {
  margin: 34px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* ---- Sources / related / app CTA ---------------------------- */
.sources { margin: 46px 0 0; }
.sources h2, .related h2 {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.sources ul {
  margin: 0;
  padding: 16px 18px;
  list-style: none;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.sources li {
  margin: 2px 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}
.sources li + li { border-top: 1px solid var(--line); }
.source-link {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 2px;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.15s ease-out;
}
.source-link:hover,
.source-link:focus-visible { color: var(--primary); }
.source-link:focus-visible { outline: 2px solid var(--primary-line, oklch(0.762 0.135 197 / 0.32)); outline-offset: 3px; border-radius: 6px; }
.src-arrow {
  flex: none;
  align-self: center;
  color: var(--muted-2);
  transition: color 0.15s ease-out, transform 0.15s ease-out;
}
.source-link:hover .src-arrow,
.source-link:focus-visible .src-arrow { color: var(--primary); transform: translate(1px, -1px); }
.sources-note {
  margin: 12px 2px 0;
  font-size: 0.78rem;
  color: var(--muted-2);
}
@media (prefers-reduced-motion: reduce) {
  .source-link, .src-arrow { transition: none; }
  .source-link:hover .src-arrow, .source-link:focus-visible .src-arrow { transform: none; }
}
.app-cta {
  margin: 46px 0 0;
  padding: 24px 22px 26px;
  border-radius: 20px;
  background: var(--accent-soft, oklch(0.715 0.150 34 / 0.16));
  border: 1px solid oklch(0.715 0.150 34 / 0.32);
}
.app-cta h2 {
  margin: 0;
  font-family: var(--font-disp);
  font-weight: 560;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.app-cta p {
  margin: 10px 0 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 62ch;
}
.app-cta .stores { margin: 20px 0 0; justify-content: flex-start; }
.app-cta .store { min-height: 52px; padding: 9px 16px; background: var(--surface); }
.related { margin: 42px 0 0; }
.related ul { margin: 0; padding: 0; list-style: none; }
.related li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 2px;
}
.related li + li { border-top: 1px solid var(--line); }
.related a {
  color: var(--ink-2);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
}
.related a:hover { color: var(--primary); }
.rel-min { flex: none; font-size: 0.8rem; font-weight: 600; color: var(--muted-2); }

/* ---- Articles hub -------------------------------------------- */
.art-index { max-width: 1080px; }
.lede-left {
  margin: 14px 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}
.art-group { margin: 40px 0 0; }
.art-group h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.art-group .art-list { margin-top: 16px; }
.art-index .app-cta { margin-top: 56px; }

/* ---- Store badges as links ----------------------------------- */
a.store { text-decoration: none; transition: border-color .22s var(--ease), transform .22s var(--ease); }
a.store:hover { border-color: var(--primary-line); transform: translateY(-2px); }

/* ---- Footer nav ----------------------------------------------- */
.foot { padding-top: clamp(48px, 9vh, 92px); }
.foot-social { justify-content: center; margin-bottom: 18px; }
.foot-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin: 0 0 12px;
}
.foot-nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.foot-nav a:hover { color: var(--ink-2); text-decoration: underline; }

/* ---- Legal pages get the nav, keep their type ------------------ */
.policy { position: relative; z-index: 1; }

/* ---- Standalone pages (About / FAQ): header + rhythm ------------ */
.page-top { padding-top: clamp(18px, 4vh, 40px); }
.page-h1 {
  margin: 0;
  font-family: var(--font-disp);
  font-weight: 560;
  font-size: clamp(2rem, 5vw, 2.9rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.band-h2 {
  margin: clamp(40px, 8vh, 72px) 0 0;
  font-family: var(--font-disp);
  font-weight: 550;
  font-size: clamp(1.55rem, 3.6vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.about-social { margin-top: clamp(40px, 8vh, 72px); }
.about-social .social-list { justify-content: flex-start; }

/* ---- Compact per-page "Get SnipSmart" strip --------------------- */
.get-strip {
  margin: 26px 0 0;
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.get-strip p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
}
.get-strip p strong { color: var(--ink); font-weight: 800; }
.get-strip .stores { margin: 0; justify-content: flex-start; gap: 10px; }
.get-strip .store { min-height: 48px; padding: 8px 14px; background: var(--surface-2); }
.get-strip .store-glyph { width: 21px; height: 21px; }
.get-strip .store-text strong { font-size: 15px; }

/* ---- Home: badges sit in the hero, video below ------------------- */
.hero .stores { margin: clamp(26px, 4.5vh, 38px) 0 0; }
.hero .teaser { margin-top: clamp(30px, 5.5vh, 46px); }

/* ---- Support (/support/): the app's Contact sheet as a page ----- */
.support-email {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 620px;
  margin-top: clamp(24px, 4vh, 34px);
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color .22s var(--ease), background-color .22s var(--ease),
              transform .22s var(--ease);
}
.support-email:hover,
.support-email:focus-visible {
  border-color: var(--primary-line);
  background: var(--surface-2);
  transform: translateY(-2px);
}
.support-email-ic {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--primary-soft);
  color: var(--primary);
}
.support-email-ic svg { width: 24px; height: 24px; }
.support-email-txt {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.support-email-txt small {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.support-email-txt strong {
  font-size: clamp(15px, 4.2vw, 18px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.support-email .src-arrow { flex: 0 0 auto; color: var(--primary); }
.support-note {
  margin: 14px 0 0;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.support-home { margin: clamp(36px, 7vh, 60px) 0 0; }
.support-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-ink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.support-cta:hover,
.support-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -10px oklch(0.762 0.135 197 / 0.55);
}
.support-cta:active { transform: translateY(0); }
.support-cta svg { width: 17px; height: 17px; }
@media (prefers-reduced-motion: reduce) {
  .support-email, .support-cta { transition: none; }
  .support-email:hover, .support-email:focus-visible,
  .support-cta:hover, .support-cta:focus-visible { transform: none; }
}

/* ============================================================
   Essentials (/essentials/): the app's revenue surface as a
   web page. Coral is the Essentials signature (as in the app);
   teal stays the site lead everywhere else on the page.
   ============================================================ */

.ess { padding-bottom: 24px; }

/* The required Amazon disclosure leads (and closes) the page. */
.ess-disclosure {
  margin: 22px 0 0;
  max-width: 68ch;
  padding: 13px 16px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}
.ess-footnote {
  margin: clamp(36px, 7vh, 60px) 0 0;
  max-width: 68ch;
  color: var(--muted-2);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ---- The first-week shelf: one coral hero, one link ---------- */
.ess-hero {
  position: relative;
  margin: clamp(30px, 6vh, 48px) 0 0;
  padding: clamp(24px, 4.5vw, 40px);
  border-radius: 24px;
  border: 1px solid oklch(0.715 0.150 34 / 0.34);
  background:
    radial-gradient(120% 130% at 8% -20%, oklch(0.715 0.150 34 / 0.22), transparent 62%),
    radial-gradient(90% 100% at 100% 120%, oklch(0.715 0.150 34 / 0.10), transparent 65%),
    var(--surface);
  overflow: hidden;
}
.ess-hero h2 {
  margin: 0;
  font-family: var(--font-disp);
  font-weight: 560;
  font-size: clamp(1.6rem, 3.8vw, 2.3rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.ess-hero-sub {
  margin: 10px 0 0;
  max-width: 56ch;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.6;
  text-wrap: pretty;
}
.ess-tiles {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  /* a deliberate 2x2 (like the app's shelf), single column on small screens */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 12px;
}
.ess-tile {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: oklch(1 0 0 / 0.045);
}
.ess-tile h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.ess-tile p {
  margin: 5px 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}
.ess-hero .ess-ic {
  background: oklch(0.715 0.150 34 / 0.16);
  color: oklch(0.740 0.140 34);
}

/* ---- Item icons (decorative) ---------------------------------- */
.ess-ic {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
}
.ess-ic svg { width: 23px; height: 23px; }

/* ---- The one CTA per section ----------------------------------- */
.ess-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: oklch(0.205 0.050 30);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              background-color .22s var(--ease);
}
.ess-cta:hover,
.ess-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -10px oklch(0.715 0.150 34 / 0.55);
}
.ess-cta:active { transform: translateY(0); }
.ess-cta .src-arrow { color: currentColor; }
.ess-cta-teal {
  background: var(--primary);
  color: var(--primary-ink);
}
.ess-cta-teal:hover,
.ess-cta-teal:focus-visible {
  box-shadow: 0 10px 28px -10px oklch(0.762 0.135 197 / 0.55);
}

/* ---- Treat / trial rows ----------------------------------------- */
.ess-rows {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
}
.ess-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color .22s var(--ease), background-color .22s var(--ease),
              transform .22s var(--ease);
}
.ess-row:hover,
.ess-row:focus-visible {
  border-color: var(--primary-line);
  background: var(--surface-2);
  transform: translateY(-2px);
}
.ess-row-txt {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ess-row-txt strong {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.ess-row-txt > span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  text-wrap: pretty;
}
.ess-row > .src-arrow {
  flex: none;
  width: 15px;
  height: 15px;
  color: var(--muted-2);
  transition: color .22s var(--ease), transform .22s var(--ease);
}
.ess-row:hover > .src-arrow,
.ess-row:focus-visible > .src-arrow {
  color: var(--primary);
  transform: translate(1px, -1px);
}
.ess-row-trial:hover,
.ess-row-trial:focus-visible { border-color: oklch(0.715 0.150 34 / 0.32); }
.ess-row-trial .ess-ic {
  background: oklch(0.715 0.150 34 / 0.16);
  color: oklch(0.740 0.140 34);
}
.ess-row-trial:hover > .src-arrow,
.ess-row-trial:focus-visible > .src-arrow { color: oklch(0.740 0.140 34); }
.ess-pill {
  padding: 3px 9px;
  border-radius: 999px;
  background: oklch(0.715 0.150 34 / 0.16);
  border: 1px solid oklch(0.715 0.150 34 / 0.32);
  color: oklch(0.740 0.140 34);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

/* ---- Storefront hand-off ----------------------------------------- */
.ess-store {
  margin: clamp(40px, 8vh, 72px) 0 0;
  padding: clamp(22px, 4vw, 32px);
  border-radius: 24px;
  border: 1px solid var(--primary-line);
  background:
    radial-gradient(110% 140% at 92% -30%, oklch(0.762 0.135 197 / 0.16), transparent 62%),
    var(--surface);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 22px;
}
.ess-store .ess-ic { width: 52px; height: 52px; border-radius: 16px; }
.ess-store .ess-ic svg { width: 27px; height: 27px; }
.ess-store-txt { flex: 1 1 320px; min-width: 0; }
.ess-store h2 {
  margin: 0;
  font-family: var(--font-disp);
  font-weight: 560;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}
.ess-store p {
  margin: 7px 0 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  text-wrap: pretty;
}
.ess-store .ess-cta { margin-top: 0; }

@media (max-width: 560px) {
  .ess-row { align-items: flex-start; }
  .ess-row > .src-arrow { margin-top: 5px; }
  .ess-cta { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .ess-cta, .ess-row, .ess-row > .src-arrow { transition: none; }
  .ess-cta:hover, .ess-cta:focus-visible, .ess-cta:active,
  .ess-row:hover, .ess-row:focus-visible { transform: none; }
  .ess-row:hover > .src-arrow, .ess-row:focus-visible > .src-arrow { transform: none; }
}
