/* ==========================================================================
   Enduravo — marketing site
   Visual language ported from the app's "Bloom" design system.
   ========================================================================== */

:root {
  /* Brand greens */
  --primary: #315D3C;
  --primary-dark: #183425;
  --primary-light: #6F9A75;
  --primary-bg: #E7EFE6;

  /* Accent (terracotta) */
  --accent: #A8662B;
  --accent-bg: #F6E8D6;

  /* Surfaces */
  --bg: #F6F1E8;
  --white: #FBF8F1;
  --surface-2: #EEE8DC;

  /* Text */
  --text: #1E241F;
  --text-secondary: #5F665E;
  --text-light: #6B7066;

  /* Lines */
  --border: rgba(38, 43, 36, 0.12);
  --border-dark: rgba(38, 43, 36, 0.22);

  /* Category accents */
  --kegel: #385F6B;       --kegel-bg: #E5ECEB;
  --breathing: #315D3C;   --breathing-bg: #E7EFE6;
  --habituation: #344C58; --habituation-bg: #E7EBEA;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(33, 29, 20, 0.06), 0 8px 18px rgba(33, 29, 20, 0.04);
  --shadow: 0 8px 24px rgba(33, 29, 20, 0.08);
  --shadow-lg: 0 18px 40px rgba(33, 29, 20, 0.12);

  /* Radii */
  --radius-card: 22px;
  --radius-card-lg: 26px;
  --radius-pill: 999px;

  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Noto Sans CJK SC', sans-serif;

  --maxw: 1140px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; color: var(--text); }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.25rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

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

