/* ==========================================================================
   Fotereno – main stylesheet (mobile first)
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/inter-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/inter-latin-ext-wght.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Brand (from app icon and app theme) */
  --lime: #a3c92e;
  --lime-light: #c3e563;
  --lime-ink: #1b2308;
  --lime-rgb: 163, 201, 46;

  /* Surfaces */
  --bg: #0a0c07;
  --bg-2: #0f1209;
  --surface: #12160c;
  --surface-2: #181d11;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  /* Text */
  --text: #f2f5ee;
  --text-2: #b5bdab;
  --muted: #8e9784;

  --radius: 20px;
  --radius-lg: 28px;
  --container: 1160px;
  --gutter: 20px;
  --header-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -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; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.035em; font-weight: 700; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lime); color: var(--lime-ink); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.nowrap { white-space: nowrap; }

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--lime); color: var(--lime-ink); padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--lime); color: var(--lime-ink);
  font-weight: 650; font-size: 15px; letter-spacing: -0.01em;
  box-shadow: 0 0 0 1px rgba(var(--lime-rgb), 0.4), 0 8px 30px -8px rgba(var(--lime-rgb), 0.55);
  transition: transform 0.25s var(--ease), background-color 0.25s, box-shadow 0.25s;
}
.btn:hover { background: var(--lime-light); transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(var(--lime-rgb), 0.6), 0 12px 36px -8px rgba(var(--lime-rgb), 0.7); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 14px; }

.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line-strong); cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, opacity 0.2s;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--surface-2); border-color: rgba(var(--lime-rgb), 0.5); }
.icon-btn:disabled { opacity: 0.35; cursor: default; }

/* Official Google Play badge: unmodified artwork, which already contains its clear space */
.play-badge { display: inline-block; border-radius: 12px; transition: transform 0.25s var(--ease), filter 0.25s; }
.play-badge img { width: 200px; height: auto; }
.play-badge:hover { transform: translateY(-2px); filter: drop-shadow(0 10px 24px rgba(var(--lime-rgb), 0.25)); }

/* Small lens motif from the logo */
.lens-dot {
  position: relative; display: inline-block; flex: none;
  width: 12px; height: 12px; border-radius: 50%;
  border: 3px solid var(--lime);
}
.lens-dot::after {
  content: ""; position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: #fff; top: 1px; right: 1px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(10, 12, 7, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 20px; height: 29px; }
.brand-name { font-weight: 700; font-size: 18px; letter-spacing: -0.03em; }
.main-nav { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  padding: calc(var(--header-h) + 40px) 0 32px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 72%, rgba(var(--lime-rgb), 0.16), transparent 70%),
    radial-gradient(40% 30% at 15% 10%, rgba(var(--lime-rgb), 0.06), transparent 70%);
}
.hero-bg::after {
  /* faint technical grid, fading out at the edges */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
}
.hero-grid { display: grid; gap: 40px; }
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  background: rgba(var(--lime-rgb), 0.08);
  border: 1px solid rgba(var(--lime-rgb), 0.22);
  color: var(--lime-light); font-size: 13px; font-weight: 550; letter-spacing: 0.01em;
}
.hero-title {
  margin-top: 22px;
  font-size: clamp(2.9rem, 13vw, 5.75rem);
  line-height: 0.98; letter-spacing: -0.05em; font-weight: 750;
}
.hero-title .nowrap { color: var(--lime); }
.hero-lead {
  margin-top: 20px; max-width: 34em;
  font-size: 17px; line-height: 1.6; color: var(--text-2);
}
.hero-cta { margin-top: 26px; }
.hero-points {
  margin-top: 18px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px;
  font-size: 14px; color: var(--text-2);
}
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points svg { width: 16px; height: 16px; color: var(--lime); }

