/* Sniffy — marketing site
   Soft, premium, Apple-style theme. One palette: navy ink on warm off-white
   with terracotta accent reserved for emphasis (links, focus, App Store CTA). */

:root {
  /* Surfaces */
  --surface:          #FBFAF8;
  --surface-elevated: #FFFFFF;
  --surface-tint:     #F4F2EE;
  --surface-sunken:   #ECEAE5;

  /* Ink */
  --ink:        #0F1729;
  --ink-muted:  #5C6275;
  --ink-faint:  #9097A6;

  /* Hairlines (the new "border") */
  --hairline:         rgba(15, 23, 41, 0.08);
  --hairline-strong:  rgba(15, 23, 41, 0.14);

  /* Accent — used sparingly */
  --accent:       #D87547;
  --accent-soft:  #FBEDE2;

  /* Soft, multi-stop shadows */
  --shadow-xs:    0 1px 2px rgba(15, 23, 41, 0.04), 0 1px 1px rgba(15, 23, 41, 0.03);
  --shadow-sm:    0 2px 6px rgba(15, 23, 41, 0.05), 0 1px 2px rgba(15, 23, 41, 0.04);
  --shadow-md:    0 8px 24px rgba(15, 23, 41, 0.06), 0 2px 6px rgba(15, 23, 41, 0.04);
  --shadow-lg:    0 24px 60px rgba(15, 23, 41, 0.08), 0 8px 18px rgba(15, 23, 41, 0.05);
  --shadow-phone: 0 30px 80px rgba(15, 23, 41, 0.12), 0 12px 24px rgba(15, 23, 41, 0.06);

  /* Shape */
  --radius-sm:   10px;
  --radius:      18px;
  --radius-lg:   28px;
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  /* Type */
  --font-display: 'Lexend', system-ui, -apple-system, sans-serif;
  --font-body:    'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface:          #0B0F1A;
    --surface-elevated: #141A2A;
    --surface-tint:     #0F1422;
    --surface-sunken:   #080C16;

    --ink:        #F2EFE9;
    --ink-muted:  #A5ABBA;
    --ink-faint:  #6E7488;

    --hairline:        rgba(255, 255, 255, 0.08);
    --hairline-strong: rgba(255, 255, 255, 0.14);

    --accent:      #E89A6E;
    --accent-soft: rgba(232, 154, 110, 0.12);

    --shadow-xs:    0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-sm:    0 2px 6px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md:    0 12px 32px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg:    0 32px 80px rgba(0, 0, 0, 0.55), 0 8px 18px rgba(0, 0, 0, 0.35);
    --shadow-phone: 0 40px 100px rgba(0, 0, 0, 0.6), 0 12px 24px rgba(0, 0, 0, 0.4);
  }
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 0.5em;
}

h1 {
  font-weight: 700;
  font-size: clamp(2.75rem, 6vw + 0.5rem, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
h2 {
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw + 0.5rem, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.028em;
}
h3 {
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
h4 {
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.005em;
}

p {
  margin: 0 0 1em;
  color: var(--ink-muted);
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}
a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

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

/* Layout */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 820px; }
.container--wide   { max-width: 1320px; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--surface);
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 100;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  transition: background-color 220ms var(--ease), border-color 220ms var(--ease), backdrop-filter 220ms var(--ease);
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  background: rgba(251, 250, 248, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
}
@media (prefers-color-scheme: dark) {
  .nav--scrolled {
    background: rgba(11, 15, 26, 0.8);
  }
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--ink);
  letter-spacing: -0.015em;
  border-bottom: none;
}
.nav-brand:hover { color: var(--ink); border-bottom: none; }
.nav-brand img,
.nav-brand .brand-mark { width: 28px; height: 28px; display: block; border-radius: 6px; }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.9375rem;
  border-bottom: none;
}
.nav-links a:hover { color: var(--accent); border-bottom: none; }
.nav-links .btn { padding: 8px 18px; font-size: 0.875rem; color: var(--surface); }
.nav-links .btn:hover { color: var(--surface); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; stroke: currentColor; }

