/* ==========================================================================
   Gusto — Landing site design system
   Light mode only. Warm paper aesthetic. Editorial / food-zine feel.
   Token-driven via CSS custom properties.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces / paper */
  --paper:        #FAF6F0;   /* warm full-bleed background */
  --surface:      #FFFFFF;   /* cards / phone bezel inner */
  --surface-alt:  #F2ECE3;   /* trust strip / segmented control bg */
  --surface-sunk: #F6F1EA;   /* subtle sunken panels */
  --hairline:     #ECE4D9;   /* warm hairline borders */
  --hairline-strong: #E3D8C9;

  /* Ink / text */
  --ink:            #1F1A15;  /* near-black warm ink (headings, bezel) */
  --text:           #2B2520;  /* body */
  --secondary-text: #79716A;  /* muted captions / sub */
  --faint-text:     #A89E92;

  /* Accent — clay (the single primary accent hit) */
  --clay:        #D45F35;
  --clay-press:  #B94E28;
  --clay-soft:   #F6E3D6;     /* radial wash / soft tints */
  --accent-soft: #F6E3D6;

  /* Pine (trust / "people you trust" lens) */
  --pine:        #3C6E63;
  --pine-soft:   #E0EAE5;
  --pine-press:  #305A50;

  /* Gold (everyone / global lens) */
  --gold:        #C98A2B;
  --gold-soft:   #F3E6CC;

  /* On-color text */
  --on-clay:  #FFFFFF;
  --on-pine:  #FFFFFF;
  --on-gold:  #3A2A0E;

  /* Typography */
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-2xl: 28px;
  --r-pill: 999px;

  /* Shadows — warm-tinted, low opacity, large blur */
  --shadow-sm:  0 1px 2px rgba(31, 26, 21, .05);
  --shadow-md:  0 6px 18px -8px rgba(31, 26, 21, .18);
  --shadow-lg:  0 2px 6px rgba(31, 26, 21, .06), 0 24px 60px -18px rgba(31, 26, 21, .28);
  --shadow-pill: 0 4px 14px -6px rgba(31, 26, 21, .22);

  /* Layout */
  --maxw: 1160px;
  --maxw-narrow: 720px;
  --gutter: clamp(20px, 5vw, 56px);
  --nav-h: 68px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .45s;
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

p { margin: 0; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 var(--r-md) 0;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(64px, 9vw, 128px);
  position: relative;
}

.section--tight { padding-block: clamp(48px, 6vw, 88px); }

.section__head {
  max-width: 680px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

/* --------------------------------------------------------------------------
   4. Typographic atoms
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pine);
  background: var(--pine-soft);
  padding: 6px 13px;
  border-radius: var(--r-pill);
}

.eyebrow--gold { color: var(--on-gold); background: var(--gold-soft); }
.eyebrow--clay { color: var(--clay-press); background: var(--clay-soft); }

.title-xl {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.title-lg {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.title-md {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.12;
}

.lead {
  font-size: clamp(1.06rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: var(--secondary-text);
  max-width: 46ch;
}

.body-text {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text);
  max-width: 56ch;
}

.accent { color: var(--clay); }
.text-pine { color: var(--pine); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  padding: 15px 24px;
  border-radius: var(--r-lg);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .14s var(--ease), background-color .2s var(--ease),
              box-shadow .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
  text-align: center;
}

.btn:active { transform: translateY(1px) scale(.99); }

.btn-primary {
  background: var(--clay);
  color: var(--on-clay);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--clay-press); box-shadow: var(--shadow-lg); }
.btn-primary--sm { padding: 11px 18px; font-size: 0.9rem; border-radius: var(--r-md); }

.btn-ghost {
  background: transparent;
  color: var(--pine);
  border-color: transparent;
  padding-inline: 6px;
}
.btn-ghost:hover { color: var(--pine-press); }
.btn-ghost::after { content: ""; }

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--hairline-strong);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: var(--ink); }

/* App Store badge styled button (non-functional, no live link) */
.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px 12px 16px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  font-family: var(--font-sans);
}
.appstore-badge__icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  object-fit: cover;
  flex: none;
}
.appstore-badge__text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.appstore-badge__small { font-size: 0.66rem; letter-spacing: 0.06em; opacity: .72; text-transform: uppercase; }
.appstore-badge__big { font-size: 1.02rem; font-weight: 600; font-family: var(--font-serif); }