/* Phone stage */
.hero-visual { display: flex; flex-direction: column; align-items: center; }
.phone-stage {
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 0.72;
  display: grid; place-items: center;
}
.phone-glow {
  position: absolute; inset: 12% 10%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--lime-rgb), 0.32), rgba(var(--lime-rgb), 0.06) 60%, transparent);
  filter: blur(20px);
}
.phone-static {
  position: relative;
  width: 220px; padding: 8px;
  border-radius: 36px;
  background: linear-gradient(145deg, #3a3f37, #15180f 40%, #23271d);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 0 0 3px #0b0d09,
    0 40px 80px -20px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(0, 0, 0, 0.6);
  transform: perspective(1200px) rotateY(-14deg) rotateX(4deg);
  transition: opacity 0.8s var(--ease);
}
.phone-screen {
  position: relative; overflow: hidden;
  border-radius: 29px; background: #0b0f14;
  aspect-ratio: 658 / 1414;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.6s ease; }
.phone-screen img.is-fading { opacity: 0; }
.phone-canvas {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1s var(--ease);
}
.phone-canvas canvas { width: 100% !important; height: 100% !important; display: block; }
.phone-stage.is-3d .phone-canvas { opacity: 1; }
.phone-stage.is-3d .phone-static { opacity: 0; }

.phone-caption {
  margin-top: 6px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(18, 22, 12, 0.8); border: 1px solid var(--line-strong);
  font-size: 14px; font-weight: 550; color: var(--text);
  min-height: 38px;
}
.phone-caption [data-phone-caption] { transition: opacity 0.35s ease, transform 0.35s var(--ease); display: inline-block; }
.phone-caption .is-swapping { opacity: 0; transform: translateY(4px); }

/* ---------- Trades marquee ---------- */
.trades { padding: 28px 0 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.trades-label {
  text-align: center; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.marquee {
  display: flex; overflow: hidden; padding-bottom: 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex; flex: none; gap: 0;
  animation: marquee 40s linear infinite;
}
.marquee-track li {
  display: inline-flex; align-items: center; white-space: nowrap;
  font-size: clamp(18px, 4vw, 24px); font-weight: 600; letter-spacing: -0.02em; color: var(--text-2);
  padding: 0 22px;
}
.marquee-track li::after {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); opacity: 0.7;
  margin-left: 44px; margin-right: -22px;
}
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Sections ---------- */
.section { padding: 88px 0; position: relative; }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.kicker {
  display: inline-block; margin-bottom: 14px;
  font-size: 12.5px; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime);
}
.section-head h2 { font-size: clamp(2rem, 7.5vw, 3.4rem); }
.section-lead { margin-top: 16px; color: var(--text-2); font-size: 17px; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; text-align: left; max-width: none; }

/* ---------- Cards / features ---------- */
.feature-grid { display: grid; gap: 14px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.card::before {
  /* spotlight that follows the cursor */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(var(--lime-rgb), 0.12), transparent 45%);
  transition: opacity 0.4s;
}
.card::after {
  /* lit border following the cursor */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(var(--lime-rgb), 0.7), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  transition: opacity 0.4s;
}
.feature { padding: 26px 24px 28px; }
.feature h3 { font-size: 19px; letter-spacing: -0.02em; margin-top: 18px; }
.feature p { margin-top: 10px; color: var(--text-2); font-size: 15.5px; line-height: 1.6; }
.feature-icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: rgba(var(--lime-rgb), 0.1); border: 1px solid rgba(var(--lime-rgb), 0.22); color: var(--lime);
  transition: background-color 0.4s, color 0.4s, transform 0.4s var(--ease);
}
.feature-icon svg { width: 24px; height: 24px; }

/* Viewfinder corners (camera focus brackets) */
.corners {
  position: absolute; inset: 10px; pointer-events: none; opacity: 0;
  --c: rgba(var(--lime-rgb), 0.9); --l: 14px; --w: 1.5px;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) top left / var(--w) var(--l),
    linear-gradient(var(--c), var(--c)) top right / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) top right / var(--w) var(--l),
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) bottom left / var(--w) var(--l),
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) bottom right / var(--w) var(--l);
  background-repeat: no-repeat;
  transform: scale(1.04);
  transition: opacity 0.35s, transform 0.5s var(--ease);
}
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
  .card:hover::before, .card:hover::after { opacity: 1; }
  .card:hover .corners { opacity: 1; transform: scale(1); }
  .card:hover .feature-icon { background: var(--lime); color: var(--lime-ink); transform: scale(1.05); }
}

