/* Layout: poster-scale condensed Hebrew headlines on cool paper, punctuated by full-bleed cobalt and deep-navy bands; one "jump trajectory" motif carries the springboard idea. */
:root {
  --paper: #ECEEF6;
  --surface: #FFFFFF;
  --ink: #0D0F2B;
  --mute: #555B80;
  --line: #CDD1E4;
  --cobalt: #2B2BF0;
  --cobalt-band: #2B2BF0;
  --cobalt-soft: #DCDDFE;
  --apricot: #FF6A3D;
  --deep: #0D0F2B;
  --on-deep: #EEF0FA;
  --on-deep-mute: #A3A8CC;
  --on-band: #FFFFFF;

  --display: "Karantina", "Secular One", "Arial Narrow", sans-serif;
  --body: "IBM Plex Sans Hebrew", "Rubik", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --radius: 18px;
  --max: 1240px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #08091A; --surface: #111331; --ink: #E9EBF8; --mute: #959AC0; --line: #262A52;
    --cobalt: #6668FF; --cobalt-band: #2426B8; --cobalt-soft: #1E2160; --apricot: #FF7A50;
    --deep: #14173A; --on-deep: #EEF0FA; --on-deep-mute: #A3A8CC; --on-band: #FFFFFF;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #08091A; --surface: #111331; --ink: #E9EBF8; --mute: #959AC0; --line: #262A52;
  --cobalt: #6668FF; --cobalt-band: #2426B8; --cobalt-soft: #1E2160; --apricot: #FF7A50;
  --deep: #14173A; --on-deep: #EEF0FA; --on-deep-mute: #A3A8CC; --on-band: #FFFFFF;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--paper);
}
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--apricot); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}

.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 100; }
.skip:focus { top: 8px; }