/* --------------------------------------------------------------------------
   6. Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease),
              border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: color-mix(in srgb, var(--paper) 85%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--hairline);
}

.nav__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 600;
}
.wordmark__icon { border-radius: 8px; box-shadow: var(--shadow-sm); }
.wordmark__text { font-size: 1.4rem; color: var(--ink); letter-spacing: -0.01em; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav__link {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text);
  transition: color .18s var(--ease);
}
.nav__link:hover { color: var(--pine); }

.nav__actions { display: flex; align-items: center; gap: 16px; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.nav__toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Language toggle — segmented control */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--surface-alt);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  padding: 3px;
  gap: 2px;
}
.lang-toggle__item {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  color: var(--secondary-text);
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.lang-toggle__item:hover { color: var(--ink); }
.lang-toggle__item.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(56px, 8vw, 120px);
  overflow: hidden;
}
.hero::before {
  /* faint radial wash from top-right */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 70% at 85% 8%, var(--accent-soft) 0%, transparent 60%);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.hero__copy { max-width: 560px; }

.hero__title {
  font-size: clamp(2.5rem, 5.6vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 22px 0 0;
}

.hero__sub {
  font-size: clamp(1.06rem, 1.5vw, 1.2rem);
  color: var(--secondary-text);
  line-height: 1.6;
  max-width: 46ch;
  margin-top: 20px;
}

.hero__bullets {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.98rem;
  color: var(--text);
}

.hero__cta-row {
  margin-top: 30px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 20px;
}

.hero__proof {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatars { display: inline-flex; }
.avatars__item {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--paper);
  margin-left: -8px;
  background: var(--pine-soft);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--pine);
  box-shadow: var(--shadow-sm);
}
.avatars__item:first-child { margin-left: 0; }
.avatars__item:nth-child(2) { background: var(--clay-soft); color: var(--clay-press); }
.avatars__item:nth-child(3) { background: var(--gold-soft); color: var(--on-gold); }
.avatars__item:nth-child(4) { background: var(--surface-alt); color: var(--secondary-text); }
.hero__proof-caption { font-size: 0.86rem; color: var(--secondary-text); }

/* hero visual / phone column */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 1px;
}

/* floating lens pills around the hero phone */
.hero__visual .lens-pill {
  position: absolute;
  z-index: 3;
  animation: float 6s ease-in-out infinite;
}
.hero__visual .lens-pill--a { top: 14%; left: -2%; animation-delay: -1s; }
.hero__visual .lens-pill--b { bottom: 16%; right: -4%; animation-delay: -3s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__visual .lens-pill { animation: none; }
}

/* --------------------------------------------------------------------------
   8. Phone device frame (CSS-supplied chrome for full-bleed screenshots)
   -------------------------------------------------------------------------- */
.phone {
  position: relative;
  width: clamp(240px, 32vw, 312px);
  aspect-ratio: 206 / 448;          /* ≈ 1206 / 2622 */
  background: var(--ink);
  border-radius: 44px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  transition: transform var(--dur) var(--ease);
}
.phone::before {
  /* dynamic island hint */
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 16px;
  background: var(--ink);
  border-radius: 999px;
  z-index: 2;
}
.phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: var(--surface);
}
.phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone--tilt-l { transform: rotate(-2deg); }
.phone--tilt-r { transform: rotate(2deg); }
.phone:hover { transform: rotate(0deg); }

/* "plain" framing for the lenses proof shot — edge-bleed, no heavy bezel */
.phone--plain {
  background: transparent;
  padding: 0;
  border-radius: 30px;
  box-shadow: 0 2px 6px rgba(31,26,21,.06), 0 30px 70px -22px rgba(31,26,21,.30);
}
.phone--plain::before { display: none; }
.phone--plain .phone__screen { border-radius: 30px; }

@media (prefers-reduced-motion: reduce) {
  .phone, .phone--tilt-l, .phone--tilt-r { transform: none !important; }
}

/* --------------------------------------------------------------------------
   9. Lens pills (the signature score chips lifted out of the app)
   -------------------------------------------------------------------------- */
