/* Caffeine Lens — landing page */

@import url("fonts.css");

:root {
  --espresso: #2e1f16;
  --mocha: #5d4037;
  --mocha-mid: #795548;
  --latte: #a1887f;
  --foam: #f3ebe3;
  --cream: #f7f1ea;
  --tan: #ebddd0;
  --cappuccino: #f8e1c3;
  --caramel: #d4893a;
  --steam: #637484;
  --paper: #fbf7f2;
  --white: #ffffff;
  --ring: rgba(93, 64, 55, 0.12);
  --shadow: 0 18px 40px rgba(46, 31, 22, 0.12);
  --radius: 20px;
  --max: 1180px;
  --nav-h: 68px;
  --font-display: "Metropolis", system-ui, sans-serif;
  --font-body: "Metropolis", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--espresso);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(248, 225, 195, 0.55), transparent 55%),
    radial-gradient(900px 500px at 90% 5%, rgba(161, 136, 127, 0.18), transparent 50%),
    linear-gradient(180deg, var(--cream) 0%, var(--foam) 40%, var(--paper) 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--espresso);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mocha-mid);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  max-width: 16ch;
}

.section-copy {
  margin: 0;
  color: var(--steam);
  font-size: 1.05rem;
  max-width: 38rem;
}

/* —— Nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  backdrop-filter: blur(14px);
  background: rgba(247, 241, 234, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(93, 64, 55, 0.1);
  box-shadow: 0 8px 24px rgba(46, 31, 22, 0.05);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--mocha);
  font-weight: 500;
  position: relative;
  padding: 0.2rem 0;
  transition: color 0.25s var(--ease-soft);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--mocha);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--espresso);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: var(--espresso);
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  transition:
    transform 0.3s var(--ease-out),
    background 0.25s ease,
    box-shadow 0.3s var(--ease-out);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--mocha);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 22px rgba(46, 31, 22, 0.18);
  outline: none;
}

.nav-toggle {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(93, 64, 55, 0.18);
  color: var(--mocha);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
  border-radius: 2px;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.mobile-nav {
  display: none;
  position: absolute;
  inset: var(--nav-h) 0 auto;
  background: rgba(251, 247, 242, 0.97);
  border-bottom: 1px solid rgba(93, 64, 55, 0.1);
  padding: 1rem 1.25rem 1.5rem;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 0.85rem 0;
  font-weight: 500;
  border-bottom: 1px solid rgba(93, 64, 55, 0.08);
}

.mobile-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-bottom: 0;
  text-align: center;
}

@media (min-width: 880px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* —— Buttons & CTAs —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s var(--ease-out),
    background 0.25s ease,
    box-shadow 0.35s var(--ease-out);
}

.btn-primary {
  background: var(--espresso);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(46, 31, 22, 0.14);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease-out);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--mocha);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 32px rgba(46, 31, 22, 0.22);
  outline: none;
}

.btn-primary:hover::after,
.btn-primary:focus-visible::after {
  transform: translateX(120%);
}

.btn-primary:active {
  transform: translateY(-1px) scale(1.02);
}

.btn-ghost {
  color: var(--mocha);
  font-weight: 600;
  transition: color 0.25s ease, transform 0.3s var(--ease-out), gap 0.3s ease;
  gap: 0.35rem;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: var(--espresso);
  transform: translateX(4px);
  outline: none;
}

.play-badge {
  display: inline-block;
  width: min(180px, 55vw);
  margin-top: 0.35rem;
  border-radius: 10px;
  transition:
    transform 0.4s var(--ease-out),
    filter 0.35s ease;
  transform-origin: left center;
}

.play-badge img {
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.play-badge:hover,
.play-badge:focus-visible {
  transform: scale(1.08);
  filter: drop-shadow(0 12px 20px rgba(46, 31, 22, 0.18));
  outline: none;
}

.play-badge:focus-visible {
  box-shadow: 0 0 0 3px rgba(93, 64, 55, 0.25);
}

.hero-actions .play-badge {
  animation: badge-breathe 3.8s var(--ease-soft) infinite;
}

@keyframes badge-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.025); }
}

.hero-actions .play-badge:hover,
.hero-actions .play-badge:focus-visible {
  animation: none;
  transform: scale(1.1);
}

.micro-tagline {
  margin: 1.1rem 0 0;
  color: var(--mocha-mid);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}

/* —— Hero —— */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -10% -5% auto;
  height: 70%;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(248, 225, 195, 0.65), transparent 55%),
    radial-gradient(ellipse at 70% 20%, rgba(212, 137, 58, 0.12), transparent 45%);
  pointer-events: none;
  z-index: 0;
  animation: wash-drift 14s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: 8%;
  top: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 225, 195, 0.55), transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: orb-float 9s ease-in-out infinite;
}

