/* Retano landing. Light, calm, right to left, in the panel's colours.
   Text always sits on a plain background. The animated customers live only inside framed
   "stages" beside the text (see stages.js), so motion never runs behind anything people read. */

@font-face { font-family: "IRANYekanX"; src: url("../fonts/iranyekanx-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IRANYekanX"; src: url("../fonts/iranyekanx-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IRANYekanX"; src: url("../fonts/iranyekanx-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* The panel's palette (RetanoColors.kt). */
:root {
  --bg: #F5F7FA;
  --surface: #FFFFFF;
  --surface-2: #F8FAFC;
  --sunken: #F0F3F7;
  --line: #E4E8EE;
  --line-2: #CDD4DE;
  --ink: #101828;
  --ink-2: #4B5565;
  --ink-3: #8590A2;
  --teal: #00A6A2;
  --teal-hover: #009490;
  --teal-press: #007E7A;
  --teal-ink: #007874;
  --teal-soft: #E7F7F6;
  --teal-soft-2: #D5F1EF;
  --deep: #0E7C9B;
  --amber: #F5A524;
  --amber-soft: #FFF6E5;
  --amber-ink: #B54708;
  --rose: #F2547D;
  --rose-soft: #FEF0F3;
  --rose-ink: #C01048;
  --violet: #7A5AF8;
  --violet-soft: #F4F3FF;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -14px rgba(16, 24, 40, .14);
  --shadow-lg: 0 2px 4px rgba(16, 24, 40, .04), 0 28px 60px -28px rgba(16, 24, 40, .25);
  --radius: 20px;
  --radius-sm: 12px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --nav-h: 72px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --p: 0; /* how far down the page the reader is, 0 to 1, set by landing.js */
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "IRANYekanX", Tahoma, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.4; font-weight: 700; }
p, figure { margin: 0; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--teal-soft-2); }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -60px; inset-inline-start: 16px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--teal); color: #fff; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 8px; }

.progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 40; pointer-events: none; }
.progress span { display: block; height: 100%; transform-origin: right center; transform: scaleX(var(--p)); background: linear-gradient(270deg, var(--teal), var(--deep)); }

/* ---------- Buttons ---------- */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: scaleX(-1); }
.btn:active { transform: scale(.98); }
.btn--lg { --h: 52px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .08), 0 8px 20px -10px rgba(0, 126, 122, .6); }
.btn--primary:hover { background: var(--teal-hover); }
.btn--primary:active { background: var(--teal-press); }
.btn--outline { background: var(--surface); border-color: var(--line-2); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--outline:hover { border-color: var(--teal); color: var(--teal-ink); background: var(--teal-soft); }
.btn--white { background: #fff; color: var(--teal-ink); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .35); }
.btn--white:hover { background: var(--teal-soft); }

/* ---------- Header ---------- */
.nav { position: fixed; top: 0; inset-inline: 0; z-index: 30; height: var(--nav-h); border-bottom: 1px solid transparent; transition: background-color .25s, border-color .25s, box-shadow .25s; }
.nav.is-scrolled { background: rgba(255, 255, 255, .97); border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(16, 24, 40, .25); }
.nav__in { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand__mark { width: 38px; height: 38px; }
.brand__name { font-weight: 700; font-size: 19px; }
.brand--sm .brand__mark { width: 32px; height: 32px; }
.brand--sm .brand__name { font-size: 17px; }
.nav__links { display: flex; gap: 2px; margin-inline-start: 12px; }
.nav__links a { padding: 8px 14px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-size: 15px; transition: color .2s, background-color .2s; }
.nav__links a:hover { color: var(--ink); background: var(--sunken); }
.nav__links a.is-current { color: var(--teal-ink); background: var(--teal-soft); }
.nav__actions { margin-inline-start: auto; display: flex; gap: 10px; align-items: center; }
.nav .btn { --h: 42px; padding: 0 16px; font-size: 14px; }

/* ---------- Shared bits ---------- */
.section { padding-block: clamp(72px, 11vh, 120px); }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto clamp(32px, 5vh, 56px); }
.section__head h2, .split h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); letter-spacing: -.2px; }
.split h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.55; }
.lead { margin-top: 14px; color: var(--ink-2); font-size: clamp(1rem, 1.4vw, 1.08rem); }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--teal-ink); background: var(--teal-soft); }
.kicker--rose { color: var(--rose-ink); background: var(--rose-soft); }
.kicker--light { color: #fff; background: rgba(255, 255, 255, .16); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.band .card { box-shadow: var(--shadow-sm); }
.cards3 { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lg { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.lg--teal { background: var(--teal); }
.lg--amber { background: var(--amber); }
.lg--rose { background: var(--rose); }
.lg--sleep { background: #C3CCD8; }

/* A highlighter stroke drawn once under a few key words, after the heading has appeared. */
.mark { position: relative; z-index: 0; white-space: nowrap; color: var(--teal-ink); }
.mark::after { content: ""; position: absolute; z-index: -1; inset-inline: -.08em; bottom: .12em; height: .34em; border-radius: .2em; background: var(--teal-soft-2); transform-origin: right center; transform: scaleX(0); transition: transform 1s var(--ease) .6s; }
.in .mark::after, html:not(.js) .mark::after { transform: scaleX(1); }
.mark--light { color: #fff; }
.mark--light::after { background: rgba(255, 255, 255, .22); }

/* Reveal on scroll: a short fade and rise, no blur. Only hidden while JS runs. */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Stages: framed canvases where the customers move ---------- */
.stage { position: relative; overflow: hidden; border-radius: 24px; background-color: var(--surface); border: 1px solid var(--line); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* A faint dot grid gives the stage some depth without moving. */
.stage--hero, .stage--ring { background-image: radial-gradient(circle, #E4E8EE 1.1px, transparent 1.3px); background-size: 22px 22px; background-position: center; }
.core { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(0, 166, 162, .08), 0 12px 30px -10px rgba(0, 120, 116, .45); z-index: 1; }
.core svg { width: 48px; height: 48px; }
.core::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(0, 166, 162, .3); animation: pulse 4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 70%, 100% { transform: scale(1.45); opacity: 0; } }
.core__label { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .95); border: 1px solid var(--line); font-size: 12.5px; font-weight: 500; color: var(--ink-2); line-height: 1.8; }
.core--sm { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.core--sm svg { width: 36px; height: 36px; }
.core--light { box-shadow: 0 0 0 10px rgba(255, 255, 255, .14), 0 16px 36px -12px rgba(0, 0, 0, .35); }
.core--light::before { border-color: rgba(255, 255, 255, .5); }
.stage__chip { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 13px; color: var(--ink-2); }
.stage__chip b { color: var(--ink); font-size: 14px; min-width: 2ch; }
.stage__legend, .stage__keys { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; font-size: 12.5px; color: var(--ink-2); }
.stage__legend li, .stage__keys li { display: inline-flex; align-items: center; gap: 6px; }
.stage__legend .lg, .stage__keys .lg { width: 8px; height: 8px; }
.stage__legend { position: absolute; bottom: 12px; inset-inline-start: 14px; z-index: 2; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); }
.stage__note { margin-top: 12px; color: var(--ink-3); font-size: 13.5px; line-height: 1.8; text-align: center; padding-inline: 12px; }

/* A stage inside a white card, with a header and a caption. */
.panel-stage { margin-top: 28px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.panel-stage .stage { border: 0; border-radius: 14px; background: var(--surface-2); }
.panel-stage__head { display: flex; align-items: center; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; padding: 0 4px 12px; font-size: 14.5px; }
.panel-stage__foot { padding: 12px 4px 0; color: var(--ink-2); font-size: 14.5px; }
.panel-stage__foot b { color: var(--ink); }
.stage--grid { aspect-ratio: 2 / 1; overflow: visible; }
/* What each buyer spent, above their head. */
.buy-tag { position: absolute; z-index: 2; left: 0; top: 0; padding: 0 7px; border-radius: 999px; background: var(--amber); color: #fff; font-size: 11px; font-weight: 700; line-height: 19px; white-space: nowrap; box-shadow: 0 6px 14px -8px rgba(181, 71, 8, .7); opacity: 0; transform: translate(-50%, -100%) translateY(4px); transition: opacity .35s var(--ease), transform .35s var(--ease); pointer-events: none; }
.buy-tag.is-on { opacity: 1; transform: translate(-50%, -100%); }
.buyfoot { display: flex; justify-content: space-between; gap: 4px 12px; flex-wrap: wrap; }
.buyfoot__sum, .buyfoot__sum b { color: var(--amber-ink); }
.fell { top: auto; bottom: 12px; }
.fell__sum { padding-inline-start: 10px; border-inline-start: 1px solid var(--line); color: var(--rose-ink); font-weight: 700; }
/* A name above one customer; it follows them around. */
.name-tag { position: absolute; z-index: 3; left: 0; top: 0; padding: 0 8px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 700; line-height: 20px; white-space: nowrap; pointer-events: none; transform: translate(-50%, -100%); opacity: 0; transition: opacity .3s; will-change: left, top; }
.name-tag::after { content: ""; position: absolute; left: 50%; bottom: -4px; margin-left: -4px; border: 4px solid transparent; border-bottom: 0; border-top-color: var(--ink); }
.name-tag.is-on { opacity: 1; }
.name-tag--light { background: #fff; color: var(--teal-ink); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .5); }
.name-tag--light::after { border-top-color: #fff; }
.stage--fall { aspect-ratio: 2 / 1.05; }

/* ---------- 1. Hero ---------- */
.hero { padding: calc(var(--nav-h) + clamp(28px, 6vh, 64px)) 0 clamp(56px, 9vh, 96px); background: radial-gradient(70% 60% at 85% 0%, rgba(0, 166, 162, .07), transparent 70%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: 14px; box-shadow: var(--shadow-sm); }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.hero__title { margin-top: 20px; font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.35; letter-spacing: -.5px; }
.hero__lead { margin-top: 18px; max-width: 34em; color: var(--ink-2); font-size: clamp(1.02rem, 1.5vw, 1.15rem); }
.hero__cta { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-2); font-size: 14.5px; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23007874' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.stage--hero { aspect-ratio: 1 / .9; box-shadow: var(--shadow-lg); }
.today { gap: 10px; }
.today span { display: inline-flex; align-items: center; gap: 6px; }
.today__sum { padding-inline-start: 10px; border-inline-start: 1px solid var(--line); }
.today__sum b { color: var(--teal-ink); }
/* A purchase rising from the store. */
.receipts { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 3; }
.receipt { position: absolute; left: 0; top: -58px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--teal-soft-2); color: var(--teal-ink); font-weight: 700; font-size: 12.5px; line-height: 1.7; white-space: nowrap; box-shadow: 0 10px 22px -12px rgba(0, 120, 116, .55); transform: translate(-50%, -50%); animation: rise 2.8s var(--ease) forwards; }
.receipt svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.receipt.is-still { animation: none; }
@keyframes rise {
  0% { opacity: 0; transform: translate(-50%, -20%) scale(.85); }
  14% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) translateY(-56px) scale(.92); }
}
/* The story of one customer: Sara, or the one under the mouse. */
.pcard { position: absolute; z-index: 4; inset-inline-end: 10px; bottom: 10px; width: 212px; padding: 12px 14px 10px; border-radius: 16px; background: rgba(255, 255, 255, .97); border: 1px solid var(--line); box-shadow: 0 2px 4px rgba(16, 24, 40, .05), 0 22px 44px -18px rgba(16, 24, 40, .35); font-size: 12.5px; pointer-events: none; }
.pcard__head { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.pcard__head b { display: block; font-size: 13.5px; line-height: 1.4; }
.pcard__head small { color: var(--ink-3); font-size: 11.5px; }
.pcard__av { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--rose-soft); color: var(--rose-ink); font-weight: 800; }
.pcard[data-kind="risk"] .pcard__av { background: var(--amber-soft); color: var(--amber-ink); }
.pcard[data-kind="lost"] .pcard__av { background: var(--sunken); color: var(--ink-2); }
.pcard__steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 2px; color: var(--ink-3); }
.pcard__steps li { display: flex; align-items: center; gap: 7px; line-height: 1.8; transition: color .3s; }
.pcard__steps li::before { content: ""; width: 8px; height: 8px; margin-inline: 3px; flex: none; border-radius: 50%; background: var(--line-2); transition: background-color .3s, box-shadow .3s; }
.pcard__steps li.is-done { color: var(--ink-2); }
.pcard__steps li.is-done::before { width: 14px; height: 14px; margin-inline: 0; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23007874' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 9px no-repeat; }
.pcard__steps li.is-now { color: var(--teal-ink); font-weight: 700; }
.pcard__steps li.is-now::before { background: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.pcard__steps li.is-away { color: var(--amber-ink); font-weight: 700; }
.pcard__steps li.is-away::before { background: var(--amber); box-shadow: 0 0 0 4px var(--amber-soft); }

/* ---------- 2. Why ---------- */
.feature { padding: 28px 26px; background: var(--surface-2); }
.feature h3 { font-size: 1.15rem; margin: 18px 0 6px; }
.feature p { color: var(--ink-2); font-size: 15.5px; }
.pic { display: block; width: 96px; height: 56px; border-radius: 14px; }
.pic svg { display: block; width: 96px; height: 56px; }
.pic--teal { background: var(--teal-soft); }
.pic--amber { background: var(--amber-soft); }
.pic--violet { background: var(--violet-soft); }
/* 100 customers: 35 stay, 65 drift away and Retano draws a frame around them. */
.hundred { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: center; margin: 0 0 20px; padding: 22px 28px; }
.hundred__text { display: flex; flex-direction: column; }
.hundred__eyebrow { color: var(--ink-2); font-size: 14.5px; }
.hundred__big { font-size: clamp(2.6rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.25; color: var(--ink); }
.hundred__big b { color: var(--rose); }
.hundred__lead { color: var(--ink-2); font-size: 15.5px; line-height: 1.9; }
.stage--hundred { height: 216px; border: 0; border-radius: 0; background: transparent; overflow: visible; }
.hundred__lbl { position: absolute; z-index: 2; left: 0; top: 0; white-space: nowrap; font-size: 13px; font-weight: 700; opacity: 0; transform: translate(-50%, -50%) translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.hundred__lbl.is-on { opacity: 1; transform: translate(-50%, -50%); }
.hundred__lbl--keep { color: var(--teal-ink); }
.hundred__lbl--find { display: inline-flex; gap: 6px; align-items: center; padding: 2px 12px; border-radius: 999px; background: var(--teal); color: #fff; box-shadow: 0 10px 20px -12px rgba(0, 120, 116, .7); }
.hundred__lbl--find svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.quote { margin-top: 20px; display: flex; align-items: center; gap: 20px; padding: 22px 26px; border-radius: var(--radius); background: var(--teal-soft); border: 1px solid var(--teal-soft-2); }
.quote p { flex: 1; font-size: clamp(1.02rem, 1.7vw, 1.2rem); font-weight: 500; color: var(--ink); }
.quote__icon { width: 52px; height: 52px; flex: none; border-radius: 16px; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.quote__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Range inputs ---------- */
input[type="range"] { --fill: 50%; --c: var(--teal); -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; direction: rtl; margin: 0; touch-action: pan-y; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(to left, var(--c) var(--fill), var(--line) var(--fill)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 99px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--c); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: #fff; border: 2px solid var(--c); box-shadow: 0 2px 6px rgba(16, 24, 40, .18); transition: box-shadow .2s; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--c); box-shadow: 0 2px 6px rgba(16, 24, 40, .18); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb, input[type="range"]:active::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(0, 166, 162, .16), 0 2px 6px rgba(16, 24, 40, .18); }
input[type="range"].range--rose { --c: var(--rose); }
input[type="range"].range--rose:focus-visible::-webkit-slider-thumb, input[type="range"].range--rose:active::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(242, 84, 125, .16), 0 2px 6px rgba(16, 24, 40, .18); }

/* ---------- Form fields ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { color: var(--ink-2); font-size: 14.5px; }
.field__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field__top output { font-weight: 700; font-size: 1.1rem; color: var(--ink); white-space: nowrap; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.input { width: 100%; height: 48px; padding: 0 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--surface); font-size: 16px; font-weight: 500; transition: border-color .2s, box-shadow .2s; }
.input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0, 166, 162, .14); }
.input::placeholder { color: var(--ink-3); font-weight: 400; }
/* Left-to-right fields (phone numbers) show their Persian placeholder right-aligned until typed in. */
.input[dir="ltr"]:placeholder-shown { direction: rtl; text-align: right; }
.input--lg { height: 52px; font-size: 16.5px; }
.fine { color: var(--ink-3); font-size: 13px; }

/* ---------- Two columns: text and stage on one side, a card on the other ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }

/* ---------- 3. Campaign calculator ---------- */
.calc { padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 22px; }
.results { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.result { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.result span { color: var(--ink-2); font-size: 13.5px; }
.result strong { font-size: clamp(1.05rem, 1.8vw, 1.25rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result--hero { grid-column: 1 / -1; background: var(--amber-soft); border-color: #FBE3B6; }
.result--hero strong { font-size: clamp(1.6rem, 3.6vw, 2.2rem); color: var(--amber-ink); }
.result--hero em { font-style: normal; color: var(--ink-2); font-size: 14px; }

/* ---------- 4. Segments ---------- */
.seg { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 6vw, 88px); align-items: center; max-width: 1000px; margin-inline: auto; }
.seg__side { display: flex; flex-direction: column; gap: 14px; }
/* The customers in three groups; the chosen one lights up and its message travels to the phone. */
.stage--crowd { height: 176px; border-radius: 16px; background: var(--surface-2); }
.crowd__lbl { position: absolute; z-index: 2; left: 0; top: 0; transform: translate(-50%, 0); font-size: 12.5px; color: var(--ink-3); white-space: nowrap; opacity: 0; transition: opacity .5s, color .3s; }
.crowd__lbl b { color: var(--ink-2); font-weight: 700; transition: color .3s; }
.crowd__lbl.is-on { opacity: 1; }
.crowd__lbl.is-active, .crowd__lbl.is-active b { font-weight: 700; color: var(--c, var(--ink)); }
.crowd__lbl[data-lbl="0"] { --c: var(--teal-ink); }
.crowd__lbl[data-lbl="1"] { --c: var(--amber-ink); }
.crowd__lbl[data-lbl="2"] { --c: var(--rose-ink); }
.seg__wire { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; }
.seg__wire path { fill: none; stroke: var(--wire, var(--rose)); stroke-width: 2; stroke-dasharray: 4 6; stroke-linecap: round; opacity: .7; transition: stroke .3s; }
.seg__sms { position: absolute; z-index: 3; left: 0; top: 0; display: none; gap: 3px; align-items: center; padding: 6px 8px; border-radius: 10px 10px 3px 10px; background: #fff; border: 1.5px solid var(--wire, var(--rose)); transform: translate(-50%, -50%); box-shadow: 0 6px 14px -8px rgba(16, 24, 40, .45); pointer-events: none; }
.seg__sms.is-on { display: inline-flex; }
.seg__sms i { width: 4px; height: 4px; border-radius: 50%; background: var(--wire, var(--rose)); }
.tab__n { margin-inline-start: auto; font-size: 13px; font-weight: 500; color: var(--ink-3); }
.tab.is-active .tab__n { color: var(--ink-2); }
.tabs { display: flex; flex-direction: column; gap: 10px; }
.tab { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface-2); font-size: 17px; font-weight: 700; color: var(--ink-2); text-align: start; cursor: pointer; transition: border-color .25s, background-color .25s, color .25s, box-shadow .25s; position: relative; overflow: hidden; }
.tab:hover { border-color: var(--line-2); color: var(--ink); }
.tab.is-active { color: var(--ink); background: var(--surface); border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft), var(--shadow-sm); }
.tab[data-seg="1"].is-active { border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft), var(--shadow-sm); }
.tab[data-seg="2"].is-active { border-color: var(--rose); box-shadow: 0 0 0 3px var(--rose-soft), var(--shadow-sm); }
/* A thin timer under the active tab while the samples rotate on their own. */
.tab::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; height: 2px; width: 100%; background: var(--line-2); transform-origin: right; transform: scaleX(0); }
.tab.is-active.is-auto::after { animation: tabtimer var(--tab-ms, 8000ms) linear forwards; }
@keyframes tabtimer { to { transform: scaleX(1); } }
.seg__goal { padding: 16px 20px; border-radius: 16px; background: var(--surface-2); border: 1px dashed var(--line-2); }
.seg__label { font-size: 13px; color: var(--ink-3); }
.seg__goal p { font-weight: 500; font-size: 16.5px; }
.phone { width: 310px; max-width: 100%; height: 540px; padding: 10px; border-radius: 44px; background: #1D2939; box-shadow: var(--shadow-lg), 0 40px 80px -40px rgba(16, 24, 40, .45); }
.phone__screen { height: 100%; border-radius: 35px; background: var(--surface-2); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.phone__screen::before { content: ""; position: absolute; top: 10px; left: 50%; width: 96px; height: 24px; margin-left: -48px; border-radius: 14px; background: #1D2939; }
.phone__head { display: flex; align-items: center; gap: 10px; padding: 44px 16px 12px; background: var(--surface); border-bottom: 1px solid var(--line); }
.phone__head b { display: block; font-size: 15px; line-height: 1.3; }
.phone__head small { color: var(--ink-3); font-size: 12px; }
.phone__avatar { width: 36px; height: 36px; flex: none; }
.phone__avatar svg { width: 36px; height: 36px; }
.phone__body { flex: 1; padding: 18px 12px; display: flex; flex-direction: column; gap: 10px; }
.typing { align-self: flex-start; display: none; gap: 4px; padding: 12px 14px; border-radius: 18px 18px 18px 6px; background: var(--surface); border: 1px solid var(--line); }
.typing.show { display: inline-flex; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: blink 1.4s infinite; }
.typing i:nth-child(2) { animation-delay: .18s; }
.typing i:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
.bubble { align-self: flex-start; max-width: 94%; padding: 12px 14px; border-radius: 18px 18px 18px 6px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 14.5px; line-height: 1.95; color: var(--ink); white-space: pre-line; opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.bubble.show { opacity: 1; transform: none; }
.bubble time { display: block; margin-top: 4px; font-size: 11px; color: var(--ink-3); text-align: end; }
.sms-link { color: var(--teal-ink); text-decoration: underline; text-underline-offset: 3px; }
.sms-code { display: inline-block; padding: 0 8px; border-radius: 6px; border: 1px dashed var(--amber); background: var(--amber-soft); color: var(--amber-ink); font-weight: 700; letter-spacing: 1px; direction: ltr; }

/* ---------- 5. Method (timeline) ---------- */
.steps { --sp: 0; list-style: none; padding: 0; margin: 0 auto; max-width: 1000px; position: relative; display: grid; gap: 16px; }
.steps::before, .steps::after { content: ""; position: absolute; top: 24px; bottom: 24px; inset-inline-start: 23px; width: 2px; border-radius: 2px; }
.steps::before { background: var(--line); }
.steps::after { background: linear-gradient(to bottom, var(--teal), var(--deep)); transform-origin: top; transform: scaleY(var(--sp)); }
.step { position: relative; padding-inline-start: 68px; }
.step > div { padding: 20px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: border-color .5s, box-shadow .5s; }
.step h3 { font-size: 1.1rem; margin-bottom: 2px; }
.step p { color: var(--ink-2); font-size: 15px; }
.step__n { position: absolute; z-index: 1; inset-inline-start: 0; top: 16px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 18px; background: var(--surface); border: 2px solid var(--line); color: var(--ink-3); transition: background-color .5s, border-color .5s, color .5s, box-shadow .5s; }
.step.is-on .step__n { background: var(--teal); border-color: var(--teal); color: #fff; box-shadow: 0 0 0 6px var(--teal-soft); }
.step.is-on > div { border-color: var(--teal-soft-2); box-shadow: var(--shadow); }
@media (min-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; column-gap: 112px; row-gap: 20px; }
  .steps::before, .steps::after { inset-inline-start: calc(50% - 1px); }
  .step { padding: 0; }
  .step:nth-child(odd) { grid-column: 1; }
  .step:nth-child(even) { grid-column: 2; margin-top: 96px; }
  .step:nth-child(odd) .step__n { inset-inline-start: auto; inset-inline-end: -80px; }
  .step:nth-child(even) .step__n { inset-inline-start: -80px; }
}

/* ---------- 6. Before / after ---------- */
.compare { --cmp: 0; max-width: 1100px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 300px) minmax(0, 1fr); grid-template-areas: "before visual after" "control control control"; gap: 20px; align-items: center; }
.compare__pane { padding: 24px 24px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: opacity .4s; }
.compare__pane h3 { font-size: 1.05rem; margin-bottom: 12px; }
.compare__pane ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.compare__pane li { position: relative; padding-inline-start: 28px; color: var(--ink-2); font-size: 15px; }
.compare__pane li::before { content: ""; position: absolute; inset-inline-start: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background-repeat: no-repeat; background-position: center; background-size: 11px; }
.compare__pane b { font-size: 1.2rem; margin-inline-end: 4px; }
.compare__pane--before { grid-area: before; background: var(--rose-soft); border-color: #FBD5DF; opacity: calc(1 - var(--cmp) * .4); }
.compare__pane--before b { color: var(--rose-ink); }
.compare__pane--before li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3L3 9' stroke='%23F2547D' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.compare__pane--after { grid-area: after; background: var(--teal-soft); border-color: var(--teal-soft-2); opacity: calc(.6 + var(--cmp) * .4); }
.compare__pane--after b { color: var(--teal-ink); }
.compare__pane--after li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23007874' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.compare__visual { grid-area: visual; }
.stage--ring { aspect-ratio: 1; box-shadow: var(--shadow); }
.compare__caption { margin-top: 10px; text-align: center; font-size: 13.5px; color: var(--ink-2); display: grid; }
.compare__caption span { grid-area: 1 / 1; transition: opacity .4s; }
.compare .cap-after, .compare[data-state="1"] .cap-before { opacity: 0; }
.compare[data-state="1"] .cap-after { opacity: 1; }
.compare__control { grid-area: control; display: flex; align-items: center; gap: 16px; max-width: 560px; width: 100%; margin: 4px auto 0; padding: 8px 20px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); font-weight: 700; font-size: 14px; }
.compare__control input { flex: 1; }

/* ---------- 7. Lost sales ---------- */
.lost { padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 20px; }
.lost .field__top output { color: var(--rose-ink); }
.lost__avg { color: var(--ink-2); font-size: 15px; }
.lost__avg b { color: var(--ink); }
.lost__result { padding: 20px; border-radius: 16px; text-align: center; background: var(--rose-soft); border: 1px solid #FBD5DF; display: flex; flex-direction: column; gap: 2px; }
.lost__result span { color: var(--ink-2); font-size: 14px; }
.lost__result strong { font-size: clamp(1.8rem, 4.6vw, 2.5rem); color: var(--rose-ink); line-height: 1.5; }
.lost__result small { color: var(--ink-2); font-size: 14px; }
.lost__result small b { color: var(--ink); }

/* ---------- 8. Setup ---------- */
.setup__card { padding: 24px; display: flex; flex-direction: column; gap: 10px; background: var(--surface-2); }
.setup__art { height: 120px; margin-bottom: 6px; border-radius: 14px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); }
.setup__art svg { width: 150px; height: 100px; overflow: visible; }
.badge { align-self: flex-start; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--amber-ink); background: var(--amber-soft); }
.setup__card h3 { font-size: 1.12rem; }
.setup__card p { color: var(--ink-2); font-size: 15px; }
.s-box { fill: var(--teal-soft); stroke: var(--teal); stroke-width: 2; }
.s-sheet rect { fill: #fff; stroke: var(--line-2); stroke-width: 1.5; }
.s-sheet path { stroke: var(--teal); stroke-width: 2.5; stroke-linecap: round; }
.s-track { fill: none; stroke: var(--sunken); stroke-width: 12; }
.s-donut circle { fill: none; stroke-width: 12; transform-origin: 60px 40px; transform: rotate(-90deg); stroke-dasharray: 0 151; }
.s-donut .d1 { stroke: var(--teal); }
.s-donut .d2 { stroke: var(--amber); stroke-dashoffset: -66; }
.s-donut .d3 { stroke: var(--rose); stroke-dashoffset: -114; }
.s-phone { fill: var(--surface-2); stroke: #1D2939; stroke-width: 2; }
.s-msgs rect { fill: var(--teal); opacity: 0; transform-box: fill-box; transform-origin: center; }
.s-msgs rect:nth-child(2) { fill: var(--amber); }
.s-msgs rect:nth-child(3) { fill: var(--rose); }
.setup__card.in .s-sheet { animation: drop 4.5s var(--ease) infinite; }
@keyframes drop { 0% { transform: translateY(-12px); opacity: 0; } 15% { opacity: 1; } 45%, 75% { transform: translateY(18px); opacity: 1; } 90%, 100% { transform: translateY(18px); opacity: 0; } }
.setup__card.in .d1 { animation: seg1 5s var(--ease) .3s infinite; }
.setup__card.in .d2 { animation: seg2 5s var(--ease) .3s infinite; }
.setup__card.in .d3 { animation: seg3 5s var(--ease) .3s infinite; }
@keyframes seg1 { 0% { stroke-dasharray: 0 151; opacity: 1; } 25%, 88% { stroke-dasharray: 64 151; opacity: 1; } 100% { stroke-dasharray: 64 151; opacity: 0; } }
@keyframes seg2 { 0%, 15% { stroke-dasharray: 0 151; opacity: 1; } 40%, 88% { stroke-dasharray: 46 151; opacity: 1; } 100% { stroke-dasharray: 46 151; opacity: 0; } }
@keyframes seg3 { 0%, 30% { stroke-dasharray: 0 151; opacity: 1; } 55%, 88% { stroke-dasharray: 35 151; opacity: 1; } 100% { stroke-dasharray: 35 151; opacity: 0; } }
.setup__card.in .s-msgs rect { animation: fly 4.5s var(--ease) infinite; }
.setup__card.in .s-msgs rect:nth-child(2) { animation-delay: .6s; }
.setup__card.in .s-msgs rect:nth-child(3) { animation-delay: 1.2s; }
@keyframes fly { 0% { opacity: 0; transform: scale(.6); } 20%, 70% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-8px); } }

/* ---------- 9. Final call ---------- */
.cta { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 56px); padding: clamp(28px, 5vw, 56px); border-radius: 32px; color: #fff; background: radial-gradient(60% 80% at 10% 90%, rgba(255, 255, 255, .1), transparent 70%), linear-gradient(135deg, #008A86, #007874 45%, #0B6A86); box-shadow: 0 30px 70px -36px rgba(0, 96, 104, .7); overflow: hidden; }
.cta__title { font-size: clamp(1.7rem, 3.6vw, 2.7rem); line-height: 1.5; }
.cta__lead { margin-top: 14px; max-width: 34em; color: rgba(255, 255, 255, .92); font-size: 1.05rem; }
.consult { margin-top: 26px; max-width: 540px; display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.consult .input { border-color: transparent; box-shadow: 0 8px 20px -12px rgba(0, 0, 0, .35); color: var(--ink); }
.consult .input:focus { border-color: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .3); }
.consult .btn { position: relative; }
.consult .spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--teal-soft-2); border-top-color: var(--teal-ink); animation: spin .8s linear infinite; }
.consult.is-loading .spinner { display: inline-block; }
.consult.is-loading .btn { pointer-events: none; opacity: .9; }
@keyframes spin { to { transform: rotate(360deg); } }
.consult__msg { grid-column: 1 / -1; font-size: 14.5px; padding: 8px 12px; border-radius: 10px; text-align: start; }
.consult__msg:empty { display: none; }
.consult__msg.ok { color: #fff; background: rgba(255, 255, 255, .16); }
.consult__msg.err { color: var(--rose-ink); background: var(--rose-soft); }
.consult.is-done .input { box-shadow: 0 0 0 3px rgba(255, 255, 255, .45); }
.cta__login { margin-top: 20px; color: rgba(255, 255, 255, .9); }
.cta__login a { color: #fff; font-weight: 700; text-underline-offset: 5px; }
.stage--cta { aspect-ratio: 1; max-width: 420px; width: 100%; justify-self: center; background: transparent; border: 0; border-radius: 0; overflow: visible; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--surface); padding: 40px 0 20px; }
.footer__in { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 28px; align-items: start; }
.footer__about { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); max-width: 360px; }
.footer__contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; color: var(--ink-2); font-size: 14.5px; }
.footer__contact a { text-decoration: none; }
.footer__contact a:hover { color: var(--teal-ink); }
/* Latin text (email, handles) in a Latin font, since IRANYekanX draws every digit in Persian. */
.latin { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.footer__copy { margin-top: 28px; color: var(--ink-3); font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav__links { display: none; }
  .compare { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "visual visual" "control control" "before after"; }
  .compare__visual { width: 100%; max-width: 320px; margin-inline: auto; }
}
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .hundred { grid-template-columns: minmax(0, 1fr); padding: 20px; text-align: center; }
  .tab__n { display: none; }
  .seg__wire, .seg__sms { display: none !important; }
  .hero__grid, .split, .cta { grid-template-columns: minmax(0, 1fr); }
  .hero__text { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero__cta, .ticks { justify-content: center; }
  .hero__visual { width: 100%; max-width: 520px; margin-inline: auto; }
  .split__text { text-align: center; }
  .panel-stage { text-align: start; }
  .cards3 { grid-template-columns: minmax(0, 1fr); }
  .seg { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .seg__side { width: 100%; max-width: 560px; }
  .tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .tab { width: auto; padding: 12px 10px; font-size: 15px; justify-content: center; text-align: center; line-height: 1.5; }
  .phone { height: 500px; width: 300px; }
  .footer__in { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
  .footer__about { margin-inline: auto; }
  .feature { padding: 22px 20px; }
  .quote { flex-direction: column; text-align: center; padding: 22px 20px; }
  .cta { text-align: center; }
  .cta__text { display: flex; flex-direction: column; align-items: center; }
  .stage--cta { order: -1; max-width: 300px; }
  .consult { width: 100%; }
}
@media (max-width: 640px) {
  .compare { grid-template-columns: minmax(0, 1fr); grid-template-areas: "visual" "control" "before" "after"; }
}
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .pcard { display: none; }
  .today { gap: 6px; font-size: 11.5px; padding: 3px 10px; }
  .today b { font-size: 12px; }
  .stage__legend { gap: 8px; font-size: 11px; }
  .stage--hundred { height: 410px; }
  .stage--crowd { height: 150px; }
  .nav__cta { display: none; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__name { font-size: 17px; }
  .hero__title { letter-spacing: -.3px; }
  .hero__cta { flex-direction: column; width: 100%; max-width: 380px; }
  .hero__cta .btn { width: 100%; }
  .ticks { gap: 8px 16px; font-size: 14px; }
  .core { width: 70px; height: 70px; margin: -35px 0 0 -35px; }
  .core svg { width: 40px; height: 40px; }
  .core--sm { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
  .core--sm svg { width: 32px; height: 32px; }
  .panel-stage { padding: 12px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .result { padding: 12px 14px; }
  .tab { flex-direction: column; padding: 10px 6px; font-size: 13.5px; gap: 6px; border-radius: 14px; }
  .tab .lg { width: 8px; height: 8px; }
  .phone { height: 460px; width: 100%; max-width: 300px; border-radius: 40px; }
  .phone__screen { border-radius: 31px; }
  .compare__pane { padding: 20px 18px; }
  .consult { grid-template-columns: minmax(0, 1fr); }
  .consult .btn { width: 100%; }
  .cta { border-radius: 24px; padding: 24px 18px 28px; }
  .stage--cta { max-width: 240px; }
  .step > div { padding: 16px 16px; }
  .step { padding-inline-start: 60px; }
}
@media (max-width: 360px) {
  .nav .btn { padding: 0 12px; }
  .tab { font-size: 13px; padding: 10px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .mark::after { transform: scaleX(1); }
}