.lens-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  padding: 8px 16px 8px 10px;
  box-shadow: var(--shadow-pill);
}
.lens-pill__score {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
}
.lens-pill__label {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.lens-pill__label b {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary-text);
  font-weight: 600;
}
.lens-pill__label span { font-size: 0.78rem; color: var(--faint-text); }

.lens-pill--pine .lens-pill__score { background: var(--pine); }
.lens-pill--gold .lens-pill__score { background: var(--gold); }
.lens-pill--clay .lens-pill__score { background: var(--clay); }

/* --------------------------------------------------------------------------
   10. Trust strip
   -------------------------------------------------------------------------- */
.trust-strip {
  background: var(--surface-alt);
  border-block: 1px solid var(--hairline);
  padding-block: clamp(28px, 4vw, 44px);
}
.trust-strip__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  text-align: center;
}
.trust-strip__line {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--ink);
  font-weight: 500;
}
.trust-strip__cities {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 0;
  color: var(--secondary-text);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}
.trust-strip__cities li { padding-inline: 18px; position: relative; }
.trust-strip__cities li + li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  height: 12px; width: 1px;
  background: var(--hairline-strong);
}

/* --------------------------------------------------------------------------
   11. Feature rows (alternating two-column)
   -------------------------------------------------------------------------- */
.feature-row__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.feature-row--reverse .feature-row__media { order: 2; }
.feature-row--reverse .feature-row__text { order: 1; }

.feature-row__media {
  display: flex;
  justify-content: center;
}

.feature-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.1;
  margin: 16px 0 0;
}
.feature-row__text .lead { margin-top: 14px; }
.feature-row__text .body-text { margin-top: 16px; }

.feature-list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.5;
}

/* pine check icon */
.check {
  flex: none;
  width: 22px; height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--pine-soft);
  display: grid;
  place-items: center;
}
.check svg { width: 12px; height: 12px; color: var(--pine); }

/* --------------------------------------------------------------------------
   12. Lens callout (the three-score proof block)
   -------------------------------------------------------------------------- */
.lens-callout__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.lens-grid {
  margin-top: clamp(32px, 5vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.lens-cards {
  display: grid;
  gap: 16px;
}
.lens-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.lens-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.lens-card__num {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.8rem;
  width: 64px; height: 64px;
  flex: none;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
}
.lens-card--gold .lens-card__num { background: var(--gold); }
.lens-card--pine .lens-card__num { background: var(--pine); }
.lens-card--clay .lens-card__num { background: var(--clay); }
.lens-card__body b {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary-text);
  margin-bottom: 4px;
}
.lens-card__body span {
  font-size: 0.94rem;
  color: var(--text);
  line-height: 1.45;
}
.lens-card--gold b { color: var(--gold); }
.lens-card--pine b { color: var(--pine); }
.lens-card--clay b { color: var(--clay); }

/* --------------------------------------------------------------------------
   13. Privacy / icon-trio block
   -------------------------------------------------------------------------- */
.privacy-trio {
  margin-top: clamp(32px, 5vw, 48px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.privacy-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.privacy-card__icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--pine-soft);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.privacy-card__icon svg { width: 22px; height: 22px; color: var(--pine); }
.privacy-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.privacy-card p { font-size: 0.92rem; color: var(--secondary-text); line-height: 1.5; }

/* --------------------------------------------------------------------------
   14. Closing CTA block
   -------------------------------------------------------------------------- */
.cta-block {
  position: relative;
  overflow: hidden;
}
.cta-card {
  max-width: var(--maxw);
  margin-inline: auto;
  margin-inline: var(--gutter);
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-2xl);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 90% at 80% 0%, rgba(212,95,53,.30) 0%, transparent 55%);
  pointer-events: none;
}
.cta-card > * { position: relative; }
.cta-card .eyebrow { background: rgba(255,255,255,.12); color: #fff; }
.cta-card h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.cta-card__sub {
  color: rgba(255,255,255,.78);
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  max-width: 52ch;
  margin: 16px auto 0;
  line-height: 1.6;
}
.cta-card__row {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
}

/* Decorative (non-functional) waitlist input */
.waitlist {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 460px;
  margin-inline: auto;
}
.waitlist__input {
  flex: 1 1 220px;
  min-width: 0;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  padding: 14px 18px;
  border-radius: var(--r-lg);
  border: 1.5px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06);
  color: #fff;
}
.waitlist__input::placeholder { color: rgba(255,255,255,.5); }
.waitlist__note {
  margin-top: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,.55);
  text-align: center;
}