@keyframes wash-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(2%, 3%, 0) scale(1.04); }
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0); opacity: 0.7; }
  50% { transform: translate(-18px, 14px); opacity: 1; }
}

.hero-copy-wrap {
  animation: hero-copy-in 0.8s var(--ease-out) both;
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.75rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2rem;
  }
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 700;
  color: var(--mocha);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-mark img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.35rem, 6vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1.15rem;
  max-width: 11ch;
}

.hero-copy {
  margin: 0 0 1.6rem;
  color: var(--steam);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.hero-available {
  font-size: 0.85rem;
  color: var(--latte);
  margin: 0.15rem 0 0;
}

/* Phone mockup / hero screenshot */
.phone-stage {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-phone {
  width: min(340px, 82vw);
  height: auto;
  animation: phone-float 5.5s ease-in-out infinite;
  filter: drop-shadow(0 22px 40px rgba(46, 31, 22, 0.18));
  transition: filter 0.4s ease, transform 0.4s var(--ease-out);
}

.phone-stage:hover .hero-phone {
  filter: drop-shadow(0 28px 48px rgba(46, 31, 22, 0.24));
}

@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-phone,
  .hero::before,
  .hero::after,
  .hero-actions .play-badge,
  .hero-copy-wrap {
    animation: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

.feature-shot {
  width: min(100%, 480px);
  height: auto;
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(46, 31, 22, 0.1);
  transition:
    transform 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out);
}

.feature-shot:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 22px 44px rgba(46, 31, 22, 0.14);
}

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

.decision-panel {
  width: min(360px, 100%);
  padding: 1.75rem;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.9), rgba(248, 225, 195, 0.35));
  border: 1px solid rgba(93, 64, 55, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(46, 31, 22, 0.06);
}

.decision-panel .eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: var(--steam);
}

.decision-panel h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--mocha);
}

.decision-panel .verdict {
  margin: 0.85rem 0 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--caramel);
}

.problem {
  background: linear-gradient(180deg, transparent, rgba(233, 220, 211, 0.45));
}

.problem-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .problem-layout {
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
  }
}

.decay {
  display: grid;
  gap: 0;
  position: relative;
  padding: 0.5rem 0;
}

.decay-step {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: center;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.55s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.decay-step.is-visible {
  opacity: 1;
  transform: none;
}

.decay-step + .decay-step {
  margin-top: 0.35rem;
}

.decay-time {
  font-weight: 600;
  color: var(--mocha);
  font-size: 0.95rem;
}

.decay-value {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  border: 1px solid rgba(93, 64, 55, 0.08);
}

.decay-bar {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mocha-mid), var(--caramel));
  flex: 0 0 auto;
}

.decay-mg {
  font-family: var(--font-display);
  font-weight: 600;
  white-space: nowrap;
}

.decay-note {
  margin-top: 1.5rem;
  color: var(--steam);
  font-size: 0.98rem;
  max-width: 36rem;
}

/* —— Feature killer —— */
.killer {
  position: relative;
}

.killer-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .killer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* —— Features —— */
.features-intro {
  margin-bottom: 2.5rem;
}

.feature-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 760px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature {
  padding: 0.25rem 0.15rem;
  transition: transform 0.35s var(--ease-out);
}

.feature:hover {
  transform: translateY(-4px);
}

.feature-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  color: var(--mocha);
  transition: transform 0.4s var(--ease-out), color 0.25s ease;
}

.feature:hover .feature-icon {
  transform: scale(1.08) rotate(-4deg);
  color: var(--caramel);
}

.feature h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.feature p {
  margin: 0;
  color: var(--steam);
  font-size: 0.98rem;
}

