/* TorosCRM public site.
   One night-navy world: the bull stands in the dark on the right of the
   first screen, the copy on the left. The product itself stays light, as it
   is in the CRM: screenshots, the profit ledger, the project statement, the
   leads list and the form are white sheets lit from below.
   Dark colours follow the bull picture; the white sheets repeat the CRM theme
   (src/index.css): night blue, indigo, success, danger and the tag colours. */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range:
    U+0020-007E, U+00A0, U+00AB, U+00B7, U+00BB, U+00D7, U+2013-2014, U+2026,
    U+2212;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("assets/fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0401, U+0410-044F, U+0451, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range:
    U+0020-007E, U+00A0, U+00AB, U+00B7, U+00BB, U+00D7, U+2009, U+2013-2014,
    U+2026, U+2212;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0401, U+0410-044F, U+0451, U+2116;
}
/* Manrope has no tenge sign: both families take it from Inter. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("assets/fonts/inter-tenge.woff2") format("woff2");
  unicode-range: U+20B8;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/inter-tenge.woff2") format("woff2");
  unicode-range: U+20B8;
}

@view-transition {
  navigation: auto;
}

:root {
  color-scheme: dark;
  /* The night */
  --night: #070b16;
  --deep: #0c1224;
  --tile: #111a31;
  --tile-2: #16213d;
  --line: #24304f;
  --line-strong: #33426b;
  --rule: #33426b;
  --ink: #f2f4fa;
  --text: #aab4cf;
  --muted: #8390b0;
  --indigo: #6f8cff;
  --indigo-strong: #4d6bf0;
  --indigo-ink: #9db0ff;
  --indigo-soft: #1a2550;
  --gain: #58d6a0;
  --gain-ink: #58d6a0;
  --loss: #ff7a7f;
  --loss-ink: #ff9a9e;
  --amber: #f2c14e;
  --paper: #ffffff;
  /* The CRM's own navy, for buttons and bars on white sheets */
  --crm-night: #1f2a44;
  --crm-night-hover: #2c3a5c;
  /* Type */
  --display: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  /* Shape and motion */
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --glow:
    0 0 0 1px #ffffff14, 0 30px 80px -24px #000000cc, 0 0 140px -40px #4d6bf080;
  --wrap: 1160px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --header-h: 68px;
}