.extras {
  margin-top: 14px;
  display: grid; gap: 10px;
}
.extras li {
  padding: 16px 20px; border-radius: 16px;
  border: 1px dashed var(--line-strong);
  color: var(--text-2); font-size: 15px;
}
.extras strong { display: block; color: var(--text); font-weight: 650; }

/* ---------- How it works ---------- */
.how { background: linear-gradient(180deg, transparent, var(--bg-2) 30%, var(--bg-2) 70%, transparent); }
.steps { position: relative; display: grid; gap: 18px; counter-reset: step; }
.steps-line {
  position: absolute; left: 27px; top: 34px; bottom: 34px; width: 2px;
  background: var(--line-strong); border-radius: 2px; overflow: hidden;
}
.steps-line span {
  position: absolute; inset: 0; background: linear-gradient(180deg, var(--lime-light), var(--lime));
  transform-origin: top; transform: scaleY(var(--progress, 0));
}
.step {
  position: relative;
  display: grid; grid-template-columns: 56px 1fr; gap: 6px 18px; align-items: start;
}
.step-num {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--line-strong);
  font-weight: 700; font-size: 16px; color: var(--muted); font-variant-numeric: tabular-nums;
  transition: color 0.5s, border-color 0.5s, background-color 0.5s, box-shadow 0.5s;
}
.step.is-active .step-num {
  color: var(--lime-ink); background: var(--lime); border-color: var(--lime);
  box-shadow: 0 0 0 6px rgba(var(--lime-rgb), 0.12), 0 0 30px rgba(var(--lime-rgb), 0.35);
}
.step-body { padding-top: 12px; }
.step-body h3 { font-size: 22px; letter-spacing: -0.025em; }
.step-body p { margin-top: 8px; color: var(--text-2); font-size: 15.5px; }
.step-shot {
  grid-column: 2; margin-top: 14px;
  width: 100%; max-width: 280px; height: 220px; overflow: hidden;
  border-radius: 22px 22px 0 0; border: 1px solid var(--line-strong); border-bottom: 0;
  background: #0b0f14;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
  mask-image: linear-gradient(180deg, #000 55%, transparent);
}
.step-shot img { width: 100%; }

/* ---------- Gallery ---------- */
.gallery-nav { display: none; gap: 10px; }
.gallery {
  display: flex; gap: 14px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 6px max(var(--gutter), calc((100vw - var(--container)) / 2)) 24px;
  scroll-padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2));
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery figure {
  margin: 0; flex: none; width: 62vw; max-width: 280px;
  scroll-snap-align: start;
  border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  aspect-ratio: 480 / 853;
  transition: transform 0.5s var(--ease);
}
.gallery figure img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) { .gallery figure:hover { transform: translateY(-6px) rotate(-0.6deg); } }

/* ---------- Video (lite embed) ---------- */
.video {
  position: relative; max-width: 920px; margin: 0 auto;
  aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-strong); background: #000;
}
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video::after {
  /* darkens the bottom of the poster so the button reads well */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.65));
}
.video-play {
  position: absolute; left: 16px; bottom: 16px; z-index: 1;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 18px 6px 6px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(10, 12, 7, 0.78); color: var(--text);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 16px 40px rgba(0, 0, 0, 0.45);
  font-weight: 600; font-size: 15px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.video-play-icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--lime); color: var(--lime-ink);
  box-shadow: 0 0 0 6px rgba(var(--lime-rgb), 0.18);
  transition: box-shadow 0.3s;
}
.video-play svg { width: 20px; height: 20px; margin-left: 2px; }
.video-play:hover { transform: translateY(-2px); }
.video-play:hover .video-play-icon { box-shadow: 0 0 0 10px rgba(var(--lime-rgb), 0.22); }
.video-note {
  position: absolute; right: 18px; bottom: 26px; z-index: 1;
  font-size: 12.5px; color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 559px) { .video-note { display: none; } }
.video.is-playing .video-play, .video.is-playing .video-note, .video.is-playing img, .video.is-playing::after { display: none; }