/* ---------- type ---------- */
.h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(48px, 7vw, 96px);
  line-height: .9;
  letter-spacing: -.005em;
}
.kicker {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.kicker--inv { color: var(--apricot); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--cobalt); color: var(--on-band);
  font: 500 17px/1 var(--body);
  padding: 17px 26px;
  border-radius: 999px;
  border: 2px solid var(--cobalt);
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn span { transition: transform .2s ease; }
.btn:hover span { transform: translateX(-4px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--sm { padding: 11px 18px; font-size: 15px; }
.btn--light { background: var(--apricot); border-color: var(--apricot); color: #1A0B05; justify-content: center; }

/* ---------- header ---------- */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.top__in { display: flex; align-items: center; gap: 24px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { color: var(--cobalt); display: grid; }
.brand__txt { display: grid; line-height: 1.1; }
.brand__txt strong { font-family: var(--display); font-size: 30px; font-weight: 700; line-height: .9; }
.brand__txt small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; color: var(--mute); }
.nav { display: flex; gap: 26px; margin-inline-start: auto; }
.nav a { text-decoration: none; font-size: 15px; color: var(--mute); transition: color .15s; }
.nav a:hover { color: var(--ink); }
@media (max-width: 900px) {
  .nav { display: none; }
  .top .btn { margin-inline-start: auto; }
}
@media (max-width: 400px) { .brand__txt small { display: none; } }

/* ---------- hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(48px, 6vw, 80px); }
.hero__grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero__copy { min-width: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 14px; font-weight: 500; color: var(--mute);
  border: 1px solid var(--line); background: var(--surface);
  padding: 8px 14px; border-radius: 999px; margin-bottom: 26px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--apricot); box-shadow: 0 0 0 4px color-mix(in srgb, var(--apricot) 25%, transparent); }
.hero__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(68px, 10.4vw, 156px);
  line-height: .84;
  letter-spacing: -.01em;
}
.hero__title .ln { display: block; animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.hero__title .ln:nth-child(2) { animation-delay: .08s; }
.hero__title .ln:nth-child(3) { animation-delay: .16s; }
.hero__title em { font-style: normal; color: var(--cobalt); position: relative; white-space: nowrap; }
.hero__title em::after {
  content: ""; position: absolute; inset-inline: 2% 4%; bottom: .06em; height: .09em;
  background: var(--apricot); border-radius: 99px; transform: rotate(-2deg);
}
@keyframes rise { from { transform: translateY(.25em); opacity: .2; } to { transform: none; opacity: 1; } }
.hero__lede { margin-top: 28px; max-width: 56ch; font-size: clamp(17px, 1.4vw, 19px); color: var(--mute); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero__viz { position: relative; min-width: 0; display: grid; }
.jump { width: 100%; height: auto; display: block; direction: ltr; overflow: visible; }
.jump__grid line { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 6; }
.jump__board { fill: var(--ink); }
.jump__leg { fill: var(--ink); }
.jump__arc {
  fill: none; stroke: var(--cobalt); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 2 11;
  animation: flow 1.6s linear infinite;
}
@keyframes flow { to { stroke-dashoffset: -26; } }
.jump__labels circle { fill: var(--paper); stroke: var(--cobalt); stroke-width: 3; }
.jump__labels circle.end { fill: var(--apricot); stroke: var(--apricot); }
.jump__labels text { font-family: var(--body); font-size: 19px; font-weight: 500; fill: var(--ink); text-anchor: end; }
.jump__labels text.mid { text-anchor: start; font-weight: 700; }
.jump__ball { fill: var(--apricot); }

.ops {
  justify-self: end;
  width: min(320px, 100%);
  margin: -24px 0 0;
  background: var(--deep); color: var(--on-deep);
  border-radius: var(--radius);
  padding: 16px 18px 10px;
  box-shadow: 0 24px 50px -24px rgba(13, 15, 43, .55);
}
.ops__head { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; color: var(--on-deep-mute); display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.live { width: 8px; height: 8px; border-radius: 50%; background: #3BE08A; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.ops__list { list-style: none; margin: 0; padding: 0; }
.ops__list li {
  display: flex; align-items: baseline; gap: 6px;
  font-size: 14px; line-height: 1.4;
  padding-block: 8px; border-top: 1px solid color-mix(in srgb, var(--on-deep) 12%, transparent);
}
.ops__list li b { color: var(--apricot); font-weight: 500; flex: none; }
.ops__list time { margin-inline-start: auto; flex: none; font-family: var(--mono); font-size: 12px; color: var(--on-deep-mute); direction: ltr; }
.ops__list li.is-new { animation: slidein .5s ease both; }
@keyframes slidein { from { opacity: 0; transform: translateY(-8px); } }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__viz { gap: 16px; }
  .ops { width: 100%; margin: 0; }
}

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; contain: paint; position: relative; padding-block: 14px; }
.marquee__track { display: flex; width: max-content; position: absolute; inset-inline-start: 0; top: 14px; animation: marquee 38s linear infinite; }
.marquee { height: calc(clamp(32px, 4vw, 48px) + 28px); }
.marquee__track span {
  font-family: var(--display); font-size: clamp(32px, 4vw, 48px); line-height: 1; font-weight: 400;
  padding-inline: 28px; display: inline-flex; align-items: center; gap: 56px; white-space: nowrap;
}
.marquee__track span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--apricot); margin-inline-start: 28px; }
@keyframes marquee { to { transform: translateX(50%); } }

/* ---------- who ---------- */
.who { padding-block: clamp(64px, 9vw, 120px); }
.who__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.who__body { min-width: 0; display: grid; gap: 28px; }
.who__body > p { font-size: 19px; max-width: 58ch; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 14px; font-size: 15px; font-weight: 500; }
.tags li:nth-child(3n+1) { background: var(--cobalt-soft); border-color: var(--cobalt-soft); }
@media (max-width: 820px) { .who__grid { grid-template-columns: 1fr; } }

/* ---------- section heads ---------- */
.sec-head { display: grid; gap: 4px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head__note { margin-top: 14px; color: var(--mute); max-width: 48ch; }
.sec-head--row { grid-template-columns: 1fr minmax(0, 420px); align-items: end; gap: 24px; }
@media (max-width: 820px) { .sec-head--row { grid-template-columns: 1fr; } }

/* ---------- services (cobalt band) ---------- */
.services { background: var(--cobalt-band); color: var(--on-band); padding-block: clamp(64px, 9vw, 120px); }
.services .sec-head__note { color: color-mix(in srgb, var(--on-band) 72%, transparent); }
.services .kicker--inv { color: #FFB59C; }
.svc { border-bottom: 1px solid color-mix(in srgb, var(--on-band) 30%, transparent); }
.svc__row { border-top: 1px solid color-mix(in srgb, var(--on-band) 30%, transparent); }
.svc__row summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: minmax(0, 1fr) auto 44px; align-items: center; gap: 20px;
  padding-block: 20px;
}
.svc__row summary::-webkit-details-marker { display: none; }
.svc__name {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(38px, 5.6vw, 76px); line-height: .95;
  transition: transform .3s ease, color .2s;
}
.svc__row summary:hover .svc__name { transform: translateX(-10px); }
.svc__row[open] .svc__name { color: #FFD2C2; }
.svc__tag { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: color-mix(in srgb, var(--on-band) 75%, transparent); direction: ltr; text-align: left; }
.svc__plus { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid currentColor; position: relative; transition: transform .3s ease, background .2s; }
.svc__plus::before, .svc__plus::after { content: ""; position: absolute; inset: 50% 12px auto; height: 2px; background: currentColor; transform: translateY(-50%); }
.svc__plus::after { transform: translateY(-50%) rotate(90deg); transition: transform .3s ease; }
.svc__row[open] .svc__plus { background: var(--on-band); color: var(--cobalt-band); }
.svc__row[open] .svc__plus::after { transform: translateY(-50%) rotate(0); }
.svc__body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; padding-bottom: 32px; max-width: 1020px; }
.svc__body p { font-size: 18px; color: color-mix(in srgb, var(--on-band) 90%, transparent); }
.svc__body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.svc__body li { display: flex; gap: 12px; align-items: baseline; }
.svc__body li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--apricot); transform: translateY(1px); }
@media (max-width: 760px) {
  .svc__row summary { grid-template-columns: minmax(0, 1fr) 40px; gap: 6px 14px; }
  .svc__tag { grid-row: 2; text-align: right; direction: rtl; font-size: 12px; }
  .svc__plus { grid-row: 1 / span 2; grid-column: 2; width: 40px; height: 40px; }
  .svc__body { grid-template-columns: 1fr; gap: 18px; }
}

.plan {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px 32px;
  padding: 24px 28px; border-radius: var(--radius);
  background: color-mix(in srgb, var(--on-band) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--on-band) 28%, transparent);
}
.plan__label { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: #FFB59C; }
.plan__main { display: grid; gap: 8px; min-width: 0; }
.plan__title { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.02; text-wrap: balance; }
.plan__price { font-size: 15.5px; color: color-mix(in srgb, var(--on-band) 82%, transparent); }
@media (max-width: 860px) { .plan { grid-template-columns: 1fr; } .plan .btn { justify-self: start; } }

/* ---------- demo ---------- */
.demo { padding-block: clamp(64px, 9vw, 120px); }
.demo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 28px); align-items: stretch; }
@media (max-width: 860px) { .demo__grid { grid-template-columns: 1fr; } }

.chat { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.chat__bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--cobalt); color: var(--on-band); }
.chat__bar span:last-child { display: grid; line-height: 1.25; }
.chat__bar small { font-size: 12.5px; opacity: .8; }
.chat__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--on-band); color: var(--cobalt); display: grid; place-items: center; font-weight: 700; }
.chat__body {
  display: flex; flex-direction: column; gap: 10px; padding: 20px 18px 22px; flex: 1;
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 9%, transparent) 1px, transparent 1px);
  background-size: 16px 16px;
}
.msg { max-width: 82%; padding: 10px 14px 20px; border-radius: 16px; font-size: 15.5px; line-height: 1.5; position: relative; }
.msg time { position: absolute; inset-inline-end: 12px; bottom: 4px; font-family: var(--mono); font-size: 10.5px; opacity: .6; direction: ltr; }
.msg--out { align-self: flex-start; background: var(--cobalt-soft); color: var(--ink); border-start-start-radius: 4px; }
.msg--in { align-self: flex-end; background: var(--paper); border: 1px solid var(--line); border-start-end-radius: 4px; }
.msg--typing { align-self: flex-start; background: var(--cobalt-soft); padding: 12px 16px; display: flex; gap: 5px; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--cobalt); animation: bob 1.2s ease-in-out infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; }
.msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bob { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

.voice { margin: 0; background: var(--deep); color: var(--on-deep); border-radius: var(--radius); padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.voice__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.voice__head .kicker { margin: 0; }
.voice__timer { font-family: var(--mono); font-size: 15px; color: var(--on-deep-mute); direction: ltr; font-variant-numeric: tabular-nums; }
.voice__wave { width: 100%; height: 120px; display: block; }
.voice__log { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.voice__log li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; font-size: 16px; align-items: baseline; }
.voice__log span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; color: var(--on-deep-mute); }
.voice__log li:nth-child(n+2) span { color: var(--apricot); }
.voice__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid color-mix(in srgb, var(--on-deep) 14%, transparent); font-size: 14px; color: var(--on-deep-mute); }

