/* «Форма и Ко» — демо NXAI, ателье, направление «Мастерская» в B2B-варианте.
   Язык: техническая спецификация, раскройный мат, смета со штампом. */

:root {
  --paper: #FAFAF7;
  --paper-2: #F1F0E9;
  --paper-3: #E8E6DC;
  --white: #FFFFFF;
  --ink: #14213D;
  --ink-80: #2E3A57;
  --muted: #606776;
  --green: #2E7D5B;
  --green-d: #22654A;
  --mat: #1D5640;
  --yellow: #F2C14E;
  --yellow-d: #DFAA2C;
  --line: rgba(20, 33, 61, .13);
  --line-2: rgba(20, 33, 61, .28);
  --perf: var(--paper);

  --f-display: "Unbounded", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --fs-hero: clamp(2.2rem, .9rem + 6.3vw, 6.6rem);
  --fs-h2: clamp(1.7rem, 1.15rem + 2.5vw, 3.4rem);
  --fs-h3: clamp(1.2rem, 1.05rem + .7vw, 1.6rem);
  --fs-lede: clamp(1.0625rem, 1rem + .3vw, 1.25rem);

  --gutter: 16px;
  --maxw: 1360px;
  --sec: clamp(72px, 9vw, 136px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-doc: 0 1px 0 rgba(20, 33, 61, .04), 0 14px 30px -14px rgba(20, 33, 61, .30), 0 44px 80px -44px rgba(20, 33, 61, .38);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 900px) { body { padding-bottom: 0; } }
body:not(:has(.mbar)) { padding-bottom: 0; }
@media (min-width: 1200px) { body { font-size: 1.0625rem; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--radius); text-decoration: none; font-weight: 700; }
.skip:focus { top: 52px; }
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; }
.nowrap { white-space: nowrap; }
/* long Russian words: never push the page sideways on narrow phones */
h1, h2, h3, p, li, dt, dd, th, td, label, legend, summary, figcaption, blockquote, .h2, .h3 { overflow-wrap: break-word; }
@media (max-width: 600px) { p, li, dd, td, blockquote, figcaption, summary, .lede { -webkit-hyphens: auto; hyphens: auto; } }
@media (max-width: 420px) { h1, h2, h3, .h2, .h3 { -webkit-hyphens: auto; hyphens: auto; } }

