/* ردپو ۴.۲ — landing page.
   Brand red, warm cream, and a dashed trail taken from the idea of the logo.
   Mobile first; the logo file is always used as it is. */

@font-face { font-family: "Vazirmatn"; src: url("../fonts/Vazirmatn-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("../fonts/Vazirmatn-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("../fonts/Vazirmatn-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("../fonts/Vazirmatn-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("../fonts/Vazirmatn-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --red: #ab1c1c;
  --red-hi: #c42a26;
  --red-deep: #7e1212;
  --night: #240909;
  --night-2: #331010;
  --cream: #fff7f2;
  --rose: #f9e7e3;
  --rose-line: #f0d2cc;
  --coral: #ffb4a6;
  --ink: #1f1515;
  --muted: #6d5d5a;
  --line: rgba(31, 21, 21, 0.1);
  --white: #ffffff;
  --gutter: 20px;
  --max: 1160px;
  --top-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 12px); }
html, body { margin: 0; padding: 0; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: "Vazirmatn", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--red); outline-offset: 3px; border-radius: 8px; }
[dir="ltr"] { unicode-bidi: isolate; }
a[href^="tel:"] { white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: 10px; }
.skip:focus { top: 10px; }
/* A drawn separator: a typed middle dot reads as a Persian zero in Vazirmatn. */
.sep { display: inline-block; width: 4px; height: 4px; margin-inline: 8px; border-radius: 50%; background: currentColor; opacity: 0.6; vertical-align: middle; }

/* The logo, always the file as it is; only a hairline ring when it sits on red. */
.logo { border-radius: 13.5%; }
.on-red .logo, .top:not(.is-light) .logo, .closing .logo { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.55); }