/* ---------- shared atoms ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary); background: var(--primary-bg);
  padding: 6px 14px; border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.eyebrow--center { margin-left: auto; margin-right: auto; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-sub { color: var(--text-secondary); font-size: 1.08rem; margin-top: 16px; }

.link-quiet { color: var(--primary); font-weight: 600; }
.link-quiet:hover { color: var(--primary-dark); }

/* App Store badge */
.appstore {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--primary); color: #fff;
  padding: 11px 22px; border-radius: 15px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, background-color .2s ease;
}
.appstore:hover { background: var(--primary-dark); transform: translateY(-2px); }
.appstore:active { transform: translateY(0); }
.appstore__apple { flex: 0 0 auto; }
.appstore__text { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.appstore__eyebrow { font-size: 0.62rem; opacity: 0.85; letter-spacing: 0.02em; }
.appstore__store { font-size: 1.18rem; font-weight: 700; }
.appstore--sm { padding: 8px 16px; }
.appstore--sm .appstore__store { font-size: 1rem; }
.appstore--lg { padding: 14px 30px; }
.appstore--lg .appstore__store { font-size: 1.35rem; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background-color .3s ease;
}
.nav.scrolled { border-bottom-color: var(--border); background: color-mix(in srgb, var(--bg) 92%, transparent); }
.nav__inner { display: flex; align-items: center; gap: 20px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { display: block; flex: 0 0 auto; }
.brand__name {
  font-family: 'Archivo', var(--font-sans);
  font-weight: 800; font-size: 1.12rem; color: var(--text);
  text-transform: uppercase; letter-spacing: 0.12em;
}

.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { font-size: 0.95rem; font-weight: 500; color: var(--text-secondary); transition: color .2s; }
.nav__links a:hover { color: var(--primary); }

.nav .appstore--sm { margin-left: 8px; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 10px; margin-left: auto; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; flex-direction: column; padding: 8px 24px 20px; gap: 4px; border-bottom: 1px solid var(--border); background: var(--bg); }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 4px; color: var(--text); font-weight: 500; border-bottom: 1px solid var(--border); }
.mobile-menu a:last-child { border-bottom: none; }

/* ---------- HERO ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(60px, 9vw, 110px); overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1100px 520px at 78% -8%, var(--primary-bg) 0%, transparent 60%),
    radial-gradient(720px 420px at 0% 100%, var(--accent-bg) 0%, transparent 55%),
    var(--bg);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero__copy { max-width: 600px; }
.hero h1 { margin-bottom: 22px; }
.hero__lede { font-size: 1.18rem; color: var(--text-secondary); max-width: 520px; }
.hero__cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin: 32px 0 20px; }
.hero__reassure { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; color: var(--text-light); font-weight: 500; }
.hero__reassure svg { color: var(--primary-light); }

.hero__art { display: flex; justify-content: center; }

/* ---- iPhone mockup: bigger + 3D drag-to-spin ---- */
.phone-stage {
  --rx: 6deg; --ry: -16deg;        /* resting tilt; JS overrides while dragging */
  position: relative;
  width: min(390px, 82vw);
  perspective: 1700px;
  display: flex; flex-direction: column; align-items: center;
  touch-action: pan-y;             /* let vertical page scroll through; we handle horizontal */
}
.phone {
  position: relative;
  width: 100%;
  aspect-ratio: 390 / 844;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  cursor: grab;
}
.phone { touch-action: pan-y; }
.phone.dragging { cursor: grabbing; }
.phone:not(.dragging):not(.nofade) { transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.phone.nofade { transition: none !important; }
.phone-stage:not(.spun) .phone.float { animation: phoneFloat 7s ease-in-out infinite; }
@keyframes phoneFloat {
  0%, 100% { transform: rotateX(6deg) rotateY(-16deg) translateY(0); }
  50%      { transform: rotateX(4deg) rotateY(-11deg) translateY(-12px); }
}

/* Front + back faces share the frame shape */
.phone__front, .phone__back {
  position: absolute; inset: 0;
  border-radius: 56px;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  background: linear-gradient(150deg, #2a2f26, #11140F 60%);
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.05) inset,
    0 40px 80px -24px rgba(33, 29, 20, 0.5),
    0 12px 28px rgba(33, 29, 20, 0.22);
}
.phone__front { padding: 13px; }
.phone__back { transform: rotateY(180deg); display: grid; place-content: center; gap: 14px; justify-items: center; }
.phone__back-mark { opacity: .98; }
.phone__back-name { font-family: 'Archivo', var(--font-sans); font-weight: 800; font-size: 1.05rem; color: #f0ede4; text-transform: uppercase; letter-spacing: .14em; }
.phone__lens { position: absolute; top: 30px; left: 30px; width: 46px; height: 46px; border-radius: 16px; background: radial-gradient(circle at 35% 30%, #3a4036, #15180f); box-shadow: inset 0 0 0 4px #0c0e08; }

.phone__island {
  position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
  width: 104px; height: 30px; background: #000; border-radius: 16px; z-index: 4;
}
.phone__screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 44px; overflow: hidden; background: var(--bg);
}
.phone__statusbar {
  position: absolute; top: 0; left: 0; right: 0; height: 48px; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  padding: 17px 28px 0; color: var(--text);
  background: linear-gradient(var(--bg) 68%, transparent);
}
.phone__time { font-size: 15px; font-weight: 700; letter-spacing: 0.02em; }
.phone__sb-right { display: inline-flex; align-items: center; gap: 5px; }

/* Auto-scrolling content window */
.phone__scroll { position: absolute; inset: 0; overflow: hidden; }
.phone__shot { display: block; width: 100%; height: auto; will-change: transform; -webkit-user-select: none; user-select: none; }

/* Fixed bottom tab bar */
.phone__nav {
  position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; z-index: 2;
  -webkit-user-select: none; user-select: none;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 -1px 0 var(--border);
}

.phone-hint {
  margin-top: 22px; font-size: 0.85rem; font-weight: 600; color: var(--text-light);
  display: inline-flex; align-items: center; gap: 7px;
  opacity: 1; transition: opacity .4s ease;
}
.phone-hint::before { content: "↻"; font-size: 1.05rem; color: var(--primary-light); }
.phone-stage.spun .phone-hint { opacity: 0; }

/* ---------- TRUST STRIP ---------- */
.trust { padding: 8px 0 4px; }
.trust__inner {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 0;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm); padding: 22px 16px;
}
.trust__item { flex: 1 1 0; min-width: 150px; text-align: center; padding: 4px 14px; }
.trust__item strong { display: block; color: var(--text); font-size: 1.02rem; }
.trust__item span { display: block; color: var(--text-light); font-size: 0.84rem; margin-top: 2px; }
.trust__divider { width: 1px; align-self: stretch; background: var(--border); }

/* ---------- REFRAME ---------- */
.reframe { padding: clamp(64px, 9vw, 110px) 0; }
.reframe__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.reframe__inner h2 { margin-bottom: 22px; }
.reframe__inner p { font-size: 1.16rem; color: var(--text-secondary); }

/* ---------- METHODS ---------- */
.methods { padding: clamp(56px, 8vw, 96px) 0; background: var(--white); }
.methods__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.method-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-card-lg);
  box-shadow: var(--shadow-sm); padding: 26px; text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.method-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.method-card__art {
  width: 132px; height: 132px; margin: 0 auto 20px; border-radius: 22px;
  display: grid; place-items: center; overflow: hidden;
}
.method-card__art img { width: 100%; height: 100%; object-fit: cover; }
.method-card--kegel .method-card__art { background: var(--kegel-bg); }
.method-card--breathing .method-card__art { background: var(--breathing-bg); }
.method-card--habituation .method-card__art { background: var(--habituation-bg); }
.method-card h3 { margin-bottom: 10px; }
.method-card p { color: var(--text-secondary); font-size: 0.98rem; }
.methods__note { text-align: center; margin-top: 44px; font-size: 1.1rem; color: var(--primary); font-weight: 600; font-style: italic; }

/* ---------- PROGRAM / LEVELS ---------- */
.program { padding: clamp(64px, 9vw, 110px) 0; }
.levels { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: lvl; }
.level {
  position: relative; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-card); box-shadow: var(--shadow-sm); padding: 24px 20px;
  display: flex; flex-direction: column; gap: 14px;
}
.level__no {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--primary-bg); color: var(--primary); font-family: var(--font-serif);
  font-weight: 700; font-size: 1.25rem;
}
.level h3 { font-size: 1.08rem; margin-bottom: 6px; }
.level p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; }
.level--final { background: linear-gradient(160deg, var(--primary-bg), var(--white)); border-color: var(--primary-light); }
.level--final .level__no { background: var(--primary); color: #fff; }
.program__pace { text-align: center; margin-top: 44px; font-size: 1.12rem; color: var(--text); font-style: italic; }

/* stats band */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 840px; margin: 0 auto 52px; }
.stat-num { text-align: center; padding: 6px; }
.stat-num strong { display: block; font-family: var(--font-serif); font-weight: 600; font-size: clamp(2.3rem, 5vw, 3.2rem); color: var(--primary); line-height: 1; }
.stat-num span { display: block; margin-top: 9px; font-size: 0.88rem; color: var(--text-secondary); font-weight: 500; }