/* ---------- calculator ---------- */
.calc { padding-block: clamp(64px, 9vw, 120px); border-top: 1px solid var(--line); }
.calc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 28px); align-items: start; }
@media (max-width: 860px) { .calc__grid { grid-template-columns: 1fr; } }
.calc__in { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); display: grid; gap: 28px; min-width: 0; }
.cfield { display: grid; gap: 10px; border: 0; margin: 0; padding: 0; min-width: 0; }
.cfield label, .cfield legend { font-weight: 500; font-size: 16px; padding: 0; }
.cfield__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cfield__row output { font-family: var(--display); font-weight: 700; font-size: 40px; line-height: 1; color: var(--cobalt); font-variant-numeric: tabular-nums; }
.cfield select {
  width: 100%; font: 400 17px/1.4 var(--body); color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
.cfield input[type="range"] { width: 100%; accent-color: var(--cobalt); height: 28px; margin: 0; }
.cfield__scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--mute); }
.assume { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 4px; }
.assume label { display: grid; gap: 6px; font-size: 14px; font-weight: 400; color: var(--mute); }
.unit { display: flex; align-items: center; gap: 6px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 0 12px; color: var(--ink); font-weight: 500; }
.unit input { width: 100%; min-width: 0; border: 0; background: transparent; color: var(--ink); font: 500 18px/1 var(--body); padding: 11px 0; font-variant-numeric: tabular-nums; }
.unit input:focus { outline: none; }
.unit:focus-within { border-color: var(--cobalt); }
@media (max-width: 460px) { .assume { grid-template-columns: 1fr; } }

