/* huntprop.io - site styles. Plain CSS, no build step. Dark, precise. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk-latin-ext.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --bg: #060608;
  --bg-2: #060608;
  --surface: #0f1116;
  --surface-2: #161a22;
  --line: #1d212b;
  --line-2: #2a2f3b;
  --hi: rgba(255, 255, 255, 0.05);

  --text: #f3f4f6;
  --text-2: #b4bac5;
  --text-3: #8a91a0;

  --brand: #ff5a1f;
  --brand-2: #ff7a45;
  --brand-soft: rgba(255, 90, 31, 0.12);
  --brand-line: rgba(255, 90, 31, 0.35);

  --up: #3dd68c;
  --down: #f26d6d;
  --warn: #f5a524;
  --blue: #5b8cff;

  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 1px 0 var(--hi) inset, 0 24px 48px -16px rgba(0, 0, 0, 0.6);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1200px;
  --gutter: 24px;

  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  scrollbar-color: var(--line-2) var(--bg);
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection { background: var(--brand); color: #0a0a0a; }

h1, h2, h3 {
  margin: 0;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.06;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
img, svg { display: block; }
button { font: inherit; }
input, textarea, select { font: inherit; color: inherit; caret-color: var(--brand); }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 10px 14px; border-radius: 8px;
  font-weight: 600; text-decoration: none; transition: top 0.2s var(--ease-out);
}
.skip:focus { top: 12px; }

.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.i {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 17px;
  border-radius: var(--radius); border: 1px solid transparent;
  font-size: 15.5px; font-weight: 600; line-height: 1; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn .i { width: 18px; height: 18px; }
.btn__arrow { transition: transform 0.3s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--sm { height: 36px; padding: 0 13px; font-size: 14.5px; }
.btn--sm .i { width: 16px; height: 16px; }
.btn--lg { height: 50px; padding: 0 21px; font-size: 16px; }

.btn--primary { background: linear-gradient(180deg, #ff7a3d, #ff5a1f); color: #110601; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 10px 32px -8px rgba(255, 90, 31, 0.7); }
.btn--primary:hover { background: linear-gradient(180deg, #ff8d57, #ff6a33); }
.btn--ghost { background: rgba(255, 255, 255, 0.02); border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { background: var(--surface-2); border-color: #3a404e; }
.btn--dark { background: var(--surface-2); color: var(--text); border-color: var(--line-2); }
.btn--dark:hover { background: #1d2230; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__bar { display: flex; align-items: center; gap: 32px; height: 66px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo__mark { width: 26px; height: 26px; }
.logo__mark rect { fill: var(--brand); }
.logo__mark path { fill: none; stroke: #110601; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.logo__word { font-size: 18.5px; font-weight: 700; letter-spacing: -0.03em; }

.nav__links { display: flex; gap: 26px; margin-left: 8px; }
.nav__links a {
  font-size: 14.5px; font-weight: 500; color: var(--text-3); text-decoration: none;
  padding: 6px 0; transition: color 0.2s;
}
.nav__links a:hover { color: var(--text); }
.nav__cta { display: flex; gap: 8px; margin-left: auto; }

.nav__toggle {
  display: none; margin-left: auto;
  width: 42px; height: 42px; border-radius: var(--radius);
  border: 1px solid var(--line-2); background: transparent; color: var(--text);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav__toggle .i--close { display: none; }
.nav__toggle[aria-expanded="true"] .i--open { display: none; }
.nav__toggle[aria-expanded="true"] .i--close { display: block; }

.nav__sheet { border-top: 1px solid var(--line); background: var(--bg); padding: 8px 0 20px; }
.nav__sheet a:not(.btn) {
  display: block; padding: 13px 0; font-size: 17px; font-weight: 500;
  color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line);
}
.nav__sheet-cta { display: grid; gap: 10px; margin-top: 18px; }
.nav__sheet-cta .btn { width: 100%; height: 50px; }

/* ---------- Hero ---------- */

.hero { position: relative; padding: 56px 0 0; overflow: hidden; isolation: isolate; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center -1px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 18%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 18%, #000 20%, transparent 75%);
}
.hero__bg::after {
  /* the one light in the room: falling on the product */
  content: ""; position: absolute; left: 50%; top: 52%; width: 1100px; height: 520px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 90, 31, 0.42), rgba(255, 90, 31, 0.1) 55%, transparent);
  -webkit-mask-image: none; mask-image: none;
}

