/* =====================================================
   Chefcam.ai — Cal AI–inspired landing page
   ===================================================== */

:root {
  --header-bar-h: 92px;
  --bg-top: #f6f6f7;
  --bg-page-fallback: #e9ecf1;
  --bg-warm-1: #fbe4d6;
  --bg-warm-2: #fff3ea;
  --bg-warm-3: #f6f6f7;
  --ink: #0a0a0a;
  --ink-soft: #1f2937;
  --muted: #6b7280;
  --muted-strong: #4b5563;
  --border: #e5e7eb;
  --border-soft: #f1f1f1;
  --star: #f5b301;
  --radius-pill: 9999px;
  --radius-card: 28px;
  --radius-phone: 38px;
  --shadow-phone: 0 30px 60px -20px rgba(0, 0, 0, 0.25), 0 10px 25px -10px rgba(0, 0, 0, 0.15);
  --shadow-card: 0 6px 18px -8px rgba(0, 0, 0, 0.18);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
}

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  min-height: 100%;
  background-color: var(--bg-page-fallback);
  background-image:
    radial-gradient(ellipse 115% 90% at 88% -12%, rgba(255, 228, 214, 0.48), transparent 58%),
    radial-gradient(ellipse 75% 48% at 8% 32%, rgba(252, 253, 255, 0.92), transparent 54%),
    linear-gradient(176deg, #fcfcfd 0%, #f3f5f8 42%, #e9ecf1 100%);
}
body {
  font-family: 'General Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  min-height: 100%;
  background: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; padding: 0; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

/* =====================================================
   Reveal animations
   ===================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

html.no-motion [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
html.no-motion .hero__phone-wrap { animation: none !important; }

/* =====================================================
   Header
   ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 246, 247, 0.72);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  transition: background 250ms var(--ease-out), border-color 250ms var(--ease-out), box-shadow 250ms var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(246, 246, 247, 0.92);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}
.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-bar-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
}
.brand__mark {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex: none;
  mix-blend-mode: multiply;
}
.brand__name { font-size: 24px; }

/* Footer brand keeps the original sizing */
.footer__brand .brand__mark { width: 36px; height: 36px; }
.footer__brand .brand__name { font-size: 20px; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__list a {
  position: relative;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 15px;
  padding: 6px 2px;
  cursor: pointer;
  transition: color 200ms var(--ease-out);
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms var(--ease-out);
}
.nav__list a:hover { color: var(--ink); }
.nav__list a:hover::after { transform: scaleX(1); }
.nav__list a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}
.nav__list a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 10px;
  color: var(--ink);
}
.nav__toggle:hover { background: #f4f4f4; }
.nav__toggle svg { width: 22px; height: 22px; }
.nav__toggle .nav__toggle-close { display: none; }

/* Mobile drawer: sidebar + backdrop (see @media max-width 1024px) */
.nav-drawer-backdrop {
  display: none;
}
.mobile-nav {
  display: none;
}

@media (max-width: 1024px) {
  /*
    Drawer + backdrop sit BELOW the sticky header bar so they aren’t covered by it.
    (Previously header z-index stacked above the panel and clipped the top of the sidebar.)
  */
  .nav-drawer-backdrop {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-bar-h);
    bottom: 0;
    z-index: 200;
    background: rgb(0 0 0 / 0.38);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.28s var(--ease-out),
      visibility 0.28s;
    pointer-events: none;
  }
  body.nav-open .nav-drawer-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-bar-h);
    right: 0;
    bottom: 0;
    left: auto;
    width: min(320px, calc(100vw - 24px));
    max-width: 100vw;
    min-height: calc(100vh - var(--header-bar-h));
    min-height: calc(100dvh - var(--header-bar-h));
    z-index: 210;
    margin: 0;
    padding:
      20px
      max(20px, env(safe-area-inset-right))
      calc(24px + env(safe-area-inset-bottom, 0px))
      max(20px, env(safe-area-inset-left));
    background: #fff;
    border-left: 1px solid var(--border);
    box-shadow: -12px 0 48px rgb(0 0 0 / 0.14);
    transform: translate3d(100%, 0, 0);
    transition: transform 0.32s var(--ease-out);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  body.nav-open .mobile-nav {
    transform: translate3d(0, 0, 0);
  }
  body:not(.nav-open) .mobile-nav {
    pointer-events: none;
  }

  .mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .mobile-nav a {
    display: block;
    padding: 12px 6px;
    font-weight: 600;
    font-size: 16px;
    color: var(--ink);
    border-bottom: 1px solid var(--border-soft);
    border-radius: 0;
  }
  .mobile-nav a[aria-current="page"] {
    color: var(--ink-soft);
    padding-left: 12px;
    border-left: 3px solid var(--ink);
  }
}