/* enriched level rows */
.lv-list { list-style: none; display: grid; gap: 16px; max-width: 900px; margin: 0 auto; }
.lv {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm); padding: 24px 26px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.lv:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.lv__no {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--primary-bg); color: var(--primary);
  font-family: var(--font-serif); font-weight: 700; font-size: 1.3rem;
}
.lv__meta { display: block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary-light); margin-bottom: 7px; }
.lv__theme { font-size: 1.2rem; margin-bottom: 5px; }
.lv__focus { color: var(--text-secondary); font-size: 0.96rem; margin-bottom: 14px; }
.lv__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lv__chip { font-size: 0.8rem; font-weight: 600; color: var(--text); background: var(--surface-2); border-radius: var(--radius-pill); padding: 6px 13px; }
.lv--final { background: linear-gradient(160deg, var(--primary-bg), var(--white)); border-color: var(--primary-light); }
.lv--final .lv__no { background: var(--primary); color: #fff; }
.lv--final .lv__chip { background: var(--white); }

/* exercise-category grid */
.variety { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 980px; margin: 48px auto 0; }
.vcat {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm); padding: 24px 22px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.vcat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.vcat__count { font-family: var(--font-serif); font-weight: 600; font-size: 2rem; color: var(--primary); line-height: 1; }
.vcat__name { font-size: 1.02rem; margin: 9px 0 7px; }
.vcat__eg { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.5; }

/* ---------- FEATURES ---------- */
.features { padding: clamp(64px, 9vw, 110px) 0; background: var(--white); }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__icon {
  width: 52px; height: 52px; border-radius: 16px; background: var(--primary-bg);
  display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 18px;
}
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--text-secondary); font-size: 0.97rem; }

/* ---------- TESTIMONIALS (marquee) ---------- */
.testimonials { padding: clamp(64px, 9vw, 110px) 0; overflow: hidden; }
.marquee { position: relative; width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 22px; width: max-content; will-change: transform; }
.marquee__track.animate { animation: marquee var(--marquee-duration, 60s) linear infinite; }
.marquee:hover .marquee__track.animate,
.marquee:focus-within .marquee__track.animate { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 11px)); } }