@media (max-width: 820px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--hairline);
    padding: 12px 24px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--hairline);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links .btn { margin-top: 12px; align-self: flex-start; padding: 12px 22px; font-size: 0.9375rem; }
  .nav-toggle { display: inline-flex; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--surface);
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background-color 160ms var(--ease);
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: var(--surface);
  border-bottom: none;
}
.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-xs);
}

.btn-primary { background: var(--ink); color: var(--surface); }
.btn-primary:hover { background: var(--ink); color: var(--surface); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--hairline-strong);
}
.btn-ghost:hover {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink), var(--shadow-xs);
}

.btn-lg { padding: 18px 36px; font-size: 1.0625rem; }

/* Cards (one base class for all card variants) */
.card,
.feature-card,
.contact-card {
  background: var(--surface-elevated);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease);
}
.card:hover,
.feature-card:hover,
.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card-lg { padding: 40px; }

/* Section */
.section { padding: clamp(96px, 14vw, 160px) 0; }
.section-alt { background: var(--surface-tint); }

.section-head {
  max-width: 760px;
  margin: 0 auto 80px;
  text-align: center;
}
.section-head .eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}
.section-head p {
  font-size: 1.25rem;
  color: var(--ink-muted);
  max-width: 600px;
  margin: 12px auto 0;
}

/* Hero eyebrow — uppercase tracked accent text (no chip, no shadow) */
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 24px;
}

/* Hero */
.hero {
  padding: clamp(56px, 7vw, 96px) 0 clamp(60px, 8vw, 120px);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 64px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.hero-copy { align-self: start; padding-top: clamp(8px, 2vw, 32px); }
.hero-copy h1 {
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 4vw + 1rem, 4.5rem);
  text-wrap: balance;
}
.hero-lede {
  font-size: 1.375rem;
  line-height: 1.4;
  color: var(--ink-muted);
  margin: 0 0 36px;
  max-width: 52ch;
  letter-spacing: -0.005em;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
/* Hero visual — stacked pet photos on a soft pastel platform */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  aspect-ratio: 1;
  max-width: 700px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at center, var(--accent-soft) 0%, transparent 65%);
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
}
.hero-stack {
  position: relative;
  z-index: 1;
  width: clamp(260px, 32vw, 420px);
  aspect-ratio: 4 / 5;
}
.hero-photo {
  position: absolute;
  overflow: hidden;
  background: var(--surface-tint);
  box-shadow: var(--shadow-lg);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-photo-dog {
  top: 0;
  left: 0;
  width: 78%;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  transform: rotate(-2deg);
}
.hero-photo-cat {
  bottom: 0;
  right: 0;
  width: 48%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: rotate(3deg);
  border: 6px solid var(--surface);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: left; }
  .hero-visual { min-height: 0; }
  .hero-stack { width: clamp(220px, 60vw, 320px); }
}

/* What-it-does strip — three short text cards */
.what-strip { padding: clamp(56px, 8vw, 96px) 0; }
.what-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}
.what-card {
  background: var(--surface-elevated);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-xs);
}
.what-card .eyebrow {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}
.what-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
}
@media (max-width: 820px) {
  .what-grid { grid-template-columns: 1fr; }
}

/* Features grid — consolidated 6 cards */
.features-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1000px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
}
.feature-card {
  display: flex;
  flex-direction: column;
  padding: 36px;
}
.feature-card h2,
.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.2;
  margin: 0 0 12px;
  letter-spacing: -0.015em;
}
.feature-card > p {
  margin: 0 0 20px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-muted);
}
/* Feature icon — monochrome ink tint, no neon (still used by contact-card) */
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  color: var(--ink);
  font-size: 1.25rem;
}
.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Phone frame — used by screens gallery */
.phone-frame {
  position: relative;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 9 / 19.5;
  background: var(--ink);
  border-radius: 44px;
  box-shadow: var(--shadow-phone);
  padding: 8px;
  overflow: hidden;
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.phone-frame::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: var(--ink);
  border-radius: 12px;
  z-index: 2;
}
.phone-frame img,
.phone-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 36px;
}