@media (prefers-reduced-motion: reduce) {
  @media (max-width: 1024px) {
    .nav-drawer-backdrop,
    .mobile-nav {
      transition-duration: 0.01ms;
    }
  }
}

/* =====================================================
   Store badges
   ===================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #0a0a0a;
  color: #fff;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out), background 200ms var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}
.badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.4);
  background: #1a1a1a;
}
.badge:active { transform: translateY(0); }
.badge__icon { width: 22px; height: 22px; color: #fff; flex: none; }
.badge__copy { display: flex; flex-direction: column; line-height: 1.05; }
.badge__small { font-size: 9px; font-weight: 500; opacity: 0.85; letter-spacing: 0.04em; text-transform: uppercase; }
.badge__big { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }

.badge--sm { padding: 7px 12px; }
.badge--sm .badge__icon { width: 18px; height: 18px; }
.badge--sm .badge__big { font-size: 13px; }
.badge--sm .badge__small { font-size: 8px; }

.badge--lg { padding: 12px 20px; border-radius: 14px; }
.badge--lg .badge__icon { width: 28px; height: 28px; }
.badge--lg .badge__small { font-size: 10px; }
.badge--lg .badge__big { font-size: 18px; }

/* =====================================================
   Hero
   ===================================================== */
.hero {
  position: relative;
  padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 6vw, 80px);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.hero__copy { max-width: 580px; }

.proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 28px;
}
.proof-pill__avatars {
  display: inline-flex;
  align-items: center;
}
.proof-pill__avatars img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-sizing: border-box;
  object-fit: contain;
  object-position: center;
  padding: 4px;
  background: #fff;
}
.proof-pill__avatars img + img { margin-left: -10px; }
.proof-pill__text { line-height: 1.35; }

.hero__title {
  font-weight: 700;
  font-size: clamp(40px, 6.6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 20px;
}
.hero__title span { font-weight: 700; }

.hero__lede {
  color: var(--muted);
  font-size: 17px;
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---- Visual side ---- */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Wrapper skips data-reveal (opacity/transform). Float uses margin, not transform. */
.hero__phone-wrap {
  width: 100%;
  max-width: 360px;
  animation: hero-phone-float 6s ease-in-out infinite;
}
.hero__phone {
  width: 100%;
  height: auto;
  display: block;
}

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

@keyframes hero-phone-float {
  0%, 100% { margin-top: 0; }
  50%      { margin-top: -12px; }
}

/* =====================================================
   Why choose
   ===================================================== */
.why {
  padding: clamp(60px, 9vw, 120px) 0;
}
.why__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(40px, 6vw, 64px);
}
.why__head h2 {
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 14px;
}
.why__head p {
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.why__card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out), border-color 250ms var(--ease-out);
}
.why__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.18);
  border-color: #d4d4d4;
}