/* ───────────────────────────────────────── buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 24px; border-radius: 999px;
  font-size: 16px; font-weight: 700; line-height: 1.4; white-space: nowrap;
  transition: background-color 200ms ease, color 200ms ease, transform 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn-cream { background: var(--cream); color: var(--red); box-shadow: 0 10px 30px -10px rgba(36, 9, 9, 0.5); }
.btn-cream:hover { background: var(--white); }
.btn-line { color: var(--white); border: 1.5px solid rgba(255, 255, 255, 0.45); }
.btn-line:hover { background: rgba(255, 255, 255, 0.1); }

/* ───────────────────────────────────────── header ─── */
.top {
  position: fixed; top: 0; inset-inline: 0; z-index: 50; height: var(--top-h);
  display: flex; align-items: center; color: var(--white);
  transition: background-color 260ms ease, color 260ms ease, box-shadow 260ms ease;
}
.top.is-light, .top.is-open {
  background: rgba(255, 247, 242, 0.96);
  -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  color: var(--ink); box-shadow: 0 1px 0 var(--line);
}
.top.is-open .logo { box-shadow: none; }
.top-in { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .logo { width: 34px; height: 34px; }
.brand-name { font-size: 19px; font-weight: 900; }
.top-links { display: none; }
.top-end { display: flex; align-items: center; gap: 8px; }
.btn-top { background: var(--cream); color: var(--red); }
.top.is-light .btn-top, .top.is-open .btn-top { background: var(--red); color: var(--white); }
.burger {
  width: 42px; height: 42px; padding: 0; border-radius: 999px; cursor: pointer;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border: 1.5px solid rgba(255, 255, 255, 0.45); background: transparent;
}
.top.is-light .burger, .top.is-open .burger { border-color: var(--rose-line); }
.burger span { display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 220ms ease; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu { position: absolute; top: var(--top-h); inset-inline: 0; background: rgba(255, 247, 242, 0.98); box-shadow: 0 18px 30px -20px rgba(36, 9, 9, 0.4); }
.menu nav { display: flex; flex-direction: column; padding: 4px var(--gutter) 16px; }
.menu a { padding: 13px 0; font-size: 17px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); }
.menu a:last-child { border-bottom: 0; color: var(--red); font-weight: 700; }

/* ───────────────────────────────────────── shared ─── */
.kicker { font-size: 14px; font-weight: 700; color: var(--red); }
.kicker-coral { color: var(--coral); }
.kicker-cream { color: rgba(255, 247, 242, 0.85); }
.title { font-size: clamp(30px, 8.4vw, 58px); font-weight: 900; line-height: 1.22; text-wrap: balance; }
.sub { font-size: 17px; line-height: 1.95; color: var(--muted); max-width: 54ch; text-wrap: pretty; }
.sub a { color: var(--red); font-weight: 700; }
.sub-night { color: rgba(255, 247, 242, 0.75); }
.sub-red { color: rgba(255, 255, 255, 0.85); }
.sec { padding: 76px 0; }
.sec-white { background: var(--white); }
.sec-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { font-size: 13px; font-weight: 500; color: var(--red-deep); background: var(--rose); border: 1px solid var(--rose-line); border-radius: 999px; padding: 4px 13px; }
.trail { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.trail path { fill: none; stroke: rgba(255, 255, 255, 0.26); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 8 10; animation: trail 1.4s linear infinite; }
@keyframes trail { to { stroke-dashoffset: -36; } }

/* Phone frame around a screenshot. */
.phone {
  width: 100%; padding: 8px; border-radius: 46px;
  background: linear-gradient(155deg, #3a2a2a 0%, #140b0b 42%, #2a1c1c 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), inset 0 0 0 1.5px rgba(255, 255, 255, 0.1), 0 40px 70px -30px rgba(36, 9, 9, 0.6);
}
.phone img { width: 100%; height: auto; aspect-ratio: 780 / 1688; border-radius: 38px; background: #f2eeec; }
/* A cut-out of a screen. */
.crop { border-radius: 20px; overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.crop img { width: 100%; height: auto; }

/* ───────────────────────────────────────── hero ─── */
.hero {
  position: relative; overflow: hidden; isolation: isolate; color: var(--white);
  background:
    radial-gradient(120% 70% at 100% 0%, var(--red-hi) 0%, rgba(196, 42, 38, 0) 60%),
    radial-gradient(90% 60% at 0% 100%, var(--red-deep) 0%, rgba(126, 18, 18, 0) 65%),
    var(--red);
  border-radius: 0 0 36px 36px;
  padding: calc(var(--top-h) + 30px) 0 22px;
}
.hero-in { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); display: grid; gap: 40px; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; padding: 6px 14px 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.13); border: 1px solid rgba(255, 255, 255, 0.22);
}
.tag .sep { margin-inline: 2px; }
.tag-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); animation: ping 2.2s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 180, 166, 0.65); } 70%, 100% { box-shadow: 0 0 0 10px rgba(255, 180, 166, 0); } }
.hero h1 { font-size: clamp(44px, 12.4vw, 96px); font-weight: 900; line-height: 1.12; }
.hero-lead { font-size: 17px; font-weight: 300; line-height: 1.95; color: rgba(255, 255, 255, 0.92); max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: rgba(255, 255, 255, 0.9); }
.hero-points svg { color: var(--coral); flex: none; }
.hero-visual { position: relative; width: min(68vw, 292px); margin-inline: auto; }
.float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 16px; background: var(--white); color: var(--ink);
  font-size: 14px; line-height: 1.5; white-space: nowrap; box-shadow: 0 18px 40px -14px rgba(36, 9, 9, 0.55);
}
.float b { font-weight: 700; }
.float small { display: flex; align-items: center; font-size: 12px; color: var(--muted); }
.float small .sep { margin-inline: 5px; }
.float-a { top: 12%; inset-inline-start: -28px; }
.float-b { bottom: 16%; inset-inline-end: -30px; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: #1fa855; animation: ping-green 2s ease-out infinite; }
@keyframes ping-green { 0% { box-shadow: 0 0 0 0 rgba(31, 168, 85, 0.55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(31, 168, 85, 0); } }
.hero-note { margin-top: 26px; text-align: center; font-size: 12px; color: rgba(255, 255, 255, 0.62); padding-inline: var(--gutter); }

/* ───────────────────────────────────────── tour ─── */
.tour { padding-top: 72px; }
.tour-head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.tour-head .sub { max-width: 46ch; }
.tour-nav { flex: none; padding: 22px var(--gutter) 0; }
.tabs {
  display: flex; gap: 2px; width: 100%; max-width: 520px; margin-inline: auto; padding: 6px;
  background: var(--white); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 14px 34px -18px rgba(36, 9, 9, 0.35);
}
.tabs button {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 7px 2px 5px; border: 0; border-radius: 16px; background: transparent; cursor: pointer;
  color: var(--muted); font-size: 12.5px; font-weight: 500; line-height: 1.5;
  transition: background-color 220ms ease, color 220ms ease;
}
.tabs svg { width: 24px; height: 24px; }
.tabs button[aria-selected="true"] { background: var(--rose); color: var(--red); font-weight: 700; }
.tour-bar { max-width: 200px; height: 3px; margin: 10px auto 0; border-radius: 3px; background: var(--rose-line); overflow: hidden; }
.tour-bar span { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--red); transition: width 120ms linear; }
.panel { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 30px var(--gutter) 40px; }
.panel-copy { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 520px; }
.panel-step { display: inline-flex; align-items: center; font-size: 13px; font-weight: 700; color: var(--red); }
.panel-step .sep { margin-inline: 6px; }
.panel-copy h3 { font-size: clamp(23px, 6.4vw, 40px); font-weight: 900; line-height: 1.3; }
.panel-copy p { font-size: 16px; color: var(--muted); text-wrap: pretty; }
.panel-copy .pills { padding-top: 4px; }
.panel-media { display: flex; justify-content: center; width: 100%; }
.panel-media .phone { width: min(76vw, 300px); }
.tour-skip { display: none; }

/* Without JavaScript the panels stack and the tab bar, which needs it, stays out. */
html:not(.js) .tour-nav { display: none; }

/* With JavaScript: a sticky stage whose tab follows the scroll. The track is
   given its height by site.js (one step of scroll per tab). */
.js .tour-track { position: relative; }
.js .tour-stage {
  position: sticky; top: var(--top-h);
  height: calc(100vh - var(--top-h)); height: calc(100svh - var(--top-h));
  display: flex; flex-direction: column; overflow: hidden;
}
.js .tour-nav { padding-top: 12px; }
/* Sideways swipes here belong to the tour, so the browser must not read them
   as "go back" (Chrome on Android does on horizontal overscroll). */
.js .tour-panels { position: relative; flex: 1 1 auto; min-height: 0; touch-action: pan-y pinch-zoom; overscroll-behavior-x: none; }
.js .panel {
  position: absolute; inset: 0; justify-content: flex-start; gap: 16px; padding: 18px var(--gutter) 0;
  opacity: 0; visibility: hidden; transform: translateY(22px);
  transition: opacity 420ms ease, transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s linear 420ms;
}
.js .panel.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 420ms ease, transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s; }
.js .panel-media {
  flex: 1 1 auto; min-height: 0; overflow: hidden; align-items: flex-start;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%); mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
}
.js .tour-skip {
  position: absolute; bottom: 14px; inset-inline-end: var(--gutter); z-index: 3;
  display: inline-flex; align-items: center; gap: 4px; padding: 7px 14px 7px 12px; border-radius: 999px;
  background: var(--white); color: var(--ink); font-size: 13px; font-weight: 500; box-shadow: 0 10px 24px -12px rgba(36, 9, 9, 0.45);
}
@media (max-width: 639px) {
  .js .panel-copy .pills { display: none; }
  .js .panel-copy p { font-size: 15px; line-height: 1.85; }
}
@media (max-height: 640px) and (max-width: 639px) {
  .js .panel-copy p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}