/* App screenshots gallery */
.screens-grid {
  display: grid;
  gap: clamp(20px, 2.5vw, 36px);
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
}
.phone {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.phone:hover .phone-frame {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg), 0 30px 60px rgba(15, 23, 41, 0.1);
}
.screens-grid .phone-frame {
  max-width: 100%;
  border-radius: 36px;
  padding: 6px;
}
.screens-grid .phone-frame::before { width: 70px; height: 18px; top: 9px; }
.screens-grid .phone-frame img,
.screens-grid .phone-frame video { border-radius: 30px; }
.phone figcaption {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--ink-muted);
  text-align: center;
  letter-spacing: -0.005em;
}
@media (max-width: 1000px) {
  .screens-grid { grid-template-columns: repeat(3, 1fr); }
  .screens-grid .phone:nth-child(n+4) { display: none; }
}
@media (max-width: 640px) {
  .screens-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 4px 24px 16px;
    margin: 0 -24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .screens-grid::-webkit-scrollbar { display: none; }
  .screens-grid .phone {
    flex: 0 0 64%;
    scroll-snap-align: center;
  }
  .screens-grid .phone:nth-child(n+4) { display: flex; }
}

/* Phone-frame size variants — used by feature showcase */
.phone-frame--lg { max-width: 360px; }
.phone-frame--sm {
  max-width: 240px;
  border-radius: 36px;
  padding: 6px;
}
.phone-frame--sm::before { width: 72px; height: 20px; top: 9px; }
.phone-frame--sm img,
.phone-frame--sm video { border-radius: 30px; }

/* Feature showcase — primary row + secondary pair */
.showcase { padding: clamp(72px, 10vw, 120px) 0; }

.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  margin-bottom: clamp(64px, 8vw, 112px);
}
.showcase-row--primary .showcase-visual { justify-self: end; }
.showcase-row--primary .showcase-copy   { max-width: 460px; }

.showcase-copy .eyebrow {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.showcase-copy h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.showcase-copy p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 44ch;
}

.showcase-visual { display: flex; justify-content: center; }

.showcase-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
}
.showcase-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.showcase-card .showcase-copy { max-width: 36ch; }
.showcase-card .showcase-copy p { margin-left: auto; margin-right: auto; }

@media (max-width: 1100px) {
  .showcase-row { gap: 48px; }
  .phone-frame--lg { max-width: 320px; }
}

@media (max-width: 900px) {
  .showcase-row,
  .showcase-pair {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .showcase-row--primary .showcase-visual { justify-self: center; order: -1; }
  .showcase-row--primary .showcase-copy   { max-width: none; text-align: center; }
  .showcase-row--primary .showcase-copy p { margin-left: auto; margin-right: auto; }
}

/* Reduced motion — JS swaps <video> with poster <img>; this just styles the swap */
.phone-frame img.poster-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 36px;
}
.phone-frame--sm img.poster-fallback { border-radius: 30px; }