.why__card--featured {
  position: relative;
  background: linear-gradient(165deg, var(--bg-warm-2) 0%, #ffffff 52%, #fff8f3 100%);
  border: 1px solid var(--border);
  box-shadow: 0 16px 44px -28px rgba(0, 0, 0, 0.14);
}
.why__card--featured:hover {
  border-color: #d4d4d4;
  box-shadow: 0 28px 48px -28px rgba(0, 0, 0, 0.22);
}
.why__card--featured .why__icon {
  background: linear-gradient(145deg, #fff 0%, var(--bg-warm-2) 100%);
  border-color: rgba(10, 10, 10, 0.12);
  color: var(--ink);
}

.why__badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: 0;
  padding: 0;
  margin-bottom: 4px;
}

.why__icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--ink);
  margin-bottom: 4px;
}
.why__icon svg { width: 22px; height: 22px; }

.why__card h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.why__card p {
  color: var(--muted-strong);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .why__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}

/* =====================================================
   Sources marquee
   ===================================================== */
.sources {
  padding: clamp(40px, 6vw, 72px) 0;
  text-align: center;
}
.sources__eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 28px;
}

.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  width: max-content;
  animation: marquee 40s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 14px);
  white-space: nowrap;
}
.marquee__logo {
  flex-shrink: 0;
  height: clamp(26px, 3.2vw, 38px);
  width: clamp(26px, 3.2vw, 38px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.06);
}

.marquee__item {
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  white-space: nowrap;
}
.marquee__item--muted { color: var(--muted); font-weight: 500; }
.marquee__sep {
  font-size: 16px;
  color: var(--muted);
  user-select: none;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
}

/* =====================================================
   How it works
   ===================================================== */
.how {
  padding: clamp(60px, 9vw, 120px) 0;
}
.how__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(48px, 7vw, 88px);
}
.how__head h2 {
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 14px;
}
.how__head p {
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
}

.how__carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 3vw, 28px);
}

/* Horizontal scroll-snap strip */
.how__steps {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-inline: 0;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  outline: none;
}
.how__steps::-webkit-scrollbar {
  display: none;
}
.how__steps:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
  border-radius: 12px;
}

.how__step {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}
.how__step--reverse .how__visual { order: 2; }

.how__carousel-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.how__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.how__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  background: var(--border);
  transition: transform 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.how__dot:hover {
  background: var(--muted);
}
.how__dot.is-active {
  background: var(--ink);
  transform: scale(1.15);
}

@media (prefers-reduced-motion: reduce) {
  .how__steps {
    scroll-behavior: auto;
    scroll-snap-type: x proximity;
  }
  .how__dot {
    transition: none;
  }
}

.how__visual {
  display: flex;
  justify-content: center;
}
.how__visual img {
  width: 100%;
  max-width: 300px;
  height: auto;
}
.how__visual-img--xl {
  max-width: 430px !important;
}

.how__copy {
  max-width: 480px;
}
.how__step--reverse .how__copy { justify-self: end; }

.how__num {
  display: block;
  font-size: clamp(72px, 9vw, 120px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: rgba(10, 10, 10, 0.07);
  margin-bottom: 12px;
}
.how__copy h3 {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 14px;
}
.how__copy p {
  color: var(--muted-strong);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .how__step,
  .how__step--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  /* Step number + copy above phone on narrow viewports */
  .how__step .how__copy {
    order: 1;
    justify-self: center;
  }
  .how__step .how__visual {
    order: 2;
  }
  .how__copy { max-width: 520px; margin-inline: auto; }
  .how__visual img { max-width: 240px; }
  .how__visual-img--xl { max-width: 310px !important; }
}

/* =====================================================
   App Store CTA (honest — no fabricated ratings)
   ===================================================== */
.store-cta {
  background:
    radial-gradient(120% 90% at 50% 100%, var(--bg-warm-1) 0%, var(--bg-warm-2) 45%, var(--bg-warm-3) 90%);
  padding: clamp(80px, 12vw, 140px) 0;
  text-align: center;
}
.store-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 2.5vw, 22px);
  max-width: 640px;
  margin-inline: auto;
}
.store-cta__inner h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.12;
}
.store-cta__lede {
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.55;
  color: var(--muted-strong);
  max-width: 46ch;
}
.store-cta__note {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 42ch;
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 56px 0 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
}
.footer__sub { color: var(--muted); margin: 16px 0 10px; font-size: 14px; }
.footer__badges { display: flex; flex-wrap: wrap; gap: 10px; }
.footer__copy { color: var(--muted); font-size: 13px; margin-top: 24px; }

