/* Home page. Colors follow the mobile app: blue action, ink chips, soft grey ground, green for money in. */
:root {
  --bg: #f6f6f8;
  --surface: #ffffff;
  --ink: #12141d;
  --text: #12141d;
  --muted: #737680;
  --faint: #a3a6af;
  --line: #e6e7ec;
  --blue: #3b82f6;
  --blue-deep: #2563eb;
  --blue-soft: #e8f0fe;
  --green: #137b3b;
  --green-soft: #e5f8ea;
  --amber: #995f0e;
  --amber-soft: #fef1da;
  --red: #cf2e31;
  --shadow: 0 1px 2px rgba(18, 20, 29, .04), 0 12px 32px -12px rgba(18, 20, 29, .12);
  --font: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --r: 18px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1015;
    --surface: #171a22;
    --ink: #f1f2f5;
    --text: #e9eaee;
    --muted: #9ea2ad;
    --faint: #6f7480;
    --line: #262a35;
    --blue: #5b9bff;
    --blue-deep: #3b82f6;
    --blue-soft: #18233a;
    --green: #5fd08a;
    --green-soft: #15291d;
    --amber: #f1b45a;
    --amber-soft: #2e2414;
    --red: #f07070;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--blue); }
img, svg { max-width: 100%; }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0; }