.feature-grid .feature:nth-child(1) { transition-delay: 0ms; }
.feature-grid .feature:nth-child(2) { transition-delay: 60ms; }
.feature-grid .feature:nth-child(3) { transition-delay: 120ms; }
.feature-grid .feature:nth-child(4) { transition-delay: 180ms; }

/* —— Showcase panels —— */
.showcase {
  display: grid;
  gap: 4.5rem;
}

.showcase-row {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .showcase-row {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .showcase-row.reverse .showcase-copy {
    order: 2;
  }
}

.stat-block {
  text-align: center;
  padding: 2rem 1.25rem;
}

.stat-block .big {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  line-height: 1;
  color: var(--mocha);
  margin: 0;
}

.stat-block .label {
  margin: 0.5rem 0 0;
  color: var(--steam);
  font-weight: 600;
}

.limit-meter {
  max-width: 320px;
  margin: 0 auto;
  padding: 1.5rem;
}

.limit-meter .consumed {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin: 0 0 0.75rem;
  color: var(--mocha);
  text-align: center;
}

.meter-track {
  height: 12px;
  border-radius: 999px;
  background: var(--tan);
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  width: 70%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mocha-mid), var(--caramel));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1s var(--ease-out);
}

.meter-fill.is-visible,
.limit-meter.is-visible .meter-fill {
  transform: scaleX(1);
}

.meter-cap {
  margin: 0.65rem 0 0;
  text-align: right;
  color: var(--steam);
  font-size: 0.9rem;
}

.chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.55rem;
  height: 180px;
  padding: 1rem 0.5rem 1.75rem;
}

.chart-bar {
  flex: 1;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, var(--mocha-mid), #a67c52);
  transform-origin: bottom;
  transform: scaleY(0.08);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}

.chart-bar.is-visible {
  transform: scaleY(1);
}

.chart-bar span {
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  color: var(--steam);
  font-weight: 600;
}

.drink-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
  margin: 1.5rem 0 0.5rem;
}

.drink-item {
  padding: 1.25rem 0.75rem;
  border-radius: 16px;
  transition:
    transform 0.35s var(--ease-out),
    background 0.3s ease,
    box-shadow 0.35s var(--ease-out);
}

.drink-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 12px 28px rgba(46, 31, 22, 0.08);
}

.drink-item svg {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.75rem;
  color: var(--mocha);
  transition: transform 0.4s var(--ease-out);
}

.drink-item:hover svg {
  transform: scale(1.1);
}

.drink-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.drink-item span {
  color: var(--steam);
  font-size: 0.85rem;
}

.drinks-count {
  text-align: center;
  margin: 1.25rem 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--mocha);
}

/* —— How it works —— */
.steps {
  display: grid;
  gap: 1.75rem;
  margin-top: 2.5rem;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.step {
  padding-top: 0.25rem;
}

.step-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--latte);
  margin: 0 0 0.85rem;
}

.step h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.step p {
  margin: 0;
  color: var(--steam);
}

/* —— Privacy —— */
.privacy-panel {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .privacy-panel {
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
  }
}

.privacy-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.privacy-list li {
  padding-left: 1.35rem;
  position: relative;
  color: var(--steam);
}

.privacy-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mocha-mid);
  position: absolute;
  left: 0;
  top: 0.55em;
}

.privacy-list strong {
  color: var(--espresso);
}

.privacy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.privacy-links a {
  font-weight: 600;
  color: var(--mocha);
  border-bottom: 1px solid rgba(93, 64, 55, 0.25);
}

/* —— Final CTA —— */
.final-cta {
  text-align: center;
  padding: clamp(4.5rem, 10vw, 7rem) 0;
  background:
    radial-gradient(700px 280px at 50% 0%, rgba(248, 225, 195, 0.7), transparent 70%),
    linear-gradient(180deg, transparent, rgba(233, 220, 211, 0.55));
}

.final-cta .section-title {
  max-width: 14ch;
  margin-inline: auto;
}