/* ---------- buttons ---------- */
.btn { --bg: var(--ink); --fg: #fff; --bd: var(--bg); display: inline-flex; align-items: center; justify-content: center; gap: .65em; min-height: 52px; padding: 0 22px; border: 1.5px solid var(--bd); background: var(--bg); color: var(--fg); font: 600 .8125rem/1.1 var(--f-display); letter-spacing: .01em; text-decoration: none; border-radius: var(--radius); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .35s var(--ease); text-align: center; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--green { --bg: var(--green); }
.btn--green:hover { --bg: var(--green-d); }
.btn--ink:hover { --bg: #0A1328; }
.btn--line { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--line:hover { --bg: var(--ink); --fg: #fff; }
.btn--light { --bg: var(--paper); --fg: var(--ink); }
.btn--light:hover { --bg: #fff; }
.btn--ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.55); }
.btn--ghost-light:hover { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: .75rem; }
.link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: var(--green); }
.link:hover { color: var(--green-d); }
.fs legend .link { display: inline-block; padding-block: 13px; margin-block: -13px; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(250, 250, 247, .9); -webkit-backdrop-filter: saturate(1.3) blur(12px); backdrop-filter: saturate(1.3) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.hdr.is-scrolled { border-bottom-color: var(--line); }
.hdr__in { position: relative; display: flex; align-items: center; gap: 14px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font: 700 1rem/1 var(--f-display); letter-spacing: -.02em; white-space: nowrap; }
.logo svg { width: 32px; height: 32px; flex: none; }
.logo em { font-style: normal; font-weight: 500; color: var(--green); margin-left: .28em; }
.nav { display: none; }
.nav a { display: flex; align-items: center; min-height: 44px; padding: 0 11px; font-weight: 700; font-size: .875rem; text-decoration: none; border-radius: var(--radius); transition: background-color .2s, color .2s; }
.nav a:hover { background: rgba(20, 33, 61, .06); }
.nav a[aria-current="page"] { color: var(--green-d); box-shadow: inset 0 -2px 0 var(--green); border-radius: 0; }
.hdr__phone { display: none; align-items: center; min-height: 44px; font: 500 .875rem/1 var(--f-mono); text-decoration: none; white-space: nowrap; padding: 0 4px; }
.hdr__phone:hover { color: var(--green-d); }
.hdr__cta { display: none; }
.burger { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; min-height: 44px; min-width: 44px; padding: 0 12px; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: transparent; font: 700 .8125rem/1 var(--f-body); cursor: pointer; }
.burger span { position: relative; width: 16px; height: 2px; background: currentColor; transition: background-color .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: currentColor; transition: transform .25s var(--ease); }
.burger span::before { top: -5px; } .burger span::after { top: 5px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }
html:not(.js) .burger { display: none; }
html:not(.js) .hdr__in { flex-wrap: wrap; }
html:not(.js) .nav { display: flex; order: 3; width: 100%; overflow-x: auto; padding-bottom: 6px; }
html.js .nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); padding: 8px var(--gutter) 20px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(20,33,61,.35); }
html.js .nav.is-open a { font-size: 1.0625rem; min-height: 52px; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 2px; }
@media (min-width: 600px) { .hdr__cta { display: inline-flex; } .burger { margin-left: 0; } .hdr__cta { margin-left: auto; } }
@media (min-width: 1100px) {
  .nav, html:not(.js) .nav { display: flex; order: 0; width: auto; margin-inline: auto; gap: 0; padding: 0; overflow: visible; }
  .hdr__cta { margin-left: 0; }
  .burger { display: none; }
}
@media (min-width: 1360px) { .hdr__phone { display: inline-flex; } }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(20px, 4vw, 52px) clamp(64px, 9vw, 120px); overflow: clip; }
.hero__guides { display: none; }
@media (min-width: 1100px) {
  .hero__guides { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; position: absolute; inset: 0 var(--gutter); max-width: var(--maxw); margin-inline: auto; pointer-events: none; }
  .hero__guides span { border-left: 1px solid rgba(20, 33, 61, .045); }
  .hero__guides span:last-child { border-right: 1px solid rgba(20, 33, 61, .045); }
}
.hero .wrap { position: relative; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--muted); }
.hero__meta span:nth-child(2) { display: none; }
@media (min-width: 768px) { .hero__meta span:nth-child(2) { display: inline; } }
.hero__title { font: 600 var(--fs-hero)/1.04 var(--f-display); letter-spacing: -.04em; margin: clamp(26px, 4.4vw, 60px) 0 clamp(28px, 4.4vw, 60px); max-width: 13.5ch; text-wrap: balance; }
.hero__title .ml-word { padding-bottom: .16em; margin-bottom: -.16em; }
.hero__title mark { color: inherit; background: linear-gradient(transparent 60%, var(--yellow) 60%, var(--yellow) 90%, transparent 90%) no-repeat 0 0 / 0% 100%; padding-inline: .03em; transition: background-size 1.1s .95s var(--ease); }
.hero__title.is-in mark, html:not(.ml-ready) .hero__title mark { background-size: 100% 100%; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.hero__lead .lede { max-width: 40ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; margin-top: 30px; border-top: 1px solid var(--line); }
.facts div { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { border-right: 1px solid var(--line); }
.facts div:nth-child(even) { padding-left: 14px; }
.facts dt { font: 500 .6875rem/1.3 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.facts dd { font: 700 .9375rem/1.35 var(--f-body); margin-top: 3px; }
.hero__photo { position: relative; margin-top: 40px; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--paper-2); }
.hero__photo img { width: 100%; height: calc(100% + 56px); margin-top: -28px; object-fit: cover; object-position: 50% 55%; }
.hero__photo figcaption { position: absolute; left: 0; top: 0; padding: 7px 10px; background: var(--paper); color: var(--ink); }
.hero__doc { position: relative; z-index: 2; margin: -84px 10px 0; }
@media (min-width: 768px) {
  .hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .hero__lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; align-items: start; }
  .hero__lead .facts { margin-top: 0; }
  .hero__lead .hero__cta { grid-column: 1; }
  .hero__lead .facts { grid-column: 2; grid-row: 1 / span 2; }
  .hero__photo { grid-column: 1 / 8; grid-row: 2; aspect-ratio: 4 / 5; margin-top: 48px; }
  .hero__doc { grid-column: 6 / 13; grid-row: 2; align-self: end; margin: 0 0 -32px; }
}
@media (min-width: 1100px) {
  .hero__lead { grid-column: 1 / 5; grid-row: 1; display: block; }
  .hero__lead .facts { margin-top: 34px; }
  .hero__photo { grid-column: 5 / 9; grid-row: 1; margin-top: 0; }
  .hero__doc { grid-column: 8 / 13; grid-row: 1; align-self: center; margin: 40px 0 0; }
}

/* ---------- documents (smeta) ---------- */
.doc { position: relative; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 3px; box-shadow: var(--shadow-doc); padding: 24px 20px 20px; font-size: .9375rem; }
.doc::before { content: ""; position: absolute; left: 14px; right: 14px; top: -5px; height: 10px; background: radial-gradient(circle at 5px 5px, var(--perf) 3px, transparent 3.6px) 0 0 / 14px 10px repeat-x; }
.doc__tag { position: absolute; top: -13px; right: 20px; background: var(--yellow); color: var(--ink); padding: 5px 10px; font: 500 .6875rem/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; box-shadow: 0 2px 0 rgba(20,33,61,.12); transform: rotate(2deg); }
.doc__head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--line-2); color: var(--muted); }
.doc__title { font: 600 clamp(1.1rem, 1rem + .5vw, 1.35rem)/1.2 var(--f-display); letter-spacing: -.02em; margin-top: 14px; }
.doc__client { margin-top: 4px; color: var(--muted); font-size: .8125rem; }
.doc__lines { margin-top: 14px; display: grid; gap: 7px; }
.doc__lines li { display: flex; align-items: baseline; gap: 8px; font-size: .875rem; line-height: 1.35; }
.doc__lines li span { min-width: 0; }
.doc__lines li i { flex: 1 1 24px; min-width: 16px; border-bottom: 1.5px dotted var(--line-2); transform: translateY(-4px); }
.doc__lines li b { font: 500 .8125rem/1.35 var(--f-mono); white-space: nowrap; }
.doc__lines li.is-minus b { color: var(--green-d); }
.doc__lines li.is-muted { color: var(--muted); }
.doc__lines li.is-empty { color: var(--muted); font-style: italic; }
.doc__totals { margin-top: 14px; padding-top: 12px; border-top: 1.5px solid var(--ink); display: grid; gap: 4px; }
.tot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tot > span { font: 500 .6875rem/1.3 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.tot b { font: 600 1.0625rem/1.2 var(--f-display); letter-spacing: -.02em; white-space: nowrap; }
.tot--big b { font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2rem); background: linear-gradient(transparent 58%, rgba(242,193,78,.75) 58%, rgba(242,193,78,.75) 92%, transparent 92%) no-repeat 0 0 / 0% 100%; }
.tot--big b.flash { animation: hl 1.4s var(--ease); }
@keyframes hl { 0% { background-size: 0% 100%; } 35% { background-size: 100% 100%; } 100% { background-size: 100% 100%; opacity: 1; } }
.doc__sign { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; color: var(--muted); }
.doc__sign .stamp { margin-left: auto; }
@media (max-width: 420px) { .stamp b { font-size: .875rem; } .doc { padding-inline: 16px; } }
.doc__sign .mono { display: grid; gap: 0; font-size: .625rem; }
.doc__sign svg { width: 86px; height: 28px; color: var(--ink); }
.doc__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; margin-top: 16px; }
.stamp { position: relative; flex: none; display: grid; justify-items: center; gap: 2px; padding: 9px 14px 10px; border: 3px double var(--green); border-radius: 6px; color: var(--green); background: rgba(46, 125, 91, .05); transform: rotate(-8deg); font: 600 .625rem/1.1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; pointer-events: none; mix-blend-mode: multiply; }
.stamp b { font-size: 1rem; letter-spacing: -.01em; text-transform: none; white-space: nowrap; }
.stamp small { font: 500 .5625rem/1 var(--f-mono); letter-spacing: .08em; opacity: .85; }
.ml-ready .stamp[data-reveal] { transition: transform .45s cubic-bezier(.3, 1.5, .5, 1), opacity .2s ease; }
.ml-ready .stamp[data-reveal]:not(.is-in) { opacity: 0; transform: rotate(-8deg) scale(1.7); }
.stamp.thump { animation: thump .55s cubic-bezier(.3, 1.5, .5, 1); }
@keyframes thump { 0% { opacity: 0; transform: rotate(-8deg) scale(1.6); } 60% { opacity: 1; } 100% { opacity: 1; transform: rotate(-8deg) scale(1); } }

/* photo wipe: the observed figure stays unclipped (IntersectionObserver ignores fully clipped targets), only its image is wiped */
.ml-ready [data-reveal="wipe"] { opacity: 1 !important; transition: background-color .6s ease; }
.ml-ready [data-reveal="wipe"] > img, .ml-ready [data-reveal="wipe"] > .ph { transition: clip-path 1.25s cubic-bezier(.7, 0, .2, 1); }
.ml-ready [data-reveal="wipe"] > figcaption { transition: opacity .6s .9s ease, transform .6s .9s var(--ease); }
.ml-ready [data-reveal="wipe"]:not(.is-in) { background-color: transparent; }
.ml-ready [data-reveal="wipe"]:not(.is-in) > img, .ml-ready [data-reveal="wipe"]:not(.is-in) > .ph { clip-path: inset(0 0 100% 0); }
.ml-ready [data-reveal="wipe"]:not(.is-in) > figcaption { opacity: 0; transform: translateY(8px); }