/* ───────────────────────────────────────── history (night) ─── */
.night { position: relative; background: radial-gradient(90% 50% at 100% 0%, var(--night-2) 0%, rgba(51, 16, 16, 0) 70%), var(--night); color: var(--cream); padding: 80px 0; border-radius: 36px; }
.night .title { color: var(--cream); }
.hist { display: grid; gap: 40px; }
.hist-phone { display: none; }
.stops { position: relative; display: flex; flex-direction: column; gap: 40px; padding-inline-start: 46px; }
.stops::before { content: ""; position: absolute; inset-inline-start: 15px; top: 10px; bottom: 30px; border-inline-start: 2.5px dashed rgba(255, 180, 166, 0.45); }
.stop { position: relative; }
.stop-mark {
  position: absolute; inset-inline-start: -46px; top: 0;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: var(--cream); font-size: 15px; font-weight: 700; line-height: 1;
  box-shadow: 0 0 0 5px var(--night);
}
.stop-body { display: flex; flex-direction: column; gap: 8px; }
.stop-body h3 { font-size: 22px; font-weight: 900; line-height: 1.4; }
.stop-body p { font-size: 16px; color: rgba(255, 247, 242, 0.75); text-wrap: pretty; }
.stop .crop { margin-top: 8px; border: 0; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.7); max-width: 440px; }