/* White sheets: the CRM itself, in its own light colours. */
:where(.ledger, .statement, .inbox, .form, .frame) {
  color-scheme: light;
  --ink: #1f2a44;
  --text: #3b4358;
  --muted: #68718a;
  --line: #e3e7f0;
  --line-strong: #cfd5e3;
  --rule: #1f2a44;
  --indigo: #3e63dd;
  --indigo-ink: #3a5bc7;
  --indigo-soft: #edf2fe;
  --gain: #30a46c;
  --gain-ink: #1f7b53;
  --gain-soft: #e6f6eb;
  --loss: #e5484d;
  --loss-ink: #cc2c31;
  --loss-soft: #feebec;
  --amber-ink: #a15e00;
  --amber-soft: #fff7c2;
  --mist: #f7f9ff;
  background: var(--paper);
  color: var(--text);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  background: var(--night);
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main {
  flex: 1 0 auto;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection {
  background: #4d6bf066;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 40px);
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
.band {
  padding-block: clamp(72px, 9vw, 128px);
}
.band-deep {
  background: var(--deep);
  border-block: 1px solid #ffffff0a;
}
.band-tight {
  padding-top: 0;
}
.split {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (min-width: 960px) {
  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
  .split-flip > :first-child {
    order: 2;
  }
  .split-even {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
.split > * {
  min-width: 0;
}

/* ---------- Type ---------- */
h1,
h2,
h3 {
  font-family: var(--display);
  color: var(--ink);
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.375rem, 1.2rem + 4vw, 4.25rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
h2 {
  font-size: clamp(1.75rem, 1.2rem + 2.1vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.028em;
}
h3 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
/* The words that carry the point, lit like the bull's horns. */
.hl {
  font-style: normal;
  color: var(--indigo);
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .hl {
    background: linear-gradient(
      100deg,
      #b9c7ff 0%,
      #6f8cff 28%,
      #4d6bf0 50%,
      #6f8cff 72%,
      #b9c7ff 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.lead {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  max-width: 38em;
  text-wrap: pretty;
}
.topic {
  display: inline-flex;
  justify-self: start;
  width: fit-content;
  margin-bottom: 14px;
  padding: 6px 12px;
  border: 1px solid #6f8cff47;
  border-radius: 999px;
  background: #1a255080;
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--indigo-ink);
}
.head {
  display: grid;
  gap: 18px;
  max-width: 46rem;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.note {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(180deg, #7b95ff 0%, var(--indigo-strong) 100%);
  box-shadow:
    inset 0 1px 0 #ffffff40,
    0 10px 30px -10px #4d6bf0b3;
  color: #ffffff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    filter 0.2s,
    transform 0.2s var(--ease),
    box-shadow 0.2s,
    background-color 0.2s;
}
.btn:hover {
  filter: brightness(1.08);
}
.btn:active {
  transform: translateY(1px);
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.3s var(--ease);
}
.btn:hover svg {
  transform: translateX(4px);
}
.btn-light {
  background: #ffffff;
  color: var(--night);
  box-shadow: 0 10px 30px -12px #ffffff59;
}
.btn-ghost {
  background: #ffffff08;
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn-ghost:hover {
  background: #ffffff12;
  filter: none;
}
.btn-sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.9375rem;
}
.link {
  color: var(--indigo-ink);
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px
    no-repeat;
  transition: background-size 0.35s var(--ease);
  padding-bottom: 2px;
}
.link:hover {
  background-size: 100% 1.5px;
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--indigo-ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
}
.more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}
.more:hover svg {
  transform: translateX(4px);
}

/* ---------- Kicker, chips and figures ---------- */

.kicker {
  font-family: var(--display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo-ink);
}
.kicker-lg {
  font-size: clamp(1.0625rem, 0.95rem + 0.45vw, 1.3125rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  text-transform: none;
  color: #d5dcf0;
}
.mint {
  font-style: normal;
  color: var(--gain);
}
.head-center {
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}
.head-center .topic {
  justify-self: center;
}
.head-center .perks {
  justify-content: center;
}

/* Short points as chips with a tick. */
.perks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.perks li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px 8px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #111a31cc;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
}
.perks svg {
  flex: none;
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: #58d6a024;
  fill: none;
  stroke: var(--gain);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.perks.is-plain svg {
  background: var(--indigo-soft);
  stroke: var(--indigo-ink);
}

/* Big numbers in cards. */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  width: 100%;
}
.stats li {
  padding-left: 14px;
  border-left: 2px solid var(--line-strong);
}
.stats b {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.stats b small {
  font-size: 0.62em;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--muted);
}
.stats span {
  display: block;
  margin-top: 3px;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--muted);
}
.hero-stats {
  margin-top: 12px;
}
.stats.is-big {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.stats.is-big li {
  padding-left: clamp(12px, 1.6vw, 20px);
  border-left-color: var(--indigo);
}
.stats.is-big b {
  font-size: clamp(1.625rem, 0.9rem + 2.6vw, 2.875rem);
  letter-spacing: -0.04em;
  line-height: 1;
}
.stats.is-big span {
  margin-top: 10px;
  font-size: 0.875rem;
}

/* Profit as a sum anyone reads. */
.formula {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
}
.formula span {
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--tile);
  font-size: 1.0625rem;
  color: var(--ink);
}
.formula span.is-gain {
  border-color: #58d6a073;
  background: #58d6a01f;
  box-shadow: 0 0 40px -10px #58d6a099;
  color: var(--gain);
}
.formula i {
  font-style: normal;
  font-size: 1.375rem;
  color: var(--muted);
}
.formula b {
  display: flex;
  align-items: center;
  gap: inherit;
  font-weight: inherit;
}
@media (max-width: 480px) {
  .formula {
    gap: 6px;
  }
  .formula span {
    padding: 8px 10px;
    border-radius: 11px;
    font-size: 0.875rem;
  }
  .formula i {
    font-size: 1.125rem;
  }
}

/* What changes: big two-tone lines between rules that draw in on scroll,
   the old way as a quiet note. */
.shift {
  border-bottom: 1px solid var(--line);
}
.shift li {
  position: relative;
  display: grid;
  gap: 6px;
  padding: clamp(20px, 2.6vw, 30px) 0;
}
@media (min-width: 860px) {
  .shift li {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 40px;
  }
}
.shift li::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: var(--line-strong);
  transform-origin: left;
  transition: transform 1.1s var(--ease) var(--d, 0ms);
}
.shift li.is-below::before {
  transform: scaleX(0);
}
.shift-now {
  font-family: var(--display);
  font-size: clamp(1.5rem, 1.05rem + 1.6vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--muted);
}
.shift-now b {
  font-weight: 800;
  color: var(--ink);
}
.shift-was {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted);
}
@media (min-width: 860px) {
  .shift-was {
    max-width: 300px;
    text-align: right;
  }
}

/* Live cards over the bull on the first screen. */
.toasts {
  display: none;
  pointer-events: none;
}
.toast {
  position: absolute;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
  width: 272px;
  padding: 13px 18px 13px 13px;
  border: 1px solid #ffffff21;
  border-radius: 18px;
  background: #0c1224c7;
  box-shadow:
    0 24px 60px -24px #000000e6,
    inset 0 1px 0 #ffffff14;
}
@supports (backdrop-filter: blur(8px)) {
  .toast {
    background: #0c122485;
    backdrop-filter: blur(16px) saturate(1.4);
  }
}
.toast i {
  grid-row: 1 / 4;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--indigo-soft);
  color: var(--indigo-ink);
}
.toast i svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.toast small {
  overflow: hidden;
  font-size: 0.75rem;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--muted);
}
.toast b {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.toast span {
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--text);
}
.toast.is-gain i {
  background: #58d6a024;
  color: var(--gain);
}
.toast.is-gain b {
  color: var(--gain);
}
.toast.is-loss {
  border-color: #ff7a7f4d;
}
.toast.is-loss i {
  background: #ff7a7f24;
  color: var(--loss);
}
.toast.is-loss b {
  color: var(--loss-ink);
}
@media (max-width: 959px) {
  .toasts {
    display: block;
    position: absolute;
    top: calc(var(--header-h) + 12px);
    left: var(--gutter-l);
    right: var(--gutter-r);
    height: calc(min(54vw, 330px) - 24px);
  }
  .toast {
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 10px;
    width: min(214px, 58vw);
    padding: 9px 12px 9px 9px;
    border-radius: 14px;
  }
  .toast i {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }
  .toast i svg {
    width: 16px;
    height: 16px;
  }
  .toast b {
    font-size: 1rem;
  }
  .toast small,
  .toast span {
    font-size: 0.6875rem;
  }
  .toast:nth-child(1) {
    top: 6%;
    left: 0;
  }
  .toast:nth-child(2) {
    bottom: 2%;
    right: 0;
  }
  .toast:nth-child(3) {
    display: none;
  }
}
@media (min-width: 1100px) {
  .toasts {
    display: block;
    position: absolute;
    /* The bull grows with the window: so do the cards' place, beside its head. */
    top: calc(var(--header-h) + 13vw);
    right: 4vw;
    width: 340px;
    height: 400px;
  }
  .toast:nth-child(1) {
    top: 0;
    right: 0;
  }
  .toast:nth-child(2) {
    top: 132px;
    right: 96px;
  }
  .toast:nth-child(3) {
    top: 264px;
    right: 12px;
  }
}

/* ---------- Header ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--night);
}
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  height: var(--header-h);
  margin-bottom: calc(-1 * var(--header-h));
  color: var(--ink);
  view-transition-name: site-header;
  transition:
    background-color 0.3s,
    box-shadow 0.3s;
}
.site-header.is-stuck {
  background: #070b16f2;
  box-shadow: 0 1px 0 var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header.is-stuck {
    background: #070b16c4;
    backdrop-filter: saturate(1.4) blur(14px);
  }
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: inherit;
}
.brand svg {
  width: 30px;
  height: 30px;
  flex: none;
}
.brand b {
  font-weight: 800;
}
.brand i {
  font-style: normal;
  font-weight: 500;
  opacity: 0.62;
}
.mark-bg {
  fill: #ffffff;
}
.mark-t {
  fill: var(--night);
}
.wide {
  display: none;
}
@media (max-width: 479px) {
  .site-header .wrap {
    gap: 10px;
  }
  .site-header .brand {
    font-size: 1.125rem;
  }
  .site-header .btn-sm {
    padding: 0 14px;
  }
}
@media (min-width: 480px) {
  .wide {
    display: inline;
  }
}
.nav {
  display: none;
  gap: 4px;
  margin-left: auto;
  font-size: 0.9375rem;
  font-weight: 500;
}
.nav a {
  position: relative;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  transition:
    color 0.2s,
    background-color 0.2s;
}
.nav a:hover {
  color: var(--ink);
}
.nav a[aria-current="page"] {
  color: var(--ink);
  background: #ffffff0f;
}
.site-header .btn {
  margin-left: auto;
}
@media (min-width: 960px) {
  .nav {
    display: flex;
  }
  .site-header .btn {
    margin-left: 0;
  }
}

/* The menu on phones: a native disclosure, no script needed. */
.menu {
  position: relative;
  flex: none;
}
.menu summary {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  cursor: pointer;
  list-style: none;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu summary svg {
  width: 18px;
  height: 18px;
}
.menu summary .x,
.menu[open] summary .bars {
  display: none;
}
.menu[open] summary .x {
  display: block;
}
.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  display: grid;
  width: min(calc(100vw - 40px), 300px);
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--tile);
  box-shadow: 0 24px 60px -20px #000000e6;
}
.menu-panel a {
  padding: 12px 14px;
  border-radius: 12px;
  font-family: var(--display);
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}
.menu-panel a[aria-current="page"] {
  background: #ffffff0f;
}
.menu[open] .menu-panel {
  animation: menu-in 0.3s var(--ease);
}
@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}
@media (min-width: 960px) {
  .menu {
    display: none;
  }
}

/* ---------- The bull: first screen and page headings ---------- */
.hero,
.page-head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--night);
}
.bull {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.bull img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
}
.bull::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      var(--night) 0%,
      #070b16eb 34%,
      #070b1640 68%,
      #070b1600 100%
    ),
    linear-gradient(180deg, #070b1600 55%, var(--night) 100%);
}
/* On a phone or a tablet the bull stands above the headline. */
@media (max-width: 959px) {
  .bull {
    bottom: auto;
    height: calc(var(--header-h) + min(96vw, 560px));
  }
  .bull img {
    object-position: 100% top;
  }
  .bull::after {
    background: linear-gradient(
      180deg,
      #070b1626 0%,
      #070b1640 40%,
      #070b16cc 72%,
      var(--night) 100%
    );
  }
  .page-head .bull {
    height: calc(var(--header-h) + min(72vw, 440px));
  }
}