.hero__copy { text-align: center; max-width: 1040px; }
.hero__title {
  font-size: clamp(2.9rem, 1.2rem + 5vw, 5.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.hero__lede { margin: 22px auto 0; font-size: 19px; line-height: 1.55; color: var(--text-2); max-width: 46em; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.hero__markets {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  list-style: none; padding: 0; margin: 22px 0 0;
}
.hero__markets li {
  height: 30px; display: inline-flex; align-items: center; padding: 0 12px;
  border: 1px solid var(--line-2); border-radius: 99px;
  font-size: 13.5px; font-weight: 500; color: var(--text-3); background: rgba(255, 255, 255, 0.02);
}

.hero__stage { margin-top: 44px; }
.hero__note { text-align: center; font-size: 13.5px; color: var(--text-3); padding: 0 0 28px; margin-top: -8px; }

/* The stage scales with its width: 1em = 1/120 of the stage. */
.stage { container-type: inline-size; }
.stage__canvas {
  position: relative;
  height: 58em;
  font-size: calc(100cqw / 120);
  color: #e8ebf1;
  -webkit-mask-image: linear-gradient(#000 66%, transparent 98%);
  mask-image: linear-gradient(#000 66%, transparent 98%);
}

.hp-win { position: absolute; left: 12em; top: 2em; width: 74em; }
.hp-rules { position: absolute; left: 86em; top: 8em; width: 27em; }
.hp-phone { position: absolute; left: 3.5em; top: 15em; width: 20.5em; }
.hp-toast { position: absolute; left: 79em; top: 38.5em; width: 33em; }

@media (prefers-reduced-motion: no-preference) {
  .stage__canvas > .win,
  .stage__canvas > .mcard,
  .stage__canvas > .phone {
    animation: rise 1.1s var(--ease-out) backwards;
  }
  .stage__canvas > .hp-win { animation-delay: 0.05s; }
  .stage__canvas > .hp-rules { animation-delay: 0.22s; }
  .stage__canvas > .hp-phone { animation-delay: 0.34s; }
  .stage__canvas > .hp-toast { animation-delay: 0.48s; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(2.4em); }
  to { opacity: 1; transform: none; }
}

/* ---------- Mock UI (sizes in em of the stage or device) ---------- */

.win {
  background: #0f1218; border-radius: 1.2em; overflow: hidden;
  border: 1px solid #222734;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 3em 6em -1.5em rgba(0, 0, 0, 0.75);
}
.win__bar {
  display: flex; align-items: center; gap: 1.6em;
  height: 3.4em; padding: 0 1.4em;
  background: #12151c; border-bottom: 1px solid #1f2430;
}
.win__dots { display: flex; gap: 0.6em; }
.win__dots i { width: 1em; height: 1em; border-radius: 50%; background: #2a303d; }
.win__url {
  flex: 1; max-width: 26em; margin: 0 auto; transform: translateX(-2.2em);
  height: 2.1em; display: flex; align-items: center; justify-content: center;
  background: #0b0d12; border: 1px solid #1f2430; border-radius: 0.7em;
  font-size: 1.05em; color: #7d8696;
}

.k-brand { display: flex; align-items: center; gap: 0.7em; font-weight: 700; font-size: 1.35em; letter-spacing: -0.02em; color: #f1f3f7; }
.k-mark {
  display: inline-block; width: 1.5em; height: 1.5em; border-radius: 0.45em;
  background: linear-gradient(135deg, #3f6fff, #7aa0ff);
  position: relative; flex: none;
}
.k-mark::after {
  content: ""; position: absolute; inset: 0.36em 0.3em 0.42em 0.36em;
  border: 0.18em solid #fff; border-left: 0; border-bottom: 0;
  transform: rotate(45deg) translate(-0.08em, 0.12em);
}
.k-mark--lg { width: 3.2em; height: 3.2em; border-radius: 0.9em; }

.tag {
  display: inline-flex; align-items: center; gap: 0.45em;
  height: 2em; padding: 0 0.75em; border-radius: 99px;
  font-size: 1em; font-weight: 600; white-space: nowrap;
  background: rgba(255, 255, 255, 0.06); color: #c3c9d4;
}
.tag--live, .tag--green { background: rgba(61, 214, 140, 0.12); color: #4ade9b; }
.tag--live::before { content: ""; width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--up); }
.tag--blue { background: rgba(91, 140, 255, 0.14); color: #93b2ff; }
.tag--amber { background: rgba(245, 165, 36, 0.14); color: #f7b955; }

.up { color: #4ade9b; }
.down { color: #f58a8a; }

.dash { display: grid; grid-template-columns: 12em minmax(0, 1fr); }
.dash__side { padding: 2em 1.4em; border-right: 1px solid #1c2029; background: #0c0e13; }
.dash__nav { display: grid; gap: 0.3em; margin-top: 2.4em; }
.dash__nav span {
  display: flex; align-items: center; gap: 0.7em;
  padding: 0.7em 0.8em; border-radius: 0.6em;
  font-size: 1.1em; font-weight: 500; color: #7d8696;
}
.dash__nav i { width: 1em; height: 1em; border-radius: 0.25em; background: #2a303d; }
.dash__nav .is-on { background: #171b24; color: #f1f3f7; }
.dash__nav .is-on i { background: var(--blue); }
.dash__main { padding: 2.2em 2.4em 2.4em; min-width: 0; }
.dash__head { display: flex; justify-content: space-between; align-items: flex-start; }
.dash__title { font-size: 2em; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: #f6f7f9; }
.dash__sub { font-size: 1.1em; color: #7d8696; margin-top: 0.3em; }
.dash__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1em; margin-top: 1.8em; }
.dash__kpis div { border: 1px solid #1c2029; background: #11141a; border-radius: 0.9em; padding: 1em 1.1em; display: grid; gap: 0.15em; }
.dash__kpis span { font-size: 1em; color: #7d8696; }
.dash__kpis b { font-size: 1.8em; font-weight: 700; letter-spacing: -0.03em; color: #f6f7f9; }
.dash__kpis em { font-style: normal; font-size: 1em; font-weight: 600; color: #7d8696; }
.dash__body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1em; margin-top: 1em; }
.dash__chart, .dash__rules { border: 1px solid #1c2029; background: #11141a; border-radius: 0.9em; padding: 1.2em 1.3em; }
.dash__cap { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05em; margin-bottom: 0.8em; }
.dash__cap b { color: #f1f3f7; font-weight: 600; }
.dash__cap span { color: #7d8696; }
.dash__chart svg { width: 100%; height: 13em; }
.dash__line { fill: none; stroke: var(--blue); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.dash__target { stroke: var(--up); stroke-width: 1.2; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; opacity: 0.8; }
.dash__chart stop { stop-color: var(--blue); }
.dash__rules { display: grid; gap: 0.95em; align-content: start; }
.dash__rules .dash__cap { margin-bottom: 0; }
.mrule__top { display: flex; justify-content: space-between; font-size: 1.02em; color: #8f97a6; margin-bottom: 0.45em; }
.mrule__top b { color: #e8ebf1; font-weight: 600; }
.mbar { height: 0.5em; border-radius: 99px; background: #1d222c; overflow: hidden; }
.mbar i { display: block; height: 100%; border-radius: inherit; background: var(--blue); }
.mbar--warn i { background: var(--warn); }
.mbar--ok i { background: var(--up); }
.dash__trades { margin-top: 1em; border: 1px solid #1c2029; border-radius: 0.9em; overflow: hidden; }
.dash__tr { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; padding: 0.85em 1.3em; border-top: 1px solid #1c2029; font-size: 1.08em; color: #c3c9d4; }
.dash__tr span:last-child { text-align: right; font-weight: 600; }
.dash__tr--h { border-top: 0; background: #11141a; color: #7d8696; font-size: 1em; }
.dash__tr--h span:last-child { font-weight: 500; }

.mcard {
  background: #12151c; border: 1px solid #252b38; border-radius: 1.4em; padding: 1.7em 1.8em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07) inset, 0 2.4em 5em -1em rgba(0, 0, 0, 0.8);
}
.mcard__head { display: flex; align-items: center; justify-content: space-between; gap: 1em; }
.mcard__head b { font-size: 1.4em; font-weight: 700; letter-spacing: -0.02em; color: #f6f7f9; }
.mkv { margin: 1.2em 0 0; display: grid; }
.mkv div { display: flex; justify-content: space-between; padding: 0.85em 0; border-top: 1px solid #1f2430; font-size: 1.15em; }
.mkv dt { color: #8f97a6; }
.mkv dd { margin: 0; font-weight: 600; color: #f1f3f7; }
.mcard__foot { display: flex; align-items: center; gap: 0.6em; margin-top: 0.6em; padding-top: 1em; border-top: 1px solid #1f2430; font-size: 1.05em; font-weight: 600; color: #4ade9b; }
.okdot { width: 0.7em; height: 0.7em; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0.3em rgba(61, 214, 140, 0.15); flex: none; }

.hp-toast { display: flex; align-items: center; gap: 1.2em; padding: 1.3em 1.5em; }
.hp-toast__ico { width: 3.2em; height: 3.2em; border-radius: 50%; background: rgba(61, 214, 140, 0.14); display: grid; place-items: center; flex: none; }
.hp-toast__ico svg { width: 1.7em; height: 1.7em; fill: none; stroke: #4ade9b; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hp-toast__body { display: grid; gap: 0.15em; flex: 1; min-width: 0; transition: opacity 0.35s, transform 0.45s var(--ease-out); }
.hp-toast__body b { font-size: 1.35em; font-weight: 700; letter-spacing: -0.02em; color: #f6f7f9; }
.hp-toast__body span { font-size: 1.1em; color: #8f97a6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-toast time { font-size: 1em; color: #8f97a6; align-self: flex-start; }
.hp-toast.is-swapping .hp-toast__body { opacity: 0; transform: translateY(0.5em); }

/* Phones */
.phone {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 19.2;
  background: #05060a;
  border-radius: 3.3em;
  padding: 0.6em;
  box-shadow: 0 0 0 0.12em #2b313e inset, 0 0 0 1px #000, 0 3em 6em -1.5em rgba(0, 0, 0, 0.85);
}
.phone__screen { position: relative; height: 100%; border-radius: 2.75em; overflow: hidden; }
.phone__island { position: absolute; left: 50%; top: 1em; width: 6.4em; height: 1.9em; margin-left: -3.2em; border-radius: 99px; background: #000; z-index: 2; }
.phone--and { border-radius: 2.4em; }
.phone--and .phone__screen { border-radius: 1.85em; }
.phone__cam { position: absolute; left: 50%; top: 1em; width: 1.2em; height: 1.2em; margin-left: -0.6em; border-radius: 50%; background: #000; z-index: 2; }

.lock {
  background: linear-gradient(170deg, #1f2c63 0%, #0d1330 48%, #2a1410 100%);
  padding: 4.6em 1.1em 1.2em;
  color: #fff;
  text-align: center;
}
.lock__date { font-size: 1.15em; font-weight: 600; opacity: 0.9; }
.lock__time { font-size: 6.2em; font-weight: 600; letter-spacing: -0.04em; line-height: 1; margin: 0.06em 0 0.3em; }
.notif {
  display: flex; gap: 0.8em; text-align: left;
  background: rgba(30, 34, 46, 0.86); color: #f1f3f7;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.6em; padding: 1em 1.1em; margin-top: 0.7em;
}
.notif__ico { width: 2.6em; height: 2.6em; border-radius: 0.7em; background: linear-gradient(135deg, #3f6fff, #7aa0ff); flex: none; }
.notif__body { min-width: 0; flex: 1; }
.notif__top { display: flex; justify-content: space-between; font-size: 1.05em; }
.notif__top b { font-weight: 700; }
.notif__top time { color: #98a0ae; }
.notif p { font-size: 1.08em; line-height: 1.35; margin-top: 0.15em; color: #d7dbe3; }

/* ---------- Sections ---------- */

.section { position: relative; padding: 150px 0; }
.section--soft { background: var(--bg-2); }
.section-head { max-width: 900px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { font-size: clamp(2.4rem, 1.1rem + 4vw, 4.4rem); line-height: 1; letter-spacing: -0.045em; }
.section-head p { margin: 22px auto 0; font-size: 20px; line-height: 1.5; color: var(--text-2); max-width: 34em; }

.viz-site { container-type: inline-size; display: grid; gap: 14px; }
.viz-site__win { font-size: 2.15cqw; background: #0b1530; border: 1px solid #1c2a52; border-radius: 1.2em; overflow: hidden; color: #fff; }
.viz-site__bar { display: flex; align-items: center; gap: 0.5em; height: 2.6em; padding: 0 1em; background: #0e1a3a; border-bottom: 1px solid #1c2a52; }
.viz-site__bar i { width: 0.7em; height: 0.7em; border-radius: 50%; background: #253463; flex: none; }
.viz-site__bar span { flex: 1; text-align: center; margin-right: 2.1em; font-size: 0.9em; color: #7f93c2; }
.viz-site__page { display: flex; flex-direction: column; padding: 1.3em 1.6em 1.6em; }
.viz-site__nav { display: flex; align-items: center; gap: 0.6em; }
.viz-site__nav b { font-weight: 700; letter-spacing: -0.02em; }
.viz-site__links { display: flex; gap: 1.2em; margin-left: auto; font-size: 0.9em; color: #9fb3d9; }
.viz-site__links i { font-style: normal; }
.viz-site__cta { margin-left: 1.2em; height: 2.3em; padding: 0 0.9em; border-radius: 0.6em; background: #3563e9; display: inline-flex; align-items: center; font-size: 0.9em; font-weight: 600; }
.viz-site__h { margin-top: 1.7em; font-size: 2.6em; font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; }
.viz-site__btns { display: flex; gap: 0.6em; margin-top: 1.1em; }
.viz-site__btns i { font-style: normal; height: 2.6em; padding: 0 1em; border-radius: 0.7em; border: 1px solid #2a3a66; display: inline-flex; align-items: center; font-size: 0.95em; font-weight: 600; color: #c9d6f5; }
.viz-site__btns .is-pri { background: #3563e9; border-color: #3563e9; color: #fff; }
.viz-site__plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6em; margin-top: 1.6em; }
.viz-site__plans > span { display: grid; gap: 0.1em; padding: 0.7em 0.9em; border: 1px solid #1f2d55; border-radius: 0.8em; background: #0e1938; }
.viz-site__plans small { font-size: 0.85em; color: #8ea3d1; }
.viz-site__plans b { font-size: 1.35em; font-weight: 700; letter-spacing: -0.02em; }
.viz-site__plans .is-on { border-color: #3563e9; box-shadow: 0 0 0 1px #3563e9 inset; }
.viz-site__kit { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--text-3); }
.viz-site__sw { display: flex; gap: 6px; }
.viz-site__sw i { width: 22px; height: 22px; border-radius: 6px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }


.viz-log { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg); }
.viz-log__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--text-3); }
.viz-log__head b { font-size: 14px; font-weight: 600; color: var(--text); }
.viz-log ol { list-style: none; margin: 0; padding: 0; }
.viz-log li { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--text-2); }
.viz-log li:first-child { border-top: 0; }
.viz-log__v { font-size: 13px; font-weight: 600; color: var(--text-3); }
.viz-log .tag { font-size: 12.5px; height: 24px; }

/* ---------- Cost comparison ---------- */

.compare-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 1px 0 var(--hi) inset; }
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { position: relative; padding: 20px 24px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.5; font-weight: 400; }
.compare thead th { border-top: 0; padding-block: 15px; font-size: 13.5px; font-weight: 600; color: var(--text-3); background: var(--surface-2); }
.compare thead th.compare__hp { color: var(--text); }
.compare thead .logo__mark { display: inline-block; width: 18px; height: 18px; margin-right: 9px; vertical-align: -4px; }
.compare tbody th { width: 26%; padding-left: 56px; color: var(--text); font-weight: 600; }
.compare tbody th .i, .compare td.compare__hp .i { position: absolute; left: 24px; top: 22px; width: 19px; height: 19px; }
.compare tbody th .i { color: var(--text-3); }
.compare td { width: 37%; color: var(--text-3); }
.compare td.compare__hp { padding-left: 56px; color: var(--text); background: rgba(255, 255, 255, 0.018); }
.compare td.compare__hp .i { color: var(--brand-2); stroke-width: 2.2; }
.compare__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 24px; }
.compare__foot p { font-size: 17px; color: var(--text-2); }

/* ---------- Rules designer ---------- */

.designer { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px; align-items: start; }
.designer__controls,
.chart-card,
.sheet-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 1px 0 var(--hi) inset;
}
.designer__controls { padding: 26px; display: grid; gap: 22px; }

.seg { border: 0; padding: 0; margin: 0; min-width: 0; }
.seg legend, .range label { font-size: 14px; font-weight: 500; color: var(--text-3); padding: 0; margin-bottom: 9px; }
.seg__opts { display: flex; gap: 4px; padding: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.seg__opts label { flex: 1; position: relative; }
.seg__opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg__opts span {
  display: block; text-align: center; padding: 8px 4px; border-radius: 7px;
  font-size: 14.5px; font-weight: 600; color: var(--text-3);
  transition: background-color 0.2s, color 0.2s;
}
.seg__opts label:hover span { color: var(--text); }
.seg__opts input:checked + span { background: var(--text); color: var(--bg); }
.seg__opts input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

.range { display: grid; transition: opacity 0.25s; }
.range__top { display: flex; justify-content: space-between; align-items: baseline; }
.range output { font-size: 15px; font-weight: 700; color: var(--text); }
.range.is-off { opacity: 0.35; }
.range input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 22px; margin: 0; background: transparent; cursor: pointer;
  --p: 50%;
}
.range input[type="range"]:disabled { cursor: not-allowed; }
.range input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 99px;
  background: linear-gradient(90deg, var(--brand) var(--p), var(--line-2) var(--p));
}
.range input[type="range"]::-moz-range-track { height: 4px; border-radius: 99px; background: var(--line-2); }
.range input[type="range"]::-moz-range-progress { height: 4px; border-radius: 99px; background: var(--brand); }
.range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 18px; height: 18px; margin-top: -7px; border-radius: 50%;
  background: #fff; border: 0; box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.25), 0 2px 6px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.2s;
}
.range input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 0;
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.25), 0 2px 6px rgba(0, 0, 0, 0.5);
}
.range input[type="range"]:focus-visible { outline: none; }
.range input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(255, 90, 31, 0.6), 0 2px 6px rgba(0, 0, 0, 0.5); }
.range input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 5px rgba(255, 90, 31, 0.6); }

.designer__out { display: grid; gap: 16px; min-width: 0; }
.chart-card { padding: 22px 22px 18px; }
.chart-card__head, .sheet-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.chart-card__head b, .sheet-card__head b { font-size: 16px; font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.chart-legend { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; font-size: 13px; color: var(--text-3); }
.chart-legend li { display: inline-flex; align-items: center; gap: 7px; }
.chart-legend li::before { content: ""; width: 14px; height: 0; border-top: 2px solid; }
.l-eq::before { color: var(--brand-2); }
.l-tg::before { color: var(--up); border-top-style: dashed !important; }
.l-fl::before { color: var(--down); }
.chart-wrap { margin-top: 14px; }
.chart { width: 100%; height: 300px; overflow: visible; }
.chart text { font-family: var(--font); font-size: 12.5px; font-weight: 600; fill: var(--text-3); }
.chart .c-phase { fill: var(--text-2); font-size: 13px; }
.chart .c-target-t { fill: var(--up); }
.chart .c-floor-t { fill: var(--down); }
.chart .c-split-t { fill: var(--brand-2); }
.chart-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.chart-stats dt { font-size: 13px; color: var(--text-3); }
.chart-stats dd { margin: 2px 0 0; font-size: 17px; font-weight: 600; color: var(--text); }
.chart-stats dd small { font-size: 13px; font-weight: 500; color: var(--text-3); }

.sheet-card { padding: 22px 24px 24px; }
.sheet { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: rule; display: grid; }
.sheet li {
  counter-increment: rule; position: relative;
  padding: 11px 0 11px 40px; border-top: 1px solid var(--line);
  font-size: 15.5px; line-height: 1.55; color: var(--text-2);
}
.sheet li:first-child { border-top: 0; }
.sheet li::before {
  content: counter(rule); position: absolute; left: 0; top: 11px;
  width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text); font-size: 12px; font-weight: 700;
}
.sheet strong { color: var(--text); font-weight: 600; }
.sheet-note { margin-top: 12px; padding: 12px 14px; border-radius: var(--radius); background: rgba(245, 165, 36, 0.1); border: 1px solid rgba(245, 165, 36, 0.25); color: #f7b955; font-size: 14.5px; }

/* ---------- Apps / devices ---------- */

.checkout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); color: #f1f3f7; }
.checkout__main { padding: 2.8em 3em 3em; display: flex; flex-direction: column; }
.checkout__addons { display: grid; gap: 0.7em; margin-top: 0.8em; }
.checkout__addons span { display: flex; align-items: center; gap: 0.8em; height: 3.2em; padding: 0 1.1em; border: 1px solid #252b38; border-radius: 0.8em; font-size: 1.1em; color: #c3c9d4; }
.checkout__addons i { width: 1.2em; height: 1.2em; border-radius: 0.3em; border: 1px solid #3a4150; }
.checkout__addons .is-on i { background: var(--blue); border-color: var(--blue); }
.checkout__lines { display: grid; gap: 0.6em; padding-top: 0.4em; }
.checkout__lines div { display: flex; justify-content: space-between; font-size: 1.1em; color: #a4abb8; }
.checkout__lines .t { padding-top: 0.7em; border-top: 1px solid #1f2430; color: #f1f3f7; font-weight: 700; }
.checkout__h { font-size: 2.6em; font-weight: 700; letter-spacing: -0.035em; margin: 1.1em 0 0.8em; line-height: 1.05; }
.checkout__sizes, .checkout__models, .checkout__pay { display: flex; gap: 0.7em; }
.checkout__sizes span, .checkout__models span, .checkout__pay span {
  flex: 1; height: 3.4em; display: grid; place-items: center; border-radius: 0.8em;
  border: 1px solid #252b38; font-size: 1.2em; font-weight: 600; color: #a4abb8;
}
.checkout__models { margin-top: 0.8em; }
.checkout__models span, .checkout__pay span { height: 2.9em; font-size: 1.1em; }
.checkout .is-on { border-color: var(--blue); background: rgba(91, 140, 255, 0.12); color: #a9c1ff; }
.checkout__main .checkout__label { margin-top: 1.6em; }
.checkout__rules { margin: 1.8em 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2em; }
.checkout__rules div { display: flex; justify-content: space-between; padding: 0.8em 0; border-top: 1px solid #1f2430; font-size: 1.1em; }
.checkout__rules dt { color: #8f97a6; }
.checkout__rules dd { margin: 0; font-weight: 600; }
.checkout__side { background: #0c0e13; border-left: 1px solid #1c2029; padding: 2.8em 2.6em 3em; display: flex; flex-direction: column; gap: 1em; }
.checkout__sum { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 1.2em; border-bottom: 1px solid #1f2430; }
.checkout__sum span { font-size: 1.2em; color: #a4abb8; }
.checkout__sum b { font-size: 2.6em; font-weight: 700; letter-spacing: -0.03em; }
.checkout__label { font-size: 1.05em; color: #8f97a6; margin-top: 0.4em; }
.checkout__field { height: 3.4em; border-radius: 0.8em; background: #12151c; border: 1px solid #252b38; }
.checkout__field--half { width: 60%; }
.checkout__btn { margin-top: auto; height: 3.8em; border-radius: 0.9em; background: #3563e9; color: #fff; font-weight: 700; font-size: 1.25em; display: grid; place-items: center; }
.checkout__fine { font-size: 1em; color: #8f97a6; text-align: center; }

.app-dark { background: #0b0e15; color: #e6eaf2; padding: 4.4em 1.5em 1.5em; display: flex; flex-direction: column; }
.app-dark__top { display: flex; align-items: center; gap: 0.7em; font-size: 1.1em; font-weight: 600; color: #98a2b3; }
.app-dark__top .k-mark { font-size: 0.9em; }
.app-dark__label { margin-top: 1.8em; font-size: 1.05em; color: #98a2b3; }
.app-dark__num { font-size: 3em; font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; color: #fff; }
.app-dark__delta { font-size: 1.05em; font-weight: 600; color: #4ade9b; }
.app-dark__chart { width: 100%; height: 7em; margin: 1.2em 0 1em; }
.app-dark__chart path { fill: none; stroke: var(--blue); stroke-width: 2; vector-effect: non-scaling-stroke; }
.app-dark__rule { margin-top: 1em; }
.app-dark__rule div { display: flex; justify-content: space-between; font-size: 1.05em; color: #98a2b3; margin-bottom: 0.45em; }
.app-dark__rule b { color: #fff; font-weight: 600; }
.app-dark__rule i { display: block; height: 0.5em; border-radius: 99px; background: #1d2433; position: relative; overflow: hidden; }
.app-dark__rule i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--blue); border-radius: inherit; }
.app-dark__rule--warn i::after { background: var(--warn); }
.app-dark__rule--ok i::after { background: var(--up); }
.app-dark__tabs { margin-top: auto; display: flex; justify-content: space-around; padding-top: 1.2em; border-top: 1px solid #1d2433; }
.app-dark__tabs i { width: 1.6em; height: 1.6em; border-radius: 0.45em; background: #263149; }
.app-dark__tabs .is-on { background: var(--blue); }

.app-light { background: #f4f6fa; color: #0b1530; padding: 3.6em 1.3em 1.3em; display: flex; flex-direction: column; gap: 0.8em; }
.app-light__bar { display: flex; justify-content: space-between; align-items: center; padding: 0 0.3em 0.4em; }
.app-light__bar b { font-size: 1.9em; font-weight: 700; letter-spacing: -0.03em; }
.app-light__card { background: #fff; border-radius: 1.4em; padding: 1.4em; display: grid; gap: 0.3em; box-shadow: 0 0.1em 0.3em rgba(10, 17, 34, 0.06); }
.app-light .tag--green { background: #e8f8f0; color: #067647; }
.app-light__card .tag { justify-self: start; font-size: 0.95em; margin-bottom: 0.5em; }
.app-light__label { font-size: 1.05em; color: #667085; }
.app-light__num { font-size: 2.8em; font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
.app-light__split { display: flex; justify-content: space-between; margin-top: 0.7em; padding-top: 0.8em; border-top: 1px solid #eef0f4; font-size: 1.1em; color: #475467; }
.app-light__split b { color: #0b1530; }
.app-light__row { display: flex; justify-content: space-between; background: #fff; border-radius: 1em; padding: 1em 1.2em; font-size: 1.1em; color: #475467; }
.app-light__row b { color: #0b1530; font-weight: 600; }
.app-light__row b.ok { color: #067647; }
.app-light__btn { margin-top: auto; height: 3.6em; border-radius: 99px; background: #2558dc; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.15em; }
.app-light__nav { display: flex; justify-content: space-around; padding-top: 0.8em; }
.app-light__nav i { width: 1.6em; height: 1.6em; border-radius: 0.45em; background: #d6dae2; }
.app-light__nav .is-on { background: #2e6bff; width: 3.6em; border-radius: 99px; }

/* ---------- Markets ---------- */

.markets { display: grid; gap: 32px; }
.markets__tabs {
  justify-self: start; max-width: 100%; display: flex; gap: 4px; padding: 4px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  overflow-x: auto; scrollbar-width: none;
}
.markets__tabs::-webkit-scrollbar { display: none; }
.markets__tabs button {
  display: inline-flex; align-items: center; gap: 9px; flex: none;
  height: 40px; padding: 0 16px; border: 0; border-radius: 9px;
  background: transparent; color: var(--text-3); font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.markets__tabs button:hover { color: var(--text); }
.markets__tabs button[aria-selected="true"] { background: var(--surface-2); color: var(--text); box-shadow: 0 0 0 1px var(--line-2) inset; }
.markets__tabs .i { width: 18px; height: 18px; transition: color 0.2s; }
.markets__tabs button[aria-selected="true"] .i { color: var(--brand-2); }
.markets__panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.markets__panel[hidden] { display: none; }
.markets__lead { padding-top: 6px; }
.markets__lead h3 { font-size: 28px; letter-spacing: -0.03em; }
.markets__lead p { margin-top: 14px; font-size: 17px; color: var(--text-3); max-width: 40ch; }
.markets__lead .markets__note { margin-top: 22px; font-size: 14px; }

.ruleset { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 1px 0 var(--hi) inset; }
.ruleset__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 24px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.ruleset__head b { font-size: 15px; font-weight: 600; color: var(--text); }
.ruleset__head span { font-size: 13.5px; color: var(--text-3); }
.ruleset dl { margin: 0; }
.ruleset dl div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding: 14px 24px; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.5; }
.ruleset dl div:first-child { border-top: 0; }
.ruleset dt { color: var(--text-3); }
.ruleset dd { margin: 0; color: var(--text); font-weight: 500; }
.ruleset__foot { display: flex; align-items: center; gap: 10px; padding: 14px 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); flex: none; }

/* ---------- Process ---------- */

.pipeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.pipeline li {
  display: grid; grid-template-columns: 64px minmax(0, 3.2fr) minmax(0, 6fr) 132px; gap: 8px 24px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.pipeline__n { font-size: 14px; font-weight: 600; color: var(--text-3); }
.pipeline h3 { font-size: 20px; letter-spacing: -0.025em; }
.pipeline p { font-size: 16px; color: var(--text-3); max-width: 52ch; }
.pipeline__who {
  justify-self: end; display: inline-flex; align-items: center; gap: 7px;
  height: 28px; padding: 0 11px; border: 1px solid var(--line-2); border-radius: 99px;
  font-size: 13px; font-weight: 600; color: var(--text-2); white-space: nowrap;
}
.pipeline .is-ongoing .pipeline__n { color: var(--brand-2); }
.pipeline .is-ongoing .pipeline__who { color: var(--text); border-color: var(--brand-line); }
.pipeline .is-ongoing .pipeline__who::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }


/* ---------- FAQ ---------- */

.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.faq__head { position: sticky; top: 108px; margin-bottom: 0; }
.faq__head a { color: var(--text); font-weight: 600; }
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-size: 18px; font-weight: 600; letter-spacing: -0.015em; color: var(--text);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary .i { color: var(--text-3); transition: transform 0.3s var(--ease-out), color 0.2s; }
.faq__list details[open] summary .i { transform: rotate(45deg); color: var(--brand-2); }
.faq__list summary:hover .i { color: var(--text); }
.faq__list details p { padding: 0 48px 24px 0; font-size: 16.5px; color: var(--text-2); max-width: 62ch; }

/* ---------- Contact ---------- */

.section--contact { background: var(--bg-2); }
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.contact__intro h2 { font-size: clamp(2rem, 1.3rem + 2vw, 3.1rem); }
.contact__intro > p { margin-top: 18px; font-size: 18.5px; color: var(--text-3); max-width: 30em; }
.channels { display: grid; margin-top: 36px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 1px 0 var(--hi) inset; }
.channel {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; border-top: 1px solid var(--line);
  text-decoration: none; transition: background-color 0.2s;
}
.channel:first-child { border-top: 0; }
.channel:hover { background: var(--surface-2); }
.channel__ico { width: 22px; height: 22px; color: var(--text); }
.channel:first-child .channel__ico { color: var(--brand-2); }
.channel__text { display: grid; flex: 1; }
.channel__text b { font-size: 16.5px; font-weight: 600; color: var(--text); }
.channel__text span { font-size: 14.5px; color: var(--text-3); }
.channel__go { color: var(--text-3); transition: transform 0.3s var(--ease-out), color 0.2s; }
.channel:hover .channel__go { transform: translateX(3px); color: var(--text); }

.form {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 34px;
  display: grid; gap: 22px; box-shadow: var(--shadow);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field > legend { font-size: 14.5px; font-weight: 600; color: var(--text); padding: 0; }
.field .opt { font-weight: 400; color: var(--text-3); margin-left: 4px; }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg);
  padding: 0 14px; height: 48px; font-size: 16px; color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 110px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #7c8494; }
.field input:hover, .field textarea:hover { border-color: #3a404e; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.18); }
.field [aria-invalid="true"] { border-color: var(--down); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(242, 109, 109, 0.18); border-color: var(--down); }
.field__err { display: none; font-size: 14px; color: #f58a8a; }
.field.has-error .field__err { display: block; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; margin-bottom: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-flex; align-items: center; height: 38px; padding: 0 15px; border-radius: 99px;
  border: 1px solid var(--line-2); font-size: 15px; font-weight: 500; color: var(--text-2); background: transparent;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.chips label:hover span { border-color: #3a404e; color: var(--text); }
.chips input:checked + span { background: var(--text); border-color: var(--text); color: var(--bg); }
.chips input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-top: 4px; }
.form__status { font-size: 15px; color: var(--text-2); flex: 1 1 260px; }
.form__status.is-ok { color: #4ade9b; font-weight: 600; }
.form__status.is-err { color: #f58a8a; }

/* ---------- Footer ---------- */

.footer { background: #050608; border-top: 1px solid var(--line); color: var(--text-3); padding: 72px 0 32px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 40px; }
.footer__brand p { margin-top: 16px; font-size: 15.5px; max-width: 30ch; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col b { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.footer__col a { font-size: 15px; text-decoration: none; transition: color 0.2s; justify-self: start; }
.footer__col a:hover { color: var(--text); }
.footer__base { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }

/* ---------- Bold dark layer ---------- */

h1 em, h2 em, h3 em { font-style: normal; color: var(--brand-2); }
.section--glow::before, .section--contact::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(55% 520px at 50% 0%, rgba(255, 90, 31, 0.16), transparent 70%);
}
.section, .pillars { isolation: isolate; }
.section { overflow-x: clip; }
.sample-note { margin-top: 22px; text-align: center; font-size: 14px; color: var(--text-3); }

/* Pillars */
.pillars { border-block: 1px solid var(--line); background: linear-gradient(180deg, #0b0c10, #060608); }
.pillars__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pillars__grid > div { padding: 40px 28px; border-left: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.pillars__grid > div:first-child { border-left: 0; padding-left: 0; }
.pillars b { font-size: clamp(1.5rem, 1rem + 1.3vw, 2.1rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; color: var(--text); }
.pillars__grid > div:first-child b { color: var(--brand-2); }
.pillars span { font-size: 16px; color: var(--text-3); }

/* Showcase stage */
.show {
  position: relative; overflow: hidden; border-radius: 40px; padding: 72px 40px 0;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(70% 85% at 50% 108%, rgba(255, 90, 31, 0.78), rgba(255, 90, 31, 0.2) 48%, transparent 72%),
    linear-gradient(180deg, #12141b, #08090c);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 60px 120px -40px rgba(255, 90, 31, 0.25);
}
.show::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: linear-gradient(#000, transparent 70%); mask-image: linear-gradient(#000, transparent 70%);
}
.show__phones { position: relative; display: grid; grid-template-columns: 1fr 1.14fr 1fr; gap: 4.5%; align-items: start; max-width: 940px; margin: 0 auto -9%; }
.show__ph { container-type: inline-size; }
.show__ph--side { margin-top: 13%; }
.show__ph .phone { font-size: calc(100cqw / 21); width: 100%; }

/* Phone chrome */
.sbar { position: absolute; top: 1.35em; left: 2.1em; right: 1.9em; z-index: 3; display: flex; justify-content: space-between; align-items: center; font-size: 0.95em; color: #fff; }
.sbar b { font-weight: 600; letter-spacing: -0.01em; }
.sbar span { display: flex; gap: 0.35em; }
.sbar .i { width: 1.25em; height: 1.25em; stroke-width: 2.2; }
.app-light .sbar { color: #0b1530; }
.tabbar { margin: auto -1.5em 0; display: flex; justify-content: space-around; padding: 0.9em 0.6em 1.9em; border-top: 1px solid #1d2433; background: rgba(11, 14, 21, 0.9); }
.tabbar span { display: grid; justify-items: center; gap: 0.3em; font-size: 0.78em; font-weight: 500; color: #6b7690; }
.tabbar .i { width: 2.1em; height: 2.1em; }
.tabbar .is-on { color: #7ea2ff; }
.tabbar--light { margin: auto -1.3em 0; border-top-color: #e4e7ee; background: #fff; }
.tabbar--light span { color: #8a93a6; }
.tabbar--light .is-on { color: #2558dc; }
.homebar { position: absolute; left: 50%; bottom: 0.55em; width: 7.4em; height: 0.34em; margin-left: -3.7em; border-radius: 9px; background: rgba(255, 255, 255, 0.5); z-index: 3; }
.app-light .homebar { background: rgba(11, 21, 48, 0.35); }
.app-dark { padding-bottom: 0; background: linear-gradient(180deg, #0d1322, #0a0d14 40%); }
.app-light { padding-bottom: 0; }
.app-dark__top .tag, .app-dark__top > .i { margin-left: auto; }
.app-dark__top .tag { font-size: 0.85em; }
.app-dark__top > .i { width: 1.5em; height: 1.5em; color: #98a2b3; }
.app-dark__chart .area { fill: url(#phfill); stroke: none; }
.app-dark__rule:last-of-type { margin-bottom: 1.2em; }
.app-light__btn { margin-top: 0.6em; margin-bottom: 1em; }

.app-pass__card {
  margin-top: 1.5em; padding: 1.7em 1.4em 1.4em; border-radius: 1.6em; text-align: center; display: grid; justify-items: center; gap: 0.25em;
  background: linear-gradient(160deg, #3563e9, #1a2f7a 70%); box-shadow: 0 1.2em 2.4em -1em rgba(53, 99, 233, 0.7), 0 1px 0 rgba(255, 255, 255, 0.25) inset;
}
.app-pass__seal { width: 4.2em; height: 4.2em; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.16); margin-bottom: 0.6em; }
.app-pass__seal .i { width: 2.3em; height: 2.3em; color: #fff; }
.app-pass__card b { font-size: 1.75em; font-weight: 700; letter-spacing: -0.03em; color: #fff; }
.app-pass__card small { font-size: 1em; color: #c5d3ff; }
.app-pass__card dl { width: 100%; margin: 1.1em 0 0; padding-top: 1em; border-top: 1px solid rgba(255, 255, 255, 0.2); display: grid; grid-template-columns: repeat(3, 1fr); }
.app-pass__card dt { font-size: 0.85em; color: #c5d3ff; }
.app-pass__card dd { margin: 0; font-size: 1.3em; font-weight: 700; color: #fff; }
.app-pass__row { display: flex; justify-content: space-between; margin-top: 0.8em; padding: 1em 1.1em; border-radius: 1em; background: #121826; border: 1px solid #1d2433; font-size: 1.05em; color: #98a2b3; }
.app-pass__row b { color: #fff; font-weight: 600; }
.app-pass__btn { margin: 1em 0 1.2em; height: 3.5em; border-radius: 1em; background: #3563e9; color: #fff; display: grid; place-items: center; font-size: 1.15em; font-weight: 700; }

/* Split rows: words beside a large screen */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; align-items: center; margin-top: 120px; }
.split--rev { margin-top: 0; }
.split__text h2 { font-size: clamp(2.2rem, 1.2rem + 2.6vw, 3.5rem); line-height: 1.02; letter-spacing: -0.04em; }
.split__text h3 { font-size: clamp(1.9rem, 1.2rem + 1.8vw, 2.7rem); line-height: 1.05; letter-spacing: -0.035em; }
.split__text p { margin-top: 18px; font-size: 19px; line-height: 1.5; color: var(--text-2); }
.ticks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 500; color: var(--text); }
.ticks .i { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--brand); color: #110601; stroke-width: 3; }
.split__viz { position: relative; container-type: inline-size; }
.split__viz::before { content: ""; position: absolute; inset: -12% -8%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 90, 31, 0.3), transparent); pointer-events: none; }
.split__viz .win { font-size: calc(100cqw / 64); border-color: rgba(255, 255, 255, 0.12); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 50px 100px -30px rgba(0, 0, 0, 0.9); }
.split__viz--adm .win { font-size: calc(100cqw / 80); }
.split--wide { grid-template-columns: minmax(0, 3.6fr) minmax(0, 8.4fr); }

/* Back office mock */
.adm { display: grid; grid-template-columns: 15em minmax(0, 1fr); color: #e8ebf1; }
.adm__side { padding: 2em 1.2em; background: #0b0d12; border-right: 1px solid #1c2029; }
.adm__nav { display: grid; gap: 0.25em; margin-top: 2.2em; }
.adm__nav span { display: flex; align-items: center; gap: 0.8em; padding: 0.75em 0.9em; border-radius: 0.7em; font-size: 1.15em; font-weight: 500; color: #7d8696; }
.adm__nav .i { width: 1.4em; height: 1.4em; }
.adm__nav .is-on { background: #171b24; color: #f1f3f7; }
.adm__nav .is-on .i { color: var(--blue); }
.adm__nav em { margin-left: auto; font-style: normal; font-size: 0.85em; font-weight: 700; min-width: 1.7em; height: 1.7em; border-radius: 99px; display: grid; place-items: center; background: var(--blue); color: #fff; }
.adm__main { padding: 2.2em 2.4em 2.6em; min-width: 0; }
.adm__head { display: flex; align-items: center; gap: 1.2em; }
.adm__head b { font-size: 2.2em; font-weight: 700; letter-spacing: -0.03em; color: #f6f7f9; }
.adm__head .tag { font-size: 1.05em; }
.adm__search { margin-left: auto; display: inline-flex; align-items: center; gap: 0.6em; height: 2.9em; padding: 0 1.1em; width: 19em; border-radius: 0.8em; background: #0b0d12; border: 1px solid #1f2430; font-size: 1.05em; color: #7d8696; }
.adm__search .i { width: 1.2em; height: 1.2em; }
.adm__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1em; margin-top: 1.8em; }
.adm__kpis div { display: grid; gap: 0.2em; padding: 1.2em 1.3em; border-radius: 1em; border: 1px solid #1c2029; background: linear-gradient(180deg, #141821, #10131a); }
.adm__kpis span { font-size: 1.02em; color: #8f97a6; }
.adm__kpis b { font-size: 2.1em; font-weight: 700; letter-spacing: -0.035em; color: #f6f7f9; }
.adm__kpis em { font-style: normal; font-size: 1em; font-weight: 600; color: #7d8696; }
.adm__kpis em.up { color: #4ade9b; }
.adm__table { margin-top: 1.3em; border: 1px solid #1c2029; border-radius: 1em; overflow: hidden; }
.adm__tr { display: grid; grid-template-columns: 1.5fr 1.3fr 0.8fr 0.9fr 1.2fr; align-items: center; gap: 1em; padding: 0.95em 1.4em; border-top: 1px solid #1c2029; font-size: 1.12em; color: #c3c9d4; }
.adm__tr > span:last-child { justify-self: end; }
.adm__tr b { color: #f6f7f9; font-weight: 600; }
.adm__tr--h { border-top: 0; background: #11141a; font-size: 1em; color: #7d8696; }
.adm__who { display: flex; align-items: center; gap: 0.8em; font-weight: 600; color: #f1f3f7; }
.adm__who i { font-style: normal; width: 2.3em; height: 2.3em; border-radius: 50%; display: grid; place-items: center; font-size: 0.8em; font-weight: 700; color: #cdd9ff; background: linear-gradient(135deg, #2b3f86, #1a2550); flex: none; }
.adm__tr .tag { font-size: 0.9em; }
.adm__btn { display: inline-grid; place-items: center; height: 2.4em; padding: 0 1.1em; border-radius: 0.7em; background: #3563e9; color: #fff; font-size: 0.95em; font-weight: 600; white-space: nowrap; }
.adm__btn--off { background: transparent; border: 1px solid #2a303d; color: #8f97a6; }

/* Cards */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 120px; }
.card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 36px; padding: 44px; border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.09); background-color: #0d0f14;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07) inset;
}
.card::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -1px; height: 220px; z-index: 0; pointer-events: none; background: radial-gradient(closest-side at 50% 100%, rgba(255, 90, 31, 0.28), transparent); }
.card > * { position: relative; z-index: 1; }
.card h3 { font-size: clamp(1.8rem, 1.2rem + 1.5vw, 2.5rem); line-height: 1.05; letter-spacing: -0.035em; }
.card p { margin-top: 14px; font-size: 18px; line-height: 1.5; color: var(--text-2); max-width: 30em; }
.card__viz { margin-top: auto; }
.viz-site__win { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8); }

/* Shared panel polish */
.designer { position: relative; }
.designer::before { content: ""; position: absolute; inset: -6% -4%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(255, 90, 31, 0.16), transparent); }
.designer__controls, .chart-card, .sheet-card, .compare-wrap, .ruleset, .form, .channels { border-radius: 24px; border-color: rgba(255, 255, 255, 0.09); background-color: #0d0f14; }
.compare td.compare__hp { background: rgba(255, 90, 31, 0.07); }
.compare thead th.compare__hp { background: rgba(255, 90, 31, 0.14); }
.compare th, .compare td { font-size: 17px; padding-block: 22px; }
.compare__foot { justify-content: center; text-align: center; margin-top: 36px; }
.markets__tabs { justify-self: center; }
.section--contact { background: transparent; }
.section--contact::before { background: radial-gradient(60% 600px at 50% 100%, rgba(255, 90, 31, 0.22), transparent 70%); }
.footer { background: #040405; }

/* ---------- Motion ----------
   Only with JS (html.js-motion, set in <head>) and no reduced-motion preference.
   Opacity, transform and clip-path only, so it stays on the compositor. */

@media (prefers-reduced-motion: no-preference) {
  .js-motion [data-reveal] {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out), border-color 0.3s;
    transition-delay: calc(var(--d, 0) * 90ms), calc(var(--d, 0) * 90ms), 0s;
  }
  .js-motion [data-reveal].is-in { opacity: 1; transform: none; }

  /* charts draw left to right */
  .js-motion [data-anim] :is(.dash__chart svg, .app-dark__chart) {
    clip-path: inset(-10% 0 -10% 0);
    transition: clip-path 1.6s cubic-bezier(0.65, 0, 0.35, 1) 0.35s;
  }
  .js-motion [data-anim]:not(.is-in) :is(.dash__chart svg, .app-dark__chart) { clip-path: inset(-10% 100% -10% 0); }

  /* showcase phones rise one after another */
  .js-motion .show .show__ph { transition: transform 1.1s var(--ease-out), opacity 0.9s var(--ease-out); }
  .js-motion .show .show__ph:nth-child(1) { transition-delay: 0.15s; }
  .js-motion .show .show__ph:nth-child(3) { transition-delay: 0.3s; }
  .js-motion .show:not(.is-in) .show__ph { transform: translateY(22%); opacity: 0; }
  .js-motion [data-anim] .adm__tr:not(.adm__tr--h) { transition: opacity 0.6s, transform 0.7s var(--ease-out); }
  .js-motion [data-anim]:not(.is-in) .adm__tr:not(.adm__tr--h) { opacity: 0; transform: translateY(1em); }
  .js-motion [data-anim] .adm__tr:nth-child(2) { transition-delay: 0.25s; }
  .js-motion [data-anim] .adm__tr:nth-child(3) { transition-delay: 0.35s; }
  .js-motion [data-anim] .adm__tr:nth-child(4) { transition-delay: 0.45s; }
  .js-motion [data-anim] .adm__tr:nth-child(5) { transition-delay: 0.55s; }
  .js-motion [data-anim] .adm__tr:nth-child(6) { transition-delay: 0.65s; }


  /* meters fill */
  .js-motion [data-anim] :is(.mbar i, .viz-apps__meter i),
  .js-motion [data-anim] :is(.viz-apps__rules i, .app-dark__rule i)::after {
    transform-origin: left center; transition: transform 1.3s var(--ease-out) 0.6s;
  }
  .js-motion [data-anim]:not(.is-in) :is(.mbar i, .viz-apps__meter i),
  .js-motion [data-anim]:not(.is-in) :is(.viz-apps__rules i, .app-dark__rule i)::after { transform: scaleX(0); }

  /* rule switches flip on one after another */
  .js-motion .viz-rules .sw.is-on,
  .js-motion .viz-rules .sw.is-on::after { transition: background-color 0.3s, left 0.4s var(--ease-out); }
  .js-motion .viz-rules:not(.is-in) .sw.is-on { background: #262b37; }
  .js-motion .viz-rules:not(.is-in) .sw.is-on::after { left: 2px; background: #8a91a0; }
  .js-motion .viz-rules__row:nth-child(1) :is(.sw, .sw::after) { transition-delay: 0.5s; }
  .js-motion .viz-rules__row:nth-child(2) :is(.sw, .sw::after) { transition-delay: 0.7s; }
  .js-motion .viz-rules__row:nth-child(3) :is(.sw, .sw::after) { transition-delay: 0.9s; }
  .js-motion .viz-rules__row:nth-child(4) :is(.sw, .sw::after) { transition-delay: 1.1s; }
  .js-motion .viz-rules__status { transition: opacity 0.6s 1.4s; }
  .js-motion .viz-rules:not(.is-in) .viz-rules__status { opacity: 0; }

  /* cost table: the checks pop in row by row */
  .js-motion .compare tbody tr td.compare__hp .i { transition: transform 0.6s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms + 0.35s); }
  .js-motion .compare tbody tr:not(.is-in) td.compare__hp .i { transform: scale(0); }

  /* market switch: the rule set cascades in */
  .markets__panel.is-enter .markets__lead,
  .markets__panel.is-enter .ruleset dl div,
  .markets__panel.is-enter .ruleset__foot { animation: fade-up 0.5s var(--ease-out) backwards; }
  .markets__panel.is-enter .ruleset dl div:nth-child(2) { animation-delay: 0.04s; }
  .markets__panel.is-enter .ruleset dl div:nth-child(3) { animation-delay: 0.08s; }
  .markets__panel.is-enter .ruleset dl div:nth-child(4) { animation-delay: 0.12s; }
  .markets__panel.is-enter .ruleset dl div:nth-child(5) { animation-delay: 0.16s; }
  .markets__panel.is-enter .ruleset dl div:nth-child(6) { animation-delay: 0.2s; }
  .markets__panel.is-enter .ruleset__foot { animation-delay: 0.26s; }
}
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } }

/* Cursor light on cards (pointer devices only, set by JS) */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .card, .ruleset {
    background-image: radial-gradient(560px circle at var(--mx, -1000px) var(--my, -1000px), rgba(255, 255, 255, 0.05), transparent 42%);
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .nav__links { gap: 20px; }
  .split, .split--wide { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .split--rev .split__text { order: -1; }
  .duo { grid-template-columns: minmax(0, 1fr); }
  .pillars__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars__grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .pillars__grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .markets__panel { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .designer { grid-template-columns: minmax(0, 1fr); }
  .designer__controls { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
  .faq, .contact { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .faq__head { position: static; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: span 3; }
}

@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .pipeline li { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .pipeline h3 { grid-column: 2; grid-row: 1; }
  .pipeline__who { grid-column: 3; grid-row: 1; }
  .pipeline p { grid-column: 2 / 4; grid-row: 2; }
}

@media (max-width: 700px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section { padding: 96px 0; }
  .section-head { margin-bottom: 44px; }
  .section-head p, .contact__intro > p, .split__text p { font-size: 17.5px; }
  .pillars__grid > div { padding: 26px 16px 26px 0; border-left: 0; }
  .pillars__grid > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .pillars span { font-size: 14.5px; }
  .show { border-radius: 28px; padding: 36px 14px 0; }
  .show__phones { grid-template-columns: 1fr 1fr; gap: 5%; margin-bottom: -14%; }
  .show__ph:nth-child(1) { display: none; }
  .show__ph--side { margin-top: 16%; }
  .split { margin-top: 80px; }
  .split--rev { margin-top: 0; }
  .duo { margin-top: 80px; }
  .card { padding: 26px; border-radius: 24px; gap: 26px; }
  .split__viz--adm .win { font-size: calc(100cqw / 62); }
  .adm { grid-template-columns: minmax(0, 1fr); }
  .adm__side, .adm__search, .adm__tr > span:nth-child(2), .adm__tr > span:nth-child(4) { display: none; }
  .adm__kpis { grid-template-columns: repeat(2, 1fr); }
  .adm__tr { grid-template-columns: 1.4fr 0.8fr 1.3fr; }
  .split__viz .win--plain { font-size: calc(100cqw / 40); }
  .checkout { grid-template-columns: minmax(0, 1fr); }
  .checkout__side { display: none; }
  .hero { padding-top: 56px; }
  .hero__copy { text-align: left; }
  .hero__lede { font-size: 17.5px; margin-left: 0; }
  .hero__actions { justify-content: flex-start; }
  .hero__actions .btn--primary { width: 100%; }
  .hero__actions .btn--ghost { flex: 1; }
  .hero__markets { justify-content: flex-start; }
  .hero__stage { margin-top: 48px; }

  /* Phone composition: the whole dashboard fits the width, the phone stands in front. */
  .stage__canvas { font-size: calc(100cqw / 78); height: 70em; }
  .hp-win { left: 1em; top: 1em; width: 76em; }
  .hp-rules { display: none; }
  .hp-phone { left: auto; right: 2em; top: 24em; width: 25em; }
  .hp-win .dash__nav span:not(.is-on) { visibility: hidden; }
  .hp-toast { display: none; }

  .viz-log li { grid-template-columns: minmax(0, 1fr) auto; padding: 11px 14px; }
  .viz-log__v { display: none; }
  .viz-log__head { padding: 11px 14px; }

  .compare-wrap { border-radius: 16px; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare tr { padding: 18px; border-top: 1px solid var(--line); }
  .compare tbody tr:first-child { border-top: 0; }
  .compare tbody th, .compare td, .compare td.compare__hp { border-top: 0; padding: 0; background: none; }
  .compare tbody th { width: auto; padding-left: 30px; font-size: 16.5px; }
  .compare tbody th .i { left: 0; top: 2px; }
  .compare td { margin-top: 12px; font-size: 15.5px; }
  .compare td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 12.5px; font-weight: 600; color: var(--text-3); }
  .compare td.compare__hp .i { display: none; }
  .compare__foot .btn { width: 100%; }

  .markets__tabs { justify-self: stretch; }
  .markets__lead h3 { font-size: 24px; }
  .ruleset__head, .ruleset dl div, .ruleset__foot { padding-inline: 16px; }
  .ruleset dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }

  .designer__controls { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .chart-card, .sheet-card { padding: 18px; }
  .chart { height: 260px; }
  .chart-stats { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .chart-stats div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .chart-stats dd { margin: 0; text-align: right; }

  .pipeline li { grid-template-columns: 36px minmax(0, 1fr); padding: 22px 0; }
  .pipeline__who { grid-column: 2; grid-row: 3; justify-self: start; margin-top: 6px; }
  .pipeline p { grid-column: 2; }
  .form { padding: 22px; border-radius: 20px; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .form__foot .btn { width: 100%; }
  .faq__list summary { font-size: 17px; }
  .faq__list details p { padding-right: 0; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: span 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-delay: 0s !important; }
}