.footer__col h4 {
  font-size: 14px;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 12px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 8px; }
.footer__col a {
  color: var(--muted);
  font-size: 14px;
  transition: color 200ms var(--ease-out);
}
.footer__col a:hover { color: var(--ink); }

/* =====================================================
   Features page
   ===================================================== */
.features-page {
  padding: clamp(48px, 8vw, 96px) 0 clamp(72px, 10vw, 120px);
}
.features-page__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 56px);
}
.features-page__head h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 14px;
}
.features-page__lede {
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.55;
}
.features-page__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2vw, 24px);
  max-width: 920px;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .features-page__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.features-page .why__card h2 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.features-page .why__card p {
  color: var(--muted-strong);
  font-size: 15px;
  line-height: 1.55;
}

/* =====================================================
   Updates page (release notes)
   ===================================================== */
.updates-page {
  padding: clamp(48px, 8vw, 96px) 0 clamp(72px, 10vw, 120px);
}
.updates-page__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(36px, 5vw, 52px);
}
.updates-page__head h1 {
  font-size: clamp(32px, 4.6vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 14px;
}
.updates-page__lede {
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.55;
}
.updates-page__feed {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 28px);
}
.updates-page__entry {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: clamp(22px, 3vw, 28px);
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.updates-page__entry:hover {
  border-color: #d4d4d4;
  box-shadow: 0 14px 36px -22px rgba(0, 0, 0, 0.12);
}
.updates-page__entry-head {
  margin-bottom: 16px;
}
.updates-page__date {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.updates-page__entry-head h2 {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}
.updates-page__changes {
  margin: 0;
  padding-left: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--muted-strong);
  font-size: 15px;
  line-height: 1.55;
}
.updates-page__changes strong {
  color: var(--ink-soft);
  font-weight: 600;
}

/* =====================================================
   FAQ page
   ===================================================== */
.faq-page {
  padding: clamp(48px, 8vw, 96px) 0 clamp(72px, 10vw, 120px);
}
.faq__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(36px, 5vw, 52px);
}
.faq__head h1 {
  font-size: clamp(32px, 4.6vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 14px;
}
.faq__lede {
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.55;
}
.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: #fff;
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.faq__item:hover {
  border-color: #d4d4d4;
}
.faq__item[open] {
  box-shadow: 0 10px 28px -18px rgba(0, 0, 0, 0.12);
}
.faq__item summary {
  padding: 18px 22px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s var(--ease-out);
}
.faq__item[open] summary::after {
  transform: rotate(225deg) translateY(2px);
}
.faq__answer {
  padding: 0 22px 18px;
  border-top: 1px solid var(--border-soft);
}
.faq__answer p {
  padding-top: 14px;
  color: var(--muted-strong);
  font-size: 15px;
  line-height: 1.6;
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 1024px) {
  .nav { display: none; }
  .header__cta { display: none; }
  .nav__toggle { display: inline-grid; }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero__copy { max-width: 640px; }
  .hero__visual { max-width: 360px; margin-inline: auto; }

  .footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .hero__phone-wrap { max-width: 260px; }
}

@media (max-width: 540px) {
  .badge__small { font-size: 8px; }
  .badge__big { font-size: 13px; }
  .badge--lg .badge__big { font-size: 16px; }
}

/* Mobile nav open state */
.nav-open .nav__toggle .nav__toggle-open { display: none; }
.nav-open .nav__toggle .nav__toggle-close { display: block; }

/* =====================================================
   Reduced motion
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
