/* ─────────────────────────────────────────────────────────────
   אהבה בעברית — landing page
   Design system mirrors the app:
     navy   #002f49   (primary background)
     blue   #669bbb   (accent)
     red    #c1121f   (CTA / love)
     maroon #780001   (deep)
     cream  #fef0d5   (surface + body text on dark)
   Typography:
     Display → Secular One (matches app)
     Body    → Assistant / Rubik (Ploni is paid & bundled with the app only)
   ───────────────────────────────────────────────────────────── */

:root {
  --navy-950: #001d2e;
  --navy-900: #002f49;
  --navy-800: #083a56;
  --blue-400: #8fbad3;
  --blue-500: #669bbb;
  --blue-600: #4b778f;
  --red-500: #c1121f;
  --red-700: #780001;
  --cream:   #fef0d5;
  --cream-80: rgba(254, 240, 213, 0.8);
  --cream-60: rgba(254, 240, 213, 0.6);
  --cream-30: rgba(254, 240, 213, 0.3);
  --cream-10: rgba(254, 240, 213, 0.1);
  --cream-06: rgba(254, 240, 213, 0.06);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --container-max: 1200px;
  --section-pad-y: clamp(72px, 10vw, 140px);

  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --font-display: 'Secular One', 'Assistant', 'Rubik', system-ui, -apple-system, sans-serif;
  --font-body: 'Assistant', 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ─────────────── RESET ─────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--cream);
  background: var(--navy-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font: inherit; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─────────────── NAV ─────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: rgba(0, 29, 46, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.nav.is-scrolled {
  border-bottom-color: var(--cream-10);
  background: rgba(0, 29, 46, 0.92);
}
.nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 14px clamp(20px, 4vw, 40px);
  padding-left: max(clamp(20px, 4vw, 40px), env(safe-area-inset-left));
  padding-right: max(clamp(20px, 4vw, 40px), env(safe-area-inset-right));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 60px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--cream);
}
/* Bulletproof logo wrapper — the inner <img> can never escape this box
   because overflow:hidden clips + object-fit:contain constrains + the
   wrapper has a hard width/height regardless of the source PNG's natural
   dimensions. Use logo-mark--sm / --md / --lg for sizes. */
.logo-mark {
  display: inline-block;
  flex-shrink: 0;
  overflow: hidden;
  line-height: 0;
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.logo-mark--sm { width: 40px; height: 40px; }
.logo-mark--md { width: 48px; height: 48px; }
.logo-mark--lg { width: 64px; height: 64px; }
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 28px);
  font-size: 15px;
  font-weight: 500;
}
.nav__links a { color: var(--cream-80); }
.nav__links a:hover { color: var(--cream); }
.nav__cta {
  padding: 11px 20px;
  min-height: 44px;
  background: var(--red-500);
  color: var(--cream) !important;
  border-radius: var(--radius-pill);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}
.nav__cta:hover { background: var(--red-700); }

@media (max-width: 640px) {
  .nav__links a:not(.nav__cta) { display: none; }
  .nav__brand span { font-size: 18px; }
  .nav__cta { padding: 10px 16px; font-size: 14px; }
}

/* ─────────────── HERO ─────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 10vw, 140px) clamp(20px, 4vw, 40px) clamp(56px, 10vw, 120px);
  padding-left: max(clamp(20px, 4vw, 40px), env(safe-area-inset-left));
  padding-right: max(clamp(20px, 4vw, 40px), env(safe-area-inset-right));
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 20%, rgba(102, 155, 187, 0.22), transparent 60%),
    radial-gradient(ellipse 60% 70% at 80% 80%, rgba(193, 18, 31, 0.18), transparent 55%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 100%);
  z-index: 0;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(254, 240, 213, 0.03) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.5;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--cream-30);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--cream-80);
  margin-bottom: 24px;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 0 0 var(--blue-500);
  animation: pulse 2s infinite var(--ease-in-out);
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(102, 155, 187, 0.6); }
  50%      { box-shadow: 0 0 0 10px rgba(102, 155, 187, 0); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 11vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: var(--cream);
}
.hero__title-accent {
  background: linear-gradient(120deg, var(--blue-500) 0%, var(--red-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__lede {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
  color: var(--cream-80);
  max-width: 540px;
  margin: 0 0 36px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero__note {
  font-size: 14px;
  color: var(--cream-60);
  margin: 0;
  max-width: 540px;
}

/* ─────────────── STORE BADGES ─────────────── */
.badge-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 24px;
  height: 60px;
  min-width: 200px;
  border-radius: var(--radius-md);
  background: var(--cream);
  color: var(--navy-900);
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
.badge-store:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25); }
.badge-store--lg { height: 64px; min-width: 220px; padding: 0 28px; }