.calc__out { background: var(--deep); color: var(--on-deep); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); display: grid; gap: 24px; min-width: 0; }
.bill__label { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--apricot); margin-bottom: 10px; }
.bill__rows { margin: 0; display: grid; }
.bill__rows div { display: flex; justify-content: space-between; gap: 16px; padding-block: 9px; border-bottom: 1px dashed color-mix(in srgb, var(--on-deep) 22%, transparent); }
.bill__rows dt { color: var(--on-deep-mute); font-size: 15px; }
.bill__rows dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap; }
.bill__rows .bill__total { border-bottom: 0; padding-top: 12px; }
.bill__total dt { color: var(--on-deep); font-weight: 500; }
.bill__total dd { font-family: var(--display); font-size: 34px; font-weight: 700; line-height: 1; }
.yield { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.yield div { display: grid; gap: 2px; }
.yield__n { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4vw, 48px); line-height: 1; color: var(--apricot); font-variant-numeric: tabular-nums; white-space: nowrap; }
.yield__l { font-size: 13.5px; color: var(--on-deep-mute); }
.ratio { display: grid; gap: 10px; }
.ratio__bar { display: flex; height: 14px; border-radius: 99px; overflow: hidden; background: color-mix(in srgb, var(--on-deep) 12%, transparent); }
.ratio__inv { background: var(--on-deep-mute); transition: width .3s ease; }
.ratio__rev { background: var(--apricot); transition: width .3s ease; }
.ratio__txt { font-size: 16px; }
.ratio__txt strong { color: var(--apricot); font-size: 20px; }
.calc__note { font-size: 14.5px; color: var(--on-deep-mute); }
.breakeven { display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-radius: 14px; background: color-mix(in srgb, var(--on-deep) 7%, transparent); }
.breakeven__n { font-family: var(--display); font-weight: 700; font-size: clamp(64px, 8vw, 96px); line-height: .9; color: var(--apricot); font-variant-numeric: tabular-nums; }
.breakeven__l { font-size: 17px; line-height: 1.4; }
.cfield__hint { font-size: 14px; color: var(--mute); }
.unit--big input { font-size: 24px; padding: 12px 0; }
.book__status { font-size: 14px; color: var(--on-deep-mute); min-height: 1.4em; }
.calc__out .btn { justify-self: start; }
@media (max-width: 460px) { .yield { grid-template-columns: 1fr; } }

/* ---------- process ---------- */
.process { padding-block: clamp(64px, 9vw, 120px); background: var(--surface); border-block: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; }
.step { padding: 0 0 0 24px; position: relative; display: grid; align-content: start; gap: 10px; }
.step::before {
  content: ""; position: absolute; top: 15px; inset-inline: 0; height: 2px;
  background: repeating-linear-gradient(to left, var(--cobalt) 0 6px, transparent 6px 12px);
}
.step__t {
  justify-self: start; position: relative; z-index: 1;
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  background: var(--cobalt); color: var(--on-band);
  padding: 5px 12px; border-radius: 999px;
}
.step--loop .step__t { background: var(--apricot); color: #1A0B05; }
.step h3 { font-family: var(--display); font-size: 44px; line-height: 1; font-weight: 700; margin-top: 10px; }
.step p { color: var(--mute); font-size: 15.5px; max-width: 30ch; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step { padding: 0 34px 0 0; }
  .step::before { top: 0; bottom: -28px; inset-inline: 7px auto; width: 2px; height: auto; background: repeating-linear-gradient(to bottom, var(--cobalt) 0 6px, transparent 6px 12px); }
  .step:last-child::before { bottom: 0; }
  .step__t { margin-inline-start: -34px; }
}

/* ---------- about ---------- */
.about { padding-block: clamp(64px, 9vw, 130px); overflow: hidden; }
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.about__num {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(200px, 30vw, 420px); line-height: .78;
  color: transparent; -webkit-text-stroke: 3px var(--cobalt);
  direction: ltr; text-align: center; user-select: none;
}
.about__num sup { font-size: .4em; color: var(--apricot); -webkit-text-stroke: 0; vertical-align: top; position: relative; top: .1em; }
.about__copy { min-width: 0; display: grid; gap: 16px; }
.about__copy .kicker { margin-bottom: 0; }
.about__copy > p { max-width: 58ch; color: var(--mute); }
.about__lede { font-size: 21px; color: var(--ink) !important; line-height: 1.5; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 12px 0 0; border-top: 1.5px solid var(--ink); }
.facts div { padding: 14px 0 0; display: grid; gap: 2px; }
.facts dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; color: var(--mute); }
.facts dd { margin: 0; font-family: var(--display); font-size: 34px; line-height: 1.05; font-weight: 700; }
@media (max-width: 820px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__num { text-align: start; }
}
@media (max-width: 460px) { .facts { grid-template-columns: 1fr; } .facts div { border-bottom: 1px solid var(--line); padding-bottom: 10px; } }

.night {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 8px;
  padding: 16px 18px; border-radius: var(--radius);
  background: var(--deep); color: var(--on-deep);
}
.night__icon { flex: none; color: var(--apricot); }
.night p { color: var(--on-deep-mute); max-width: 58ch; }
.night strong { color: var(--on-deep); display: block; font-size: 18px; margin-bottom: 2px; }