/* ---------- tape strip ---------- */
.tape { position: relative; background: var(--yellow); color: var(--ink); border-block: 1px solid rgba(20, 33, 61, .18); padding: 16px 0 28px; overflow: hidden; }
.tape::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; opacity: .7; background:
  linear-gradient(to right, var(--ink) 1.5px, transparent 1.5px) 0 100% / 60px 14px repeat-x,
  linear-gradient(to right, var(--ink) 1px, transparent 1px) 30px 100% / 60px 9px repeat-x,
  linear-gradient(to right, var(--ink) 1px, transparent 1px) 0 100% / 6px 5px repeat-x; }
.tape__track { --ml-gap: 0px; --ml-speed: 46s; display: flex; gap: 0; font: 500 clamp(.95rem, .82rem + .5vw, 1.2rem)/1.2 var(--f-display); letter-spacing: -.01em; white-space: nowrap; }
.tape__track span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; }
.tape__track span::after { content: ""; width: 8px; height: 8px; background: var(--green); transform: rotate(45deg); }
html:not(.js) .tape__track { flex-wrap: wrap; white-space: normal; padding-inline: var(--gutter); }

/* ---------- section scaffolding ---------- */
.sec { padding-block: var(--sec); }
.sec--tint { background: var(--paper-2); }
.sec-head { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: baseline; padding-top: 12px; border-top: 1.5px solid var(--ink); margin-bottom: clamp(26px, 4vw, 52px); }
.sec-head__num { font: 600 .75rem/1 var(--f-mono); }
.sec-head__label { font: 500 .75rem/1.3 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; }
.sec-head__note { grid-column: 1 / -1; font-size: .875rem; color: var(--muted); }
@media (min-width: 768px) { .sec-head { grid-template-columns: 72px 1fr auto; } .sec-head__note { grid-column: auto; text-align: right; } }
.h2 { font: 600 var(--fs-h2)/1.08 var(--f-display); letter-spacing: -.035em; text-wrap: balance; max-width: 19ch; }
.h2 .ml-word { padding-bottom: .14em; margin-bottom: -.14em; }
.h3 { font: 600 var(--fs-h3)/1.22 var(--f-display); letter-spacing: -.025em; text-wrap: balance; }
.lede { font-size: var(--fs-lede); line-height: 1.55; color: var(--ink-80); max-width: 56ch; }
.intro { display: grid; gap: 18px; margin-bottom: clamp(32px, 4.5vw, 64px); }
@media (min-width: 1000px) { .intro { grid-template-columns: 7fr 5fr; gap: 48px; align-items: end; } .intro .lede { justify-self: end; } }

/* ---------- industries ---------- */
.ind__grid { display: grid; gap: 32px; }
.ind__photo { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--paper-2); }
.ind__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.ind__photo figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; background: rgba(250, 250, 247, .94); font-size: .8125rem; line-height: 1.35; }
.ind__photo figcaption b { font-family: var(--f-display); font-weight: 600; font-size: .8125rem; }
@media (max-width: 559px) { .ind__photo figcaption { flex-direction: column; gap: 2px; } .ind__photo figcaption b { -webkit-hyphens: manual; hyphens: manual; } }
@media (min-width: 1000px) { .ind__grid { grid-template-columns: 5fr 7fr; gap: clamp(36px, 4.5vw, 80px); align-items: start; } .ind__photo { aspect-ratio: 4 / 5; position: sticky; top: 96px; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px 0 12px; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: transparent; font: 700 .9375rem/1.2 var(--f-body); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.chip i { font: 500 .6875rem/1 var(--f-mono); font-style: normal; color: var(--muted); }
.chip:hover { border-color: var(--ink); }
.chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-selected="true"] i { color: var(--yellow); }
.ind__panel { animation: panelIn .5s var(--ease); }
.ind__panel + .ind__panel { margin-top: 56px; }
html.js .ind__panel + .ind__panel { margin-top: 0; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ind__panel p { margin-top: 14px; color: var(--ink-80); max-width: 60ch; }
.spec { margin-top: 26px; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 560px) { .spec div { grid-template-columns: 160px 1fr; gap: 16px; } }
.spec dt { font: 500 .6875rem/1.6 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.spec dd { font-weight: 600; }
.example { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; padding: 18px 20px; background: var(--paper-2); border-left: 3px solid var(--green); }
.example p { margin: 0; max-width: 46ch; font-size: .9375rem; color: var(--ink); }
.example p b { font-family: var(--f-mono); font-weight: 500; white-space: nowrap; }

/* ---------- calculator on the cutting mat ---------- */
.calc { position: relative; background-color: var(--mat); color: #EEF3EF; padding-top: calc(var(--sec) + 18px); overflow: clip;
  background-image:
    linear-gradient(rgba(255, 255, 255, .11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .11) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; background-position: -1px 17px, -1px 17px, -1px 17px, -1px 17px; }
.calc::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top right, transparent calc(50% - .5px), rgba(255, 255, 255, .07) 50%, transparent calc(50% + .5px)); }
.mat-ruler { position: absolute; top: 0; left: 0; right: 0; height: 18px; display: flex; overflow: hidden; background: rgba(0, 0, 0, .12); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.mat-ruler span { flex: none; width: 120px; padding-left: 4px; font: 500 .625rem/18px var(--f-mono); color: var(--yellow); border-left: 1px solid rgba(242, 193, 78, .6); }
.calc .wrap { position: relative; z-index: 1; }
.calc .sec-head { border-top-color: rgba(255, 255, 255, .6); }
.calc .sec-head__note { color: rgba(238, 243, 239, .72); }
.calc .lede { color: rgba(238, 243, 239, .86); }
.calc .h2 { color: #fff; }
.calc__grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 1000px) { .calc__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; } .calc__doc { position: sticky; top: 88px; } }
.panel { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(18px, 2.6vw, 34px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.fs { border: 0; padding: 0; margin: 0; min-width: 0; }
.fs + .fs { margin-top: 26px; padding-top: 6px; border-top: 1px dashed var(--line-2); }
.fs legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 0; margin-bottom: 16px; font: 600 1rem/1.3 var(--f-display); letter-spacing: -.015em; }
.fs legend small { font: 500 .8125rem/1.3 var(--f-body); letter-spacing: 0; color: var(--muted); }
.fs__n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--yellow); font: 600 .75rem/1 var(--f-mono); }
.items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 560px) { .items { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.item { position: relative; display: block; cursor: pointer; }
.item input, .fab input, .seg input, .radio input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.item__box { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; align-items: center; min-height: 76px; height: 100%; padding: 12px 30px 12px 10px; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: #fff; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.item__box:hover { border-color: var(--ink); }
.item__ico { grid-row: 1 / 3; width: 40px; height: 40px; color: var(--muted); transition: color .2s, transform .35s var(--ease); }
.item__name { font-weight: 700; font-size: .875rem; line-height: 1.25; }
.item__price { font: 500 .75rem/1.4 var(--f-mono); color: var(--muted); }
.item__box::after { content: ""; position: absolute; top: 9px; right: 9px; width: 16px; height: 16px; border-radius: 3px; border: 1.5px solid var(--line-2); background: #fff center / 11px no-repeat; transition: background-color .2s, border-color .2s; }
.item input:checked + .item__box { border-color: var(--green); background: #F2F8F4; box-shadow: inset 0 0 0 1px var(--green); }
.item input:checked + .item__box .item__ico { color: var(--green); transform: translateY(-2px); }
.item input:checked + .item__box::after { background-color: var(--green); border-color: var(--green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.6-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
@media (max-width: 559px) {
  .item__box { grid-template-columns: minmax(0, 1fr); row-gap: 4px; align-content: start; min-height: 0; padding: 10px 10px 12px; }
  .item__ico { grid-row: auto; width: 34px; height: 34px; margin-bottom: 2px; }
  .item__name, .item__price { -webkit-hyphens: manual; hyphens: manual; overflow-wrap: normal; }
  .item__name { padding-right: 18px; }
  .item__price { white-space: nowrap; }
}
.item input:focus-visible + .item__box, .fab input:focus-visible + .fab__box, .seg input:focus-visible + span, .radio input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }

.qty__top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; }
.qty__btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: #fff; cursor: pointer; transition: border-color .2s; }
.qty__btn:hover { border-color: var(--ink); }
.qty__btn svg { width: 16px; height: 16px; }
.qty__out { font: 600 clamp(2rem, 1.5rem + 1.8vw, 2.8rem)/1 var(--f-display); letter-spacing: -.04em; min-width: 2.4ch; text-align: center; font-variant-numeric: tabular-nums; }
.qty__unit { color: var(--muted); font-weight: 600; }
.qty__disc { margin-left: auto; padding: 6px 10px; background: var(--yellow); font: 500 .75rem/1 var(--f-mono); letter-spacing: .03em; white-space: nowrap; transition: transform .3s var(--ease); }
.qty__disc.is-zero { background: var(--paper-3); color: var(--muted); }
.range { --p: 20%; -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; margin: 10px 0 0; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--green) var(--p), rgba(20, 33, 61, .16) var(--p)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #fff; border: 2px solid var(--green); box-shadow: 0 2px 8px rgba(20, 33, 61, .28); transition: transform .2s; }
.range:active::-webkit-slider-thumb { transform: scale(1.12); }
.range::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(20, 33, 61, .16); }
.range::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--green); }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--green); box-shadow: 0 2px 8px rgba(20, 33, 61, .28); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(46, 125, 91, .3); }
.range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(46, 125, 91, .3); }
.tiers { position: relative; height: 40px; margin: 2px 13px 0; }
.tiers li { position: absolute; top: 0; left: var(--x); transform: translateX(-50%); display: grid; justify-items: center; font: 500 .6875rem/1.25 var(--f-mono); color: var(--muted); white-space: nowrap; transition: color .2s; }
.tiers li::before { content: ""; width: 1px; height: 7px; background: var(--line-2); margin-bottom: 4px; }
.tiers li:first-child { transform: none; justify-items: start; }
.tiers li:last-child { transform: translateX(-100%); justify-items: end; }
.tiers li b { font-weight: 600; color: var(--ink); }
.tiers li.is-on { color: var(--green-d); }
.tiers li.is-on::before { background: var(--green); height: 9px; }
@media (max-width: 420px) { .tiers { margin-inline: 10px; } .tiers li { font-size: .625rem; letter-spacing: -.02em; } }

