/* mivchan-rishuy.co.il: design tokens follow the simulator itself (Apple-like neutrals, SF system stack,
   answer colours). Glass primitive + selected bubble from the navigation-glass-menu-bar skill. */
:root {
  --paper: #F5F5F2; --surface: #FFFFFF; --soft: #EFEFEB; --line: #E6E6E1;
  --ink: #1D1D1F; --muted: #6E6E73; --accent: #1D1D1F; --accent-ink: #FFFFFF;
  --ok: #2C8C46; --ok-soft: #A6DCAE; --ok-ink: #174D25;
  --bad: #C2392F; --bad-soft: #F6C6C2; --bad-ink: #7A1D17;
  --ans: #5B4BC4; --ans-soft: #C3BAEB; --ans-ink: #2F2470;
  --skip: #22798A; --skip-soft: #A9D7E0;
  --warn: #A77A00; --warn-soft: #F9DF9A; --warn-ink: #5C4200;
  --wa: #177A3D; --wa-ink: #FFFFFF;
  --glass-tint: rgba(255, 255, 255, .55); --glass-ink: #1D1D1F;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 10px 30px rgba(15, 23, 42, .08);
  --r: 12px; --r-lg: 22px; --r-pill: 999px;
  --f-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Noto Sans Hebrew", "Noto Sans Arabic", "Segoe UI", Roboto, Arial, sans-serif;
  --f-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Noto Sans Hebrew", "Noto Sans Arabic", "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-glass: cubic-bezier(.175, .885, .32, 1.6);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #000000; --surface: #1C1C1E; --soft: #2C2C2E; --line: #2C2C2E;
    --ink: #F5F5F7; --muted: #A1A1A6; --accent: #F5F5F7; --accent-ink: #1C1C1E;
    --ok: #5FD07A; --ok-soft: #2F6E3E; --ok-ink: #DDF7E3;
    --bad: #FF6B5F; --bad-soft: #6E2520; --bad-ink: #FFE1DE;
    --ans: #A79BFF; --ans-soft: #4A3F96; --ans-ink: #ECE8FF;
    --skip: #5CC4D6; --skip-soft: #1F5F6B;
    --warn: #F2C24B; --warn-soft: #7A5C10; --warn-ink: #FFF1CC;
    --wa: #177A3D;
    --glass-tint: rgba(40, 40, 44, .55); --glass-ink: #F5F5F7;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #000000; --surface: #1C1C1E; --soft: #2C2C2E; --line: #2C2C2E;
  --ink: #F5F5F7; --muted: #A1A1A6; --accent: #F5F5F7; --accent-ink: #1C1C1E;
  --ok: #5FD07A; --ok-soft: #2F6E3E; --ok-ink: #DDF7E3;
  --bad: #FF6B5F; --bad-soft: #6E2520; --bad-ink: #FFE1DE;
  --ans: #A79BFF; --ans-soft: #4A3F96; --ans-ink: #ECE8FF;
  --skip: #5CC4D6; --skip-soft: #1F5F6B;
  --warn: #F2C24B; --warn-soft: #7A5C10; --warn-ink: #FFF1CC;
  --wa: #177A3D;
  --glass-tint: rgba(40, 40, 44, .55); --glass-ink: #F5F5F7;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .45);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.55 var(--f-body); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
:lang(ar) body, body:lang(ar) { font-family: -apple-system, BlinkMacSystemFont, "Noto Sans Arabic", "SF Pro Text", "Segoe UI", Arial, sans-serif; }
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ans); outline-offset: 3px; border-radius: 6px; }
.glass-defs { position: absolute; width: 0; height: 0; pointer-events: none; }
.wrap { width: min(1120px, 100%); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }
.muted { color: var(--muted); }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.ico--fill { fill: currentColor; stroke: none; }