/* ───────────────────────────────────────── bento ─── */
.bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.tile { border-radius: 28px; padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.tile h3 { font-size: 22px; font-weight: 900; line-height: 1.4; }
.tile p { font-size: 16px; text-wrap: pretty; }
.tile-shot { background: var(--white); border: 1px solid var(--line); padding-bottom: 0; }
.tile-shot p { color: var(--muted); }
.tile-copy { display: flex; flex-direction: column; gap: 8px; }
.tile-img { margin: 14px 6px 0; height: 330px; border-radius: 22px 22px 0 0; overflow: hidden; border: 1px solid var(--line); border-bottom: 0; background: #f3f4f6; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; }
.tile-img-bottom img { object-position: 50% 96%; }
.tile-img-mid img { object-position: 50% 52%; }
.tile-red { position: relative; background: linear-gradient(160deg, var(--red-hi), var(--red) 55%, var(--red-deep)); color: var(--white); }
.tile-red p { color: rgba(255, 255, 255, 0.86); }
.snack {
  margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-radius: 16px; background: #221818; color: var(--white); box-shadow: 0 16px 30px -16px rgba(0, 0, 0, 0.6);
}
.snack b { display: block; font-size: 14px; font-weight: 700; }
.snack small { display: block; font-size: 12px; color: rgba(255, 255, 255, 0.7); }
.snack-btn { flex: none; font-size: 13px; font-weight: 700; color: var(--coral); }
.tile-plain { background: var(--rose); border: 1px solid var(--rose-line); }
.tile-plain p { color: var(--muted); }

/* ───────────────────────────────────────── numbers (red band) ─── */
.band { position: relative; color: var(--white); padding: 76px 0; background: radial-gradient(100% 80% at 0% 0%, var(--red-hi) 0%, rgba(196, 42, 38, 0) 60%), var(--red); border-radius: 36px; margin: 0 0 0; }
.band .title { margin: 10px 0 34px; }
.numbers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.numbers div { display: flex; flex-direction: column; gap: 2px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, 0.25); }
.numbers strong { font-size: clamp(40px, 11vw, 60px); font-weight: 900; line-height: 1.15; }
.numbers span { font-size: 14px; color: rgba(255, 255, 255, 0.82); }
.numbers .wide { grid-column: 1 / -1; }
.numbers .wide strong { color: var(--cream); }

/* ───────────────────────────────────────── install ─── */
.install { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.ins { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.ins header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ins h3 { font-size: 24px; font-weight: 900; }
.ins header span { font-size: 13px; font-weight: 700; color: var(--red); background: var(--rose); border-radius: 999px; padding: 3px 12px; }
.steps { counter-reset: s; display: flex; flex-direction: column; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding-inline-start: 40px; font-size: 16px; line-height: 1.95; }
.steps li::before { content: counter(s, persian); position: absolute; inset-inline-start: 0; top: 1px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: var(--white); font-size: 14px; font-weight: 700; line-height: 28px; text-align: center; }
.steps a { color: var(--red); font-weight: 700; }
.key { display: inline-flex; align-items: center; justify-content: center; min-height: 26px; padding: 0 8px; margin-inline: 2px; border-radius: 8px; background: var(--cream); border: 1px solid var(--rose-line); font-size: 14px; font-weight: 500; line-height: 1.6; }
.ins .crop { margin-top: 4px; }
.ins-qr { display: none; }
.is-ios .ins-ios { order: -1; }
.note { margin-top: 18px; font-size: 14.5px; color: var(--muted); max-width: 84ch; }

/* ───────────────────────────────────────── improvements ─── */
.improve { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 40px; }
.improve li { display: flex; gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); }
.improve .n { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--rose); color: var(--red); font-size: 14px; font-weight: 700; }
.improve h3 { font-size: 18px; font-weight: 700; line-height: 1.6; }
.improve p { font-size: 15.5px; color: var(--muted); text-wrap: pretty; }

/* ───────────────────────────────────────── faq ─── */
.faq { display: grid; gap: 8px; }
.faq-head { margin-bottom: 20px; }
.qa { display: flex; flex-direction: column; gap: 10px; }
.qa details { background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; font-size: 16.5px; font-weight: 700; line-height: 1.7; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--rose); color: var(--red); font-size: 20px; font-weight: 500; line-height: 1; transition: transform 260ms ease; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { padding: 0 20px 18px; font-size: 16px; color: var(--muted); text-wrap: pretty; }

/* ───────────────────────────────────────── closing & footer ─── */
.closing {
  position: relative; overflow: hidden; isolation: isolate; color: var(--white); text-align: center;
  background: radial-gradient(110% 80% at 50% 0%, var(--red-hi) 0%, rgba(196, 42, 38, 0) 65%), var(--red);
  border-radius: 36px 36px 0 0; padding: 80px 0 72px;
}
.closing-in { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.closing .logo-lg { width: 76px; height: 76px; }
.closing .title { max-width: 18ch; }
.closing .hero-cta { justify-content: center; }
.foot { background: var(--night); color: var(--cream); padding: 52px 0 34px; }
.foot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
.foot-brand { grid-column: 1 / -1; }
.foot-brand { display: flex; flex-direction: column; gap: 12px; }
.foot-brand .logo { width: 48px; height: 48px; }
.foot-brand p { font-size: 14px; color: rgba(255, 247, 242, 0.7); }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.foot-col > span { font-size: 13px; font-weight: 700; color: var(--coral); }
.foot-col a { font-size: 14px; color: rgba(255, 247, 242, 0.78); }
.foot-col a:hover { color: var(--white); }
.mail-reveal {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; margin-top: 2px;
  font-size: 13.5px; line-height: 1.8; color: rgba(255, 247, 242, 0.85); cursor: pointer;
  background: rgba(255, 247, 242, 0.06); border: 1px dashed rgba(255, 247, 242, 0.35); border-radius: 999px;
  transition: background-color 200ms ease;
}
.mail-reveal:hover { background: rgba(255, 247, 242, 0.12); }
.mail-reveal[hidden], .mail-fallback[hidden] { display: none; }
.foot-bottom { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 247, 242, 0.14); display: flex; flex-direction: column; gap: 6px; }
.foot-bottom p { font-size: 13px; color: rgba(255, 247, 242, 0.72); }
.foot-bottom .made { color: rgba(255, 247, 242, 0.5); }
.heart { color: var(--coral); }

/* ───────────────────────────────────────── reveal ─── */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ───────────────────────────────────────── ≥ 640px ─── */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .hero-visual { width: 300px; }
  .js .panel { align-items: center; text-align: center; }
  .js .panel-copy { align-items: center; }
  .js .panel-copy .pills { justify-content: center; }
  .js .panel-media .phone { width: 320px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numbers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .install { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .improve { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ───────────────────────────────────────── ≥ 1024px ─── */
@media (min-width: 1024px) {
  :root { --top-h: 68px; }
  .top-links { display: flex; gap: 30px; font-size: 15px; font-weight: 500; }
  .top-links a { opacity: 0.9; }
  .top-links a:hover { opacity: 0.65; }
  .burger, .menu { display: none !important; }
  .hero { padding: calc(var(--top-h) + 40px) 0 30px; border-radius: 0 0 56px 56px; }
  .hero-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: 56px; min-height: min(760px, calc(100vh - var(--top-h) - 80px)); }
  .hero-lead { font-size: 19px; }
  .hero-visual { width: 330px; }
  .float-a { inset-inline-start: -70px; }
  .float-b { inset-inline-end: -80px; }
  .sec { padding: 120px 0; }
  .sec-head { margin-bottom: 52px; }
  .tour { padding-top: 120px; }

  .js .tour-nav { padding-top: 18px; }
  .js .panel { flex-direction: row; justify-content: center; text-align: start; gap: 80px; padding: 8px 40px 28px; }
  .js .panel-copy { align-items: flex-start; max-width: 460px; gap: 12px; }
  .js .panel-copy .pills { justify-content: flex-start; }
  .js .panel-copy p { font-size: 18px; }
  .js .panel-media { flex: none; width: auto; height: 100%; align-items: center; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  /* The whole phone fits the stage: width from the height that is left
     under the tab bar (screen ratio 780 × 1688 plus the 8px frame). */
  .js .panel-media .phone { width: min(330px, calc((100vh - var(--top-h) - 170px) * 0.4621 + 8px)); width: min(330px, calc((100svh - var(--top-h) - 170px) * 0.4621 + 8px)); }
  .js .tour-skip { inset-inline-end: 40px; bottom: 24px; }

  .night { padding: 120px 0; border-radius: 56px; }
  .hist { grid-template-columns: minmax(0, 1fr) 340px; gap: 80px; align-items: start; }
  .hist-phone { display: block; order: 2; position: sticky; top: calc(var(--top-h) + 40px); }
  .stops { gap: 56px; }

  .bento { grid-template-columns: 1.1fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
  .bento .tile-shot { grid-row: span 2; }
  .tile-shot .tile-img { flex: 1 1 auto; min-height: 420px; height: auto; }
  .tile-img-mid img, .tile-img-bottom img { object-position: 50% 100%; }
  .tile { padding: 32px 30px; }
  .tile-shot { padding-bottom: 0; }

  .band { padding: 110px 0; border-radius: 56px; }
  .numbers { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .numbers .wide { grid-column: auto; }

  .install { grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 0.74fr); gap: 18px; }
  .ins-qr { display: flex; align-items: center; justify-content: center; text-align: center; gap: 14px; background: var(--rose); border-color: var(--rose-line); }
  .ins-qr img { width: 176px; height: 176px; padding: 14px; background: var(--white); border-radius: 20px; }
  .ins-qr h3 { font-size: 19px; }
  .ins-qr p { font-size: 15px; color: var(--muted); }

  .faq { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }

  .closing { padding: 120px 0 110px; border-radius: 56px 56px 0 0; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .foot-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