.tcard {
  flex: 0 0 auto; width: 360px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-card-lg);
  box-shadow: var(--shadow-sm); padding: 26px 26px 22px;
  display: flex; flex-direction: column; gap: 16px;
}
.tcard__stars { color: var(--accent); letter-spacing: 2px; font-size: 0.95rem; }
.tcard__quote { font-size: 1.02rem; color: var(--text); line-height: 1.6; flex: 1; }
.tcard__who { display: flex; align-items: center; gap: 12px; }
.tcard__avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center; font-weight: 700; color: #fff; font-size: 0.95rem;
  font-family: var(--font-serif);
}
.tcard__name { font-weight: 700; font-size: 0.92rem; color: var(--text); }
.tcard__meta { font-size: 0.8rem; color: var(--text-light); }
.testimonials__disclaimer { text-align: center; margin-top: 32px; font-size: 0.84rem; color: var(--text-light); }

/* ---------- PRIVACY ---------- */
.privacy { padding: clamp(64px, 9vw, 110px) 0; }
.privacy__inner {
  display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 50px; align-items: center;
  background: linear-gradient(160deg, var(--primary-bg), var(--white));
  border: 1px solid var(--border); border-radius: var(--radius-card-lg);
  box-shadow: var(--shadow); padding: clamp(32px, 5vw, 56px);
}
.privacy__copy h2 { margin-bottom: 18px; }
.privacy__copy > p { color: var(--text-secondary); font-size: 1.08rem; margin-bottom: 22px; }
.privacy__list { list-style: none; display: grid; gap: 12px; }
.privacy__list li { position: relative; padding-left: 30px; color: var(--text); font-weight: 500; }
.privacy__list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
}
.privacy__badge { display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--primary); }
.privacy__badge span { font-weight: 700; font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(64px, 9vw, 110px) 0; background: var(--white); }
.faq__list { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq__item {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 4px 24px; transition: box-shadow .2s ease;
}
.faq__item[open] { box-shadow: var(--shadow-sm); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 18px 0;
  font-family: var(--font-serif); font-size: 1.1rem; font-weight: 600; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font-family: var(--font-sans); font-size: 1.5rem; color: var(--primary);
  flex: 0 0 auto; transition: transform .2s ease; line-height: 1;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 0 20px; color: var(--text-secondary); }

/* ---------- FINAL CTA ---------- */
.cta { padding: clamp(64px, 10vw, 120px) 0; }
.cta__inner {
  text-align: center; max-width: 720px; margin: 0 auto;
  background: var(--primary);
  background: radial-gradient(120% 140% at 50% 0%, #3d7049 0%, var(--primary) 55%, var(--primary-dark) 100%);
  border-radius: var(--radius-card-lg); box-shadow: var(--shadow-lg);
  padding: clamp(44px, 7vw, 76px) clamp(28px, 5vw, 60px);
}
.cta__inner .eyebrow { background: rgba(255,255,255,0.16); color: #EAF3EA; }
.cta__inner h2 { color: #fff; margin-bottom: 16px; }
.cta__inner p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 32px; }
.cta .appstore { background: var(--white); color: var(--primary-dark); }
.cta .appstore:hover { background: #fff; }

/* ---------- FOOTER ---------- */
.footer { background: var(--surface-2); padding: 56px 0 32px; }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.footer__brand p { color: var(--text-secondary); margin-top: 12px; font-size: 0.95rem; max-width: 280px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 26px; }
.footer__links a { color: var(--text-secondary); font-size: 0.95rem; font-weight: 500; }
.footer__links a:hover { color: var(--primary); }
.footer__legal { padding-top: 24px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer__legal p { font-size: 0.82rem; color: var(--text-light); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track.animate { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav .appstore--sm { display: none; }
  .nav__toggle { display: flex; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__art { order: -1; }
  .phone-stage { width: min(320px, 76vw); }
  .methods__grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .features__grid { grid-template-columns: 1fr 1fr; }
  .levels { grid-template-columns: 1fr 1fr; }
  .variety { grid-template-columns: 1fr 1fr; }
  .privacy__inner { grid-template-columns: 1fr; gap: 32px; }
  .privacy__badge { flex-direction: row; justify-content: center; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .trust__divider { display: none; }
  .trust__item { flex-basis: 45%; }
  .features__grid { grid-template-columns: 1fr; }
  .levels { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .variety { grid-template-columns: 1fr 1fr; }
  .tcard { width: 290px; }
  .footer__legal { flex-direction: column; }
}
