/* slimshot.app — one stylesheet for / and /ar/. Colors and type follow the Slim Shot app
   (lib/core/constants/app_colors.dart, app_typography.dart). */
:root {
  --sage: #4a7c59;
  --sage-d: #2d5a3d;
  --sage-l: #6b9b7a;
  --sage-ink: #3b6347;
  --mint: #e8efe6;
  --mint-2: #e5f1e6;
  --cream: #f5f3e7;
  --gold: #ffd43b;
  --gold-d: #e9b814;
  --ink: #1d2420;
  --ink-2: #3e4843;
  --ink-3: #55605a;
  --line: #d7e2d9;
  --card: #ffffff;
  --radius: 22px;
  --shadow: 0 18px 40px rgba(29, 36, 32, 0.12);
  --font: "Outfit", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Outfit", system-ui, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream) linear-gradient(180deg, var(--mint) 0%, #f2f4ee 40%, var(--cream) 100%) no-repeat;
  line-height: 1.55;
  font-size: 17px;
}
[lang="ar"] body, body[dir="rtl"] { font-family: var(--font-ar); }
html, body { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font); line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: var(--font-ar); letter-spacing: 0; line-height: 1.25; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--sage-d); outline-offset: 3px; border-radius: 8px; }
.latin { font-family: var(--font); }
bdi { unicode-bidi: isolate; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); background: rgba(232, 239, 230, 0.78); border-bottom: 1px solid rgba(74, 124, 89, 0.12); }
.nav .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--font); font-weight: 700; font-size: 19px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.links { display: flex; gap: 22px; margin-inline-start: auto; font-size: 15px; }
.links a { text-decoration: none; color: var(--ink-2); }
.links a:hover { color: var(--sage-d); }
.langs { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: 14px; background: rgba(255,255,255,.6); }
.langs a { padding: 12px 14px; min-width: 48px; text-align: center; text-decoration: none; color: var(--ink-2); }
.langs a.on { background: var(--sage); color: #fff; }
.cta-sm { text-decoration: none; background: var(--ink); color: #fff; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.cta-sm:hover { background: var(--sage-d); }

/* ---------- buttons ---------- */
.play {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  background: linear-gradient(180deg, var(--gold), var(--gold-d)); color: var(--ink);
  border-radius: 18px; padding: 12px 22px 12px 18px; box-shadow: 0 10px 22px rgba(233, 184, 20, 0.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
[dir="rtl"] .play { padding: 12px 18px 12px 22px; }
.play:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(233, 184, 20, 0.45); }
.play svg { width: 28px; height: 28px; flex: none; }
.play span { display: flex; flex-direction: column; line-height: 1.1; text-align: start; }
.play small { font-size: 12px; font-weight: 600; opacity: .8; }
.play b { font-family: var(--font); font-size: 20px; }
/* Google's official Play badge, unmodified (trimmed of its transparent margin only) */
.gplay { display: inline-block; line-height: 0; border-radius: 10px; transition: transform .2s ease; }
.gplay img { height: 56px; width: auto; }
.gplay:hover { transform: translateY(-2px); }
/* App Store: not live yet, so a quiet label, not a link and not Apple's badge artwork */
.soon { display: inline-flex; align-items: center; border: 1.5px dashed var(--line); background: rgba(255,255,255,.55); color: var(--ink-2); border-radius: 18px; padding: 12px 20px; min-height: 56px; }
.soon > span { display: flex; flex-direction: column; line-height: 1.1; text-align: start; }
.soon small { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.soon b { font-family: var(--font); font-size: 20px; }
.stores { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; }
.band .stores { position: relative; z-index: 1; }
.band .soon { border-color: rgba(255,255,255,.6); background: var(--sage-d); color: #fff; }
.band .soon small { color: rgba(255,255,255,.85); }

/* ---------- hero ---------- */
.hero { padding: 56px 0 40px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--sage-ink); background: rgba(255,255,255,.7); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }
.hero h1 { font-size: clamp(40px, 4.6vw, 60px); text-wrap: balance; margin: 18px 0 18px; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--sage); display: block; }
.hero .sub { font-size: 19px; color: var(--ink-2); max-width: 34em; }
.hero-actions { display: flex; align-items: center; gap: 18px; margin-top: 28px; flex-wrap: wrap; }
.qr { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-3); }
.qr img { width: 74px; height: 74px; background: #fff; border-radius: 12px; padding: 6px; border: 1px solid var(--line); }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--ink-3); display: flex; gap: 6px 14px; flex-wrap: wrap; }
.hero-note span { white-space: nowrap; }
.hero-note span::before { content: "✓ "; color: var(--sage); font-weight: 700; }
.stage { position: relative; display: flex; justify-content: center; }
.glow { position: absolute; inset: 8% 4% 4%; background: radial-gradient(closest-side, rgba(255, 212, 59, 0.35), rgba(255, 212, 59, 0) 70%), radial-gradient(closest-side at 30% 70%, rgba(74, 124, 89, 0.25), rgba(74, 124, 89, 0) 70%); filter: blur(10px); z-index: 0; }

/* ---------- the coded phone ---------- */
.phone { position: relative; z-index: 1; width: 300px; height: 620px; border-radius: 46px; background: #161b18; padding: 10px; box-shadow: 0 40px 80px rgba(29, 36, 32, 0.28), inset 0 0 0 2px #2a322d; flex: none; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 90px; height: 24px; border-radius: 14px; background: #0b0e0c; transform: translateX(-50%); z-index: 8; }
.scr { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: linear-gradient(180deg, #edf3eb 0%, #f2f4ee 55%, #f6f2e3 100%); font-family: var(--font); }
[dir="rtl"] .scr { font-family: var(--font-ar); }
.sbar { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; padding: 15px 26px 0; color: var(--ink); direction: ltr; }
.hi { padding: 16px 18px 2px; }
.hi small { font-size: 12px; color: var(--ink-3); }
.hi b { display: block; font-size: 22px; font-family: var(--font); }
.pcard { position: relative; margin: 8px 14px; border-radius: 22px; padding: 14px; background: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.05); }
.pnext { background: #e3f0e4; display: flex; align-items: center; gap: 6px; height: 102px; }
.pnext img { width: 72px; transform: rotate(-8deg); flex: none; }
[dir="rtl"] .pnext img { transform: scaleX(-1) rotate(-8deg); }
.pnext small, .pw small { display: block; font-size: 12px; color: var(--sage-ink); font-weight: 600; }
.swap { position: relative; height: 30px; min-width: 150px; }
.swap > span { position: absolute; inset: 0; font-size: 19px; font-weight: 700; opacity: 0; white-space: nowrap; }
.ppen { display: flex; align-items: center; gap: 10px; height: 74px; }
.tile { width: 50px; height: 50px; border-radius: 14px; border: 1px solid var(--line); background: #f7faf6; display: flex; align-items: center; justify-content: center; flex: none; }
.tile img { width: 44px; }
.cnt { position: relative; height: 22px; min-width: 170px; font-size: 14px; font-weight: 600; }
.cnt > span { position: absolute; inset: 0; opacity: 0; white-space: nowrap; }
.refill { font-size: 12px; color: #7a5200; opacity: 0; margin-top: 3px; font-weight: 600; }
.pw { height: 116px; }
.pw .kg { font-size: 22px; font-weight: 700; }
.pw svg { position: absolute; inset-inline: 12px; bottom: 10px; width: calc(100% - 24px); height: 42px; }
.pw path.ln { stroke: var(--sage); stroke-width: 3; fill: none; stroke-linecap: round; stroke-dasharray: 300; stroke-dashoffset: 300; }
.pw path.ar { fill: url(#wfill); opacity: 0; }
.note { position: absolute; inset-inline: 10px; top: -100px; background: rgba(255,255,255,.97); border-radius: 18px; padding: 10px 12px; box-shadow: 0 12px 26px rgba(0,0,0,.18); display: flex; gap: 10px; align-items: center; font-size: 13px; z-index: 7; }
.note img { width: 32px; height: 32px; border-radius: 9px; flex: none; }
.note b { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 600; }
.ptoast { position: absolute; left: 50%; bottom: -70px; transform: translateX(-50%); background: var(--sage-ink); color: #fff; border-radius: 14px; padding: 10px 16px; font-size: 14px; white-space: nowrap; z-index: 7; box-shadow: 0 10px 20px rgba(0,0,0,.15); }
.ptap { position: absolute; width: 46px; height: 46px; border-radius: 50%; background: rgba(233, 184, 20, .55); left: 128px; top: 168px; transform: scale(0); z-index: 6; }
.pnav { position: absolute; bottom: 14px; inset-inline: 14px; height: 54px; border-radius: 22px; background: linear-gradient(180deg, #5c7a68, #45604f); display: flex; justify-content: space-around; align-items: center; }
.pnav i { width: 22px; height: 22px; border-radius: 7px; border: 2px solid rgba(233, 196, 80, .9); }
.pnav i.on { background: rgba(233, 196, 80, .9); }

/* floating cards around the hero phone */
.float { position: absolute; z-index: 3; background: rgba(255,255,255,.95); border-radius: 16px; padding: 10px 14px; box-shadow: var(--shadow); font-size: 14px; animation: bob 6s ease-in-out infinite; }
.float b { display: block; font-family: var(--font); font-size: 18px; }
[dir="rtl"] .float b { font-family: var(--font-ar); }
.float small { color: var(--ink-3); font-size: 12px; }
/* over empty parts of the screen: right of the greeting, and the tab bar */
.f1 { top: 9%; inset-inline-end: -12%; }
.f2 { bottom: 5%; inset-inline-start: -10%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* the 12-second loop: notification, due today, tap, logged, pen counted, weight */
.loop { animation-duration: 12s; animation-iteration-count: infinite; animation-timing-function: ease-in-out; }
.n1 { animation-name: n1; } .n2 { animation-name: n2; }
@keyframes n1 { 0%, 4% { top: -100px; } 8%, 20% { top: 50px; } 24%, 100% { top: -100px; } }
@keyframes n2 { 0%, 26% { top: -100px; } 30%, 42% { top: 50px; } 46%, 100% { top: -100px; } }
.s1 { animation-name: s1; } .s2 { animation-name: s2; } .s3 { animation-name: s3; }
@keyframes s1 { 0%, 24% { opacity: 1; } 26%, 100% { opacity: 0; } }
@keyframes s2 { 0%, 24% { opacity: 0; } 26%, 54% { opacity: 1; } 56%, 100% { opacity: 0; } }
@keyframes s3 { 0%, 54% { opacity: 0; } 56%, 97% { opacity: 1; } 100% { opacity: 0; } }
.tp { animation-name: tp; }
@keyframes tp { 0%, 50% { transform: scale(0); opacity: 1; } 53% { transform: scale(1); opacity: 1; } 57%, 100% { transform: scale(1.7); opacity: 0; } }
.ts { animation-name: ts; }
@keyframes ts { 0%, 54% { bottom: -70px; } 58%, 68% { bottom: 82px; } 72%, 100% { bottom: -70px; } }
.c1 { animation-name: c1; } .c2 { animation-name: c2; } .rf { animation-name: rf; }
@keyframes c1 { 0%, 60% { opacity: 1; } 62%, 100% { opacity: 0; } }
@keyframes c2 { 0%, 60% { opacity: 0; } 62%, 97% { opacity: 1; } 100% { opacity: 0; } }
@keyframes rf { 0%, 64% { opacity: 0; } 68%, 97% { opacity: 1; } 100% { opacity: 0; } }
.lnA { animation-name: lnA; } .arA { animation-name: arA; }
@keyframes lnA { 0%, 74% { stroke-dashoffset: 300; } 88%, 97% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 300; } }
@keyframes arA { 0%, 84% { opacity: 0; } 90%, 97% { opacity: 1; } 100% { opacity: 0; } }
.k1 { animation-name: k1; } .k2 { animation-name: k2; }
@keyframes k1 { 0%, 80% { opacity: 1; } 82%, 100% { opacity: 0; } }
@keyframes k2 { 0%, 80% { opacity: 0; } 82%, 97% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- strip ---------- */
.strip { padding: 18px 0 8px; }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 10px 10px; align-items: center; justify-content: center; }
.strip .lab { font-size: 14px; color: var(--ink-3); margin-inline-end: 6px; }
[dir="rtl"] .med, [dir="rtl"] .hi b { font-family: var(--font-ar); }
.med { background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 15px; font-weight: 600; font-family: var(--font); }
.tm { text-align: center; font-size: 12.5px; color: var(--ink-3); margin-top: 10px; }

/* ---------- sections ---------- */
.sec { padding: 88px 0; }
.intro { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.kicker { font-size: 14px; font-weight: 700; color: var(--sage-ink); letter-spacing: .02em; }
.intro h2 { font-size: clamp(32px, 4.4vw, 48px); margin: 10px 0 14px; text-wrap: balance; }
.nw { white-space: nowrap; }
.intro p { font-size: 18px; color: var(--ink-2); }

/* dose week */
.week { background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.55) 20%, rgba(255,255,255,.55) 80%, rgba(255,255,255,0)); }
.week-grid { display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center; max-width: 920px; margin: 0 auto; }
.tl { list-style: none; margin: 0; padding: 0; position: relative; }
.tl::before { content: ""; position: absolute; inset-inline-start: 9px; top: 12px; bottom: 12px; border-inline-start: 2px dashed #a9c6b1; }
.tl li { position: relative; padding-inline-start: 40px; margin: 0 0 18px; opacity: .8; transition: opacity .4s ease, transform .4s ease; }
.tl li::before { content: ""; position: absolute; inset-inline-start: 0; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid #b8d0be; }
.tl li.on { opacity: 1; transform: translateX(6px); }
[dir="rtl"] .tl li.on { transform: translateX(-6px); }
.tl li.on::before { background: var(--sage); border-color: var(--sage-d); }
.tl b { display: block; font-family: var(--font); font-size: 15px; color: var(--sage-ink); }
[dir="rtl"] .tl b { font-family: var(--font-ar); }
.tl span { font-size: 19px; font-weight: 600; }
.tl em { display: block; font-style: normal; font-size: 15px; color: var(--ink-3); font-weight: 400; }

/* feature cards */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.fcard { background: var(--card); border-radius: 28px; padding: 30px; box-shadow: 0 8px 26px rgba(29,36,32,.06); border: 1px solid rgba(215,226,217,.7); position: relative; overflow: hidden; }
.fcard h3 { font-size: 26px; margin: 14px 0 10px; }
.fcard p { color: var(--ink-2); font-size: 16px; }
.fcard .ic { width: 84px; height: 84px; object-fit: contain; margin: -6px 0 0 -6px; }
[dir="rtl"] .fcard .ic { margin: -6px -6px 0 0; }
.minis { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.minis span { font-size: 13.5px; background: var(--mint-2); color: var(--sage-d); border-radius: 999px; padding: 5px 11px; font-weight: 600; }
.demo { margin-top: 20px; background: #f3f6f1; border-radius: 18px; padding: 14px; }
.bar-row { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 600; }
.meter { height: 10px; border-radius: 99px; background: #e2ebe4; margin-top: 10px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--sage-l), var(--sage)); border-radius: 99px; transform: scaleX(.5); transform-origin: left center; transition: transform 1.4s cubic-bezier(.2,.8,.2,1); }
[dir="rtl"] .meter i { transform-origin: right center; }
.in .meter i { transform: scaleX(.25); }
.leaf { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.leaf b { color: var(--ink); }
.chart { width: 100%; height: 90px; }
.chart path.l { stroke: var(--sage); stroke-width: 3; fill: none; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 2s ease .2s; }
.in .chart path.l { stroke-dashoffset: 0; }
.chat { display: flex; flex-direction: column; gap: 8px; }
.bub { max-width: 86%; padding: 10px 13px; border-radius: 16px; font-size: 14px; line-height: 1.45; opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.bub.u { align-self: flex-end; background: var(--sage); color: #fff; border-end-end-radius: 6px; }
.bub.a { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-end-start-radius: 6px; }
.in .bub { opacity: 1; transform: none; }
.in .bub:nth-child(2) { transition-delay: .7s; }
.in .bub:nth-child(3) { transition-delay: 1.4s; }

/* plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 860px; margin: 0 auto; }
.plan { background: #fff; border-radius: 28px; padding: 30px; border: 1px solid var(--line); }
.plan.pro { border: 2px solid var(--gold-d); background: linear-gradient(180deg, #fffdf2, #fff); }
.plan h3 { font-size: 26px; }
.plan .tag { display: inline-block; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--mint-2); color: var(--sage-d); margin-top: 8px; }
.plan.pro .tag { background: #fff3c4; color: #6b4b00; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; }
.plan li { padding: 8px 0; border-top: 1px solid #edf1ec; display: flex; gap: 10px; font-size: 16px; }
.plan li::before { content: "✓"; color: var(--sage); font-weight: 800; }
.plan.pro li::before { color: #8a6400; }

/* trust */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tcard { background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: 24px; padding: 26px; }
.tcard img { width: 64px; height: 64px; object-fit: contain; }
.tcard h3 { font-size: 21px; margin: 10px 0 8px; }
.tcard p { color: var(--ink-2); font-size: 15.5px; }

/* faq */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; font-family: var(--font); }
[dir="rtl"] .faq summary { font-family: var(--font-ar); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--sage); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--ink-2); font-size: 16px; }

/* final band */
.band { margin-top: 40px; border-radius: 36px; background: radial-gradient(circle at 85% 20%, rgba(255,212,59,.25), rgba(255,212,59,0) 40%), linear-gradient(140deg, var(--sage) 0%, var(--sage-d) 100%); color: #fff; padding: 64px 24px; text-align: center; position: relative; overflow: hidden; margin-inline: max(20px, calc((100% - var(--wrap)) / 2)); }
.band h2 { font-size: clamp(32px, 4.6vw, 52px); margin-bottom: 14px; color: #fff; text-wrap: balance; }
.band :focus-visible { outline-color: #fff; }
.band p { color: #fff; font-size: 18px; margin-bottom: 26px; }
.band .pen3d { position: absolute; width: 220px; opacity: .9; inset-inline-end: -30px; bottom: -30px; transform: rotate(-18deg); }
.band .qr { justify-content: center; color: #fff; margin-top: 18px; }

/* footer */
.foot { padding: 48px 0 40px; font-size: 14.5px; color: var(--ink-3); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.foot nav a { text-decoration: none; color: var(--ink-2); display: inline-block; padding: 12px 2px; min-width: 44px; text-align: center; }
.foot nav a:hover { color: var(--sage-d); }
.foot .fine { width: 100%; font-size: 13px; line-height: 1.6; }

/* reveal on scroll */
html.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
html.js .rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .links { display: none; }
  .langs { margin-inline-start: auto; }
  .hero { padding-top: 32px; }
  .hero .wrap, .week-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero .sub { margin: 0 auto; }
  .hero-actions, .hero-note { justify-content: center; }
  .qr { display: none; }
  .stage { margin-top: 10px; }
  .f1 { inset-inline-end: 0; }
  .f2 { inset-inline-start: 0; }
  /* one column: the hero phone already shows this loop, so show every step lit instead */
  .week-grid .phone-slot { display: none; }
  .tl li, .tl li.on, [dir="rtl"] .tl li.on { opacity: 1; transform: none; }
  .tl li::before { background: var(--sage); border-color: var(--sage-d); }
  .grid, .plans, .trust { grid-template-columns: 1fr; }
  .sec { padding: 64px 0; }
}
@media (max-width: 600px) {
  .float { display: none; }
  .band .pen3d { width: 130px; bottom: -50px; opacity: .5; }
  /* sticky download bar once the hero button has scrolled away (site.js adds .show) */
  html.js .mbar { display: flex; position: fixed; z-index: 45; inset-inline: 0; bottom: 0; justify-content: center; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(232, 239, 230, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid rgba(74, 124, 89, 0.15); transform: translateY(110%); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; }
  html.js .mbar.show { transform: none; visibility: visible; transition: transform .3s ease; }
  .mbar .gplay img { height: 48px; }
}
.mbar { display: none; }
@media (max-width: 420px) {
  .hero-actions { gap: 12px; }
  .play, [dir="rtl"] .play { padding: 11px 16px; gap: 10px; }
  .soon { padding: 10px 14px; min-height: 52px; }
  .play b, .soon b { font-size: 18px; }
  .gplay img { height: 52px; }
  .cta-sm { display: none; }
  .phone { transform: scale(.92); transform-origin: top center; margin-bottom: -48px; }
  .float { font-size: 12.5px; padding: 8px 11px; }
  .float b { font-size: 15px; }
  body { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .swap > span.s2, .cnt > span.c1, .swap > span.k1 { opacity: 1; }
  .pw path.ln { stroke-dashoffset: 0; }
  html.js .rv { opacity: 1; transform: none; }
  .tl li { opacity: 1; }
  .bub { opacity: 1; transform: none; }
  .chart path.l { stroke-dashoffset: 0; }
}

/* phone: water row and the faint weight line under the animated one */
.pwater { display: flex; align-items: center; gap: 10px; height: 60px; }
.pwater .drop { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: linear-gradient(135deg, #9fd0e6, #4dabf7); flex: none; margin-inline-start: 6px; }
.pwater small { display: block; font-size: 12px; color: var(--sage-ink); font-weight: 600; }
.pwater b { font-size: 15px; }
.pwater .ring { margin-inline-start: auto; width: 34px; height: 34px; border-radius: 50%; background: conic-gradient(#4dabf7 0 70%, #e2ebe4 70% 100%); -webkit-mask: radial-gradient(circle, transparent 10px, #000 11px); mask: radial-gradient(circle, transparent 10px, #000 11px); }
.pw path.base { stroke: #dbe6dd; stroke-width: 3; fill: none; stroke-linecap: round; }

/* classes that replace inline style="" (the CSP allows no inline styles) */
.good { color: var(--sage-ink); }
.nf { text-align: center; min-height: 70vh; }
.nf img { margin: 0 auto 10px; }
.nf h1 { font-size: 40px; margin-bottom: 12px; }
.nf p { color: var(--ink-2); margin-bottom: 24px; }
.nf .play { min-height: 48px; }
.nf .nf-ar { margin: -8px 0 20px; }
.nf .nf-ar a { display: inline-block; padding: 12px 8px; color: var(--sage-ink); }
.ios section { max-width: 560px; margin: 0 auto; }
.ios section + section { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.ios h1, .ios h2 { font-size: 30px; margin-bottom: 10px; text-wrap: balance; }
.ios [dir="rtl"] h1 { font-family: var(--font-ar); }
.ios [dir="rtl"] { font-family: var(--font-ar); }