.hero {
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 112px));
  padding-bottom: clamp(150px, 17vw, 240px);
}
@media (max-width: 959px) {
  .hero {
    padding-top: calc(var(--header-h) + min(54vw, 330px));
  }
}
.hero-copy {
  display: grid;
  gap: 24px;
  justify-items: start;
  max-width: 680px;
}

.hero .lead {
  color: #c3cbe0;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.page-head {
  padding-top: calc(var(--header-h) + clamp(48px, 7vw, 104px));
  padding-bottom: clamp(56px, 7vw, 96px);
  border-bottom: 1px solid #ffffff0a;
}
.page-head .bull img {
  opacity: 0.62;
  object-position: right 30%;
}
.page-head .hero-copy {
  max-width: 760px;
}
.page-head h1 {
  font-size: clamp(2.125rem, 1.2rem + 3.2vw, 3.5rem);
}
@media (max-width: 959px) {
  .page-head {
    padding-top: calc(var(--header-h) + min(34vw, 220px));
  }
}

/* ---------- The stage: CRM screens under the first screen ---------- */
.stage {
  position: relative;
  margin-top: calc(-1 * clamp(110px, 13vw, 180px));
  padding-bottom: clamp(72px, 9vw, 128px);
}
.tabs {
  display: inline-flex;
  gap: 4px;
  max-width: 100%;
  margin-bottom: 16px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #0c1224cc;
  overflow-x: auto;
  scrollbar-width: none;
}
@supports (backdrop-filter: blur(8px)) {
  .tabs {
    background: #0c122499;
    backdrop-filter: blur(12px);
  }
}
.tabs button {
  position: relative;
  flex: none;
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  overflow: hidden;
  transition:
    background-color 0.25s,
    color 0.25s;
}
.tabs button:hover {
  color: var(--ink);
}
.tabs button[aria-selected="true"] {
  background: var(--tile-2);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
/* While screens change by themselves, the open tab fills up. */
.tabs button i {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 5px;
  height: 2px;
  border-radius: 1px;
  background: var(--indigo);
  transform: scaleX(0);
  transform-origin: 0 50%;
  opacity: 0;
}
.is-auto .tabs button[aria-selected="true"] i {
  opacity: 1;
  animation: tab-fill var(--tab-ms, 7s) linear forwards;
}
.is-paused .tabs button[aria-selected="true"] i,
.is-held .tabs button[aria-selected="true"] i {
  animation-play-state: paused;
}
@keyframes tab-fill {
  to {
    transform: scaleX(1);
  }
}

.frame {
  position: relative;
  border-radius: var(--r-m);
  overflow: hidden;
  box-shadow: var(--glow);
}
.frame-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: var(--mist);
  font-size: 0.8125rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
}
.frame-bar svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.frame-bar b {
  font-family: var(--display);
  font-weight: 800;
  color: var(--ink);
}
.frame-bar span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.frame-views {
  display: grid;
  aspect-ratio: 1680 / 1050;
  background: var(--paper);
}
.frame-views > div[hidden] {
  display: none;
}
.frame-views > div {
  grid-area: 1 / 1;
  min-width: 0;
  transition:
    opacity 0.6s var(--ease),
    visibility 0s;
}
.frame-views > div.is-off {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.6s var(--ease),
    visibility 0s 0.6s;
}
.frame-views img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}
.frame > img,
.zoom img {
  width: 100%;
}
.zoom {
  overflow: hidden;
}
@media (max-width: 699px) {
  /* A phone shows the left part of a wide screen at a readable size. */
  .frame-views {
    aspect-ratio: 1 / 1.25;
  }
  .zoom img {
    width: 190%;
    max-width: none;
    margin-left: calc(var(--menu, 0%) * -1.9);
  }
  .frame-views img {
    object-position: calc(var(--menu, 0%) * 2) top;
  }
}
.shot-cap {
  margin-top: 14px;
}
@media (min-width: 960px) {
  /* A screen in a chapter runs past the text column towards the page edge. */
  .bleed {
    margin-right: clamp(-120px, calc((100vw - var(--wrap)) / -2 + 24px), 0px);
  }
}