/* ---------- type ---------- */
.eyebrow { margin: 0 0 14px; font-weight: 600; font-size: 15px; color: var(--muted); letter-spacing: .01em; }
.h2 { font: 800 clamp(30px, 5vw, 48px)/1.08 var(--f-display); letter-spacing: -.025em; margin: 0 0 12px; }
.h2--sm { font-size: clamp(28px, 4vw, 38px); }
.lead { margin: 0 0 36px; font-size: clamp(17px, 2.1vw, 21px); color: var(--muted); max-width: 40em; }
.lead--sm { font-size: 17px; margin-bottom: 26px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: var(--r-pill); border: 0;
  font: 600 16px/1.2 var(--f-body); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--ink { background: var(--accent); color: var(--accent-ink); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--soft { background: var(--soft); color: var(--ink); }
.btn--wa { background: var(--wa); color: var(--wa-ink); }
.btn--lg { min-height: 52px; padding: 14px 26px; font-size: 17px; }
.btn--xs { min-height: 30px; padding: 6px 12px; font-size: 13px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ============ GLASS PRIMITIVE ============ */
.glass { position: relative; display: flex; align-items: center; isolation: isolate; overflow: hidden;
  border-radius: var(--r-pill); color: var(--glass-ink);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 18px rgba(15, 23, 42, .10), 0 18px 40px rgba(15, 23, 42, .08); }
.glass__frost, .glass__tint, .glass__edge { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.glass__frost { z-index: 0; overflow: hidden; isolation: isolate;
  -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6); filter: url(#glass-distortion); }
.glass__tint { z-index: 1; background: var(--glass-tint);
  box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, .55), inset 0 -12px 18px -14px rgba(8, 12, 28, .35); }
.glass__edge { z-index: 2; padding: 1px;
  background: linear-gradient(170deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.55) 30%, rgba(255,255,255,.14) 58%, rgba(255,255,255,.32) 78%, rgba(10,14,32,.30) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.glass__body { position: relative; z-index: 3; display: flex; align-items: center; }

/* ============ NAV ============ */
.nav { position: fixed; top: max(10px, env(safe-area-inset-top)); left: 0; right: 0; z-index: 100; pointer-events: none; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: min(1120px, 100%); margin: 0 auto; padding: 0 12px; }
.nav__inner > * { pointer-events: auto; }
@keyframes navGlassIn { from { opacity: 0; transform: translateY(-24px) scale(.92); } to { opacity: 1; transform: none; } }
.nav__logo, .nav__bar, .nav__tools > * { animation: navGlassIn .8s var(--ease-glass) both; }
.nav__bar { animation-delay: .06s; } .nav__tools > * { animation-delay: .12s; }
.nav__logo { padding: 7px 14px 7px 12px; text-decoration: none; min-height: 44px; }
.nav__logo-body { gap: 8px; }
.nav__mark { width: 26px; height: 26px; display: block; }
.nav__logo-name { font: 700 16px/1 var(--f-display); letter-spacing: -.01em; white-space: nowrap; }
.nav__bar { padding: 5px; }
.nav__links { list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav__link { position: relative; display: block; padding: 9px 15px; border-radius: var(--r-pill); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; transition: background .3s, color .3s; }
.nav__link:hover { background: rgba(127, 127, 127, .12); }
.nav__link.is-active, .lang__option.is-active {
  background: linear-gradient(180deg, rgba(255,255,255,.66) 0%, rgba(255,255,255,.38) 100%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.9), 0 1px 2px rgba(12,16,34,.12), 0 3px 8px rgba(12,16,34,.14);
  color: #1D1D1F;
}
.nav__link.is-active::after, .lang__option.is-active::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(170deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.42) 52%, rgba(10,14,32,.30) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.nav__tools { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 44px; height: 44px; justify-content: center; border: 0; padding: 0; cursor: pointer; background: none; }
.icon-btn .glass__body { justify-content: center; width: 100%; height: 100%; }
.ico--moon { display: none; }
:root[data-theme="dark"] .ico--sun { display: none; } :root[data-theme="dark"] .ico--moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ico--sun { display: none; } :root:not([data-theme="light"]) .ico--moon { display: block; } }
.nav__cta { min-height: 44px; padding: 10px 18px; box-shadow: var(--shadow); }
.nav__burger { display: none; }

/* language dropdown */
.lang { position: relative; }
.lang__btn { height: 44px; padding: 0 12px; border: 0; cursor: pointer; background: none; font: 600 15px/1 var(--f-body); }
.lang__btn-body { gap: 6px; }
.ico--chev { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.lang__btn[aria-expanded="true"] .ico--chev { transform: rotate(180deg); }
.lang__list { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; display: flex; flex-direction: column; gap: 2px;
  list-style: none; margin: 0; padding: 6px; min-width: 150px; border-radius: 18px; z-index: 5;
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); background: var(--glass-tint);
  border: 1px solid rgba(255,255,255,.35); }
.lang__list[hidden] { display: none; }
.lang__option { position: relative; padding: 11px 14px; border-radius: 12px; cursor: pointer; font-weight: 500; text-align: start; }
.lang__option:hover, .lang__option:focus-visible { background: rgba(127,127,127,.14); }

/* mobile menu */
.nav__menu { position: absolute; top: calc(100% + 8px); inset-inline: 12px; border-radius: 22px; padding: 8px; pointer-events: auto; }
.nav__menu[hidden] { display: none; }
.nav__menu ul { flex-direction: column; align-items: stretch; width: 100%; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav__menu a { display: block; padding: 14px 16px; border-radius: 14px; text-decoration: none; font-weight: 600; font-size: 17px; }
.nav__menu a:hover { background: rgba(127,127,127,.14); }
.nav__menu-cta { background: var(--accent); color: var(--accent-ink) !important; text-align: center; margin-top: 6px; }

@media (max-width: 900px) {
  .nav__bar { display: none; }
  .nav__burger { display: flex; }
}
@media (max-width: 560px) {
  .nav__cta { display: none; }
  .nav__logo-name { font-size: 15px; }
  .lang__cur { display: none; }
  .lang__btn { width: 44px; padding: 0; justify-content: center; }
  .lang__btn .ico--chev { display: none; }
  .nav__tools { gap: 6px; }
}
@media (max-width: 360px) { .nav__logo-name { display: none; } }

/* ============ HERO ============ */
.hero { padding: 108px 0 40px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 80%; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 50% at 75% 30%, color-mix(in srgb, var(--ans) 16%, transparent), transparent 70%),
              radial-gradient(35% 45% at 20% 10%, color-mix(in srgb, var(--ok) 12%, transparent), transparent 70%); }
.hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero { padding-top: 140px; } .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.hero__h1 { font: 800 clamp(36px, 5.4vw, 62px)/1.06 var(--f-display); letter-spacing: -.035em; margin: 0 0 20px; }
.hero__sub { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ctas--center { justify-content: center; }
.hero__price { margin: 18px 0 0; font-weight: 600; }
.powered { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px; text-decoration: none; color: var(--muted); font-size: 14px; }
.powered b { color: var(--ink); font-weight: 700; }
.powered:hover b { text-decoration: underline; }
.powered--inline { margin-top: 18px; padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); }

/* phone mock */
.hero__visual { display: flex; justify-content: center; }
.phone { position: relative; width: min(340px, 86vw); border-radius: 44px; padding: 12px; background: var(--ink);
  box-shadow: 0 30px 60px rgba(15, 23, 42, .22), 0 10px 20px rgba(15, 23, 42, .12); }
:root[data-theme="dark"] .phone { background: #3A3A3C; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .phone { background: #3A3A3C; } }
.phone__notch { position: absolute; top: 20px; left: 50%; width: 92px; height: 24px; transform: translateX(-50%); background: #000; border-radius: 14px; z-index: 2; }
.sim { position: relative; background: var(--paper); border-radius: 34px; padding: 52px 16px 18px; min-height: 560px; overflow: hidden; }
.sim__top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.sim__count b { color: var(--ink); }
.sim__clock { font: 600 14px/1 "SF Mono", ui-monospace, Menlo, monospace; color: var(--ink); background: var(--surface); padding: 6px 10px; border-radius: 10px; }
.sim__bar { height: 6px; border-radius: 6px; background: var(--soft); margin: 12px 0 18px; overflow: hidden; }
.sim__bar i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--ink); border-radius: inherit; transition: width .6s var(--ease); }
.sim__bar--lg { height: 10px; margin: 10px 0 14px; }
.sim__bar--lg i { background: linear-gradient(90deg, var(--ok), var(--skip)); }
.sim__stem { font: 700 18px/1.35 var(--f-display); margin: 0 0 14px; }
.sim__opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.opt { display: flex; gap: 10px; align-items: center; padding: 11px 12px; border-radius: var(--r); background: var(--surface); border: 1.5px solid var(--line); font-size: 14px; line-height: 1.35;
  transition: background .35s var(--ease), border-color .35s var(--ease), color .35s; }
.opt > b { flex: 0 0 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--soft); font-size: 13px; transition: background .35s, color .35s; }
.sim__marks { display: flex; gap: 8px; margin: 14px 0 0; }
.chip { padding: 7px 14px; border-radius: var(--r-pill); font-size: 13px; font-weight: 600; background: var(--surface); border: 1.5px solid var(--line); transition: all .35s var(--ease); }
.sim__why { margin-top: 14px; padding: 12px 14px; border-radius: var(--r); background: color-mix(in srgb, var(--ok) 12%, var(--surface)); border: 1.5px solid color-mix(in srgb, var(--ok) 35%, transparent);
  opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.sim__why b { display: block; font-size: 13px; color: var(--ok); margin-bottom: 4px; }
:root[data-theme="dark"] .sim__why b { color: var(--ok); }
.sim__why p { margin: 0; font-size: 13px; line-height: 1.5; }
.sim__seen { display: inline-block; margin-top: 8px; font-size: 12px; color: var(--muted); }
.tap { position: absolute; width: 34px; height: 34px; border-radius: 50%; background: rgba(91, 75, 196, .28); border: 2px solid rgba(91, 75, 196, .55);
  top: 0; left: 0; opacity: 0; pointer-events: none; transform: translate(var(--tx, 50%), var(--ty, 300px)); transition: transform .7s var(--ease), opacity .3s; }

/* hero demo steps: 1 tap option A → 2 marked certain → 3 answer shown → 4 explanation */
[data-demo="hero"]:is([data-step="1"], [data-step="2"]) .tap { opacity: 1; }
[data-demo="hero"]:is([data-step="1"], [data-step="2"]) .opt--a { background: color-mix(in srgb, var(--ans) 14%, var(--surface)); border-color: var(--ans); }
[data-demo="hero"]:is([data-step="1"], [data-step="2"]) .opt--a > b { background: var(--ans); color: #fff; }
[data-demo="hero"]:is([data-step="2"], [data-step="3"], [data-step="4"]) .chip--certain { background: var(--ok); border-color: var(--ok); color: #fff; }
[data-demo="hero"]:is([data-step="3"], [data-step="4"]) .opt--a,
[data-demo="why"][data-step="3"] .opt--a { background: color-mix(in srgb, var(--ok) 14%, var(--surface)); border-color: var(--ok); }
[data-demo="hero"]:is([data-step="3"], [data-step="4"]) .opt--a > b,
[data-demo="why"][data-step="3"] .opt--a > b { background: var(--ok); color: #fff; }
[data-demo="hero"][data-step="4"] .sim__why, [data-demo="why"][data-step="3"] .sim__why { opacity: 1; transform: none; }

/* stats */
.stats { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li { background: var(--surface); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px; }
.stats b { font: 800 clamp(32px, 5vw, 46px)/1 var(--f-display); letter-spacing: -.03em; }
.stats span { color: var(--muted); font-size: 15px; }

/* ============ SECTIONS ============ */
.section { padding: 80px 0; }
@media (min-width: 960px) { .section { padding: 110px 0; } }
.section--soft { background: var(--surface); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* features */
.feats { display: grid; gap: 16px; }
@media (min-width: 700px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .feats { grid-template-columns: repeat(3, 1fr); } }
.feat { background: var(--surface); border-radius: var(--r-lg); padding: 16px 16px 22px; box-shadow: var(--shadow); }
.feat:nth-child(2) { transition-delay: .06s; } .feat:nth-child(3) { transition-delay: .12s; }
.feat__demo { background: var(--paper); border-radius: 16px; height: 230px; display: grid; place-items: center; padding: 14px; overflow: hidden; margin-bottom: 18px; }
.feat__t { font: 800 22px/1.2 var(--f-display); letter-spacing: -.015em; margin: 0 0 6px; }
.feat__d { margin: 0; color: var(--muted); font-size: 16px; }
.demo { width: 100%; }

/* ring (clock + pomodoro) */
.ring { position: relative; width: 128px; height: 128px; flex: 0 0 auto; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring__bg { stroke: var(--soft); }
.ring__fg { stroke: var(--ink); stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: calc(326.73 * (1 - var(--p, .9))); transition: stroke-dashoffset 1s linear; }
.ring__time { position: absolute; inset: 0; display: grid; place-items: center; font: 700 20px/1 "SF Mono", ui-monospace, Menlo, monospace; }
.d-clock { display: flex; align-items: center; justify-content: center; gap: 18px; }
.d-clock__meta { display: flex; flex-direction: column; gap: 8px; font-size: 14px; align-items: flex-start; }
.d-clock__meta b { font-size: 16px; }

/* explanation demo */
.d-why { display: flex; flex-direction: column; gap: 10px; }
.sim__opts--sm .opt { padding: 9px 10px; font-size: 13px; }
.d-why__btn { align-self: flex-start; transition: background .3s, color .3s; }
[data-demo="why"][data-step="1"] .opt--b, [data-demo="why"][data-step="2"] .opt--b { background: color-mix(in srgb, var(--ans) 14%, var(--surface)); border-color: var(--ans); }
[data-demo="why"][data-step="3"] .opt--b { background: color-mix(in srgb, var(--bad) 12%, var(--surface)); border-color: var(--bad); }
[data-demo="why"][data-step="3"] .opt--b > b { background: var(--bad); color: #fff; }
[data-demo="why"]:is([data-step="2"], [data-step="3"]) .d-why__btn { background: var(--accent); color: var(--accent-ink); }
.sim__why--sm { margin-top: 0; padding: 10px 12px; }
.sim__why--sm p { font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* language demo */
.d-lang { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.d-lang__pills { display: flex; gap: 6px; background: var(--surface); padding: 4px; border-radius: var(--r-pill); direction: ltr; }
.d-lang__pills span { padding: 7px 12px; border-radius: var(--r-pill); font-size: 13px; font-weight: 700; color: var(--muted); transition: all .35s var(--ease); }
.d-lang__pills span.on { background: var(--ink); color: var(--paper); }
.d-lang__card { width: 100%; background: var(--surface); border-radius: var(--r); padding: 14px; border: 1.5px solid var(--line); min-height: 104px; }
.d-lang__q { margin: 0 0 8px; font-weight: 700; font-size: 16px; line-height: 1.35; text-align: start; animation: langIn .5s var(--ease); }
.d-lang__o { margin: 0; font-size: 14px; color: var(--ok); font-weight: 600; text-align: start; }
@keyframes langIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* marathon demo */
.d-mara { display: flex; flex-direction: column; }
.d-mara__t { font-size: 15px; }
.d-mara__num { margin-top: 8px; color: var(--muted); font-size: 14px; }
.d-mara__num b { font: 800 34px/1 var(--f-display); color: var(--ink); letter-spacing: -.02em; }
.d-mara__parts { display: grid; grid-template-columns: repeat(15, 1fr); gap: 4px; }
.d-mara__parts i { height: 14px; border-radius: 4px; background: var(--soft); transition: background .4s; }
.d-mara__parts i.done { background: var(--ok); }
.d-mara__parts i.cur { background: var(--skip); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }

/* review demo */
.d-rev { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.d-rev__chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.d-rev__chips span { padding: 6px 11px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 600; background: var(--surface); border: 1.5px solid var(--line); transition: all .3s var(--ease); }
.d-rev__chips span.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.d-rev__grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; direction: ltr; }
.t { aspect-ratio: 1; border-radius: 6px; transition: opacity .35s, transform .35s var(--ease); position: relative; }
.t--c { background: var(--ok-soft); } .t--b { background: var(--bad-soft); } .t--n { background: var(--soft); border: 1.5px dashed var(--line); }
.t--u { background: var(--ok-soft); } .t--u::after { content: ""; position: absolute; inset: 30%; border-radius: 50%; background: var(--warn); }
.t.dim { opacity: .14; transform: scale(.82); }
.d-rev__note { font-size: 11.5px; color: var(--muted); text-align: center; }

/* focus / rest demo */
.d-pomo { display: flex; align-items: center; justify-content: center; gap: 20px; }
.ring--pomo .ring__fg { stroke: var(--ans); stroke-dashoffset: 326.73; transition: stroke-dashoffset 3s linear, stroke .3s; }
[data-demo="pomo"][data-step="0"] .ring--pomo .ring__fg { stroke-dashoffset: 0; }
[data-demo="pomo"][data-step="1"] .ring--pomo .ring__fg { stroke: var(--skip); stroke-dashoffset: 0; }
.ring__label { position: absolute; inset: 0; display: grid; place-items: center; font-size: 17px; }
.ring__label b { grid-area: 1 / 1; transition: opacity .3s; }
.d-pomo__r { opacity: 0; } [data-demo="pomo"][data-step="1"] .d-pomo__r { opacity: 1; } [data-demo="pomo"][data-step="1"] .d-pomo__f { opacity: 0; }
.d-pomo__legend { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.lg { display: flex; align-items: center; gap: 8px; } .lg i { width: 12px; height: 12px; border-radius: 4px; }
.lg--f i { background: var(--ans); } .lg--r i { background: var(--skip); }

/* small extras list */
.more { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 700px) { .more { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .more { grid-template-columns: repeat(4, 1fr); } }
.more li { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: var(--r); background: var(--surface); font-weight: 600; font-size: 15px; }

/* steps */
.steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--paper); border-radius: var(--r-lg); padding: 22px; }
.step__n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--ink); color: var(--paper); font-weight: 800; margin-bottom: 14px; }
.step h3 { font: 800 20px/1.25 var(--f-display); margin: 0 0 6px; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--muted); }
.step:nth-child(2) { transition-delay: .06s; } .step:nth-child(3) { transition-delay: .12s; } .step:nth-child(4) { transition-delay: .18s; }

/* price */
.price { display: grid; gap: 18px; align-items: start; }
@media (min-width: 900px) { .price { grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; } }
.price__card { background: var(--surface); border-radius: 28px; padding: 28px 22px; box-shadow: var(--shadow); }
.price__amount { margin: 4px 0 6px; font: 800 clamp(64px, 12vw, 92px)/1 var(--f-display); letter-spacing: -.04em; }
.price__amount span { font-size: .5em; }
.price__access { font-weight: 700; font-size: 19px; margin: 0 0 4px; }
.price__ex { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.price__list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.price__list li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.price__list li::before { content: ""; flex: 0 0 20px; height: 20px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; }
.price__pay { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; color: var(--muted); font-size: 14px; }
.pill { padding: 6px 12px; border-radius: var(--r-pill); background: var(--soft); color: var(--ink); font-weight: 600; }
.price__later { font: 700 clamp(21px, 2.6vw, 26px)/1.3 var(--f-display); margin: 0 0 16px; }
.price__note { color: var(--muted); margin: 0; }
.price__note a { font-weight: 700; color: var(--ink); }

/* good to know */
.note { max-width: 780px; }
.note__lead { font: 800 clamp(22px, 3vw, 28px)/1.3 var(--f-display); margin: 0 0 20px; letter-spacing: -.01em; }
.note__list { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 10px; }
.note__list li { position: relative; padding-inline-start: 30px; font-size: 17px; }
.note__list li::before { content: "!"; position: absolute; inset-inline-start: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--warn-soft); color: var(--warn-ink); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.note__end { font-weight: 700; margin: 0; padding: 14px 16px; border-radius: var(--r); background: var(--paper); }

/* form */
.form-wrap { display: flex; justify-content: center; }
.form-card { width: min(620px, 100%); background: var(--surface); border-radius: 28px; padding: 28px 20px; box-shadow: var(--shadow); }
@media (min-width: 600px) { .form-card { padding: 36px; } }
.field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 7px; font-size: 16px; padding: 0; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink);
  font: 400 17px/1.3 var(--f-body); transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E6E73' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: left 14px center; padding-inline-end: 42px; }
[dir="ltr"] .field select { background-position: right 14px center; }
[dir="rtl"] input[dir="ltr"] { text-align: right; }
.field input:focus, .field select:focus { outline: none; border-color: var(--ans); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ans) 22%, transparent); }
.field [aria-invalid="true"] { border-color: var(--bad); }
.field__hint { display: flex; align-items: center; gap: 6px; margin: 7px 0 0; font-size: 14px; color: var(--muted); }
.ico--wa { width: 16px; height: 16px; color: var(--wa); }
.field__err { margin: 6px 0 0; color: var(--bad); font-size: 14px; font-weight: 600; min-height: 0; }
.field__err:empty { display: none; }
.radios { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 520px) { .radios { grid-template-columns: repeat(4, 1fr); } }
.radios label { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 12px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; font-weight: 600; margin: 0; }
.radios input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; }
.radios label:has(input:checked) { border-color: var(--ink); }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.check { display: flex !important; gap: 12px; align-items: flex-start; cursor: pointer; font-weight: 500 !important; font-size: 15px !important; line-height: 1.5; }
.check input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; }
.check__box { flex: 0 0 24px; height: 24px; border-radius: 8px; border: 2px solid var(--muted); background: var(--paper); display: grid; place-items: center; transition: all .2s var(--ease); margin-top: 1px; }
.check input:checked + .check__box { background: var(--ink); border-color: var(--ink); }
.check input:checked + .check__box::after { content: ""; width: 12px; height: 7px; border: solid var(--paper); border-width: 0 0 2.6px 2.6px; transform: rotate(-45deg) translate(1px, -1px); }
.check input:focus-visible + .check__box { outline: 3px solid var(--ans); outline-offset: 2px; }
.check input[aria-invalid="true"] + .check__box { border-color: var(--bad); }
.check__text a { font-weight: 700; }
.form__msg { color: var(--bad); font-weight: 700; margin: 0 0 12px; }
.form__msg:empty { display: none; }
.form__privacy { margin: 12px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
.form-ok { text-align: center; padding: 16px 0 6px; outline: none; }
.form-ok[hidden] { display: none; }
.form-ok h3 { font: 800 26px/1.2 var(--f-display); margin: 14px 0 6px; }
.form-ok p { color: var(--muted); margin: 0 0 18px; font-size: 18px; }
.form-ok__check svg { width: 72px; height: 72px; }
.form-ok__check circle { fill: none; stroke: var(--ok); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .7s var(--ease) forwards; }
.form-ok__check path { fill: none; stroke: var(--ok); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .45s .55s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* faq */
.faq { max-width: 820px; }
.faq__list { display: grid; gap: 10px; margin-top: 26px; }
.qa { background: var(--paper); border-radius: 16px; padding: 0 18px; }
.qa summary { list-style: none; cursor: pointer; padding: 18px 0; font: 700 18px/1.35 var(--f-display); display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 44px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: 0 0 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); font-weight: 600; font-size: 20px; transition: transform .3s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { margin: 0 0 18px; color: var(--muted); font-size: 16.5px; }

/* final cta */
.cta { padding: 90px 0; background: var(--ink); color: var(--paper); text-align: center; }
.cta .lead { color: color-mix(in srgb, var(--paper) 72%, transparent); margin: 0 auto 28px; }

/* footer */
.foot { padding: 44px 0 110px; background: var(--paper); border-top: 1px solid var(--line); }
.foot__in { display: grid; gap: 20px; }
.foot__brand { display: grid; gap: 6px; }
.foot__name { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 17px; }
.foot__indep { color: var(--muted); font-size: 14px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot__links a { color: var(--ink); text-decoration: none; font-weight: 600; min-height: 32px; display: inline-flex; align-items: center; gap: 6px; }
.foot__links a:hover { text-decoration: underline; }
.powered__desc { flex-basis: 100%; font-size: 13px; }
.foot__rights { margin: 0; color: var(--muted); font-size: 13px; }

/* floating WhatsApp */
.fab-wa { position: fixed; bottom: calc(clamp(1rem, 3vw, 1.75rem) + 56px + .75rem); right: clamp(1rem, 3vw, 1.75rem); z-index: 90; width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(23, 122, 61, .4); transition: transform .25s var(--ease); }
.fab-wa:hover { transform: scale(1.06); }
.fab-wa svg { width: 30px; height: 30px; fill: currentColor; }

/* legal pages */
.legal { padding: 110px 0 60px; }
.legal__in { max-width: 780px; }
.legal h1 { font: 800 clamp(32px, 5vw, 44px)/1.1 var(--f-display); letter-spacing: -.02em; margin: 0 0 8px; }
.legal h2 { font: 800 22px/1.3 var(--f-display); margin: 32px 0 8px; }
.legal p, .legal li { font-size: 17px; }
.legal .updated { color: var(--muted); margin: 0 0 24px; }
.legal .back { display: inline-flex; margin-bottom: 18px; font-weight: 700; }
.legal .note-lang { background: var(--surface); padding: 12px 14px; border-radius: var(--r); }
.legal [hidden] { display: none; }

/* motion off: OS setting or accessibility widget */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
html.a11y-stop-animations .reveal { opacity: 1; transform: none; }