/* Sticky mobile download CTA */
.sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--ink);
  color: var(--surface);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 0;
  transform: translateY(140%);
  transition: transform 320ms var(--ease);
}
.sticky-cta:hover { color: var(--surface); border-bottom: 0; }
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta-arrow { font-size: 1.1rem; }
@media (max-width: 720px) {
  .sticky-cta { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
}

/* Legal pages */
.legal-header {
  padding: clamp(96px, 12vw, 144px) 0 32px;
}
.legal-header .eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.legal-header h1 {
  font-size: clamp(2.25rem, 4vw + 1rem, 3.75rem);
  margin-bottom: 12px;
}
.legal-header .meta {
  color: var(--ink-faint);
  font-size: 0.9375rem;
  margin: 0;
}

.legal-body {
  padding: 32px 0 96px;
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
}
.legal-body h2 {
  font-size: 1.625rem;
  margin-top: 64px;
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 {
  font-size: 1.1875rem;
  margin-top: 32px;
  margin-bottom: 12px;
  font-weight: 600;
}
.legal-body p,
.legal-body li {
  color: var(--ink);
}
.legal-body ul {
  padding-left: 22px;
  margin-bottom: 1.2em;
}
.legal-body li { margin-bottom: 0.4em; }
.legal-body strong { font-weight: 600; }
.legal-body a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}
.legal-body a:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* Contact */
.contact-hero {
  padding: clamp(96px, 12vw, 144px) 0 24px;
  text-align: center;
}
.contact-hero p {
  font-size: 1.25rem;
  max-width: 540px;
  margin: 16px auto 0;
}
.contact-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  padding: 48px 0 96px;
}
@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
.contact-card {
  padding: 36px;
  text-align: left;
}
.contact-card .feature-icon { margin-bottom: 20px; }
.contact-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  font-weight: 600;
}
.contact-card p {
  margin-bottom: 20px;
  font-size: 0.9375rem;
}
.contact-card a.btn {
  width: 100%;
  font-size: 0.9375rem;
  padding: 12px 20px;
  word-break: break-all;
}

/* Footer */
.footer {
  border-top: 1px solid var(--hairline);
  padding: 56px 0 40px;
  background: var(--surface);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand { max-width: 320px; }
.footer-brand p {
  font-size: 0.9375rem;
  margin-top: 14px;
  color: var(--ink-muted);
}
.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--ink-muted);
  font-weight: 500;
  font-size: 0.9375rem;
  border-bottom: 0;
}
.footer-links a:hover { color: var(--accent); border-bottom: 0; }
.footer-meta {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-size: 0.8125rem;
  color: var(--ink-faint);
}
.footer-meta a {
  color: var(--ink-faint);
  border-bottom: 0;
}
.footer-meta a:hover { color: var(--accent); }

/* Scroll reveals */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 80ms; }
.reveal--delay-2 { transition-delay: 160ms; }
.reveal--delay-3 { transition-delay: 240ms; }
.features-grid .reveal--stagger:nth-child(3n+2).is-visible { transition-delay: 80ms; }
.features-grid .reveal--stagger:nth-child(3n).is-visible { transition-delay: 160ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Why-Sniffy prose section */
.why-prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.75;
}
.why-prose p { margin-bottom: 1.25em; }
.why-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* FAQ */
.faq-list {
  margin: 0;
  padding: 0;
}
.faq-item {
  border-top: 1px solid var(--hairline);
  padding: 32px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--hairline); }
.faq-item dt h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.faq-item dd {
  margin: 0;
}
.faq-item dd p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-muted);
}

/* Blog & feature page article layout */
.article-header {
  padding: clamp(96px, 12vw, 144px) 0 32px;
}
.article-header .eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.article-header h1 {
  font-size: clamp(2rem, 4vw + 1rem, 3.25rem);
  margin-bottom: 16px;
  max-width: 800px;
}
.article-header .article-meta {
  color: var(--ink-faint);
  font-size: 0.9375rem;
  margin: 0;
}
.article-body {
  padding: 32px 0 96px;
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
}
.article-body h2 {
  font-size: 1.625rem;
  margin-top: 56px;
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-size: 1.1875rem;
  margin-top: 32px;
  margin-bottom: 12px;
  font-weight: 600;
}
.article-body p { margin-bottom: 1.2em; }
.article-body ul {
  padding-left: 22px;
  margin-bottom: 1.2em;
}
.article-body li { margin-bottom: 0.5em; }
.article-body strong { font-weight: 600; }
.article-body a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}
.article-body a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.article-cta {
  display: inline-block;
  margin-top: 40px;
}
.article-related {
  padding: clamp(48px, 6vw, 80px) 0;
  background: var(--surface-tint);
  border-top: 1px solid var(--hairline);
}
.article-related h2 {
  font-size: 1.25rem;
  margin-bottom: 20px;
}
.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