/* ---------- The ledger: hours cost running against fixed contracts ---------- */
.ledger {
  min-width: 0;
  border-radius: var(--r-l);
  box-shadow: var(--glow);
}
.lg-head,
.lg-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
}
.lg-head {
  border-bottom: 1px solid var(--line);
}
.lg-head b {
  white-space: nowrap;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.lg-head span {
  font-size: 0.8125rem;
  color: var(--muted);
}
.lg-days {
  position: relative;
  height: 2px;
  background: var(--line);
}
.lg-days i {
  position: absolute;
  inset: 0;
  background: var(--indigo);
  transform-origin: 0 50%;
}
.lg-row {
  display: grid;
  gap: 9px;
  padding: 15px 22px 16px;
  border-bottom: 1px solid var(--line);
}
.lg-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.lg-name {
  min-width: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}
.lg-name span {
  display: block;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--muted);
}
.lg-fig {
  flex: none;
  text-align: right;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
  color: var(--gain-ink);
}
.lg-fig b {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
}
.lg-fig span {
  font-size: 0.8125rem;
}
.is-loss .lg-fig {
  color: var(--loss-ink);
}
.lg-bar {
  position: relative;
  height: 8px;
  border-radius: 4px;
  background: #eef1f7;
  overflow: hidden;
}
.lg-bar i {
  position: absolute;
  top: 0;
  bottom: 0;
}
.lg-cost {
  left: 0;
  background: var(--crm-night);
  border-radius: 4px 0 0 4px;
}
.lg-over {
  left: 76.923%;
  background: var(--loss);
}
.lg-bar::after {
  content: "";
  position: absolute;
  left: 76.923%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line-strong);
}
.lg-meta {
  font-size: 0.75rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.lg-foot {
  align-items: center;
  font-size: 0.875rem;
  line-height: 1.4;
}
.lg-foot b {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.lg-foot span span {
  color: var(--gain-ink);
  font-weight: 600;
}
.lg-cap {
  margin-top: 16px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--muted);
}
.lg-cap i {
  display: inline-block;
  width: 14px;
  height: 6px;
  margin-right: 6px;
  border-radius: 2px;
  background: var(--crm-night);
  box-shadow: 0 0 0 1px #aab4cf80;
  vertical-align: 1px;
}
.lg-cap i.over {
  margin-left: 12px;
  background: var(--loss);
  box-shadow: none;
}

/* ---------- Tiles: the other pages ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (min-width: 1040px) {
  .tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.tile {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: linear-gradient(180deg, var(--tile) 0%, var(--deep) 100%);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition:
    border-color 0.3s,
    transform 0.4s var(--ease);
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    380px circle at var(--mx, 50%) var(--my, 0%),
    #6f8cff2e,
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.35s;
}
.tile:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}
.tile:hover::before {
  opacity: 1;
}
.tile p {
  font-size: 0.9688rem;
  line-height: 1.5;
}
.tile .go {
  position: absolute;
  top: 26px;
  right: 26px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--indigo-ink);
  transition:
    background-color 0.3s,
    border-color 0.3s,
    color 0.3s,
    transform 0.4s var(--ease);
}
.tile .go svg {
  width: 16px;
  height: 16px;
}
.tile:hover .go {
  border-color: var(--indigo);
  background: var(--indigo);
  color: #fff;
  transform: rotate(-45deg);
}
@media (max-width: 559px) {
  .tiles {
    gap: 10px;
  }
  .tile {
    gap: 8px;
    padding: 18px 16px 20px;
  }
  .tile h3 {
    font-size: 1.0313rem;
  }
  .tile p {
    font-size: 0.875rem;
  }
  .tile .go {
    top: 16px;
    right: 14px;
    width: 30px;
    height: 30px;
  }
}
.tile.is-static:hover {
  border-color: var(--line);
  transform: none;
}
@media (min-width: 1040px) {
  .tiles.is-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #6f8cff3d;
  border-radius: 12px;
  background: var(--indigo-soft);
  color: var(--indigo-ink);
}
.ico svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Feature chapters ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.chips a {
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #ffffff05;
  font-size: 0.875rem;
  color: var(--ink);
  text-decoration: none;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}
.chips a:hover {
  background: #ffffff10;
  border-color: var(--indigo);
}
.chapter + .chapter {
  margin-top: clamp(72px, 9vw, 128px);
}
.chapter-copy {
  display: grid;
  gap: 18px;
}

.wide-shot {
  margin-top: clamp(40px, 5vw, 64px);
}

/* A project's statement: hours by rates against the contract. */
.statement {
  border-radius: var(--r-m);
  box-shadow: var(--glow);
  padding: clamp(20px, 3vw, 32px);
}
.statement header {
  display: grid;
  gap: 2px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.statement header b {
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.statement header span {
  font-size: 0.875rem;
  color: var(--muted);
}
.statement dl > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-block: 13px;
  border-bottom: 1px solid var(--line);
}
.statement dt small {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted);
}
.statement dd {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ink);
  font-weight: 500;
}
.statement .total {
  border-bottom: 0;
  padding-bottom: 0;
  padding-top: 18px;
  align-items: center;
}
.statement .total dt {
  font-family: var(--display);
  font-weight: 800;
  color: var(--ink);
}
.statement .total dd {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--gain-ink);
}
.pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--gain-soft);
  color: var(--gain-ink);
  font-family: var(--body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
}

