/* Didit landing site (D-113). Brand tokens from docs/02-brand/tokens.json; pixel system: stepped corners,
   2px outline, hard shadow straight down; Estedad from our own server; «خیر» never red. */
@font-face { font-family: Estedad; src: url("fonts/Estedad-400.ttf") format("truetype"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: Estedad; src: url("fonts/Estedad-800.ttf") format("truetype"); font-weight: 700 900; font-display: swap; }

:root {
  --bg: #F1FCEA; --surface: #FFFFFF; --tint: #DFF8CF; --text: #061720; --muted: #58656D; --line: #061720;
  --border: #D6DEE3; --primary: #85C06C; --on-primary: #061720; --yes-text: #346856; --no-border: #758188;
  --medal: #F2B33D; --band: #E7F7DC;
  --step: polygon(4px 0, calc(100% - 4px) 0, calc(100% - 4px) 2px, calc(100% - 2px) 2px, calc(100% - 2px) 4px, 100% 4px,
    100% calc(100% - 4px), calc(100% - 2px) calc(100% - 4px), calc(100% - 2px) calc(100% - 2px), calc(100% - 4px) calc(100% - 2px),
    calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 2px), 2px calc(100% - 2px), 2px calc(100% - 4px), 0 calc(100% - 4px),
    0 4px, 2px 4px, 2px 2px, 4px 2px);
}
html.dark { --bg: #061720; --surface: #0F1E26; --tint: #1D423D; --text: #DFF8CF; --muted: #B9C3C9; --line: #000000;
    --border: #3C4A52; --yes-text: #85C06C; --no-border: #95A0A7; --band: #0B1C24; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Estedad, Vazirmatn, Tahoma, sans-serif;
  font-size: 17px; line-height: 1.9; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.4; margin: 0 0 12px; font-weight: 900; }
h1 { font-size: clamp(34px, 7vw, 56px); }
h2 { font-size: clamp(26px, 4.5vw, 36px); text-align: center; margin-bottom: 28px; }
h3 { font-size: 19px; font-weight: 800; }
p { margin: 0 0 12px; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: 15px; margin: 12px 0 0; }
.lead { font-size: 19px; color: var(--muted); }
section { padding: 64px 0; }
.band { background: var(--band); }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--primary); color: var(--on-primary); padding: 8px 12px; z-index: 30; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }

/* pixel boxes: the clip makes the stepped corners, the parent's drop-shadow the hard shadow */
.lift { filter: drop-shadow(0 4px 0 var(--line)); }
.px { clip-path: var(--step); }
.card { background: var(--surface); border: 2px solid var(--line); padding: 20px; height: 100%; }

.btn { display: inline-block; background: var(--primary); color: var(--on-primary); font-weight: 900; font-size: 18px;
  text-decoration: none; padding: 12px 28px; border: 2px solid var(--line); box-shadow: 0 4px 0 var(--line);
  clip-path: var(--step); font-family: inherit; }
.btn { clip-path: none; }
.btn:hover { background: #9ED088; }
.btn:active { box-shadow: none; transform: translateY(4px); }
.btn-sm { font-size: 15px; padding: 6px 16px; box-shadow: 0 3px 0 var(--line); }
.btn-alt { background: var(--surface); color: var(--text); }

/* header: the menu sits next to the logo; the download button keeps the far end */
.top { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 2px solid var(--line); transition: box-shadow .2s; }
.top.scrolled { box-shadow: 0 4px 0 rgba(6, 23, 32, .12); }
.top-in { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; flex: none; }
.logo.dark { display: none; }
html.dark .logo.light { display: none; }
html.dark .logo.dark { display: block; }
.menu-wide { display: none; gap: 24px; margin-inline-start: 40px; }
.menu-wide a, .menu nav a { text-decoration: none; font-weight: 700; font-size: 15px; }
.menu-wide a { position: relative; padding: 4px 0; }
.menu-wide a::after { content: ""; position: absolute; inset-inline: 0; bottom: -2px; height: 3px; background: var(--primary); transform: scaleX(0); transition: transform .2s; }
.menu-wide a:hover::after, .menu-wide a:focus-visible::after { transform: scaleX(1); }
.menu { margin-inline-start: auto; }
.top-acts { display: flex; align-items: center; gap: 10px; flex: none; }
.theme-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; background: var(--surface); color: var(--text);
  border: 2px solid var(--line); box-shadow: 0 3px 0 var(--line); cursor: pointer; }