.final-cta .section-copy {
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.final-cta .hero-actions {
  align-items: center;
}

/* —— FAQ —— */
.faq-list {
  margin: 2rem 0 0;
  max-width: 720px;
}

.faq-item {
  border-bottom: 1px solid rgba(93, 64, 55, 0.12);
  transition: background 0.25s ease;
}

.faq-item[open] {
  background: rgba(255, 255, 255, 0.35);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 2rem 1.15rem 0;
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
  transition: color 0.2s ease;
}

.faq-item summary:hover {
  color: var(--mocha);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
  color: var(--latte);
  font-weight: 400;
  transition: transform 0.3s var(--ease-out), color 0.2s ease;
}

.faq-item[open] summary::after {
  content: "–";
  color: var(--mocha);
  transform: translateY(-50%) rotate(180deg);
}

.faq-item p {
  margin: 0 0 1.2rem;
  color: var(--steam);
  padding-right: 1rem;
  animation: faq-open 0.35s var(--ease-out);
}

@keyframes faq-open {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* —— Footer —— */
.site-footer {
  padding: 3.5rem 0 2rem;
  border-top: 1px solid rgba(93, 64, 55, 0.1);
  background: rgba(233, 220, 211, 0.35);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.5rem;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.footer-tag {
  color: var(--steam);
  margin: 0;
}

.footer-col h4 {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--latte);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-col a {
  color: var(--mocha);
  font-weight: 500;
  transition: color 0.2s ease, transform 0.25s var(--ease-out);
  display: inline-block;
}

.footer-col a:hover {
  color: var(--espresso);
  transform: translateX(3px);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(93, 64, 55, 0.1);
  color: var(--steam);
  font-size: 0.9rem;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.decay-step {
  transition-delay: var(--reveal-delay, 0ms);
}

.brand img,
.brand-mark img,
.footer-brand img {
  transition: transform 0.35s var(--ease-out);
}

.brand:hover img,
.brand-mark:hover img,
.footer-brand:hover img {
  transform: scale(1.06) rotate(-4deg);
}

.step {
  transition: transform 0.35s var(--ease-out);
}

.step:hover {
  transform: translateY(-4px);
}

.privacy-links a {
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.25s ease;
  display: inline-block;
}

.privacy-links a:hover {
  transform: translateY(-1px);
  border-bottom-color: var(--mocha);
}

/* —— Mobile refinements —— */
@media (max-width: 879px) {
  :root {
    --nav-h: 60px;
  }

  .nav {
    gap: 0.65rem;
  }

  .brand {
    font-size: 1.02rem;
    min-width: 0;
  }

  .brand img {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
  }

  /* Keep header compact: CTA lives in the mobile menu */
  .nav > .nav-cta {
    display: none;
  }

  .nav-toggle {
    margin-left: auto;
  }

  .hero-title {
    max-width: none;
    font-size: clamp(1.85rem, 8vw, 2.6rem);
  }

  .section-title {
    max-width: none;
    font-size: clamp(1.55rem, 6.5vw, 2.2rem);
  }

  .section {
    padding: clamp(2.75rem, 8vw, 4.5rem) 0;
  }

  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .decay-step {
    grid-template-columns: 4.5rem 1fr;
    gap: 0.65rem;
  }

  .decay-time {
    font-size: 0.85rem;
  }

  .drink-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .drink-item {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.85rem;
    text-align: left;
    align-items: center;
    padding: 0.85rem 0.5rem;
  }

  .drink-item svg {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .feature-grid {
    gap: 1.25rem;
  }

  .chart {
    height: 150px;
    gap: 0.35rem;
  }

  .hero-phone {
    width: min(280px, 78vw);
  }

  .feature-shot {
    width: 100%;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .final-cta .section-title {
    max-width: 14ch;
  }

  .play-badge {
    width: min(170px, 70vw);
  }

  .btn {
    width: 100%;
    max-width: 320px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: auto;
    max-width: none;
  }
}

@media (max-width: 420px) {
  .decay-step {
    grid-template-columns: 1fr;
  }

  .decay-value {
    padding: 0.75rem 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .decay-step,
  .chart-bar,
  .meter-fill,
  .feature,
  .drink-item,
  .feature-shot,
  .btn,
  .nav-cta,
  .play-badge,
  .step,
  .faq-item p {
    transition: none !important;
    animation: none !important;
  }

  .reveal,
  .decay-step {
    opacity: 1;
    transform: none;
  }

  .feature:hover,
  .drink-item:hover,
  .step:hover,
  .feature-shot:hover,
  .btn-primary:hover,
  .nav-cta:hover,
  .play-badge:hover {
    transform: none;
  }
}