.fabric { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fab { position: relative; display: block; cursor: pointer; }
.fab__box { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 10px 10px 12px; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.fab__box:hover { border-color: var(--ink); }
.fab b { font: 600 .8125rem/1.2 var(--f-display); letter-spacing: -.01em; }
.fab small { font-size: .75rem; line-height: 1.35; color: var(--muted); }
.fab input:checked + .fab__box { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
@media (max-width: 559px) {
  .fabric { grid-template-columns: minmax(0, 1fr); }
  .fab__box { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: center; padding: 10px 12px; min-height: 60px; }
  .fab__box .swatch { grid-row: 1 / 3; height: 40px; }
  .fab b { font-size: .875rem; }
}
.swatch { display: block; height: 38px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(20, 33, 61, .1); }
.swatch--0 { background: repeating-linear-gradient(0deg, rgba(255,255,255,.18) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, #8E97A9 0 2px, #A2AABA 2px 4px); }
.swatch--1 { background: repeating-linear-gradient(-45deg, #24365E 0 2px, #33497A 2px 3.5px, #2A3D68 3.5px 5px); }
.swatch--2 { background: linear-gradient(115deg, rgba(255,255,255,.16), transparent 40%, rgba(255,255,255,.08) 70%, transparent), repeating-linear-gradient(60deg, #2A7353 0 2px, #2F7F5C 2px 4px), repeating-linear-gradient(-60deg, rgba(0,0,0,.1) 0 2px, transparent 2px 4px); background-blend-mode: normal, normal, multiply; }

.switch { display: flex; align-items: flex-start; gap: 14px; cursor: pointer; min-height: 44px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track { flex: none; position: relative; width: 52px; height: 30px; margin-top: 1px; border-radius: 15px; background: rgba(20, 33, 61, .2); transition: background-color .2s; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .28s var(--ease); }
.switch input:checked + .switch__track { background: var(--green); }
.switch input:checked + .switch__track::after { transform: translateX(22px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--green); outline-offset: 3px; }
.switch__text b { display: block; font-weight: 700; }
.switch__text small { display: block; font-size: .8125rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }

.calc__doc .doc { --perf: var(--mat); padding-bottom: 22px; }
.calc__doc .stamp { margin-right: 4px; }
.doc__dates { display: grid; gap: 8px; padding: 10px 12px; background: var(--paper-2); }
.doc__dates dt { font: 500 .625rem/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.doc__dates dd { font: 600 .875rem/1.3 var(--f-body); margin-top: 2px; }
.doc__send { margin-top: 18px; }
.doc__send p { font: 600 .875rem/1.3 var(--f-display); letter-spacing: -.01em; margin-bottom: 10px; }
.send { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.send__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 6px; border: 0; border-radius: var(--radius); background: var(--ink); color: #fff; font: 700 .8125rem/1 var(--f-body); cursor: pointer; transition: background-color .2s, transform .2s; }
.send__btn svg { width: 16px; height: 16px; flex: none; }
.send__btn:hover { background: #0A1328; }
.send__btn--main { background: var(--green); }
.send__btn--main:hover { background: var(--green-d); }
.send__btn:disabled { opacity: .45; cursor: not-allowed; }
.doc__note { margin-top: 12px; font-size: .75rem; line-height: 1.45; color: var(--muted); }

/* countdown band */
.sept { position: relative; margin-top: clamp(56px, 7vw, 96px); background: var(--yellow); color: var(--ink); z-index: 1; }
.sept::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; opacity: .7; background:
  linear-gradient(to right, var(--ink) 1.5px, transparent 1.5px) 0 0 / 60px 14px repeat-x,
  linear-gradient(to right, var(--ink) 1px, transparent 1px) 30px 0 / 60px 9px repeat-x,
  linear-gradient(to right, var(--ink) 1px, transparent 1px) 0 0 / 6px 5px repeat-x; }
.sept__in { display: grid; gap: 22px; padding-block: 44px 44px; }
@media (min-width: 900px) { .sept__in { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(28px, 4vw, 64px); } }
.sept__count { display: none; align-items: flex-end; gap: 14px; }
html.js .sept__count { display: flex; }
.sept__count .mono { display: block; margin-bottom: 6px; }
.sept__num { font: 700 clamp(4.2rem, 2.6rem + 6vw, 8.6rem)/.86 var(--f-display); letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.sept__word { font: 600 1.25rem/1 var(--f-display); padding-bottom: 6px; }
.sept__text .h3 { max-width: 30ch; }
.sept__text p { margin-top: 10px; max-width: 58ch; font-weight: 500; }
.sept__text p b { white-space: nowrap; }
.leaf { justify-self: start; width: 132px; background: #fff; box-shadow: 0 18px 30px -18px rgba(20, 33, 61, .5); transform: rotate(3deg); text-align: center; border-radius: 3px; overflow: hidden; }
.leaf__m { display: block; padding: 7px 0 6px; background: var(--ink); color: #fff; font: 500 .6875rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.leaf__d { display: block; font: 700 3.6rem/1 var(--f-display); letter-spacing: -.05em; padding-top: 10px; }
.leaf__w { display: block; padding: 2px 0 12px; font: 500 .75rem/1 var(--f-mono); color: var(--muted); }
@media (max-width: 899px) { .leaf { display: none; } }

/* ---------- process ---------- */
.ruler { position: relative; height: 78px; margin: 0 0 clamp(28px, 4vw, 48px); }
.ruler__axis { position: absolute; left: 0; right: 0; top: 40px; height: 9px; border-top: 1.5px solid var(--ink);
  background: linear-gradient(to right, var(--ink) 1px, transparent 1px) 0 0 / 4% 9px repeat-x; }
.ruler__seg { position: absolute; top: 22px; height: 14px; left: calc(var(--a) / 25 * 100%); width: calc((var(--b) - var(--a)) / 25 * 100%); background: var(--ink); border-radius: 2px; }
.ruler__seg--1 { background: var(--yellow); }
.ruler__seg--2 { background: var(--paper-3); background-image: repeating-linear-gradient(-45deg, rgba(20, 33, 61, .25) 0 1px, transparent 1px 5px); }
.ruler__seg--3 { background: var(--green); }
.ruler__seg span { position: absolute; bottom: calc(100% + 4px); left: 0; font: 500 .6875rem/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.ruler__seg--0 span { left: 0; }
.ruler__days { position: absolute; left: 0; right: 0; top: 54px; height: 16px; }
.ruler__days span { position: absolute; left: calc(var(--d) / 25 * 100%); transform: translateX(-50%); font: 500 .6875rem/1 var(--f-mono); color: var(--muted); }
.ruler__days span:first-child { transform: none; }
.ruler__days span:last-child { transform: translateX(-100%); }
@media (max-width: 599px) { .ruler__seg--0 span, .ruler__seg--2 span { display: none; } }
.steps { display: grid; gap: 44px; }
.step { position: relative; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; } .step + .step::before { content: ""; position: absolute; left: -24px; top: 0; bottom: 0; border-left: 1px solid var(--line); } }
.step__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); margin-bottom: 22px; }
.step__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.step:hover .step__img img { transform: scale(1.04); }
.step__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.step__n { font: 600 2.6rem/1 var(--f-display); letter-spacing: -.04em; color: var(--green); }
.step__day { font: 500 .75rem/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--green-d); }
.step p { margin-top: 10px; color: var(--ink-80); }
.step__out { margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: .875rem; }
.step__out b { font-family: var(--f-mono); font-weight: 500; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.process__note { margin-top: clamp(32px, 4vw, 52px); display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; padding: 18px 0; border-block: 1px solid var(--line); }
.process__note p { max-width: 70ch; }

/* ---------- fabrics ---------- */
.fab-grid { display: grid; gap: 32px; }
.fab-grid > *, .ind__grid > *, .school__grid > *, .docs__grid > *, .contacts__grid > *, .stairs-wrap > *, .two > * { min-width: 0; }
@media (min-width: 1000px) { .fab-grid { grid-template-columns: 4fr 8fr; gap: clamp(32px, 4vw, 64px); align-items: start; } }
.fab-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.fab-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1000px) { .fab-photo { aspect-ratio: 4 / 5; } }
.fab-photo figcaption { position: absolute; left: 0; bottom: 0; padding: 8px 12px; background: var(--paper); font-size: .8125rem; }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; border-top: 1.5px solid var(--ink); }
.tbl-hint { display: block; margin-top: 10px; color: var(--muted); }
@media (min-width: 760px) { .tbl-hint { display: none; } }
.ftable { width: 100%; min-width: 640px; border-collapse: collapse; }
@media (max-width: 599px) { .ftable { min-width: 540px; } .ftable tbody th { width: 96px; } .ftable th, .ftable td { padding-inline: 10px; } }
.ftable th, .ftable td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .9375rem; line-height: 1.45; transition: background-color .2s; }
.ftable thead th { padding-top: 18px; font: 600 1rem/1.2 var(--f-display); letter-spacing: -.015em; vertical-align: bottom; }
.ftable thead th small { display: block; margin-top: 6px; font: 500 .6875rem/1.2 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--green-d); }
.ftable tbody th { width: 136px; font: 500 .6875rem/1.6 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); position: sticky; left: 0; background: var(--paper); z-index: 1; }
.ftable td.price { font: 600 1.0625rem/1.3 var(--f-display); letter-spacing: -.02em; white-space: nowrap; }
.ftable .swatch { height: 46px; }
.ftable .is-hl { background: rgba(242, 193, 78, .2); }
.ftable tfoot td { border-bottom: 0; padding-top: 18px; }
.sec--tint .ftable tbody th { background: var(--paper-2); }

/* ---------- school ---------- */
.school { background: var(--ink); color: #E3E7EF; }
.school .sec-head { border-top-color: rgba(255, 255, 255, .55); }
.school .sec-head__note { color: rgba(227, 231, 239, .7); }
.school .h2 { color: #fff; }
.school .lede { color: rgba(227, 231, 239, .85); }
.school__grid { display: grid; gap: 44px; }
@media (min-width: 1000px) { .school__grid { grid-template-columns: 7fr 5fr; gap: clamp(40px, 5vw, 88px); align-items: start; } }
.plist { margin-top: 32px; display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
@media (min-width: 640px) { .plist { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.plist li { display: flex; align-items: baseline; gap: 8px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.plist li span { font-weight: 600; }
.plist li i { flex: 1; border-bottom: 1.5px dotted rgba(255, 255, 255, .3); transform: translateY(-4px); }
.plist li b { font: 500 .875rem/1.3 var(--f-mono); color: var(--yellow); white-space: nowrap; }
.plist-note { margin-top: 10px; color: rgba(227, 231, 239, .65); }
.how { margin-top: 36px; display: grid; gap: 18px; counter-reset: how; }
.how li { position: relative; padding-left: 52px; counter-increment: how; }
.how li::before { content: counter(how, decimal-leading-zero); position: absolute; left: 0; top: 1px; font: 600 .75rem/1 var(--f-mono); color: var(--ink); background: var(--yellow); padding: 6px 7px; }
.how li b { display: block; color: #fff; font-weight: 700; }
.school__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.school__photo { position: relative; aspect-ratio: 4 / 5; }
.school__photo .ph { position: absolute; inset: 0; overflow: hidden; background: #1F2C4A; }
.school__photo img { width: 100%; height: calc(100% + 60px); margin-top: -30px; object-fit: cover; object-position: 50% 30%; }
.care { position: absolute; left: 14px; bottom: -22px; width: 196px; padding: 16px 14px 14px; background: #FCFCFA; color: var(--ink); font: 500 .6875rem/1.55 var(--f-mono); letter-spacing: .02em; box-shadow: 0 20px 34px -18px rgba(0, 0, 0, .6); transform: rotate(-3deg); }
.care::before, .care::after { content: ""; position: absolute; left: 8px; right: 8px; height: 0; border-top: 1.5px dashed rgba(20, 33, 61, .35); }
.care::before { top: 6px; } .care::after { bottom: 6px; }
.care b { display: block; font: 600 .8125rem/1.2 var(--f-display); letter-spacing: -.01em; margin-bottom: 6px; }
.care__ico { display: flex; gap: 8px; margin-top: 8px; }
.care__ico svg { width: 22px; height: 22px; }
@media (min-width: 1000px) { .care { left: -36px; bottom: 56px; } }

/* ---------- documents ---------- */
.docs__grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .docs__grid { grid-template-columns: 6fr 5fr; gap: clamp(40px, 5vw, 88px); align-items: center; } }
.dlist { margin-top: 32px; border-top: 1px solid var(--line); }
.dlist li { border-bottom: 1px solid var(--line); }
.dbtn { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; width: 100%; padding: 18px 0; border: 0; background: none; text-align: left; cursor: pointer; }
.dbtn__n { grid-row: 1 / 3; font: 600 .75rem/1.6 var(--f-mono); color: var(--muted); padding-top: 3px; }
.dbtn__t { font: 600 1.125rem/1.3 var(--f-display); letter-spacing: -.02em; transition: color .2s; }
.dbtn__d { color: var(--ink-80); font-size: .9375rem; }
.dbtn:hover .dbtn__t { color: var(--green-d); }
.dbtn[aria-pressed="true"] .dbtn__n { color: var(--green-d); }
.dbtn[aria-pressed="true"] .dbtn__t { box-shadow: inset 0 -8px 0 rgba(242, 193, 78, .7); justify-self: start; }
.docs__law { margin-top: 22px; font-size: .875rem; color: var(--muted); }
.stack { position: relative; width: min(100% - 44px, 400px); height: 470px; margin: 10px auto 0; }
#docs { overflow-x: clip; }
.sheet { position: absolute; inset: 0; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-doc); padding: 26px 24px 22px; font-size: .75rem; transition: transform .6s var(--ease), box-shadow .6s; }
.sheet[data-pos="0"] { z-index: 3; transform: rotate(-1.5deg); }
.sheet[data-pos="1"] { z-index: 2; transform: translate(20px, 16px) rotate(3deg); }
.sheet[data-pos="2"] { z-index: 1; transform: translate(-18px, 26px) rotate(-5deg); }
.sheet__k { font: 500 .625rem/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; }
.sheet__t { font: 600 1.05rem/1.25 var(--f-display); letter-spacing: -.02em; margin-top: 14px; }
.sheet__p { margin-top: 10px; font: 400 .75rem/1.55 var(--f-mono); color: var(--ink-80); }
.bars { display: grid; gap: 7px; margin-top: 16px; }
.bars span { display: block; height: 5px; width: var(--w, 100%); background: rgba(20, 33, 61, .1); border-radius: 3px; }
.sheet__rows { margin-top: 16px; border-top: 1px solid var(--ink); }
.sheet__rows div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font: 400 .6875rem/1.3 var(--f-mono); }
.sheet__foot { position: absolute; left: 24px; right: 24px; bottom: 22px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; font: 500 .625rem/1.3 var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.sheet__foot svg { width: 86px; height: 28px; color: var(--ink); }
.sheet .stamp { position: absolute; right: 22px; bottom: 64px; }

/* ---------- reviews ---------- */
.reviews { display: grid; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rev { position: relative; padding: 28px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.rev:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .reviews { gap: 0 64px; } .rev, .rev:first-child { padding: 4px 0; border-top: 0; } .rev + .rev::before { content: ""; position: absolute; left: -32px; top: 0; bottom: 0; border-left: 1px solid var(--line); } }
.rev blockquote { font-size: 1.0625rem; line-height: 1.6; flex: 1; }
.rev blockquote::before { content: "«"; display: block; font: 700 3.2rem/.7 var(--f-display); color: var(--green); margin-bottom: 14px; }
.rev footer { margin-top: 20px; padding-top: 14px; border-top: 1px dashed var(--line-2); display: grid; gap: 2px; }
.rev footer b { font-weight: 800; }
.rev footer span { font-size: .875rem; color: var(--muted); }
.rev footer small { margin-top: 6px; font: 500 .6875rem/1.3 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--green-d); }

/* ---------- contacts ---------- */
.contacts__grid { display: grid; gap: 24px; }
@media (min-width: 1000px) { .contacts__grid { grid-template-columns: 4fr 7fr; gap: 28px; align-items: start; } }
.mgr { background: #fff; border: 1px solid var(--line); padding: clamp(20px, 2.4vw, 30px); }
.mgr__top { display: flex; gap: 16px; align-items: center; }
.mgr__ava { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #fff; font: 600 1.15rem/1 var(--f-display); letter-spacing: -.02em; position: relative; }
.mgr__ava::after { content: ""; position: absolute; right: 2px; bottom: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); border: 2px solid #fff; }
.mgr__name { font: 600 1.125rem/1.25 var(--f-display); letter-spacing: -.02em; }
.mgr__role { font-size: .875rem; color: var(--muted); }
.mgr__text { margin-top: 16px; font-size: .9375rem; color: var(--ink-80); }
.channels { display: grid; gap: 8px; margin-top: 20px; }
.ch { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: #fff; font: 700 .9375rem/1.2 var(--f-body); text-align: left; text-decoration: none; cursor: pointer; transition: border-color .2s, background-color .2s; }
.ch svg { width: 20px; height: 20px; flex: none; color: var(--green); }
.ch small { margin-left: auto; font: 500 .6875rem/1.2 var(--f-mono); color: var(--muted); letter-spacing: .03em; }
.ch:hover { border-color: var(--ink); background: var(--paper); }
@media (max-width: 400px) { .ch small { display: none; } }
.ch--main { background: var(--green); border-color: var(--green); color: #fff; }
.ch--main svg, .ch--main small { color: rgba(255, 255, 255, .85); }
.ch--main:hover { background: var(--green-d); border-color: var(--green-d); }
.mgr__phone { display: block; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-2); font: 500 1.0625rem/1.3 var(--f-mono); text-decoration: none; }
.mgr__phone:hover { color: var(--green-d); }
.mgr__phone small { display: block; font: 400 .8125rem/1.4 var(--f-body); color: var(--muted); margin-top: 2px; }
.form { background: var(--paper-2); padding: clamp(20px, 3vw, 40px); border-radius: var(--radius); }
.form__title { font: 600 clamp(1.0625rem, .95rem + .6vw, 1.25rem)/1.25 var(--f-display); letter-spacing: -.02em; -webkit-hyphens: manual; hyphens: manual; }
.form__sub { margin-top: 6px; font-size: .9375rem; color: var(--muted); }
.form__grid { display: grid; gap: 14px; margin-top: 22px; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } .f--full { grid-column: 1 / -1; } }
.f label, .f .f__label { display: block; font: 700 .8125rem/1.3 var(--f-body); margin-bottom: 6px; }
.f input:not([type="checkbox"]):not([type="radio"]), .f textarea, .f select { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.f textarea { min-height: 96px; resize: vertical; }
.f input:not([type="checkbox"]):not([type="radio"]):hover, .f textarea:hover { border-color: rgba(20, 33, 61, .45); }
.f input:focus, .f textarea:focus, .f select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(46, 125, 91, .2); }
.radios { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 0; margin: 0; }
.radio { position: relative; cursor: pointer; }
.radio span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: #fff; font-weight: 700; font-size: .875rem; transition: border-color .2s, background-color .2s, color .2s; }
.radio input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.consent, .f .consent { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; font: 500 .875rem/1.45 var(--f-body); margin: 0; cursor: pointer; padding-top: 4px; }
.consent input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--green); }
.consent a { font-weight: 700; text-underline-offset: 3px; }
.form__foot { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin-top: 6px; }
.form__foot p { font-size: .8125rem; color: var(--muted); max-width: 40ch; }

/* map */
.map { display: grid; margin-top: clamp(40px, 5vw, 72px); border: 1px solid var(--line); background: #fff; }
@media (min-width: 900px) { .map { grid-template-columns: 7fr 5fr; } }
.map__svg { background: #ECEEE7; min-height: 260px; }
.map__svg svg { width: 100%; height: 100%; }
.map__info { padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.map__addr { font: 600 1.25rem/1.3 var(--f-display); letter-spacing: -.02em; }
.map__addr small { display: block; margin-top: 6px; font: 400 .9375rem/1.45 var(--f-body); color: var(--muted); letter-spacing: 0; }
.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font: 700 .8125rem/1 var(--f-body); background: var(--paper-2); color: var(--muted); }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.badge.is-open { background: rgba(46, 125, 91, .12); color: var(--green-d); }
.badge.is-open::before { animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46, 125, 91, .5); } 70% { box-shadow: 0 0 0 8px rgba(46, 125, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 125, 91, 0); } }
html:not(.js) .badge { display: none; }
.hours { display: grid; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dotted var(--line-2); font-size: .9375rem; }
.hours dd { font-family: var(--f-mono); font-size: .875rem; }
.hours .is-today { font-weight: 800; }
.hours .is-today dt::after { content: " · сегодня"; font-weight: 500; color: var(--green-d); }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: #BCC3D2; padding-block: clamp(56px, 7vw, 88px) 28px; font-size: .9375rem; overflow: hidden; }
.ftr a { color: #fff; text-decoration: none; }
.ftr a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ftr__grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .ftr__grid { grid-template-columns: 5fr 3fr 4fr; } }
.ftr .logo { color: #fff; }
.ftr .logo em { color: var(--yellow); }
.ftr__about { margin-top: 16px; max-width: 38ch; }
.ftr h3 { font: 500 .75rem/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: #8E97AB; margin-bottom: 12px; }
.ftr__nav { display: grid; gap: 4px; }
.ftr__nav a { display: inline-block; padding: 6px 0; }
.ftr__contact p + p { margin-top: 8px; }
.ftr__big { margin-top: clamp(40px, 6vw, 80px); font: 700 clamp(2.5rem, 12.2vw, 12rem)/.82 var(--f-display); letter-spacing: -.06em; color: rgba(255, 255, 255, .07); white-space: nowrap; user-select: none; }
.ftr__legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .8125rem; color: #9AA3B5; }
.ftr__legal nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.ftr__legal a { color: #D5DAE4; }

/* ---------- mobile action bar ---------- */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 6px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: rgba(250, 250, 247, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(115%); transition: transform .35s var(--ease); }
.mbar.is-on, html:not(.js) .mbar { transform: none; }
.mbar__main { flex: 1; min-width: 0; min-height: 50px; padding: 0 12px; }
@media (max-width: 380px) { .mbar { gap: 5px; } .mbar__ic { width: 46px; height: 50px; } }
.mbar__ic { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: #fff; cursor: pointer; color: var(--ink); text-decoration: none; }
.mbar__ic svg { width: 22px; height: 22px; }
@media (min-width: 900px) { .mbar { display: none; } }

/* ---------- prices page ---------- */
.ph-hero { padding-block: clamp(20px, 4vw, 52px) 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.ph-hero__grid { display: grid; gap: 22px; margin-top: clamp(26px, 4.4vw, 56px); }
@media (min-width: 1000px) { .ph-hero__grid { grid-template-columns: 7fr 5fr; gap: 48px; align-items: end; } }
.ph-hero__title { font: 600 clamp(2.3rem, 1.1rem + 5.4vw, 5.8rem)/1.02 var(--f-display); letter-spacing: -.045em; }
.ph-hero__title .ml-word { padding-bottom: .16em; margin-bottom: -.16em; }
.ph-hero__note { display: grid; gap: 14px; }
.ph-strip { position: relative; margin-top: clamp(32px, 4vw, 56px); aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); }
@media (min-width: 768px) { .ph-strip { aspect-ratio: 21 / 8; } }
.ph-strip img { width: 100%; height: calc(100% + 60px); margin-top: -30px; object-fit: cover; object-position: 45% 45%; }
.ph-strip figcaption { position: absolute; right: 0; bottom: 0; padding: 8px 12px; background: var(--paper); }
.pbar { position: relative; top: 64px; z-index: 20; background: rgba(250, 250, 247, .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
@media (max-width: 639px) { .pbar { top: 0; } }
@media (min-width: 640px) { .pbar { position: sticky; } }
.pbar__in { display: grid; gap: 10px; padding-block: 12px; }
@media (min-width: 900px) { .pbar__in { grid-template-columns: auto 1fr; gap: 24px; align-items: center; } }
.pbar__row { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.pbar__row::-webkit-scrollbar { display: none; }
.pbar__row > .mono { flex: none; margin-right: 6px; color: var(--muted); }
.pbar__row--cols { display: none; }
@media (max-width: 639px) { html.js .pbar__row--cols { display: flex; } }
.seg { position: relative; flex: none; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: #fff; font: 700 .875rem/1 var(--f-body); white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s; }
.seg span small { margin-left: 6px; font: 500 .6875rem/1 var(--f-mono); color: var(--green-d); }
.seg:hover span { border-color: var(--ink); }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.seg input:checked + span small { color: var(--yellow); }
html:not(.js) .pbar { display: none; }
.matrix-note { margin-bottom: 8px; font-size: .9375rem; color: var(--muted); max-width: 70ch; }
.matrix .grp th { scroll-margin-top: 170px; }
.matrix-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.matrix { width: 100%; min-width: 620px; border-collapse: collapse; }
html.js .matrix { min-width: 0; }
@media (min-width: 640px) { html.js .matrix { min-width: 620px; } }
.matrix caption { text-align: left; padding: 0 0 14px; color: var(--muted); font-size: .875rem; }
.matrix thead th { position: sticky; top: 0; padding: 14px 12px; text-align: right; font: 600 .9375rem/1.2 var(--f-display); letter-spacing: -.015em; border-bottom: 1.5px solid var(--ink); background: var(--paper); vertical-align: bottom; }
.matrix thead th:first-child { text-align: left; }
.matrix thead th small { display: block; margin-top: 4px; font: 500 .625rem/1.2 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.matrix .grp th { padding: 40px 12px 12px 0; text-align: left; font: 600 1.15rem/1.2 var(--f-display); letter-spacing: -.02em; border-bottom: 1.5px solid var(--ink); }
.matrix .grp th small { margin-left: 10px; font: 500 .6875rem/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.matrix tbody tr:not(.grp) th { padding: 13px 12px 13px 0; text-align: left; font-weight: 700; font-size: .9375rem; line-height: 1.35; border-bottom: 1px solid var(--line); }
.matrix tbody tr:not(.grp) th small { display: block; font-weight: 500; font-size: .8125rem; color: var(--muted); margin-top: 2px; }
.matrix td { padding: 13px 12px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; font-family: var(--f-mono); font-size: .9375rem; vertical-align: top; transition: background-color .2s; }
.matrix td .ot { font-size: .75rem; color: var(--muted); }
.matrix td b { font-weight: 500; }
.matrix td.flash b { animation: num .6s var(--ease); display: inline-block; }
@keyframes num { from { opacity: .2; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.matrix tbody tr:not(.grp):hover > * { background: rgba(242, 193, 78, .16); }
.matrix td:nth-child(3) { background: rgba(46, 125, 91, .045); }
@media (max-width: 639px) {
  html.js .matrix[data-show="0"] :is(td, thead th):nth-child(3), html.js .matrix[data-show="0"] :is(td, thead th):nth-child(4),
  html.js .matrix[data-show="1"] :is(td, thead th):nth-child(2), html.js .matrix[data-show="1"] :is(td, thead th):nth-child(4),
  html.js .matrix[data-show="2"] :is(td, thead th):nth-child(2), html.js .matrix[data-show="2"] :is(td, thead th):nth-child(3) { display: none; }
}
.stairs-wrap { display: grid; gap: 32px; }
@media (min-width: 1000px) { .stairs-wrap { grid-template-columns: 5fr 7fr; gap: clamp(40px, 5vw, 88px); align-items: end; } }
.stairs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; gap: 6px; height: 280px; border-bottom: 1.5px solid var(--ink); }
.stair { position: relative; height: var(--h); display: flex; flex-direction: column; justify-content: flex-start; padding: 10px 8px; border: 0; border-radius: 3px 3px 0 0; background: var(--green); color: #fff; text-align: left; cursor: pointer; transition: background-color .2s, transform .3s var(--ease); }
.stair:first-child { background: var(--paper-3); color: var(--ink); }
.stair:hover, .stair.is-on { background: var(--ink); color: #fff; }
.stair b { font: 600 clamp(.95rem, .8rem + .6vw, 1.35rem)/1 var(--f-display); letter-spacing: -.03em; }
.stair span { margin-top: 4px; font: 500 .625rem/1.2 var(--f-mono); letter-spacing: .03em; opacity: .8; }
@media (max-width: 520px) { .stair { padding: 8px 5px; } .stair b { font-size: .8125rem; white-space: nowrap; } .stair span { font-size: .5625rem; letter-spacing: 0; } }
.stairs-axis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 8px; font: 500 .6875rem/1.3 var(--f-mono); color: var(--muted); }
.ml-ready .stairs[data-reveal] .stair { transform-origin: bottom; transition: transform .9s var(--ease); }
.ml-ready .stairs[data-reveal]:not(.is-in) .stair { transform: scaleY(.1); }
.extras { display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
@media (min-width: 900px) { .extras { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.extras li { display: flex; align-items: baseline; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.extras li span { font-weight: 600; }
.extras li span small { display: block; font-weight: 500; font-size: .8125rem; color: var(--muted); }
.extras li i { flex: 1 1 20px; min-width: 16px; border-bottom: 1.5px dotted var(--line-2); transform: translateY(-4px); }
.extras li b { font: 500 .875rem/1.3 var(--f-mono); white-space: nowrap; }
.terms { display: grid; border-top: 1.5px solid var(--ink); }
.terms div { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.terms dt { font-weight: 700; }
.terms dt small { display: block; font-weight: 500; font-size: .8125rem; color: var(--muted); }
.terms dd { font: 600 1rem/1.2 var(--f-display); letter-spacing: -.02em; white-space: nowrap; }
@media (max-width: 519px) { .terms div { grid-template-columns: minmax(0, 1fr); gap: 6px; } .terms dd { white-space: normal; color: var(--green-d); } }
.two { display: grid; gap: 48px; }
@media (min-width: 1000px) { .two { grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 88px); } }
.two .h3 { margin-bottom: 22px; }
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 14px 0; font: 600 1.0625rem/1.35 var(--f-display); letter-spacing: -.015em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border: 1.5px solid var(--line-2); border-radius: 50%; background: linear-gradient(var(--ink), var(--ink)) center / 10px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 10px no-repeat; transition: transform .3s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--yellow); border-color: var(--yellow); }
.faq summary:hover { color: var(--green-d); }
.faq details p { padding: 0 44px 20px 0; color: var(--ink-80); max-width: 70ch; }
.cta-band { display: grid; gap: 0; background: var(--ink); color: #E3E7EF; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 7fr 5fr; } }
.cta-band__text { padding: clamp(28px, 5vw, 72px); display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.cta-band__text .h2 { color: #fff; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.cta-band figure { position: relative; min-height: 280px; overflow: hidden; background: #1F2C4A; }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- legal pages ---------- */
.legal { padding-block: clamp(32px, 5vw, 64px) var(--sec); }
.legal__body { max-width: 72ch; }
.legal__body h1 { font: 600 clamp(1.8rem, 1.2rem + 2.4vw, 3rem)/1.1 var(--f-display); letter-spacing: -.035em; margin: 26px 0 12px; }
.legal__body h2 { font: 600 1.15rem/1.3 var(--f-display); letter-spacing: -.02em; margin: 34px 0 10px; }
.legal__body p, .legal__body li { color: var(--ink-80); }
.legal__body p + p { margin-top: 10px; }
.legal__body ul { margin-top: 10px; display: grid; gap: 6px; }
.legal__body li { position: relative; padding-left: 20px; }
.legal__body li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 8px; height: 1.5px; background: var(--green); }
.legal__demo { margin-top: 18px; padding: 14px 16px; background: var(--paper-2); border-left: 3px solid var(--yellow); font-size: .9375rem; }

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