.theme-btn:active { transform: translateY(3px); box-shadow: none; }
.theme-btn .icon { width: 22px; height: 22px; }
.theme-btn .ic-sun, html.dark .theme-btn .ic-moon { display: none; }
html.dark .theme-btn .ic-sun { display: inline; }
html.dark .theme-btn { border-color: var(--primary); box-shadow: 0 3px 0 var(--primary); }
.menu summary { list-style: none; cursor: pointer; display: grid; gap: 4px; padding: 10px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 22px; height: 3px; background: var(--text); }
.menu nav { position: absolute; inset-inline: 0; top: 64px; background: var(--bg); border-bottom: 2px solid var(--line);
  display: grid; padding: 8px 16px 16px; }
.menu nav a { padding: 10px 0; border-bottom: 1px solid var(--border); }
@media (min-width: 860px) { .menu { display: none; } .menu-wide { display: flex; } .top-acts { margin-inline-start: auto; } }

/* hero: a pixel forest, day in light mode and night in dark mode (D-113) */
:root { --sky1: #DFF4F2; --sky2: #F1FCEA; --hill: #BBE2A8; --far: #9ED088; --far-hi: #BBE2A8; --mid: #6DAA5A; --mid-hi: #85C06C;
  --near: #346856; --near-hi: #4C825E; --trunk: #8A5A00; --ground: #85C06C; --sun: #F7D27E; --cloud: #FFFFFF; --bird: #346856; --edge: #9ED088; }
html.dark { --sky1: #03101A; --sky2: #0B1C24; --hill: #102A2D; --far: #15352F; --far-hi: #1D423D; --mid: #1D423D; --mid-hi: #2B5A4C;
    --near: #0B2A24; --near-hi: #1D423D; --trunk: #3A2A10; --ground: #1D423D; --edge: #1D423D; }
.hero { position: relative; overflow: hidden; padding: 48px 0 0; min-height: 640px; display: flex; flex-direction: column;
  background: linear-gradient(var(--sky1), var(--sky2) 70%); }
.hero-in { position: relative; z-index: 2; display: grid; gap: 32px; align-items: start; padding-bottom: 230px; }
.hero-text { text-align: center; }
.hero-text .btn { margin-top: 8px; }
.hero-art { max-width: 340px; margin: 0 auto; width: 100%; }
.shot { width: auto; max-width: 100%; max-height: 64vh; height: auto; margin: 0 auto; border: 2px solid var(--line); background: var(--surface); }
.qcard { background: var(--surface); border: 2px solid var(--line); padding: 22px 22px 18px; text-align: center; }
.qcard-k { font-size: 13px; color: var(--muted); font-weight: 700; margin: 0; }
.qcard-q { font-size: 24px; font-weight: 900; margin: 2px 0 16px; }
.qcard-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qcard-btns button { font: inherit; font-weight: 900; font-size: 17px; padding: 10px; border: 2px solid var(--line); cursor: pointer;
  transition: transform .1s, box-shadow .1s; }
.qcard-btns .yes { background: var(--primary); color: var(--on-primary); box-shadow: 0 4px 0 var(--line); }
.qcard-btns .yes:active { transform: translateY(4px); box-shadow: none; }
.qcard-btns .no { background: var(--surface); color: var(--text); border-color: var(--no-border); }
.qcard-msg { min-height: 1.9em; margin: 12px 0 0; font-weight: 700; color: var(--yes-text); font-size: 15px; }
.qcard.done .qcard-btns { opacity: .45; pointer-events: none; }
@media (min-width: 860px) {
  .hero-in { grid-template-columns: 1.2fr 1fr; align-items: center; padding-top: 24px; }
  .hero-text { text-align: start; }
  .hero-art { margin: 0; }
}

/* the forest layers */
.forest { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.sky { position: absolute; inset: 0; }
.layer { position: absolute; inset-inline: 0; bottom: 0; width: 100%; will-change: transform; }
.hills { height: 210px; fill: var(--hill); }
.far { height: 230px; fill: var(--far); color: var(--far-hi); }
.mid { height: 210px; fill: var(--mid); color: var(--mid-hi); }
.near { height: 70px; fill: var(--near); color: var(--near-hi); }
.near .ground { fill: var(--ground); }
.layer .trunk { fill: var(--trunk); }
.far rect:not(.trunk), .mid > rect { fill: inherit; }
.sun, .moon { position: absolute; top: 56px; inset-inline-end: 12%; width: 56px; height: 56px; fill: var(--sun); }
.moon { display: none; }
@media (max-width: 859px) { .sun, .moon { top: 14px; inset-inline-end: 4%; width: 32px; height: 32px; } .cloud.c2, .cloud.c3 { display: none; } }
.moon-cut { fill: var(--sky1); }
.cloud { position: absolute; left: 0; width: 112px; height: 40px; fill: var(--cloud); opacity: .95; animation: drift 70s linear infinite; }
.cloud.c1 { top: 40px; animation-delay: -10s; }
.cloud.c2 { top: 110px; width: 84px; height: 30px; animation-duration: 95s; animation-delay: -55s; }
.cloud.c3 { top: 170px; width: 64px; height: 23px; animation-duration: 120s; animation-delay: -80s; opacity: .8; }
.bird { position: absolute; left: 0; width: 20px; height: 8px; fill: var(--bird); animation: fly 38s linear infinite; }
.bird.b1 { top: 92px; }
.bird.b2 { top: 120px; animation-delay: -19s; width: 15px; height: 6px; }
.star, .firefly { display: none; position: absolute; width: 3px; height: 3px; background: #DFF8CF; }
.hero-char { position: absolute; z-index: 3; bottom: 20px; inset-inline-start: 8%; width: 96px; }
.hero-char .char { width: 96px; height: 96px; }
@media (min-width: 860px) { .hero-char { width: 128px; inset-inline-start: 18%; bottom: 24px; } .hero-char .char { width: 128px; height: 128px; } }
html.dark .sun, html.dark .cloud, html.dark .bird { display: none; }
html.dark .moon, html.dark .star, html.dark .firefly { display: block; }
html.dark .moon { fill: #F7D27E; }
html.dark .star { animation: twinkle 3.2s steps(2) infinite; }
html.dark .s1 { top: 30px; left: 8%; }
html.dark .s2 { top: 70px; left: 22%; animation-delay: -.8s; }
html.dark .s3 { top: 44px; left: 38%; animation-delay: -1.6s; }
html.dark .s4 { top: 96px; left: 52%; animation-delay: -2.4s; }
html.dark .s5 { top: 24px; left: 64%; }
html.dark .s6 { top: 130px; left: 74%; animation-delay: -1.2s; }
html.dark .s7 { top: 60px; left: 90%; animation-delay: -2s; }
html.dark .s8 { top: 150px; left: 14%; animation-delay: -.4s; }
html.dark .s9 { top: 118px; left: 33%; animation-delay: -2.8s; }
html.dark .s10 { top: 170px; left: 60%; animation-delay: -1s; }
html.dark .s11 { top: 20px; left: 80%; animation-delay: -2.2s; }
html.dark .s12 { top: 160px; left: 92%; }
html.dark .firefly { width: 4px; height: 4px; background: #F7D27E; box-shadow: 0 0 6px 2px rgba(247, 210, 126, .55); bottom: 90px; z-index: 2;
    animation: float 7s ease-in-out infinite, glow 2.6s ease-in-out infinite; }
html.dark .f1 { left: 12%; }
html.dark .f2 { left: 26%; bottom: 130px; animation-delay: -2s, -1s; }
html.dark .f3 { left: 41%; bottom: 70px; animation-delay: -4s, -.5s; }
html.dark .f4 { left: 57%; bottom: 150px; animation-delay: -1s, -2s; }
html.dark .f5 { left: 69%; bottom: 100px; animation-delay: -3s, -1.5s; }
html.dark .f6 { left: 83%; bottom: 140px; animation-delay: -5s, -.2s; }
html.dark .f7 { left: 92%; bottom: 80px; animation-delay: -6s, -2.2s; }

/* the store badges: the official image from the panel, or a pixel text badge; dimmed until live */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; justify-content: center; }
@media (min-width: 860px) { .hero-text .stores { justify-content: flex-start; } }
.badge { position: relative; display: inline-flex; align-items: center; text-decoration: none; color: inherit; transition: transform .15s; }
a.badge:hover { transform: translateY(-2px); }
.badge img { height: 48px; width: auto; display: block; }
.badge-txt { display: grid; gap: 0; line-height: 1.3; padding: 7px 18px 8px; min-width: 150px; text-align: center; background: var(--line); color: #FFFFFF;
  border: 2px solid var(--line); box-shadow: 0 4px 0 var(--primary); }
.badge-txt small { font-size: 11px; opacity: .85; }
.badge-txt b { font-size: 18px; font-weight: 900; }
.badge.soon { opacity: .62; filter: grayscale(.35); cursor: default; }
.badge img { height: 46px; }
.soon-tag { position: absolute; top: -10px; inset-inline-end: -8px; background: var(--medal); color: #061720; font-size: 11px; font-weight: 900;
  padding: 1px 8px; border: 2px solid var(--line); filter: none; }
.badge.soon .soon-tag { opacity: 1; }
html.dark .badge-txt { background: #0F1E26; border-color: #85C06C; }

/* about */
.about-in { display: grid; gap: 24px; align-items: center; max-width: 860px; }
.about-in h2 { text-align: start; }
.about-char { width: 140px; margin: 0 auto; }
.about-char .char { width: 140px; height: 140px; }
@media (min-width: 720px) { .about-in { grid-template-columns: 180px 1fr; } }

/* «چرا دیدیت؟»: reasons and a comparison */
.about-p { font-size: 18px; }
.reasons { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 22px; }
@media (min-width: 720px) { .reasons { grid-template-columns: repeat(2, 1fr); } }
.reasons li { display: flex; gap: 14px; align-items: flex-start; }
.reason-ic { flex: none; display: inline-grid; place-items: center; width: 52px; height: 52px; background: var(--primary); color: var(--on-primary);
  border: 2px solid var(--line); box-shadow: 0 4px 0 var(--line); }
.reason-ic .icon { width: 28px; height: 28px; }
.reasons h3 { margin: 2px 0 4px; }
.reasons p { margin: 0; color: var(--muted); font-size: 16px; }
.compare-wrap { margin-top: 44px; }
.compare { width: 100%; border-collapse: collapse; background: var(--surface); border: 2px solid var(--line); font-size: 15px; }
.compare th, .compare td { padding: 12px 16px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--border); width: 50%; }
.compare th { font-weight: 900; font-size: 16px; color: var(--muted); background: var(--band); }
.compare th.us { color: var(--on-primary); background: var(--primary); }
.compare td { color: var(--muted); }
.compare td.us { color: var(--text); font-weight: 700; background: color-mix(in srgb, var(--primary) 12%, var(--surface)); }
.compare tr:last-child td { border-bottom: 0; }
.compare .mark { display: inline-block; width: 18px; font-weight: 900; color: var(--muted); }
.compare td.us .mark { color: var(--yes-text); }

/* steps and features */
.steps, .grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.step-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: var(--yes-text); }
.step-head .icon { width: 28px; height: 28px; }
.num { display: inline-grid; place-items: center; width: 36px; height: 36px; background: var(--primary); color: var(--on-primary);
  border: 2px solid var(--line); font-weight: 900; font-size: 18px; }
.step-img { width: 100%; height: auto; margin-bottom: 14px; border: 2px solid var(--line); }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.feat-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; background: var(--tint); color: var(--yes-text);
  border: 2px solid var(--line); margin-bottom: 12px; }
.feat-ic .icon { width: 28px; height: 28px; }

/* companions: a glade between the trees */
.glade { display: flex; align-items: flex-end; justify-content: center; gap: 4px; margin-top: 12px; padding: 0 8px;
  border-bottom: 10px solid var(--primary); box-shadow: 0 4px 0 var(--yes-text); }
.garden { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 8px 16px; padding-top: 20px; }
.garden-char .char { width: 80px; height: 80px; }
.glade-tree { flex: none; width: 54px; height: 90px; fill: var(--mid); color: var(--mid-hi); }
.glade-tree .trunk, .floor-tree .trunk { fill: var(--trunk); }
.glade-tree.t1, .glade-tree.t4 { height: 120px; width: 72px; fill: var(--near); color: var(--near-hi); }
@media (max-width: 719px) { .glade-tree.t2, .glade-tree.t3 { display: none; } .glade-tree.t1, .glade-tree.t4 { width: 40px; height: 70px; } }
@media (min-width: 720px) { .garden-char .char { width: 104px; height: 104px; } }

/* faq */
.faq { margin-bottom: 18px; }
.faq summary { list-style: none; cursor: pointer; background: var(--surface); border: 2px solid var(--line); padding: 14px 18px;
  font-weight: 800; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 900; }
.faq[open] summary::after { content: "−"; }
.faq-a { background: var(--surface); border: 2px solid var(--line); border-top: 0; padding: 14px 18px; color: var(--muted); font-size: 16px; }

/* download: the bottom of the forest */
.download { position: relative; padding-bottom: 0; }
.dl { text-align: center; padding: 32px 24px; }
.dl h2 { margin-bottom: 12px; }
.dl-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 16px; }
.dl-stores { margin-top: 26px; padding-top: 20px; border-top: 2px dashed var(--border); }
.dl-k { font-size: 14px; font-weight: 800; color: var(--muted); margin: 0; }
.floor { position: relative; height: 134px; margin-top: 40px; border-bottom: 30px solid var(--ground); display: flex; align-items: flex-end;
  justify-content: space-between; padding: 0 4%; overflow: hidden; }
.floor-tree { width: 64px; height: 108px; fill: var(--near); color: var(--near-hi); }
.floor-tree.f2, .floor-tree.f4 { width: 72px; height: 84px; fill: var(--mid); color: var(--mid-hi); }

/* grassy top edge of the tinted bands, so the page reads as one forest floor */
.band { position: relative; }
.edge { position: absolute; top: -16px; inset-inline: 0; height: 16px; background: var(--edge);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 14' shape-rendering='crispEdges'%3E%3Cpath d='M0 14V8h3V4h2v4h4V2h2v6h5V6h2v2h4V3h2v5h3V5h2v3h1v6z'/%3E%3C/svg%3E") repeat-x bottom / 36px 16px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 14' shape-rendering='crispEdges'%3E%3Cpath d='M0 14V8h3V4h2v4h4V2h2v6h5V6h2v2h4V3h2v5h3V5h2v3h1v6z'/%3E%3C/svg%3E") repeat-x bottom / 36px 16px; }
.band { border-top: 4px solid var(--edge); }

/* motion: calm, and none at all with the phone's "reduce motion" */
@keyframes drift { from { transform: translateX(-160px); } to { transform: translateX(110vw); } }
@keyframes fly { 0% { transform: translate(-40px, 0); } 50% { transform: translate(55vw, -14px); } 100% { transform: translate(110vw, 0); } }
@keyframes twinkle { 50% { opacity: .2; } }
@keyframes float { 50% { transform: translate(10px, -16px); } }
@keyframes glow { 50% { opacity: .35; } }
/* app screens: a pixel phone with a swipeable track (scroll-snap, works without JS) beside the captions */
.shots { display: grid; gap: 28px; justify-items: center; margin-top: 12px; }
@media (min-width: 860px) { .shots { grid-template-columns: auto 1fr; gap: 56px; align-items: center; justify-items: stretch; } }
.shots-phone { display: grid; justify-items: center; gap: 18px; }
.phone { --step-lg: polygon(12px 0, calc(100% - 12px) 0, calc(100% - 12px) 4px, calc(100% - 8px) 4px, calc(100% - 8px) 8px, calc(100% - 4px) 8px,
    calc(100% - 4px) 12px, 100% 12px, 100% calc(100% - 12px), calc(100% - 4px) calc(100% - 12px), calc(100% - 4px) calc(100% - 8px),
    calc(100% - 8px) calc(100% - 8px), calc(100% - 8px) calc(100% - 4px), calc(100% - 12px) calc(100% - 4px), calc(100% - 12px) 100%,
    12px 100%, 12px calc(100% - 4px), 8px calc(100% - 4px), 8px calc(100% - 8px), 4px calc(100% - 8px), 4px calc(100% - 12px),
    0 calc(100% - 12px), 0 12px, 4px 12px, 4px 8px, 8px 8px, 8px 4px, 12px 4px);
  clip-path: var(--step-lg); width: min(280px, 76vw); padding: 26px 10px 18px; background: #061720; position: relative; }
html.dark .phone { box-shadow: inset 0 0 0 2px #3C4A52; }
.phone::before { content: ""; position: absolute; top: 10px; left: 50%; width: 44px; height: 6px; margin-left: -22px; background: #3C4A52; }
.phone-screen { background: var(--surface); overflow: hidden; }
.phone-track { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain; scrollbar-width: none; aspect-ratio: 390 / 844; }
.phone-track::-webkit-scrollbar { display: none; }
.phone-track:focus-visible { outline-offset: -3px; }
.phone-shot { flex: 0 0 100%; scroll-snap-align: center; }
.phone-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shots-nav { display: flex; align-items: center; gap: 14px; }
.shots-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; cursor: pointer; color: var(--text);
  background: var(--surface); border: 2px solid var(--line); box-shadow: 0 3px 0 var(--line); }
.shots-btn .icon { width: 24px; height: 24px; }
.shots-btn.next .icon { transform: scaleX(-1); }
.shots-btn:active { box-shadow: none; transform: translateY(3px); }
.shots-btn:disabled { opacity: .4; cursor: default; box-shadow: 0 3px 0 var(--line); transform: none; }
.shots-dots { display: flex; gap: 2px; }
.shots-dots button { width: 22px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.shots-dots button::before { content: ""; position: absolute; top: 18px; left: 7px; width: 8px; height: 8px; background: var(--border); }
.shots-dots button[aria-current="true"]::before { left: 3px; width: 16px; background: var(--primary); box-shadow: inset 0 0 0 2px var(--line); }
.shots-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; width: 100%; max-width: 520px; counter-reset: none; }
.shot-cap { display: flex; gap: 14px; align-items: flex-start; width: 100%; text-align: start; font: inherit; color: var(--muted); cursor: pointer;
  background: none; border: 2px solid transparent; padding: 12px 14px; transition: background-color .2s, border-color .2s, color .2s; }
.shot-cap b { display: block; color: var(--text); font-size: 18px; font-weight: 800; line-height: 1.5; }
.shot-cap .cap-x { display: block; font-size: 15px; line-height: 1.8; margin-top: 2px; }
.shot-cap .num { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; font-weight: 900; color: var(--muted);
  border: 2px solid var(--border); background: var(--surface); }
.shot-cap:hover { border-color: var(--border); }
.shots-list li.on .shot-cap { background: var(--surface); border-color: var(--line); color: var(--text); box-shadow: 0 4px 0 var(--line); }
.shots-list li.on .num { background: var(--primary); color: var(--on-primary); border-color: var(--line); }
/* on a phone the captions follow the slider: only the current one shows */
@media (max-width: 859px) { .shots.ready .shots-list li:not(.on) { display: none; } .shots-list { max-width: 360px; } }
@media (min-width: 860px) { .phone { width: 300px; } }

@keyframes breathe { 50% { transform: translateY(-2px); } }
@keyframes hop { 0%, 100% { transform: translateY(0); } 30% { transform: translateY(-26px); } 55% { transform: translateY(0); } 75% { transform: translateY(-10px); } }
@keyframes sway { 50% { transform: skewX(-2deg); } }
.live .char { animation: breathe 2.4s steps(2) infinite; animation-delay: calc(var(--d, 0) * -.4s); }
.hero-char.celebrate .char { animation: hop .9s ease-out 2; }
.sway { transform-box: fill-box; transform-origin: bottom center; animation: sway 4s ease-in-out infinite; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease-out, transform .5s ease-out; transition-delay: calc(var(--d, 0) * 70ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .cloud { left: 10%; } .cloud.c2 { left: 55%; } .cloud.c3 { left: 80%; } .bird { display: none; }
}

/* terms page */
.terms { padding-top: 40px; padding-bottom: 56px; }
.terms h1 { font-size: 30px; }
.terms h2 { text-align: start; font-size: 21px; margin: 28px 0 8px; }

/* footer: brand, links, support, download */
.foot { background: #061720; color: #DFF8CF; padding: 0; border-top: 0; position: relative; }
.foot::before { content: ""; display: block; height: 16px; background: #061720;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 14' shape-rendering='crispEdges'%3E%3Cpath d='M0 14V8h3V4h2v4h4V2h2v6h5V6h2v2h4V3h2v5h3V5h2v3h1v6z'/%3E%3C/svg%3E") repeat-x bottom / 36px 16px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 14' shape-rendering='crispEdges'%3E%3Cpath d='M0 14V8h3V4h2v4h4V2h2v6h5V6h2v2h4V3h2v5h3V5h2v3h1v6z'/%3E%3C/svg%3E") repeat-x bottom / 36px 16px;
  margin-top: -16px; position: relative; z-index: 1; }
.download .floor { margin-bottom: 0; }
.foot-grid { display: grid; gap: 32px; padding-top: 40px; padding-bottom: 32px; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }
.foot .logo.light { display: none; }
.foot .logo.dark { display: block; }
.foot-tag { font-weight: 800; margin: 14px 0 6px; color: #85C06C; }
.foot-about { font-size: 14px; color: #B9C3C9; margin: 0; max-width: 32ch; }
.foot-col { display: grid; align-content: start; gap: 8px; font-size: 15px; }
.foot-col h3 { font-size: 15px; color: #85C06C; margin: 0 0 4px; }
.foot-col a { color: #DFF8CF; text-decoration: none; width: fit-content; }
.foot-col a:hover { color: #85C06C; text-decoration: underline; }
.foot-dl .stores { justify-content: flex-start; margin-top: 4px; }
.foot-dl .badge img { height: 40px; }
.foot-apk { font-weight: 800; }
.foot-bottom { border-top: 1px solid #1D423D; }
.foot-bottom-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 14px; padding-bottom: 18px;
  font-size: 13px; color: #95A0A7; }



.preview-bar { background: var(--medal); color: #061720; text-align: center; font-weight: 800; padding: 6px; font-size: 14px; }