/* portrait: duotone photo in a viewfinder, the 24 outline sits behind it */
.about__visual { position: relative; display: grid; place-items: center; min-width: 0; padding-block: 24px; }
.portrait__badge {
  position: absolute; z-index: 3; inset-inline-end: -9%; top: -5%;
  width: 116px; height: 116px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: var(--apricot); color: #1A0B05; font-size: 12.5px; font-weight: 500; line-height: 1.1;
  box-shadow: 0 18px 36px -18px rgba(255, 106, 61, .8);
  transform: rotate(-8deg);
}
.portrait__badge b { font-family: var(--display); font-size: 52px; line-height: .9; font-weight: 700; direction: ltr; }
.portrait { position: relative; z-index: 1; margin: 0; width: min(400px, 88%); }
.portrait__frame {
  position: relative; aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden;
  border-radius: 22px; background: #0B0C24;
  box-shadow: 0 30px 70px -30px rgba(43, 43, 240, .55);
}
.portrait__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 28%;
  filter: grayscale(1) contrast(1.15) brightness(1.08);
  transform: scale(1.06);
}
.portrait__tint {
  position: absolute; inset: 0; mix-blend-mode: color;
  background: linear-gradient(165deg, #3B3BFF 0%, #2B2BF0 45%, #FF6A3D 115%);
}
.portrait__tint::after {
  content: ""; position: absolute; inset: 0; mix-blend-mode: screen;
  background: radial-gradient(70% 55% at 85% 30%, rgba(255, 106, 61, .28), transparent 70%),
              linear-gradient(to top, rgba(11, 12, 36, .75), transparent 45%);
}
.portrait__grid {
  position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, transparent 35%, #000 85%);
          mask-image: radial-gradient(ellipse at 50% 40%, transparent 35%, #000 85%);
}
.portrait__scan {
  position: absolute; inset-inline: 0; top: 0; height: 22%;
  background: linear-gradient(to bottom, transparent, rgba(120, 140, 255, .22) 85%, rgba(170, 185, 255, .7) 100%);
  border-bottom: 1px solid rgba(190, 200, 255, .8);
  animation: scan 4.5s cubic-bezier(.45, 0, .55, 1) infinite;
}
@keyframes scan { 0% { transform: translateY(-100%); } 70%, 100% { transform: translateY(560%); } }
.portrait__corner { position: absolute; width: 26px; height: 26px; border: 0 solid #FF6A3D; }
.portrait__corner--tl { top: 14px; left: 14px; border-top-width: 3px; border-left-width: 3px; border-top-left-radius: 6px; }
.portrait__corner--tr { top: 14px; right: 14px; border-top-width: 3px; border-right-width: 3px; border-top-right-radius: 6px; }
.portrait__corner--bl { bottom: 14px; left: 14px; border-bottom-width: 3px; border-left-width: 3px; border-bottom-left-radius: 6px; }
.portrait__corner--br { bottom: 14px; right: 14px; border-bottom-width: 3px; border-right-width: 3px; border-bottom-right-radius: 6px; }
.portrait__hud {
  position: absolute; left: 22px; bottom: 22px; direction: ltr; text-align: left;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; line-height: 1.7; color: rgba(225, 230, 255, .85);
}
.portrait__tag {
  position: absolute; top: 18px; inset-inline-start: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 500;
  background: rgba(11, 12, 36, .6); color: #EEF0FA; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.portrait__chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 500; white-space: nowrap;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line);
  box-shadow: 0 14px 30px -16px rgba(13, 15, 43, .45);
  animation: float 6s ease-in-out infinite;
}
.portrait__chip i { width: 8px; height: 8px; border-radius: 50%; background: #3BE08A; }
.portrait__chip--a { inset-inline-end: -10%; top: 28%; }
.portrait__chip--b { inset-inline-start: -8%; bottom: 16%; animation-delay: -3s; }
.portrait__chip--b i { background: var(--apricot); }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (max-width: 820px) {
  .about__visual { padding-block: 8px 32px; }
  .portrait { width: min(360px, 82%); }
  .portrait__chip--a { inset-inline-end: -6%; }
  .portrait__chip--b { inset-inline-start: -6%; }
  .portrait__badge { width: 92px; height: 92px; font-size: 11px; inset-inline-end: -6%; }
  .portrait__badge b { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) { .portrait__scan { display: none; } }

/* ---------- faq ---------- */
.faq { padding-block: clamp(56px, 8vw, 110px); border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 5vw, 72px); }
.faq__list { min-width: 0; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 20px 0; font-size: 19px; font-weight: 500;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; font-family: var(--mono); font-size: 22px; color: var(--cobalt); transition: transform .25s; flex: none; }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding-bottom: 22px; color: var(--mute); max-width: 62ch; }
@media (max-width: 820px) { .faq__grid { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact { background: var(--deep); color: var(--on-deep); padding-block: clamp(64px, 9vw, 120px); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact__copy { display: grid; gap: 16px; min-width: 0; }
.contact__copy .kicker { margin: 0; }
.contact__copy .h2 { font-size: clamp(64px, 9vw, 128px); }
.contact__copy p { color: var(--on-deep-mute); max-width: 44ch; font-size: 18px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; min-width: 0; }
.field { display: grid; gap: 6px; min-width: 0; border: 0; margin: 0; padding: 0; }
.field--wide { grid-column: 1 / -1; }
.field label, .field legend { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--on-deep-mute); padding: 0; margin-bottom: 4px; }
.field input, .field select {
  width: 100%; background: transparent; color: var(--on-deep);
  border: 0; border-bottom: 1.5px solid color-mix(in srgb, var(--on-deep) 35%, transparent);
  font: 400 18px/1.4 var(--body); padding: 10px 2px; border-radius: 0;
  transition: border-color .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: 12px 55%, 6px 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--deep); color: var(--on-deep); }
.field input:focus, .field select:focus { outline: none; border-bottom-color: var(--apricot); }
.field input[aria-invalid="true"] { border-bottom-color: #FF8A8A; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; position: relative; font-family: var(--body); letter-spacing: 0; font-size: inherit; color: var(--on-deep); margin: 0; }
.chips input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--on-deep) 35%, transparent); font-size: 15px; transition: background .15s, border-color .15s, color .15s; }
.chips input:checked + span { background: var(--apricot); border-color: var(--apricot); color: #1A0B05; }
.chips input:focus-visible + span { outline: 3px solid var(--apricot); outline-offset: 2px; }
.form .btn { margin-top: 6px; padding-block: 19px; font-size: 18px; }
.form__msg { min-height: 1.5em; font-size: 15.5px; color: var(--on-deep); }
.form__msg a { color: var(--apricot); font-weight: 500; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

.contact__facts { list-style: none; margin: 8px 0 0; padding: 0; display: grid; border-top: 1px solid color-mix(in srgb, var(--on-deep) 16%, transparent); }
.contact__facts li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding-block: 10px; border-bottom: 1px solid color-mix(in srgb, var(--on-deep) 16%, transparent); font-size: 16px; }
.contact__facts span { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--apricot); padding-top: 3px; }
.form__step, .book__step { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--on-deep-mute); }
.form__step { margin-bottom: -10px; }

.book { display: grid; gap: 20px; min-width: 0; }
.book__head { display: grid; gap: 6px; }
.book__title { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 4vw, 52px); line-height: 1; }
.book__sub { color: var(--on-deep-mute); }
.book__days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.book__day, .book__slot {
  font: inherit; color: var(--on-deep); background: transparent; cursor: pointer;
  border: 1.5px solid color-mix(in srgb, var(--on-deep) 30%, transparent); border-radius: 14px;
  transition: background .15s, border-color .15s, color .15s;
}
.book__day { flex: none; display: grid; gap: 0; justify-items: center; padding: 10px 14px; min-width: 70px; }
.book__day small { font-size: 12.5px; color: var(--on-deep-mute); }
.book__day b { font-family: var(--display); font-size: 30px; line-height: 1; font-weight: 700; }
.book__slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.book__slot { padding: 12px 8px; font-variant-numeric: tabular-nums; font-weight: 500; direction: ltr; }
.book__day:hover, .book__slot:hover { border-color: var(--apricot); }
.book__day[aria-pressed="true"], .book__slot[aria-pressed="true"] { background: var(--apricot); border-color: var(--apricot); color: #1A0B05; font-weight: 700; }
.book__day[aria-pressed="true"] small { color: #1A0B05; }
.book__empty { grid-column: 1 / -1; color: var(--on-deep-mute); font-size: 15px; }
.book__foot { display: grid; gap: 14px; padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--on-deep) 16%, transparent); }
.book__summary { font-size: 17px; }
.book__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.book__actions .btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.book__back { font: inherit; font-size: 15px; background: none; border: 0; color: var(--on-deep-mute); text-decoration: underline; cursor: pointer; padding: 4px; }
.book--done { padding: clamp(20px, 3vw, 32px); border: 1.5px solid var(--apricot); border-radius: var(--radius); }