/* Leads: six channels, one list. */
.flow {
  display: grid;
  gap: 20px;
  align-items: center;
}
.flow-src {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.flow-src li {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-s);
  background: var(--tile);
  font-size: 0.9063rem;
  font-weight: 500;
  color: var(--ink);
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    background-color 0.3s;
}
.flow-src li.is-on {
  border-color: var(--indigo);
  background: var(--indigo-soft);
  box-shadow: 0 0 24px -4px #6f8cff99;
}
.flow-wires {
  display: none;
}
.flow-wires path {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
}
.flow-wires path.pulse {
  stroke: var(--indigo);
  stroke-width: 2;
  stroke-dasharray: 0.18 1;
  stroke-dashoffset: 0.18;
  opacity: 0;
  filter: drop-shadow(0 0 4px #6f8cff);
}
.flow-wires path.pulse.is-on {
  animation: wire 0.9s var(--ease) both;
}
@keyframes wire {
  0% {
    stroke-dashoffset: 0.18;
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: -1;
    opacity: 0;
  }
}
.inbox {
  min-width: 0;
  border-radius: var(--r-m);
  box-shadow: var(--glow);
  overflow: hidden;
}
.inbox-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.inbox-head b {
  font-family: var(--display);
  font-weight: 800;
  color: var(--ink);
}
.inbox-head span {
  font-size: 0.8125rem;
  color: var(--muted);
}
.inbox-list {
  height: 276px;
  overflow: hidden;
}
.inbox-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  align-content: center;
  height: 69px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
}
.inbox-list li.is-new {
  background: var(--mist);
  animation: lead-in 0.6s var(--ease) both;
}
@keyframes lead-in {
  from {
    height: 0;
    opacity: 0;
  }
}
.inbox-list b {
  font-weight: 600;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.inbox-list small {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  background: #f0f0f0;
  color: #646464;
}
.tag-violet {
  background: #f4f0fe;
  color: #6550b9;
}
.tag-blue {
  background: #e6f4fe;
  color: #0c6dc2;
}
.tag-green {
  background: var(--gain-soft);
  color: var(--gain-ink);
}
.tag-pink {
  background: #fee9f5;
  color: #c02989;
}
.tag-amber {
  background: var(--amber-soft);
  color: var(--amber-ink);
}
.tag-teal {
  background: #e0f8f3;
  color: #007b6a;
}
@media (min-width: 620px) {
  .flow {
    grid-template-columns: 148px 72px minmax(0, 1fr);
    gap: 0;
  }
  .flow-src {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 12px;
  }
  .flow-wires {
    display: block;
    width: 100%;
    height: 300px;
  }
}

/* ---------- Roles ---------- */
.roles {
  border-top: 1px solid var(--rule);
}
.roles > div {
  display: grid;
  gap: 4px 40px;
  padding: 20px 12px;
  margin-inline: -12px;
  border-bottom: 1px solid var(--line);
  border-radius: 6px;
  transition:
    background-color 0.25s,
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
.roles dt {
  font-family: var(--display);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.roles dd {
  font-size: 0.9688rem;
  line-height: 1.55;
}
@media (min-width: 760px) {
  .roles > div {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  }
}
@media (hover: hover) {
  .roles > div:hover {
    background: var(--tile);
  }
}

/* ---------- Phones: three in a fan, the middle one in front ---------- */
.phones-band {
  overflow-x: clip;
}
.fan {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 8px;
}
.fan > li {
  --w: 31vw;
  position: relative;
  z-index: 1;
  flex: none;
  width: var(--w);
  transition:
    transform 1.2s var(--ease),
    opacity 0.8s var(--ease);
}
.fan > li:nth-child(1) {
  margin-top: 9%;
  margin-right: calc(var(--w) * -0.3);
}
.fan > li:nth-child(2) {
  --w: 42vw;
  z-index: 2;
}
.fan > li:nth-child(3) {
  margin-top: 9%;
  margin-left: calc(var(--w) * -0.3);
}
.fan figcaption {
  display: table;
  margin: 18px auto 0;
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--tile);
  font-family: var(--display);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.fan > li:not(:nth-child(2)) figcaption {
  visibility: hidden;
}
@media (min-width: 860px) {
  .fan > li {
    --w: clamp(240px, 21vw, 280px);
  }
  .fan > li:nth-child(2) {
    --w: clamp(260px, 23vw, 304px);
  }
  .fan > li:nth-child(1) {
    margin-top: 56px;
    margin-right: clamp(16px, 3vw, 48px);
  }
  .fan > li:nth-child(3) {
    margin-top: 56px;
    margin-left: clamp(16px, 3vw, 48px);
  }
  .fan > li:not(:nth-child(2)) figcaption {
    visibility: visible;
  }
}
/* Before the phones come into view they stand in one stack. */
.fan.is-below > li:nth-child(1) {
  opacity: 0;
  transform: translateX(90%) scale(0.9);
}
.fan.is-below > li:nth-child(3) {
  opacity: 0;
  transform: translateX(-90%) scale(0.9);
}
.fan.is-below > li:nth-child(2) {
  transform: translateY(40px);
}

/* iPhone 18 Pro: 71.9 x 150 mm body, 402 pt wide screen. */
.iphone {
  --band: 2px;
  --s: calc(var(--w) * 66.6 / 71.9);
  --u: calc(var(--s) / 402);
  position: relative;
  width: var(--w);
  height: calc(var(--w) * 150 / 71.9);
  padding: calc((var(--w) - var(--s)) / 2 - var(--band));
  border: var(--band) solid #5a5e66;
  border-radius: calc(var(--u) * 55 + (var(--w) - var(--s)) / 2);
  background: #0b0c0e;
  box-shadow:
    inset 0 0 0 1px #ffffff1a,
    0 30px 60px -20px #000000d9,
    0 0 90px -30px #4d6bf08c;
}
.iphone .scr {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--u) * 55);
  overflow: hidden;
  background: #fff;
}
.iphone .sb {
  position: relative;
  flex: none;
  height: calc(var(--u) * 62);
  color: #000;
}
.iphone .sb .t {
  position: absolute;
  left: 0;
  top: calc(var(--u) * 20);
  width: calc(var(--u) * 140);
  text-align: center;
  font-weight: 700;
  font-size: calc(var(--u) * 17);
  line-height: calc(var(--u) * 22);
}
.iphone .sb .di {
  position: absolute;
  left: 50%;
  top: calc(var(--u) * 11);
  width: calc(var(--u) * 125);
  height: calc(var(--u) * 37);
  margin-left: calc(var(--u) * -62.5);
  border-radius: calc(var(--u) * 19);
  background: #000;
}
.iphone .sb .ic {
  position: absolute;
  right: 0;
  top: calc(var(--u) * 25);
  width: calc(var(--u) * 140);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: calc(var(--u) * 6);
}
.iphone .sb svg {
  display: block;
  height: calc(var(--u) * 12);
  width: auto;
  fill: #000;
}
.iphone .scr img {
  width: 100%;
  flex: none;
}
.iphone .hb {
  position: relative;
  flex: 1;
  background: #fff;
}
.iphone .hb i {
  position: absolute;
  left: 50%;
  bottom: calc(var(--u) * 8);
  width: calc(var(--u) * 134);
  height: calc(var(--u) * 5);
  margin-left: calc(var(--u) * -67);
  border-radius: calc(var(--u) * 3);
  background: #000;
}

/* ---------- Calculator ---------- */
.calc {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(24px, 4.5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(40rem 26rem at 100% 0%, #1a2550 0%, transparent 65%),
    var(--tile);
}
@media (min-width: 960px) {
  .calc {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}
.calc > * {
  min-width: 0;
}
.calc-in {
  display: grid;
  gap: 26px;
}
.calc-in h2 {
  font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.25rem);
}
.field {
  display: grid;
  gap: 10px;
}
.field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.9375rem;
}
.field output {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
input[type="range"] {
  --p: 50%;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(
    to right,
    var(--indigo) 0 var(--p),
    var(--line-strong) var(--p) 100%
  );
}
input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: var(--line-strong);
}
input[type="range"]::-moz-range-progress {
  height: 4px;
  border-radius: 2px;
  background: var(--indigo);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -9px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  box-shadow:
    0 1px 4px #000000a6,
    0 0 0 4px #6f8cff33;
  transition: transform 0.15s;
}
input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  box-shadow:
    0 1px 4px #000000a6,
    0 0 0 4px #6f8cff33;
}
input[type="range"]:active::-webkit-slider-thumb {
  transform: scale(1.12);
}
.calc-out {
  display: grid;
  gap: 0;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-l);
  background: #070b1680;
}
.calc-out > div {
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}
.calc-out > div:first-child {
  padding-top: 0;
}
.calc-out > div:last-of-type {
  border-bottom: 0;
}
.calc-out dt {
  font-size: 0.9063rem;
}
.calc-out dd {
  margin-top: 4px;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2rem);
}
.calc-out .big dd {
  font-size: clamp(2.125rem, 1.3rem + 3.4vw, 3.5rem);
  color: var(--loss-ink);
}
.calc-out .note {
  margin-top: 4px;
}