.badge-store__icon { width: 26px; height: 26px; flex-shrink: 0; }
.badge-store__name {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.01em;
  line-height: 1;
}

/* "Coming soon" ribbon overlay */
.badge-store::after {
  content: 'בקרוב';
  position: absolute;
  top: 8px;
  left: -28px;
  transform: rotate(-35deg);
  background: var(--red-500);
  color: var(--cream);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 32px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ─────────────── DEVICE MOCKUP ─────────────── */
.hero__device {
  display: flex;
  justify-content: center;
  align-items: center;
}
.device {
  width: 300px;
  height: 620px;
  background: linear-gradient(145deg, #111, #2a2a2a);
  border-radius: 46px;
  padding: 12px;
  box-shadow:
    0 60px 120px rgba(0, 0, 0, 0.5),
    0 0 0 2px rgba(255, 255, 255, 0.04) inset,
    0 0 100px rgba(102, 155, 187, 0.15);
  position: relative;
  transform: rotate(-4deg);
  transition: transform 0.6s var(--ease-out);
}
.device:hover { transform: rotate(-1deg); }
.device__notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 32px;
  background: #000;
  border-radius: 0 0 22px 22px;
  z-index: 2;
}
.device__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.device__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(102, 155, 187, 0.35), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(193, 18, 31, 0.3), transparent 50%),
    var(--navy-900);
}
.device__lockup {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 100%;
  overflow: hidden;
  animation: deviceBreathe 4s infinite var(--ease-in-out);
}
@keyframes deviceBreathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.03); }
}
/* device__heart sits on top of .logo-mark so it inherits the bulletproof
   width/height/overflow:hidden combo. We just add the brand glow. */
.device__heart {
  width: 120px !important;
  height: 120px !important;
  filter: drop-shadow(0 0 40px rgba(193, 18, 31, 0.45));
}
.device__title {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
  color: var(--cream);
  text-align: center;
  letter-spacing: -0.01em;
}
.device__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(193, 18, 31, 0.18);
  border: 1px solid rgba(193, 18, 31, 0.4);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.04em;
  margin-top: 4px;
}
.device__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-500);
  box-shadow: 0 0 8px rgba(193, 18, 31, 0.8);
  animation: pulse 2s infinite var(--ease-in-out);
}

@media (max-width: 900px) {
  .hero__inner { text-align: center; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero__eyebrow { align-self: center; }
  .hero__title { width: 100%; text-align: center !important; }
  .hero__lede,
  .hero__note { width: 100%; text-align: center !important; margin-left: auto; margin-right: auto; }
  .hero__ctas { justify-content: center; width: 100%; }
  .hero__device { margin-top: 24px; }
  .device { transform: rotate(0deg); }
}
@media (max-width: 480px) {
  .device {
    width: 240px;
    height: 500px;
    border-radius: 38px;
    padding: 10px;
    box-shadow:
      0 30px 80px rgba(0, 0, 0, 0.5),
      0 0 0 2px rgba(255, 255, 255, 0.04) inset,
      0 0 60px rgba(102, 155, 187, 0.12);
  }
  .device__notch { width: 100px; height: 26px; }
  .device__screen { border-radius: 30px; padding: 32px 20px; }
  .device__heart { width: 96px !important; height: 96px !important; }
  .device__title { font-size: 30px; }
  .device__badge { font-size: 12px; padding: 7px 14px; }
}

/* ─────────────── SECTIONS (shared) ─────────────── */
.section {
  padding: var(--section-pad-y) clamp(20px, 4vw, 40px);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.section.is-visible { opacity: 1; transform: translateY(0); }
.section__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}
.section__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin: 0 0 16px;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 48px;
  color: var(--cream);
  max-width: 820px;
}
.section__lede {
  font-size: clamp(17px, 1.8vw, 19px);
  line-height: 1.6;
  color: var(--cream-80);
  max-width: 620px;
  margin: -32px 0 40px;
}

/* ─────────────── FEATURES ─────────────── */
.section--features { background: var(--navy-950); }
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature {
  padding: 32px;
  background: var(--cream-06);
  border: 1px solid var(--cream-10);
  border-radius: var(--radius-lg);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), border-color 0.3s, background 0.3s;
  transition-delay: var(--delay, 0ms);
}
.feature:nth-child(1) { --delay: 0ms; }
.feature:nth-child(2) { --delay: 80ms; }
.feature:nth-child(3) { --delay: 160ms; }
.feature:nth-child(4) { --delay: 240ms; }
.feature.is-visible { opacity: 1; transform: translateY(0); }
.feature:hover { background: var(--cream-10); border-color: var(--cream-30); }
.feature__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--blue-500), var(--navy-800));
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature__icon svg { width: 28px; height: 28px; }
.feature h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0 0 10px;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.feature p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--cream-80);
}