.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 20px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 14px; background: var(--blue); color: #fff;
  font-weight: 600; font-size: 15.5px; text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 20px -8px rgba(59, 130, 246, .6);
}
.btn:hover { background: var(--blue-deep); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.btn--small { padding: 10px 16px; font-size: 14px; border-radius: 12px; box-shadow: none; }
.btn--ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { background: var(--surface); box-shadow: inset 0 0 0 1px var(--faint); }
.btn--light { background: #fff; color: #12141d; box-shadow: none; }
.btn--light:hover { background: #eef3ff; }
.btn--outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.is-scrolled { border-bottom-color: var(--line); }
.top__in { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { font-weight: 800; font-size: 21px; color: var(--ink); text-decoration: none; letter-spacing: -0.03em; display: inline-flex; align-items: center; gap: 8px; }
.logo img { width: 28px; height: 28px; flex: none; }
.logo b { font-weight: inherit; }
.logo span { color: var(--blue); }
.top__nav { display: flex; gap: 28px; margin-left: auto; }
.top__nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.top__nav a:hover { color: var(--ink); }

/* type */
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.eyebrow--light { color: #8fb8ff; }
h1 { font-size: clamp(38px, 6vw, 66px); line-height: 1.02; font-weight: 800; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; font-weight: 700; }
h3 { font-size: 19px; line-height: 1.25; font-weight: 600; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 34em; margin-top: 22px; }
.sub { color: var(--muted); font-size: 17px; max-width: 36em; margin-top: 14px; }

/* hero */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(48px, 7vw, 96px); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__facts { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; max-width: 520px; color: var(--muted); font-size: 14px; }
.hero__facts li { display: flex; flex-direction: column; gap: 2px; line-height: 1.35; }
.hero__facts b { color: var(--ink); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.hero__visual { position: relative; display: flex; justify-content: center; padding-block: 12px; }

/* phone */
.phone { position: relative; width: 300px; max-width: 100%; aspect-ratio: 300 / 610; border-radius: 46px; background: #0d0f15; padding: 11px; box-shadow: 0 40px 80px -30px rgba(18, 20, 29, .45), 0 0 0 1px rgba(255, 255, 255, .06) inset; }
.phone__notch { position: absolute; top: 20px; left: 50%; width: 92px; height: 26px; border-radius: 20px; background: #0d0f15; transform: translateX(-50%); z-index: 3; }
.screen { position: relative; height: 100%; border-radius: 36px; background: #f6f6f8; overflow: hidden; color: #12141d; font-size: 12px; padding: 0 12px; }
.screen__bar { display: flex; justify-content: space-between; padding: 14px 14px 0; font-weight: 600; font-size: 12.5px; height: 44px; }
.screen__icons { width: 46px; height: 11px; border-radius: 3px; background: linear-gradient(90deg, #12141d 0 30%, transparent 30% 40%, #12141d 40% 66%, transparent 66% 74%, #12141d 74%); opacity: .85; }
.app-head { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.app-head__name { font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.pill { font-size: 10.5px; font-weight: 600; padding: 4px 9px; border-radius: 99px; }
.pill--green { background: #e5f8ea; color: #137b3b; }
.revenue { margin-top: 12px; background: #fff; border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; }
.revenue__label { color: #737680; font-size: 11px; }
.revenue__value { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.revenue__value.is-bump { animation: bump .6s ease; }
.tabs-mini { display: flex; gap: 6px; margin-top: 12px; }
.tabs-mini span { padding: 6px 10px; border-radius: 99px; background: #fff; color: #737680; font-weight: 500; font-size: 11px; box-shadow: inset 0 0 0 1px #e6e7ec; }
.tabs-mini span.is-on { background: #12141d; color: #fff; box-shadow: none; }
.tabs-mini i { font-style: normal; opacity: .6; margin-left: 2px; }
.orders { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.order { background: #fff; border-radius: 16px; padding: 11px 12px; display: flex; flex-direction: column; gap: 5px; transition: box-shadow .4s ease, transform .4s ease; }
.order__top { display: flex; justify-content: space-between; align-items: center; }
.order__car { color: #737680; font-size: 11.5px; }
.order__foot { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: #12141d; }
.order__foot b { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; }
.avatar { width: 20px; height: 20px; border-radius: 50%; background: #e8f0fe; color: #2563eb; display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.order__status { font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 99px; transition: background-color .3s, color .3s; }
.order[data-state="queue"] .order__status { background: #f1f2f5; color: #737680; }
.order[data-state="queue"] .order__status::after { content: "Запись 15:30"; }
.order[data-state="work"] .order__status { background: #e8f0fe; color: #2563eb; }
.order[data-state="work"] .order__status::after { content: "В работе"; }
.order[data-state="ready"] .order__status { background: #e5f8ea; color: #137b3b; }
.order[data-state="ready"] .order__status::after { content: "Готова"; }
.order[data-state="paid"] .order__status { background: #12141d; color: #fff; }
.order[data-state="paid"] .order__status::after { content: "Оплачено"; }
.order.is-flash { box-shadow: 0 0 0 2px #3b82f6; transform: scale(1.015); }

/* Kazakhstan plate */
.plate { display: inline-flex; align-items: center; gap: 5px; padding: 2px 7px 2px 3px; border: 1.5px solid #12141d; border-radius: 5px; background: #fff; color: #12141d; font-weight: 700; font-size: 11.5px; letter-spacing: .04em; font-variant-numeric: tabular-nums; line-height: 1.3; }
.plate i { font-style: normal; font-size: 7px; font-weight: 700; color: #fff; background: #00a3dd; border-radius: 2px; padding: 4px 2px 1px; line-height: 1; letter-spacing: 0; }
.plate--big { font-size: 22px; padding: 4px 12px 4px 5px; border-width: 2.5px; border-radius: 8px; gap: 10px; }
.plate--big i { font-size: 11px; padding: 10px 4px 3px; border-radius: 3px; }

.toast { position: absolute; left: 12px; right: 12px; bottom: 18px; background: #12141d; color: #fff; font-size: 11px; font-weight: 500; padding: 10px 12px; border-radius: 12px; opacity: 0; transform: translateY(12px); transition: opacity .35s ease, transform .35s ease; }
.toast.is-on { opacity: 1; transform: none; }

.float { position: absolute; display: flex; align-items: center; gap: 8px; background: var(--surface); color: var(--ink); font-size: 13.5px; font-weight: 600; padding: 10px 14px; border-radius: 14px; box-shadow: var(--shadow); white-space: nowrap; animation: drift 6s ease-in-out infinite; }
.float--a { left: 0; top: 3%; }
.float--b { right: 0; bottom: 22%; color: var(--green); animation-delay: -3s; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot--green { background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }

/* strip */
.strip { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.strip__in { display: flex; gap: 12px 36px; flex-wrap: wrap; justify-content: center; padding-block: 18px; color: var(--muted); font-size: 14.5px; font-weight: 500; }
.strip__in span { display: inline-flex; align-items: center; gap: 10px; }
.strip__in span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* sections */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tint { background: var(--surface); border-block: 1px solid var(--line); }
.section--dark { background: #12141d; color: #e9eaee; }
.section--dark h2 { color: #fff; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.tile { background: var(--surface); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 10px; box-shadow: inset 0 0 0 1px var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.tile:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.tile p { color: var(--muted); font-size: 15px; }
.tile__icon { width: 44px; height: 44px; border-radius: 13px; background: var(--blue-soft); display: grid; place-items: center; margin-bottom: 8px; }
.tile__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile--scan { grid-column: span 2; grid-row: span 2; flex-direction: row; gap: 28px; align-items: center; background: linear-gradient(135deg, var(--blue-soft), var(--surface) 70%); }
.tile--scan .tile__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.tile--scan h3 { font-size: 28px; }
.tile--scan p { font-size: 16px; }
.scan { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.scan__photo { position: relative; height: 150px; border-radius: 16px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(120% 90% at 50% 120%, #3d4250, #1d2029 70%); }
.scan__photo::after { content: ""; position: absolute; inset: 22px 38px; border: 2px dashed rgba(255, 255, 255, .35); border-radius: 12px; }
.scan__line { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: #5b9bff; box-shadow: 0 0 18px 4px rgba(91, 155, 255, .7); animation: scanline 2.6s ease-in-out infinite; }
.scan__fields { margin: 0; display: grid; gap: 8px; }
.scan__fields div { display: flex; justify-content: space-between; gap: 12px; background: var(--surface); border-radius: 12px; padding: 10px 14px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; }
.scan__fields dt { color: var(--muted); }
.scan__fields dd { margin: 0; font-weight: 600; color: var(--ink); }
.js .scan__fields dd { opacity: 0; transform: translateX(8px); }
.js .tile--scan.is-in .scan__fields dd { animation: fillin .5s ease forwards; }
.js .tile--scan.is-in .scan__fields div:nth-child(1) dd { animation-delay: .9s; }
.js .tile--scan.is-in .scan__fields div:nth-child(2) dd { animation-delay: 1.3s; }
.js .tile--scan.is-in .scan__fields div:nth-child(3) dd { animation-delay: 1.7s; }

/* showcase */
.show { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 56px; align-items: center; }
.show__tabs { display: flex; flex-direction: column; gap: 8px; margin-top: 36px; }
.show__tabs button { position: relative; text-align: left; font: inherit; color: inherit; background: none; border: 0; border-radius: 16px; padding: 18px 20px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; overflow: hidden; transition: background-color .25s; }
.show__tabs button b { font-size: 18px; font-weight: 600; color: var(--faint); transition: color .25s; }
.show__tabs button span { color: var(--muted); font-size: 15px; display: none; }
.show__tabs button[aria-selected="true"] { background: var(--bg); }
.show__tabs button[aria-selected="true"] b { color: var(--ink); }
.show__tabs button[aria-selected="true"] span { display: block; }
.show__progress { position: absolute; left: 20px; right: 20px; bottom: 0; height: 2px; background: var(--line); border-radius: 2px; opacity: 0; }
.show__progress::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform-origin: left; transform: scaleX(0); border-radius: 2px; }
.show__tabs button[aria-selected="true"] .show__progress { opacity: 1; }
.show__tabs.is-auto button[aria-selected="true"] .show__progress::after { animation: progress var(--tab-time, 6s) linear forwards; }
.show__visual { display: flex; justify-content: center; }
.phone--flat { aspect-ratio: 300 / 560; }
.phone--flat .screen { padding: 26px 16px; }
.pane { position: absolute; inset: 26px 16px; display: flex; flex-direction: column; gap: 10px; opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.pane.is-on { opacity: 1; transform: none; }
.pane__title { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.field { background: #fff; border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.field span { font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #a3a6af; }
.field b { font-size: 13.5px; font-weight: 600; }
.field--sum b { font-size: 24px; letter-spacing: -0.02em; }
.seg { display: flex; background: #ececf0; border-radius: 12px; padding: 3px; }
.seg span { flex: 1; text-align: center; padding: 7px 0; border-radius: 9px; color: #737680; font-weight: 500; }
.seg span.is-on { background: #fff; color: #12141d; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.hint { background: #fef1da; color: #995f0e; border-radius: 12px; padding: 9px 12px; font-size: 11.5px; }
.bar-btn { margin-top: auto; background: #3b82f6; color: #fff; text-align: center; font-weight: 600; padding: 13px; border-radius: 14px; font-size: 13.5px; }
.bar-btn--ghost { background: #fff; color: #12141d; box-shadow: inset 0 0 0 1px #e6e7ec; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kpis div { background: #fff; border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; }
.kpis span { font-size: 10.5px; color: #737680; }
.kpis b { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.chart { background: #fff; border-radius: 14px; padding: 12px 12px 26px; height: 150px; display: flex; align-items: flex-end; gap: 8px; }
.chart span { position: relative; flex: 1; height: var(--h); background: linear-gradient(#5b9bff, #3b82f6); border-radius: 6px 6px 3px 3px; transform-origin: bottom; }
.pane.is-on .chart span { animation: grow .7s cubic-bezier(.2, .8, .2, 1) backwards; }
.pane.is-on .chart span:nth-child(2) { animation-delay: .05s; } .pane.is-on .chart span:nth-child(3) { animation-delay: .1s; }
.pane.is-on .chart span:nth-child(4) { animation-delay: .15s; } .pane.is-on .chart span:nth-child(5) { animation-delay: .2s; }
.pane.is-on .chart span:nth-child(6) { animation-delay: .25s; } .pane.is-on .chart span:nth-child(7) { animation-delay: .3s; }
.chart i { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 10px; color: #a3a6af; }
.perm { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 14px; padding: 12px 14px; font-weight: 500; font-size: 13px; }
.sw { position: relative; width: 38px; height: 22px; border-radius: 99px; background: #e2e2e7; transition: background-color .3s; }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .3s; }
.sw.is-on { background: #3b82f6; }
.sw.is-on::after { transform: translateX(16px); }

/* steps */
.steps-row { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: none; position: relative; }
.steps-row li { position: relative; background: var(--surface); border-radius: var(--r); padding: 28px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 10px; }
.steps-row p { color: var(--muted); font-size: 15px; }
.steps-row__n { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-weight: 700; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.steps-row li:not(:last-child)::after { content: ""; position: absolute; top: 48px; left: calc(28px + 52px); right: -8px; height: 2px; background: linear-gradient(90deg, var(--blue), transparent); transform-origin: left; transform: scaleX(var(--line-x, 1)); transition: transform 1s ease .3s; }
.js .steps-row li:not(:last-child) { --line-x: 0; }
.js .steps-row li.is-in:not(:last-child) { --line-x: 1; }

/* compare */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.compare__col { border-radius: var(--r); padding: 30px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.compare__col h3 { color: #fff; margin-bottom: 18px; }
.compare__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.compare__col li { display: flex; gap: 12px; color: #a7abb6; font-size: 15.5px; line-height: 1.45; }
.compare__col li::before { content: "×"; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #8b8f9a; font-size: 14px; line-height: 1; }
.compare__col--good { background: linear-gradient(160deg, rgba(59, 130, 246, .22), rgba(59, 130, 246, .06)); box-shadow: inset 0 0 0 1px rgba(91, 155, 255, .35); }
.compare__col--good li { color: #e9eaee; }
.compare__col--good li::before { content: "✓"; background: #3b82f6; color: #fff; font-size: 12px; }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding-block: 18px; font-weight: 600; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-size: 18px; font-weight: 500; color: var(--muted); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); font-size: 15.5px; padding-bottom: 20px; max-width: 40em; }
.faq details[open] p { animation: fillin .35s ease; }

/* cta */
.cta { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px; align-items: end; padding: clamp(32px, 5vw, 56px); border-radius: 28px; background: #2563eb; color: #fff; }
.cta::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 65%); animation: drift 9s ease-in-out infinite; }
.cta > * { position: relative; }
.cta h2 { color: #fff; }
.cta__text p { color: rgba(255, 255, 255, .82); font-size: 17px; margin-top: 14px; max-width: 30em; }
.cta__contacts { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.cta__contacts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .65); }
.cta__contacts dd { margin: 0; font-weight: 600; font-size: 16.5px; }
.cta__contacts a { color: #fff; text-decoration: none; }
.cta__contacts a:hover { text-decoration: underline; }

/* footer */
.foot { border-top: 1px solid var(--line); padding-block: 48px 32px; color: var(--muted); font-size: 14.5px; }
.foot__in { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.foot__brand p { margin-top: 10px; max-width: 26em; }
.foot__col { display: flex; flex-direction: column; gap: 8px; }
.foot__col b { color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.foot__col a { color: var(--muted); text-decoration: none; }
.foot__col a:hover { color: var(--ink); }
.foot__copy { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; }

/* reveal on scroll: content is visible without JS */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes bump { 0% { color: inherit; } 30% { color: #137b3b; transform: scale(1.04); } 100% { color: inherit; transform: none; } }
@keyframes scanline { 0% { top: 8%; } 50% { top: 90%; } 100% { top: 8%; } }
@keyframes fillin { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
@keyframes progress { to { transform: scaleX(1); } }
@keyframes grow { from { transform: scaleY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal, .js .scan__fields dd { opacity: 1; transform: none; }
  .js .steps-row li:not(:last-child) { --line-x: 1; }
}

@media (max-width: 960px) {
  .top__nav { display: none; }
  .top__in .btn { margin-left: auto; }
  .hero__in, .show, .faq, .cta { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { margin-top: 8px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--scan { grid-column: span 2; grid-row: auto; }
  .show__visual { order: -1; }
  .show__tabs button span { display: block; }
  .show__tabs button b { color: var(--ink); }
}

@media (max-width: 640px) {
  .bento, .steps-row, .compare { grid-template-columns: minmax(0, 1fr); }
  .tile--scan { grid-column: auto; flex-direction: column; align-items: stretch; }
  .steps-row li::after { display: none; }
  .foot__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot__brand { grid-column: 1 / -1; }
  .float--a { display: none; }
  .float--b { right: -4px; }
  .float { font-size: 12.5px; padding: 8px 12px; }
  .hero__cta .btn { flex: 1 1 100%; }
}