/* ---------- Prices ---------- */
.switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--deep);
}
.switch button {
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}
.switch button[aria-pressed="true"] {
  background: var(--tile-2);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.plans {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
@media (min-width: 860px) {
  .plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: linear-gradient(180deg, var(--tile) 0%, var(--deep) 100%);
}
.plan-top {
  position: relative;
  border-color: #6f8cff80;
  background:
    radial-gradient(28rem 16rem at 50% -10%, #4d6bf040 0%, transparent 70%),
    linear-gradient(180deg, var(--tile-2) 0%, var(--tile) 100%);
  box-shadow: 0 0 80px -30px #4d6bf0b3;
}
.plan h3 {
  font-size: 1.375rem;
  font-weight: 800;
}
.plan .who {
  font-size: 0.9375rem;
}
.plan .price {
  margin-top: 22px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.875rem, 1.5rem + 1.2vw, 2.375rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.plan .price small {
  font-family: var(--body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}
.plan .alt {
  min-height: 2.9em;
  margin-top: 6px;
  font-size: 0.875rem;
  line-height: 1.45;
}
.plan ul {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.45;
}
.plan-top ul {
  color: #d4daea;
}
.plan li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
}
.plan li::before {
  content: "";
  width: 10px;
  height: 6px;
  margin-top: 6px;
  border-left: 2px solid var(--gain);
  border-bottom: 2px solid var(--gain);
  transform: rotate(-45deg);
}
.plan-fill {
  flex: 1;
}
.boxed {
  display: grid;
  gap: 16px 40px;
  margin-top: 16px;
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-l);
}
.boxed h3 {
  font-size: 1.375rem;
  font-weight: 800;
}
.boxed .price {
  margin-top: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.625rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  white-space: nowrap;
}
.boxed .price small {
  font-family: var(--body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}

.boxed .perks {
  align-self: center;
}
@media (min-width: 860px) {
  .boxed {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  }
}
.price-perks {
  margin-top: 24px;
}
.table-scroll {
  margin-top: 16px;
  overflow-x: auto;
}
.svc {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.svc caption {
  padding-bottom: 14px;
  text-align: left;
  font-family: var(--display);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.svc th,
.svc td {
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.svc thead th {
  border-bottom-color: var(--rule);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.svc tbody th {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.svc td:nth-child(3),
.svc td:last-child,
.svc th:last-child {
  white-space: nowrap;
}
.svc td:last-child,
.svc th:last-child {
  padding-right: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.section-gap {
  margin-top: clamp(48px, 6vw, 80px);
}

/* ---------- Launch ---------- */
.steps {
  position: relative;
  display: grid;
  gap: 28px;
  counter-reset: step;
}
.steps li {
  position: relative;
  display: grid;
  gap: 6px;
  padding-left: 52px;
  align-content: start;
  counter-increment: step;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #6f8cff66;
  border-radius: 50%;
  background: var(--indigo-soft);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.9375rem;
  box-shadow: 0 0 20px -6px #6f8cff99;
}
.steps::before {
  content: "";
  position: absolute;
  left: 16.5px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(var(--indigo), var(--line-strong));
  transform-origin: 50% 0;
}
.steps time {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--indigo-ink);
}
.steps b {
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
}
@media (min-width: 960px) {
  .steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
  }
  .steps li {
    padding: 56px 0 0;
  }
  .steps::before {
    left: 0;
    right: 0;
    top: 16.5px;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, var(--indigo), var(--line-strong));
    transform-origin: 0 50%;
  }
}
.pledge {
  display: grid;
  gap: 32px 64px;
  margin-top: clamp(48px, 6vw, 80px);
}
.pledge h3 {
  margin-bottom: 18px;
  font-size: 1.25rem;
  font-weight: 800;
}

@media (min-width: 860px) {
  .pledge {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Case and questions ---------- */
.case {
  display: grid;
  gap: 28px 64px;
  align-items: end;
}
.case-copy {
  display: grid;
  gap: 16px;
  justify-items: start;
}

@media (min-width: 960px) {
  .case {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
}
.faq-grid {
  display: grid;
  gap: 32px 64px;
}
@media (min-width: 960px) {
  .faq-grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    align-items: start;
  }
}
.faq-head {
  display: grid;
  gap: 14px;
}
.faq {
  border-top: 1px solid var(--rule);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: 20px;
  font-family: var(--display);
  font-size: 1.0938rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}
.faq details p {
  max-width: 44em;
  padding-bottom: 22px;
  font-size: 0.9688rem;
}
@supports (interpolate-size: allow-keywords) {
  .faq {
    interpolate-size: allow-keywords;
  }
  .faq details::details-content {
    height: 0;
    overflow: hidden;
    transition:
      height 0.35s var(--ease),
      content-visibility 0.35s allow-discrete;
  }
  .faq details[open]::details-content {
    height: auto;
  }
}

/* ---------- Closing call to the demo, on every page ---------- */
.cta-band {
  padding-top: clamp(24px, 4vw, 56px);
}
.cta-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 20px;
  justify-items: start;
  padding: clamp(32px, 6vw, 80px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(50rem 26rem at 0% 100%, #1a2550 0%, transparent 60%),
    var(--deep);
}
.cta-card > :not(.cta-bull) {
  max-width: 34rem;
}
.cta-bull {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(70%, 720px);
  pointer-events: none;
}
.cta-bull img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% 15%;
  opacity: 0.75;
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
}
@media (max-width: 760px) {
  .cta-bull {
    width: 100%;
  }
  .cta-bull img {
    opacity: 0.32;
    mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  }
}

/* ---------- The demo page: request form ---------- */
.demo-grid {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (min-width: 960px) {
  .demo-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
.demo-grid > * {
  min-width: 0;
}

.form {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: clamp(22px, 3vw, 36px);
  border-radius: var(--r-l);
  box-shadow: var(--glow);
}
.form h2 {
  color: var(--ink);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.form .row {
  display: grid;
  gap: 16px;
}
@media (min-width: 520px) {
  .form .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.form label {
  display: grid;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}
.form input,
.form select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-s);
  background: var(--paper);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.form input::placeholder {
  color: #9aa2b6;
}
.form input:focus,
.form select:focus {
  outline: 0;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px var(--indigo-soft);
}
.form [aria-invalid="true"] {
  border-color: var(--loss);
}
.form .btn {
  width: 100%;
  margin-top: 4px;
  border-radius: 10px;
  background: var(--crm-night);
  box-shadow: none;
}
.form .btn:hover {
  background: var(--crm-night-hover);
  filter: none;
}
.form-state {
  padding: 12px 14px;
  border-radius: var(--r-s);
  background: var(--amber-soft);
  color: var(--amber-ink);
  font-size: 0.9063rem;
  line-height: 1.45;
}
.form-state.is-ok {
  background: var(--gain-soft);
  color: var(--gain-ink);
}

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 48px 40px;
  border-top: 1px solid var(--line);
  background: #05080f;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}
.site-footer .wrap {
  display: grid;
  gap: 28px 48px;
}
.site-footer .brand {
  color: var(--ink);
  font-size: 1.0625rem;
}
.site-footer .brand svg {
  width: 26px;
  height: 26px;
}
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 0.9375rem;
}
.foot-nav a {
  color: var(--text);
  text-decoration: none;
}
.foot-nav a:hover {
  color: var(--ink);
}
.site-footer p {
  max-width: 40em;
}
@media (min-width: 860px) {
  .site-footer .wrap {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }
  .foot-nav {
    justify-content: flex-end;
  }
  .site-footer p {
    grid-column: 1 / -1;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    max-width: none;
  }
}

/* ---------- Motion ---------- */
.rv {
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}
.rv.is-below {
  opacity: 0;
  transform: translateY(20px);
}
.steps.is-below::before {
  transform: scaleX(0);
}
.steps::before {
  transition: transform 1.4s var(--ease) 0.2s;
}
@media (max-width: 959px) {
  .steps.is-below::before {
    transform: scaleY(0);
  }
}
@media (prefers-reduced-motion: no-preference) {
  /* The bull steps out of the dark when the page opens. */
  .bull img {
    animation: bull-in 2.2s var(--ease) both;
  }
  @keyframes bull-in {
    from {
      opacity: 0;
      transform: scale(1.06);
    }
  }
  .hero-copy > * {
    animation: rise 1s var(--ease) both;
  }
  .hero-copy > :nth-child(2) {
    animation-delay: 80ms;
  }
  .hero-copy > :nth-child(3) {
    animation-delay: 160ms;
  }
  .hero-copy > :nth-child(n + 4) {
    animation-delay: 240ms;
  }
  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
  }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* The bull sinks slower than the page scrolls. */
    .hero .bull,
    .page-head .bull {
      animation: sink linear both;
      animation-timeline: scroll(root);
      animation-range: 0 100vh;
    }
    @keyframes sink {
      to {
        transform: translateY(22%);
      }
    }
  }
  @media (prefers-reduced-motion: no-preference) and (min-width: 960px) {
    /* The screen under the first screen lies back and straightens up. */
    .stage .frame {
      transform-origin: 50% 0;
      animation: stand linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 40%;
    }
    @keyframes stand {
      from {
        transform: perspective(1600px) rotateX(14deg) scale(0.94);
      }
      to {
        transform: none;
      }
    }
    .drift {
      animation: drift linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 55%;
    }
    @keyframes drift {
      from {
        transform: translateY(36px) scale(0.975);
      }
      to {
        transform: none;
      }
    }
  }
}
@media (prefers-reduced-motion: no-preference) {
  /* The words that carry the point catch the light. */
  @supports (background-clip: text) or (-webkit-background-clip: text) {
    .hl {
      animation: shine 7s ease-in-out infinite;
    }
    @keyframes shine {
      50% {
        background-position: 100% 50%;
      }
    }
  }
  /* The live cards pop up one by one and float. */
  .toast {
    animation:
      toast-in 0.9s var(--ease) var(--d, 0.5s) both,
      bob 5s ease-in-out calc(var(--d, 0.5s) + 0.9s) infinite alternate;
  }
  .toast:nth-child(2) {
    animation-duration: 0.9s, 6s;
  }
  .toast:nth-child(3) {
    animation-duration: 0.9s, 5.5s;
  }
  @keyframes toast-in {
    from {
      opacity: 0;
      transform: translateY(22px) scale(0.92);
    }
  }
  @keyframes bob {
    to {
      translate: 0 -12px;
    }
  }
}
/* Chips, sums and numbers come in one after another. */
.rv .perks li,
.perks.rv li,
.rv .formula > *,
.stats.rv li {
  transition:
    opacity 0.5s var(--ease),
    transform 0.6s var(--ease);
  transition-delay: calc(var(--d, 0ms) + 250ms + var(--i, 0) * 80ms);
}
.rv.is-below .perks li,
.perks.rv.is-below li,
.rv.is-below .formula > *,
.stats.rv.is-below li {
  opacity: 0;
  transform: translateY(10px) scale(0.96);
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.35s;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}