/* On a light cta variant (if used on legal pages) */
.cta-block--light .cta-card { background: var(--surface); color: var(--ink); border: 1px solid var(--hairline); }
.cta-block--light .cta-card h2 { color: var(--ink); }
.cta-block--light .cta-card__sub { color: var(--secondary-text); }

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.78);
  padding-top: clamp(48px, 6vw, 72px);
}
.footer__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 40px;
}
.footer .wordmark__text { color: #fff; }
.footer__tagline {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: #fff;
  max-width: 30ch;
  line-height: 1.25;
}
.footer__sub {
  margin-top: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,.6);
  max-width: 46ch;
  line-height: 1.55;
}
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__links a {
  font-size: 0.92rem;
  color: rgba(255,255,255,.72);
  transition: color .18s var(--ease);
}
.footer__links a:hover { color: #fff; }
.footer__links--legal a { color: rgba(255,255,255,.6); }
.footer__lang.lang-toggle {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
}
.footer__lang .lang-toggle__item { color: rgba(255,255,255,.6); }
.footer__lang .lang-toggle__item.is-active { background: rgba(255,255,255,.14); color: #fff; box-shadow: none; }

.footer__bar {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 22px;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__badge {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,.1);
  padding: 6px 14px;
  border-radius: var(--r-pill);
}
.footer__meta { font-size: 0.82rem; color: rgba(255,255,255,.5); }

/* --------------------------------------------------------------------------
   16. Legal pages (privacy / terms) prose
   -------------------------------------------------------------------------- */
.legal {
  padding-top: clamp(48px, 6vw, 88px);
  padding-bottom: clamp(56px, 7vw, 96px);
}
.legal__inner {
  max-width: var(--maxw-narrow);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.legal__eyebrow { margin-bottom: 16px; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 8px; }
.legal__meta { color: var(--faint-text); font-size: 0.9rem; margin-bottom: 36px; }
.legal__body h2 {
  font-size: 1.4rem;
  margin-top: 40px;
  margin-bottom: 12px;
}
.legal__body h3 { font-size: 1.1rem; margin-top: 26px; margin-bottom: 8px; }
.legal__body p { margin-top: 12px; color: var(--text); line-height: 1.7; }
.legal__body ul { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.legal__body ul li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
  line-height: 1.6;
}
.legal__body ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--clay);
}
.legal__body a { color: var(--clay); text-decoration: underline; text-underline-offset: 2px; }

/* --------------------------------------------------------------------------
   17. Reveal-on-scroll animation
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   18. Responsive breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__copy { max-width: 640px; }
  .hero__visual { order: 2; }
  .feature-row__inner { grid-template-columns: 1fr; gap: 36px; }
  .feature-row--reverse .feature-row__media,
  .feature-row__media { order: 0; }
  .feature-row--reverse .feature-row__text,
  .feature-row__text { order: 0; }
  .lens-grid { grid-template-columns: 1fr; }
  .lens-grid .feature-row__media,
  .lens-grid > div:last-child { order: -1; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--hairline);
    box-shadow: var(--shadow-lg);
    padding: 8px var(--gutter) 24px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s var(--ease), opacity .25s var(--ease);
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
  }
  .nav__menu.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav__link {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--hairline);
    font-size: 1.05rem;
  }
  .nav__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 18px;
  }
  .nav__actions .btn { width: 100%; }
  .nav__actions .lang-toggle { align-self: flex-start; }
}

@media (max-width: 560px) {
  .hero__cta-row { flex-direction: column; align-items: stretch; }
  .hero__cta-row .btn,
  .hero__cta-row .appstore-badge { width: 100%; justify-content: center; }
  .cta-card__row { flex-direction: column; align-items: stretch; }
  .cta-card__row .btn,
  .cta-card__row .appstore-badge { width: 100%; justify-content: center; }
  .lens-card { flex-direction: row; }
  .footer__bar { flex-direction: column; align-items: flex-start; }
}

/* RTL is not needed (EN/TR are both LTR) but keep logical props friendly. */