/* ─────────────── HOW IT WORKS ─────────────── */
.section--how { background: var(--navy-900); }
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
}
.step {
  position: relative;
  padding: 32px;
  background: linear-gradient(145deg, var(--cream-06), transparent);
  border: 1px solid var(--cream-10);
  border-radius: var(--radius-lg);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
.step:nth-child(1) { --delay: 0ms; }
.step:nth-child(2) { --delay: 120ms; }
.step:nth-child(3) { --delay: 240ms; }
.step.is-visible { opacity: 1; transform: translateY(0); }
.step__num {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--red-500), var(--red-700));
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  box-shadow: 0 8px 20px rgba(193, 18, 31, 0.35);
}
[dir="rtl"] .step__num { left: auto; right: 24px; }
.step h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin: 60px 0 12px;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.step p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--cream-80);
}

/* ─────────────── MISSION ─────────────── */
.section--mission {
  background: var(--navy-950);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.section--mission::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(193, 18, 31, 0.12), transparent 65%);
  pointer-events: none;
  z-index: -1;
}
.mission__text {
  max-width: 780px;
  font-size: clamp(17px, 1.8vw, 19px);
  line-height: 1.75;
  color: var(--cream-80);
}
.mission__text p { margin: 0 0 20px; }
.mission__text p:last-child { margin-bottom: 0; }

/* ─────────────── DOWNLOAD / WAITLIST ─────────────── */
.section--download {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--red-700) 150%);
  text-align: center;
}
.section--download .section__title { margin: 0 auto 20px; }
.section--download .section__lede { margin: 0 auto 40px; text-align: center; }

.waitlist {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto 48px;
  background: var(--cream-06);
  border: 1px solid var(--cream-10);
  padding: 6px;
  border-radius: var(--radius-pill);
  transition: border-color 0.2s, background 0.2s;
}
.waitlist:focus-within {
  border-color: var(--blue-500);
  background: var(--cream-10);
}
.waitlist input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: 12px 18px;
  color: var(--cream);
  font-size: 15px;
  direction: ltr;
  text-align: right;
}
.waitlist input::placeholder { color: var(--cream-60); }
.waitlist button {
  padding: 12px 24px;
  background: var(--red-500);
  color: var(--cream);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s, transform 0.2s;
}
.waitlist button:hover { background: var(--red-700); transform: translateY(-1px); }

.download__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ─────────────── FOOTER ─────────────── */
.footer {
  position: relative;
  z-index: 1;
  padding: 80px clamp(20px, 4vw, 40px) 40px;
  background: var(--navy-950);
  border-top: 1px solid var(--cream-10);
  isolation: isolate;
}
.footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 760px) {
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
}
.footer__brand p {
  color: var(--cream-60);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  max-width: 280px;
}
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--cream);
  margin-bottom: 14px;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 540px) {
  .footer__links { grid-template-columns: repeat(2, 1fr); }
}
.footer__links h4 {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--cream);
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer__links a {
  display: block;
  font-size: 14px;
  color: var(--cream-60);
  margin-bottom: 10px;
}
.footer__links a:hover { color: var(--cream); }

.footer__bottom {
  max-width: var(--container-max);
  margin: 60px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--cream-10);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--cream-60);
}
.footer__bottom p { margin: 0; }
.footer__tagline { font-style: italic; }

/* ─────────────── RESPONSIVE TIGHTENING ─────────────── */
@media (max-width: 600px) {
  .section { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  .features { gap: 16px; }
  .feature { padding: 24px; }
  .step { padding: 24px; }
  .step h3 { margin-top: 56px; font-size: 22px; }
  .section__title { margin-bottom: 32px; }
}

@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; }
  .badge-store {
    min-width: 0;
    width: 100%;
    height: 60px;
  }
  .badge-store--lg { height: 64px; }
  /* Coming-soon ribbon needs more reach when the badge is full-width */
  .badge-store::after { left: -38px; padding: 3px 42px; font-size: 9px; }

  .waitlist { flex-direction: column; background: none; border: none; padding: 0; gap: 12px; }
  .waitlist input {
    border: 1px solid var(--cream-10);
    background: var(--cream-06);
    border-radius: var(--radius-pill);
    text-align: center;
    padding: 14px 18px;
    min-height: 48px;
    direction: ltr;
  }
  .waitlist button { padding: 14px 24px; min-height: 48px; }

  .download__badges { width: 100%; }
  .download__badges .badge-store { width: 100%; }

  .nav { padding-top: env(safe-area-inset-top); }
  .footer { padding-bottom: max(40px, env(safe-area-inset-bottom)); }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ─────────────── DOC PAGES (privacy / terms / support) ─────────────── */