/* ---------- Pricing ---------- */
.pricing { display: grid; gap: 14px; max-width: 920px; margin: 0 auto; }
.price-plan {
  position: relative; padding: 30px 26px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
}
.plan-label { font-size: 13px; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.plan-amount { margin-top: 10px; font-size: clamp(1.75rem, 6vw, 2.4rem); font-weight: 750; letter-spacing: -0.04em; line-height: 1.1; }
.plan-text { margin-top: 10px; color: var(--text-2); }
.plan-price { margin-top: 12px; color: var(--text-2); }
.plan-price strong { color: var(--lime); font-size: 22px; letter-spacing: -0.02em; margin-right: 4px; }
.plan-list { margin: 22px 0 26px; display: grid; gap: 10px; }
.plan-list li { display: flex; align-items: center; gap: 10px; }
.plan-list svg { width: 18px; height: 18px; color: var(--lime); flex: none; }
.price-plan-main {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(var(--lime-rgb), 0.14), transparent 60%),
    var(--surface-2);
  border-color: transparent;
}
.price-plan-main::before {
  /* animated lime border */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--angle, 0deg), rgba(var(--lime-rgb), 0.15), var(--lime), rgba(var(--lime-rgb), 0.15) 40%, rgba(var(--lime-rgb), 0.15) 60%, var(--lime-light), rgba(var(--lime-rgb), 0.15));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin-border 8s linear infinite;
}
.price-plan-main .btn { width: 100%; }
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin-border { to { --angle: 360deg; } }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; cursor: pointer; list-style: none;
  padding: 22px 48px 22px 0;
  font-size: 17px; font-weight: 600; letter-spacing: -0.015em;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 2px; border-radius: 2px;
  background: var(--lime); transition: transform 0.35s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--lime-light); }
.faq-a { padding: 0 40px 24px 0; color: var(--text-2); }
.faq-a p + p { margin-top: 10px; }
.faq-a strong { color: var(--text); font-weight: 600; }
.faq details::details-content {
  block-size: 0; overflow: hidden;
  transition: block-size 0.4s var(--ease), content-visibility 0.4s allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* ---------- Final CTA ---------- */
.section.final-cta { padding-top: 24px; padding-bottom: 72px; }
.cta-panel {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 56px 24px; border-radius: 32px; text-align: center;
  background:
    radial-gradient(70% 90% at 50% 120%, rgba(var(--lime-rgb), 0.28), transparent 70%),
    var(--surface);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; gap: 26px;
}
.cta-mark { width: 44px; height: 64px; }
.cta-panel h2 { font-size: clamp(1.9rem, 6.5vw, 3.2rem); max-width: 14em; }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 36px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 28px; }
.footer-brand p { margin-top: 10px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer-links a { color: var(--text-2); transition: color 0.2s; }
.footer-links a:hover { color: var(--lime); }
.socials { display: flex; gap: 10px; }
.socials a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--text-2);
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.socials a:hover { color: var(--lime-ink); background: var(--lime); border-color: var(--lime); }
.socials svg { width: 18px; height: 18px; }
.footer-legal {
  margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: 13px; color: var(--muted);
}

/* ---------- Reveal on scroll (only when JS runs and motion is OK) ---------- */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--delay, 0s); }
  .reveal.is-in { opacity: 1; transform: none; }
  .hero-copy > * { animation: rise 0.9s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.06s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.12s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.18s; }
  .hero-copy > :nth-child(5) { animation-delay: 0.24s; }
  .hero-visual { animation: rise 1.1s 0.15s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .marquee { flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { flex: 1 1 100%; flex-wrap: wrap; justify-content: center; row-gap: 6px; padding: 0 var(--gutter); }
  .marquee-track li { font-size: 17px; padding: 0 12px; }
  .marquee-track li::after { margin-left: 24px; margin-right: -12px; }
  .marquee-track li:last-child::after { display: none; }
  .marquee-track[aria-hidden="true"] { display: none; }
  .phone-static { transform: none; }
}

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .extras { grid-template-columns: repeat(3, 1fr); }
  .pricing { grid-template-columns: 1fr 1.35fr; align-items: stretch; }
  .price-plan { padding: 36px 32px; }
  .footer-grid { grid-template-columns: 1fr auto; align-items: center; }
  .socials { grid-column: 2; grid-row: 1; }
  .footer-links { grid-column: 1 / -1; }
  .gallery-nav { display: flex; }
}