/* ---------- footer ---------- */
.foot { background: var(--deep); color: var(--on-deep-mute); border-top: 1px solid color-mix(in srgb, var(--on-deep) 12%, transparent); }
.foot__in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 22px; font-size: 14px; }
.foot strong { color: var(--on-deep); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- consent checkboxes ---------- */
.consent { display: grid; gap: 12px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15.5px; line-height: 1.5; color: var(--on-deep); }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--apricot); cursor: pointer; }
.check input[aria-invalid="true"] { outline: 2px solid #FF8A8A; outline-offset: 2px; }
.check a, .consent__note a { color: var(--apricot); }
.consent__note { font-size: 13px; line-height: 1.6; color: var(--on-deep-mute); }

/* ---------- footer links ---------- */
.foot__links { display: flex; gap: 18px; }
.foot__links a { color: var(--on-deep-mute); }
.foot__links a:hover { color: var(--on-deep); }

/* ---------- cookie notice ---------- */
.cookie {
  position: fixed; z-index: 70; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  inset-inline-start: max(16px, env(safe-area-inset-right, 0px));
  width: min(440px, calc(100% - 112px));
  background: var(--deep); color: var(--on-deep); border-radius: 16px; padding: 16px 18px;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); display: grid; gap: 12px; font-size: 14px; line-height: 1.55;
}
.cookie a { color: var(--apricot); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie button { font: 500 14px/1 var(--body); border-radius: 999px; padding: 10px 16px; cursor: pointer; border: 1.5px solid var(--apricot); }
.cookie__ok { background: var(--apricot); color: #1A0B05; }
.cookie__no { background: transparent; color: var(--on-deep); border-color: color-mix(in srgb, var(--on-deep) 40%, transparent) !important; }
@media (max-width: 520px) { .cookie { width: calc(100% - 104px); } }

/* ---------- accessibility widget ---------- */
.a11y { position: fixed; z-index: 80; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); inset-inline-end: max(16px, env(safe-area-inset-left, 0px)); font-family: var(--body); }
.a11y__fab {
  width: 56px; height: 56px; border-radius: 50%; border: 3px solid #fff; cursor: pointer;
  background: #1F3DFF; color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 30px -10px rgba(31, 61, 255, .8); transition: transform .2s;
}
.a11y__fab:hover { transform: scale(1.06); }
.a11y__fab:focus-visible { outline: 3px solid #FFB000; outline-offset: 3px; }
.a11y__panel {
  position: absolute; bottom: 68px; inset-inline-end: 0; width: min(340px, calc(100vw - 32px));
  max-height: min(78vh, 640px); overflow-y: auto;
  background: #FFFFFF; color: #0D0F2B; border-radius: 18px; padding: 16px;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .5); border: 1px solid #CDD1E4;
  display: grid; gap: 14px;
}
.a11y__head { display: flex; justify-content: space-between; align-items: center; }
.a11y__head h2 { font-size: 19px; font-weight: 700; margin: 0; }
.a11y__close { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #ECEEF6; color: #0D0F2B; font-size: 16px; cursor: pointer; }
.a11y__size { display: flex; justify-content: space-between; align-items: center; background: #ECEEF6; border-radius: 12px; padding: 10px 12px; font-size: 15px; font-weight: 500; }
.a11y__size div { display: flex; align-items: center; gap: 8px; }
.a11y__size button { width: 40px; height: 36px; border-radius: 10px; border: 1.5px solid #2B2BF0; background: #fff; color: #2B2BF0; font: 700 15px/1 var(--body); cursor: pointer; }
.a11y__sizeval { min-width: 44px; text-align: center; font-variant-numeric: tabular-nums; }
.a11y__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.a11y__opt {
  display: grid; justify-items: center; gap: 6px; padding: 12px 6px; border-radius: 12px; cursor: pointer;
  border: 1.5px solid #CDD1E4; background: #fff; color: #0D0F2B; font: 500 12.5px/1.25 var(--body); text-align: center;
}
.a11y__opt:hover { border-color: #2B2BF0; }
.a11y__opt[aria-pressed="true"] { background: #2B2BF0; border-color: #2B2BF0; color: #fff; }
.a11y__reset { border: 0; border-radius: 12px; padding: 12px; background: #0D0F2B; color: #fff; font: 500 15px/1 var(--body); cursor: pointer; }
.a11y__link { text-align: center; color: #2B2BF0; font-size: 14px; }
.a11y button:focus-visible, .a11y a:focus-visible { outline: 3px solid #FFB000; outline-offset: 2px; }

/* ---------- accessibility modes ---------- */
html.a11y-zoom body { zoom: var(--a11y-zoom, 1); }
html.a11y-zoom .a11y, html.a11y-zoom .cookie { zoom: calc(1 / var(--a11y-zoom, 1)); }
html.a11y-contrast {
  --paper: #000; --surface: #000; --ink: #fff; --mute: #fff; --line: #fff;
  --cobalt: #FFE500; --cobalt-band: #000; --cobalt-soft: #222; --apricot: #FFE500;
  --deep: #000; --on-deep: #fff; --on-deep-mute: #fff; --on-band: #fff;
}
html.a11y-contrast .btn, html.a11y-contrast .btn--light { background: #FFE500 !important; color: #000 !important; border-color: #FFE500 !important; }
html.a11y-contrast .portrait__tint, html.a11y-contrast .portrait__grid { display: none; }
html.a11y-contrast section, html.a11y-contrast .chat, html.a11y-contrast .voice, html.a11y-contrast .calc__out, html.a11y-contrast .calc__in { border: 1px solid #fff; }
html.a11y-gray body > *:not(.a11y):not(.cookie) { filter: grayscale(1); }
html.a11y-invert body > *:not(.a11y):not(.cookie) { filter: invert(1) hue-rotate(180deg); }
html.a11y-invert img { filter: invert(1) hue-rotate(180deg); }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; outline: 2px solid #FFB000; outline-offset: 2px; border-radius: 3px; }
html.a11y-focus *:focus { outline: 4px solid #FFB000 !important; outline-offset: 3px !important; box-shadow: 0 0 0 7px rgba(0, 0, 0, .6) !important; }
html.a11y-font body, html.a11y-font body * { font-family: Arial, "Segoe UI", sans-serif !important; letter-spacing: 0 !important; }
html.a11y-spacing body p, html.a11y-spacing body li, html.a11y-spacing body dd, html.a11y-spacing body summary { line-height: 2 !important; letter-spacing: .04em !important; word-spacing: .14em !important; }
html.a11y-noanim *, html.a11y-noanim *::before, html.a11y-noanim *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-noanim .portrait__scan { display: none; }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24'%3E%3Cpath d='M5 2l14 10.5-6.4 1.3L16 21l-3 1.2-3.2-7.4L5 19z' fill='%23000' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E") 6 2, auto !important; }

/* ---------- legal pages ---------- */
.doc { padding-block: clamp(40px, 7vw, 80px) clamp(56px, 8vw, 100px); }
.doc__in { max-width: 760px; margin-inline: auto; }
.doc h1 { font-family: var(--display); font-weight: 700; font-size: clamp(52px, 8vw, 88px); line-height: .92; }
.doc__date { margin-top: 12px; font-family: var(--mono); font-size: 13px; color: var(--mute); }
.doc h2 { margin-top: 40px; font-size: 22px; font-weight: 700; }
.doc p, .doc li { color: var(--ink); max-width: 68ch; }
.doc p { margin-top: 12px; }
.doc ul { margin: 12px 0 0; padding-inline-start: 22px; display: grid; gap: 8px; }
.doc a { color: var(--cobalt); }
.doc table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.doc th, .doc td { text-align: start; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 700; background: var(--surface); }
.doc__table { overflow-x: auto; }
.doc__box { margin-top: 16px; padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.doc__btn { margin-top: 12px; font: 500 15px/1 var(--body); padding: 12px 18px; border-radius: 999px; border: 1.5px solid var(--cobalt); background: transparent; color: var(--cobalt); cursor: pointer; }

/* ---------- light / dark toggle ---------- */
.theme-btn {
  flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: transparent; color: var(--ink); border: 1.5px solid var(--line); transition: border-color .2s, transform .2s;
}
.theme-btn:hover { border-color: var(--cobalt); transform: rotate(-12deg); }
@media (max-width: 900px) { .top .theme-btn { margin-inline-start: auto; } .top .theme-btn + .btn { margin-inline-start: 0; } }
.top__in > .brand + .theme-btn { margin-inline-start: auto; }

/* header on narrow phones: keep the name and the CTA on one line */
.btn, .brand__txt strong { white-space: nowrap; }
@media (max-width: 460px) {
  .top__in { gap: 10px; }
  .brand { gap: 8px; }
  .brand__mark svg { width: 26px; height: 26px; }
  .brand__txt strong { font-size: 25px; }
  .top .btn--sm { padding: 10px 14px; font-size: 14px; }
  .theme-btn { width: 36px; height: 36px; }
}
@media (max-width: 350px) {
  .top .btn--sm { padding: 9px 11px; font-size: 13px; }
  .brand__txt strong { font-size: 22px; }
}

/* ---------- lean lead form ---------- */
.form { gap: 18px 16px; }
.form .field label, .form .field legend {
  font-family: var(--body); font-size: 14.5px; font-weight: 500; letter-spacing: 0; color: var(--on-deep); margin-bottom: 2px;
}
.form .field input, .form .field select {
  border: 1.5px solid color-mix(in srgb, var(--on-deep) 22%, transparent); border-radius: 12px;
  background: color-mix(in srgb, var(--on-deep) 6%, transparent); padding: 12px 14px; font-size: 17px;
}
.form .field select { background-position: 16px 55%, 10px 55%; }
.form .field input::placeholder { color: color-mix(in srgb, var(--on-deep) 35%, transparent); }
.form .field input:focus, .form .field select:focus { border-color: var(--apricot); background: color-mix(in srgb, var(--on-deep) 9%, transparent); }
.form .field input[aria-invalid="true"] { border-color: #FF8A8A; }
.form__step { margin: 0; font-family: var(--body); font-size: 14px; letter-spacing: 0; color: var(--apricot); font-weight: 500; }
.seg { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.seg label { position: relative; cursor: pointer; margin: 0; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span {
  display: grid; place-items: center; min-height: 46px; padding: 6px 4px; text-align: center; border-radius: 12px;
  border: 1.5px solid color-mix(in srgb, var(--on-deep) 22%, transparent); font-size: 14.5px; font-weight: 500; color: var(--on-deep);
  transition: background .15s, border-color .15s, color .15s;
}
.seg label:hover span { border-color: var(--apricot); }
.seg input:checked + span { background: var(--apricot); border-color: var(--apricot); color: #1A0B05; }
.seg input:focus-visible + span { outline: 3px solid var(--apricot); outline-offset: 2px; }
#f-budget[aria-invalid="true"] .seg span { border-color: #FF8A8A; }
.form .check { font-size: 14.5px; }
.form .btn { margin-top: 2px; }
.form .consent__note { margin-top: -6px; font-size: 12.5px; }
@media (max-width: 520px) { .seg { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
