/* Round 2, ui-ux-pro-max: "Stakleni pult" (glass counter).
   Design system from the skill: Glassmorphism + Soft UI Evolution, trust blue with an orange CTA,
   Plus Jakarta Sans, pattern Product Demo + Features. Tokens first, components after. */

:root {
  interpolate-size: allow-keywords;

  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --ink: #0F172A;
  --text: #1E293B;
  --muted: #475569;
  --line: #E2E8F0;

  --primary: #2563EB;
  --primary-ink: #1D4ED8;
  --secondary: #3B82F6;
  --primary-soft: #EFF6FF;
  --primary-line: #BFDBFE;

  --cta: #C2410C;        /* skill CTA #F97316, darkened to 5.2:1 with white text */
  --cta-hover: #9A3412;
  --warm-soft: #FFF7ED;
  --warm-line: #FED7AA;
  --warm-ink: #7C2D12;

  --product: #EEEBE5;    /* the counter's own background, behind its crops */

  --glass: rgba(255, 255, 255, .64);
  --glass-strong: rgba(255, 255, 255, .82);
  --glass-line: rgba(255, 255, 255, .9);
  --blur: blur(18px) saturate(150%);

  --r-xl: 32px;
  --r-lg: 24px;
  --r: 16px;
  --r-sm: 12px;

  --shadow-soft: 0 1px 2px rgba(15, 23, 42, .04), 0 10px 28px -12px rgba(15, 23, 42, .14);
  --shadow-float: 0 2px 6px rgba(15, 23, 42, .06), 0 40px 80px -30px rgba(30, 64, 175, .35);
  --shadow-shot: 0 0 0 1px rgba(15, 23, 42, .08), 0 14px 34px -18px rgba(15, 23, 42, .4);

  --dur: 220ms;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { color: var(--ink); font-weight: 700; margin: 0; }
p { margin: 0; }
a { color: var(--primary-ink); }
[id] { scroll-margin-top: calc(var(--header) + 16px); }
main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i--sm { width: 18px; height: 18px; }
.i--lg { width: 26px; height: 26px; stroke-width: 1.75; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.wrap--wide { width: min(1320px, 100% - 32px); }

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 12px 18px; border-radius: var(--r-sm);
  background: var(--ink); color: #fff; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Header: sticky glass bar */
.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(248, 250, 252, .74);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border-bottom: 1px solid rgba(15, 23, 42, .06);
}
.top__in { display: flex; align-items: center; gap: 24px; min-height: var(--header); }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -.01em;
  border-radius: 10px;
}
.brand__mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px;
  color: #fff; background: linear-gradient(135deg, var(--primary-ink), var(--secondary));
  box-shadow: 0 6px 16px -6px rgba(37, 99, 235, .7);
}
.nav { display: flex; gap: 4px; margin-inline: auto; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav a:hover { background: rgba(37, 99, 235, .08); color: var(--primary-ink); }
.preview {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px;
  border: 1px dashed #94A3B8; background: rgba(255, 255, 255, .7);
  color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer;
  touch-action: manipulation;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--cta { background: var(--cta); color: #fff; box-shadow: 0 12px 26px -12px rgba(194, 65, 12, .75); }
.btn--cta:hover { background: var(--cta-hover); }
.btn--glass {
  background: var(--glass-strong); color: var(--ink); border-color: rgba(15, 23, 42, .12);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--glass:hover { border-color: rgba(37, 99, 235, .45); color: var(--primary-ink); }
.btn--ghost { min-height: 44px; padding: 0 16px; font-size: 15px; background: #F1F5F9; color: var(--ink); }
.btn--ghost:hover { background: #E2E8F0; }
.btn--block { width: 100%; }

.status {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 15px 7px 11px; border-radius: 999px;
  background: var(--glass-strong); border: 1px solid var(--glass-line); box-shadow: var(--shadow-soft);
  color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.3;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.status__dot {
  width: 9px; height: 9px; border-radius: 50%; flex: none;
  background: #EA580C; box-shadow: 0 0 0 4px rgba(234, 88, 12, .18);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(234, 88, 12, .05); } }

.note { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14px; line-height: 1.55; }
.note .i { margin-top: 1px; color: var(--primary); }

.ico {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; flex: none;
  color: var(--primary); background: linear-gradient(135deg, #F5F9FF, #DBEAFE);
  border: 1px solid rgba(37, 99, 235, .14);
}
.ico--lg { width: 56px; height: 56px; border-radius: 18px; }
.ico--warm { color: var(--cta); background: linear-gradient(135deg, #FFFBF5, #FFEDD5); border-color: rgba(194, 65, 12, .16); }

/* Hero: copy left, the real counter in a frosted frame right */
.hero { position: relative; isolation: isolate; padding: 56px 0 88px; overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: -10% -5% 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 52% at 78% 30%, rgba(59, 130, 246, .26), transparent 70%),
    radial-gradient(30% 40% at 96% 86%, rgba(249, 115, 22, .18), transparent 70%),
    radial-gradient(34% 40% at 52% 92%, rgba(16, 185, 129, .12), transparent 70%),
    radial-gradient(36% 46% at 4% 10%, rgba(191, 219, 254, .55), transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.hero__copy .status { margin-bottom: 26px; }
.hero__title { font-size: clamp(38px, 3.7vw, 52px); line-height: 1.07; letter-spacing: -.03em; font-weight: 800; margin-bottom: 24px; text-wrap: balance; }
.hero__title .copy-line { display: block; }
.hero__title .copy-line + .copy-line { color: var(--primary-ink); font-weight: 700; }
.hero__text { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 33em; margin-bottom: 32px; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hero__copy .note { max-width: 34em; }
.hero__shot { margin: 0; }
.device {
  padding: 12px; border-radius: 28px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .42));
  border: 1px solid var(--glass-line); box-shadow: var(--shadow-float);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  animation: rise .42s var(--ease) both;
}
.device img { border-radius: 17px; box-shadow: 0 0 0 1px rgba(15, 23, 42, .1); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* Sections */
.section { position: relative; padding: 96px 0; }
.sec-head { max-width: 780px; margin-bottom: 52px; }
.kicker { margin-bottom: 14px; color: var(--primary); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; letter-spacing: -.032em; margin-bottom: 18px; text-wrap: balance; }
.sec-head p:not(.kicker), .lead { font-size: 18px; color: var(--muted); max-width: 40em; text-wrap: pretty; }

/* Real-screen crops: the image is scaled and shifted inside a window, never altered.
   --iw = image width, --cx/--cy = top-left of the window, --cw/--ch = window size (image px). */
.shot { position: relative; overflow: hidden; border-radius: 14px; background: var(--product); box-shadow: var(--shadow-shot); }
.crop { aspect-ratio: var(--cw) / var(--ch); }
.crop img {
  position: absolute; max-width: none; height: auto;
  width: calc(100% * var(--iw) / var(--cw));
  left: calc(-100% * var(--cx) / var(--cw));
  top: calc(-100% * var(--cy) / var(--ch));
}
.crop--sale { --iw: 2048; --cx: 0; --cy: 0; --cw: 2048; --ch: 1536; }
.crop--pay { --iw: 2560; --cx: 521; --cy: 249; --cw: 990; --ch: 1073; }
.crop--day { --iw: 2560; --cx: 0; --cy: 230; --cw: 1290; --ch: 832; }
.crop--off { --iw: 2560; --cx: 540; --cy: 248; --cw: 1490; --ch: 1307; }

/* Product: bento of glass cards over a soft colour field */
.product::before {
  content: ""; position: absolute; inset: 10% 0 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(30% 34% at 18% 40%, rgba(59, 130, 246, .16), transparent 70%),
    radial-gradient(28% 30% at 88% 30%, rgba(249, 115, 22, .12), transparent 70%),
    radial-gradient(30% 30% at 70% 88%, rgba(16, 185, 129, .1), transparent 70%);
}
.product { isolation: isolate; padding-top: 72px; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column; gap: 24px; padding: 28px; border-radius: var(--r-lg);
  background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
}
.card--a, .card--c { grid-column: span 7; }
.card--b, .card--d { grid-column: span 5; }
.card .shot { margin-top: auto; }
.card__head h3 { margin: 16px 0 6px; font-size: 22px; line-height: 1.25; letter-spacing: -.02em; }
.card__head p { color: var(--muted); font-size: 16px; text-wrap: pretty; }
.card--d {
  position: relative; overflow: hidden; justify-content: flex-end; min-height: 320px;
  background: linear-gradient(160deg, rgba(255, 251, 245, .92), rgba(255, 237, 213, .78));
  border-color: rgba(254, 215, 170, .9);
}
.card__mark {
  position: absolute; top: -28px; right: -28px; width: 260px; height: 260px;
  fill: none; stroke: var(--cta); stroke-width: .6; stroke-linecap: round; stroke-linejoin: round; opacity: .28;
}
.card--d .card__head { position: relative; }
.card--d .card__head h3 { margin-top: 0; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.card--d .card__head h3 .copy-line { display: block; }
.card--d .card__head h3 .copy-line + .copy-line { color: var(--cta); }
.card--d .card__head p { margin-top: 14px; font-size: 17px; color: #57534E; }
.caption { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 26px; color: var(--muted); font-size: 14px; text-align: center; }
.caption .i { color: var(--primary); }
.caption--left { justify-content: flex-start; text-align: left; margin-top: 4px; }

/* Offline: before and after, the same corner of the real counter */
.offline { background: linear-gradient(180deg, rgba(219, 234, 254, 0), rgba(219, 234, 254, .5) 50%, rgba(219, 234, 254, 0)); }
.offline__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; margin-bottom: 52px; }
.offline__title .ico { margin-bottom: 26px; }
.offline__title h2 { margin-bottom: 0; max-width: 11em; }
.note--warn {
  margin-top: 26px; padding: 15px 18px; border-radius: var(--r);
  background: rgba(255, 247, 237, .9); border: 1px solid var(--warm-line); color: var(--warm-ink); font-size: 15px;
}
.note--warn .i { color: var(--cta); }
.offline__shots { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; }
.offline__shots .shot { width: 100%; }
.offline__shots .connector .i { transform: rotate(-90deg); }
.connector {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--primary-line); color: var(--primary); box-shadow: var(--shadow-soft);
}

/* Equipment */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.opt {
  padding: 30px 28px; border-radius: var(--r-lg); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.opt h3 { margin: 22px 0 8px; font-size: 20px; letter-spacing: -.015em; line-height: 1.3; }
.opt p { color: var(--muted); font-size: 16px; text-wrap: pretty; }
.integration {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 18px 22px; border-radius: var(--r);
  background: rgba(239, 246, 255, .9); border: 1px solid var(--primary-line); color: #1E3A8A; font-size: 15px;
}
.integration .i { margin-top: 2px; color: var(--primary); }

/* Setup: four numbered steps on one line */
.setup { background: var(--surface); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.steps::before {
  content: ""; position: absolute; top: 27px; left: 28px; right: calc(25% - 49px); height: 2px;
  background: linear-gradient(90deg, var(--primary-line), var(--warm-line));
}
.step__num {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--primary-line); box-shadow: var(--shadow-soft);
  color: var(--primary); font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums;
}
.step h3 { margin: 22px 0 8px; font-size: 19px; letter-spacing: -.015em; }
.step p { color: var(--muted); font-size: 16px; text-wrap: pretty; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.faq__head { position: sticky; top: calc(var(--header) + 32px); }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px;
  padding: 22px 0; cursor: pointer; list-style: none;
  color: var(--ink); font-size: 18px; font-weight: 600; line-height: 1.4;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--primary-ink); }
.pm {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: var(--primary-soft); color: var(--primary);
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.qa[open] .pm { transform: rotate(45deg); background: var(--primary); color: #fff; }
.qa::details-content { block-size: 0; overflow: hidden; transition: block-size var(--dur) var(--ease), content-visibility var(--dur) allow-discrete; }
.qa[open]::details-content { block-size: auto; }
.qa p { padding: 0 54px 24px 0; color: var(--muted); text-wrap: pretty; }

/* Pilot */
.pilot { padding: 24px 0 112px; }
.pilot__card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: center;
  padding: 72px; border-radius: var(--r-xl); color: #fff;
  background:
    radial-gradient(55% 75% at 100% 0%, rgba(249, 115, 22, .38), transparent 62%),
    radial-gradient(45% 60% at 0% 100%, rgba(96, 165, 250, .35), transparent 65%),
    linear-gradient(135deg, #172554, #1E3A8A 45%, #1D4ED8);
  box-shadow: 0 40px 80px -40px rgba(30, 58, 138, .7);
}
.pilot__card h2 { color: #fff; }
.pilot__card .lead { color: #DBEAFE; margin-bottom: 32px; }
.pilot__note { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; color: #BFDBFE; font-size: 14px; max-width: 36em; }
.pilot__icons { display: grid; grid-template-columns: repeat(2, 96px); gap: 16px; justify-content: center; margin: 0; padding: 0; list-style: none; }
.pilot__icons li {
  display: grid; place-items: center; width: 96px; height: 96px; border-radius: 26px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); color: #fff;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.pilot__icons li:nth-child(2), .pilot__icons li:nth-child(4) { transform: translateY(24px); }
.pilot__icons .i { width: 34px; height: 34px; stroke-width: 1.6; }

/* Footer */
.foot { padding: 48px 0 56px; background: var(--surface); border-top: 1px solid var(--line); }
.foot__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; gap: 40px; align-items: start; }
.foot__brand p, .foot__note { margin-top: 10px; color: var(--muted); font-size: 15px; }
.foot__note { margin-top: 0; }
.foot__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.status--sm { padding: 5px 13px 5px 10px; font-size: 13px; box-shadow: none; border-color: var(--line); }

/* Dialogs */
.dlg {
  max-width: none; max-height: none; padding: 0; border: 0; border-radius: 28px;
  background: var(--surface); color: var(--text); box-shadow: 0 40px 120px -30px rgba(15, 23, 42, .55);
}
.dlg::backdrop { background: rgba(15, 23, 42, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dlg[open] { animation: pop .24s var(--ease); }
.dlg[open]::backdrop { animation: fade .24s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes fade { from { opacity: 0; } }
.dlg__in { display: flex; flex-direction: column; height: 100%; }
.dlg h2 { font-size: 24px; letter-spacing: -.02em; margin: 0; line-height: 1.25; }

.dlg--demo { width: min(1120px, 100vw - 48px); height: min(880px, 100dvh - 48px); }
.dlg__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 28px 16px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 28px 18px; border-bottom: 1px solid var(--line); }
.tab {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; touch-action: manipulation;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.tab:hover { border-color: var(--primary-line); color: var(--primary-ink); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.dlg__body { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 24px 28px 28px; background: var(--bg); }
.panel p { margin-bottom: 18px; color: var(--muted); max-width: 46em; }
.panel img { width: 100%; margin-bottom: 20px; border-radius: 14px; box-shadow: var(--shadow-shot); }
.panel:focus-visible { outline-offset: 6px; border-radius: 8px; }

.dlg--sm { width: min(520px, 100vw - 32px); }
.dlg--sm .dlg__in { padding: 34px 32px 28px; }
.dlg--sm h2 { margin: 22px 0 12px; }
.dlg--sm p { color: var(--muted); margin-bottom: 26px; font-size: 17px; }
.eq-icons { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.eq-icons li { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); border: 1px solid rgba(37, 99, 235, .14); }

@media (hover: hover) {
  .opt:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15, 23, 42, .05), 0 22px 40px -18px rgba(15, 23, 42, .22); }
}

/* Tablet */
@media (max-width: 1080px) {
  .nav a { padding: 0 12px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__copy { max-width: 720px; }
}

@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .product { padding-top: 56px; }
  .bento { grid-template-columns: 1fr; }
  .card--a, .card--b, .card--c, .card--d { grid-column: auto; }
  .card--d { gap: 40px; }
  .offline__head, .faq { grid-template-columns: 1fr; gap: 24px; }
  .faq { gap: 40px; }
  .offline__shots { grid-template-columns: 1fr; justify-items: center; gap: 12px; }
  .offline__shots .connector .i { transform: none; }
  .faq__head { position: static; }
  .cards3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--primary-line), var(--warm-line)); }
  .step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 20px; }
  .step h3 { margin-top: 13px; }
  .pilot__card { grid-template-columns: 1fr; padding: 48px 32px; gap: 40px; }
  .pilot__icons { grid-template-columns: repeat(4, 64px); justify-content: start; gap: 12px; order: -1; }
  .pilot__icons li { width: 64px; height: 64px; border-radius: 18px; }
  .pilot__icons li:nth-child(2), .pilot__icons li:nth-child(4) { transform: none; }
  .pilot__icons .i { width: 26px; height: 26px; }
  .foot__in { grid-template-columns: 1fr; gap: 20px; }
  .foot__meta { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
}

/* Header on narrow screens: brand + preview, then the four sections as a row of chips */
@media (max-width: 760px) {
  .top { position: static; }
  .top__in { flex-wrap: wrap; gap: 12px; padding-block: 12px; min-height: 0; }
  .preview { margin-left: auto; }
  .nav {
    order: 3; width: 100%; margin: 0; gap: 8px; overflow-x: auto; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent);
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { min-height: 40px; padding: 0 15px; font-size: 14px; background: var(--glass-strong); border: 1px solid var(--line); }
  [id] { scroll-margin-top: 16px; }
}

/* Phone */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 28px 0 64px; }
  .hero__grid { gap: 0; }
  .hero__copy { display: contents; }
  .hero__copy .status { justify-self: start; margin-bottom: 18px; }
  .hero__title { font-size: 38px; margin-bottom: 22px; }
  .hero__shot { margin-bottom: 28px; }
  .hero__text { font-size: 17px; margin-bottom: 24px; }
  .hero__actions { flex-direction: column; margin-bottom: 20px; }
  .hero__actions .btn { width: 100%; }
  .device { padding: 6px; border-radius: 18px; }
  .device img { border-radius: 13px; }
  .section { padding: 72px 0; }
  .sec-head { margin-bottom: 36px; }
  .sec-head p:not(.kicker), .lead { font-size: 17px; }
  .card { padding: 22px; gap: 20px; }
  .card__head h3 { font-size: 20px; }
  .crop--sale { --iw: 2048; --cx: 1251; --cy: 707; --cw: 797; --ch: 809; }
  .crop--day { --iw: 2560; --cx: 0; --cy: 230; --cw: 860; --ch: 564; }
  .crop--off { --iw: 2560; --cx: 560; --cy: 1088; --cw: 848; --ch: 282; }
  .card__mark { width: 190px; height: 190px; }
  .card--d { min-height: 0; padding-top: 120px; }
  .qa summary { font-size: 17px; padding: 18px 0; }
  .qa p { padding-right: 0; }
  .pilot { padding-bottom: 72px; }
  .pilot__card { padding: 36px 22px; border-radius: 26px; }
  .pilot__card .btn { width: 100%; }
  .dlg--demo { width: 100vw; height: 100dvh; border-radius: 0; margin: 0; }
  .dlg__head { padding: 16px 16px 12px; }
  .dlg__head h2 { font-size: 19px; }
  .tabs {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 0 16px 14px; gap: 6px;
    -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent);
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; padding: 0 13px; font-size: 14px; white-space: nowrap; }
  .dlg__body { padding: 18px 16px 24px; }
  .dlg--sm .dlg__in { padding: 26px 22px 22px; }
}

/* Hero order on a phone: the counter right after the headline */
@media (max-width: 640px) {
  .hero__copy .status { order: 1; }
  .hero__title { order: 2; }
  .hero__shot { order: 3; }
  .hero__text { order: 4; }
  .hero__actions { order: 5; }
  .hero__copy .note { order: 6; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