/* ---------- Desktop ---------- */
@media (min-width: 960px) {
  :root { --header-h: 72px; }
  .main-nav { display: flex; gap: 32px; font-size: 14.5px; color: var(--text-2); }
  .main-nav a { transition: color 0.2s; }
  .main-nav a:hover { color: var(--text); }

  .hero { padding: calc(var(--header-h) + 40px) 0 72px; min-height: min(100vh, 920px); display: flex; align-items: center; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 24px; }
  .hero-copy { text-align: left; align-items: flex-start; }
  .hero-lead { font-size: 19px; }
  .hero-points { justify-content: flex-start; }
  .play-badge img { width: 216px; }
  .phone-stage { width: min(100%, 500px); aspect-ratio: 0.8; }
  .phone-static { width: 280px; padding: 10px; border-radius: 44px; }
  .phone-screen { border-radius: 35px; }

  .section { padding: 128px 0; }
  .section-head { margin-bottom: 60px; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .feature { padding: 30px 28px 32px; }

  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .steps-line { left: 28px; right: 28px; top: 27px; bottom: auto; width: auto; height: 2px; }
  .steps-line span { transform-origin: left; transform: scaleX(var(--progress, 0)); }
  .step { grid-template-columns: 1fr; gap: 0; }
  .step-body { padding-top: 24px; }
  .step-shot { grid-column: 1; margin-top: 26px; max-width: none; height: 300px; }

  .gallery { gap: 20px; }
  .cta-panel { padding: 88px 40px; }
  .footer-grid { grid-template-columns: 1.2fr 2fr auto; }
  .footer-links { grid-column: auto; justify-content: center; }
  .socials { grid-column: 3; }
}

/* ---------- Legal / simple pages ---------- */
.page { padding: calc(var(--header-h) + 56px) 0 40px; }
.page-head { max-width: 760px; margin: 0 auto 40px; }
.page-head h1 { font-size: clamp(2.4rem, 8vw, 3.8rem); letter-spacing: -0.045em; }
.page-meta { margin-top: 14px; color: var(--muted); font-size: 14px; }
.prose { max-width: 760px; margin: 0 auto; color: var(--text-2); font-size: 16.5px; line-height: 1.75; }
.prose > p:first-child { font-size: 18px; color: var(--text); }
.prose h2 {
  margin: 48px 0 14px; font-size: 22px; letter-spacing: -0.02em; color: var(--text);
  display: flex; align-items: baseline; gap: 12px;
}
.prose h2 .num { color: var(--lime); font-variant-numeric: tabular-nums; font-size: 15px; font-weight: 700; min-width: 1.6em; }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 14px; }
.prose ul { display: grid; gap: 8px; padding-left: 0; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before { content: ""; position: absolute; left: 4px; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.prose a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose strong { color: var(--text); font-weight: 600; }

.notfound {
  min-height: 100vh; display: grid; place-items: center; text-align: center;
  padding: calc(var(--header-h) + 40px) var(--gutter) 60px; position: relative; isolation: isolate; overflow: hidden;
}
.notfound .hero-bg { background: radial-gradient(50% 45% at 50% 45%, rgba(var(--lime-rgb), 0.14), transparent 70%); }
.notfound-code {
  font-size: clamp(6rem, 30vw, 12rem); font-weight: 800; letter-spacing: -0.07em; line-height: 0.9;
  display: inline-flex; align-items: center; gap: 0.04em;
}
.notfound-lens {
  position: relative; display: inline-block; width: 0.78em; height: 0.78em; border-radius: 50%;
  border: 0.16em solid var(--lime);
}
.notfound-lens::after {
  content: ""; position: absolute; width: 0.12em; height: 0.12em; border-radius: 50%; background: #fff; top: 0.1em; right: 0.1em;
}
.notfound h1 { margin-top: 18px; font-size: clamp(1.6rem, 5vw, 2.4rem); }
.notfound p { margin: 14px auto 30px; color: var(--text-2); max-width: 28em; }