.doc {
  padding: 60px clamp(20px, 4vw, 40px) 100px;
  padding-left: max(clamp(20px, 4vw, 40px), env(safe-area-inset-left));
  padding-right: max(clamp(20px, 4vw, 40px), env(safe-area-inset-right));
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(102, 155, 187, 0.12), transparent 70%),
    var(--navy-900);
}
.doc__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cream-80);
  margin-bottom: 28px;
  padding: 8px 0;
}
.doc__back:hover { color: var(--cream); }
.doc__card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--cream);
  color: #1a2532;
  border-radius: 24px;
  padding: clamp(28px, 5vw, 56px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  font-size: 17px;
  line-height: 1.75;
}
.doc__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin: 0 0 8px;
}
.doc__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--navy-900);
  margin: 0 0 8px;
}
.doc__updated {
  font-size: 13px;
  color: #6b6053;
  margin: 0 0 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0, 47, 73, 0.08);
}
.doc__intro {
  font-size: 18px;
  line-height: 1.7;
  color: #2b3a4a;
  margin: 0 0 32px;
}
.doc__card h2 {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: -0.005em;
  color: var(--navy-900);
  margin: 40px 0 12px;
  scroll-margin-top: 80px;
}
.doc__card h2:first-of-type { margin-top: 0; }
.doc__card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-900);
  margin: 24px 0 8px;
}
.doc__card p,
.doc__card li { color: #2b3a4a; }
.doc__card p { margin: 0 0 16px; }
.doc__card ul,
.doc__card ol {
  margin: 0 0 16px;
  padding-right: 22px;
  padding-left: 0;
}
.doc__card li { margin-bottom: 8px; }
.doc__card a {
  color: var(--blue-600);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.doc__card a:hover { color: var(--red-500); }
.doc__card strong { color: var(--navy-900); font-weight: 700; }
.doc__card hr {
  border: none;
  border-top: 1px solid rgba(0, 47, 73, 0.1);
  margin: 32px 0;
}

.doc__notice {
  background: rgba(193, 18, 31, 0.06);
  border-right: 3px solid var(--red-500);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 15.5px;
  color: var(--navy-900);
}
.doc__notice strong { color: var(--red-700); }

/* Support-page bits */
.doc__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 0 0 40px;
}
.doc__contact {
  padding: 24px;
  background: rgba(0, 47, 73, 0.04);
  border: 1px solid rgba(0, 47, 73, 0.08);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.2s, transform 0.2s;
}
.doc__contact:hover { background: rgba(0, 47, 73, 0.07); transform: translateY(-2px); }
.doc__contact-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.doc__contact-value {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--navy-900);
  word-break: break-word;
}
.doc__contact-meta { font-size: 13px; color: #6b6053; margin-top: 4px; }

.doc__faq { margin: 0 0 16px; border-bottom: 1px solid rgba(0, 47, 73, 0.08); }
.doc__faq[open] summary { color: var(--red-500); }
.doc__faq summary {
  cursor: pointer;
  padding: 18px 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-900);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.doc__faq summary::-webkit-details-marker { display: none; }
.doc__faq summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--blue-600);
  flex-shrink: 0;
  transition: transform 0.2s var(--ease-out);
}
.doc__faq[open] summary::after { content: '−'; transform: rotate(0); }
.doc__faq-body { padding: 0 0 20px; color: #2b3a4a; line-height: 1.75; }
.doc__faq-body p { margin: 0 0 12px; }
.doc__faq-body p:last-child { margin-bottom: 0; }

.doc__form { display: grid; gap: 16px; margin-top: 8px; }
.doc__field { display: flex; flex-direction: column; gap: 6px; }
.doc__field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: 0.02em;
}
.doc__field input,
.doc__field textarea {
  padding: 12px 16px;
  border: 1.5px solid rgba(0, 47, 73, 0.15);
  border-radius: 10px;
  background: white;
  color: var(--navy-900);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s;
}
.doc__field textarea { resize: vertical; min-height: 140px; }
.doc__field input:focus,
.doc__field textarea:focus { outline: none; border-color: var(--blue-500); }
.doc__submit {
  padding: 14px 24px;
  background: var(--red-500);
  color: var(--cream);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.doc__submit:hover { background: var(--red-700); transform: translateY(-1px); }

@media (max-width: 600px) {
  .doc { padding-top: 32px; padding-bottom: 60px; }
  .doc__card { font-size: 16px; padding: 24px; border-radius: 18px; }
  .doc__card h2 { font-size: 22px; margin-top: 32px; }
}

/* ─────────────── PRINT ─────────────── */
@media print {
  .nav, .hero__device, .badge-store, .waitlist, .download__badges { display: none; }
  body { background: white; color: black; }
}
