/* Patern: black, one signal accent, one typeface (Geologica). Hierarchy = size + weight + colour. */
:root {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --bg-3: #18181b;
  --line: #222226;
  --line-2: #323238;
  --fg: #ededef;
  --fg-2: #a1a1a9;
  --fg-3: #6e6e76;
  --accent: #ff5b1f;
  --accent-ink: #140800;

  --f: 'Geologica', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gut: clamp(16px, 3.2vw, 48px);
  --hdr-h: 68px;
  --r-btn: 8px;
  --r-card: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 17px/1.55 var(--f);
  font-feature-settings: 'ss01' 0;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--fg); color: var(--bg); padding: 8px 12px; }
.skip:focus { left: 8px; }

.ico-arrow { width: 1.05em; height: 1.05em; flex: none; transition: transform .35s var(--ease); }

/* ------------------------------ buttons ------------------------------ */
.btn {
  --h: 46px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: var(--h); padding: 0 20px; border-radius: var(--r-btn);
  font: 500 15px/1 var(--f); white-space: nowrap;
  border: 1px solid var(--line-2); background: var(--bg-2);
  transition: background .25s, border-color .25s, color .25s, transform .4s var(--ease);
  isolation: isolate; overflow: hidden;
}
.btn:hover { border-color: var(--fg-3); }
.btn:hover .ico-arrow { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn--sm { --h: 38px; padding: 0 15px; font-size: 14px; }
.btn--lg { --h: 58px; padding: 0 28px; font-size: 17px; }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn--accent::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: #fff;
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn--accent:hover { border-color: #fff; }
.btn--accent:hover::before { transform: none; }
.btn--ghost { background: transparent; }
.btn--ghost:hover { background: var(--bg-3); }

.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 500; font-size: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-2); transition: border-color .25s; }
.link-arrow:hover { border-color: var(--accent); }
.link-arrow:hover .ico-arrow { transform: translateX(3px); }

/* ------------------------------ header ------------------------------ */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 0 var(--gut);
  transition: background .3s, border-color .3s, transform .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr.is-solid { background: rgb(10 10 11 / .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.hdr.is-hidden { transform: translateY(-100%); }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 600 19px/1 var(--f); letter-spacing: -.03em; justify-self: start; }
.logo__mark { width: 30px; height: 30px; color: var(--fg); transition: transform .7s var(--ease); }
.logo:hover .logo__mark { transform: rotate(60deg); }
.logo:hover .logo__p { transform-origin: 16px 16px; }
.hdr__nav { display: flex; gap: 30px; font-size: 15px; color: var(--fg-2); }
.hdr__nav a { position: relative; padding: 6px 0; transition: color .2s; }
.hdr__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.hdr__nav a:hover, .hdr__nav a[aria-current] { color: var(--fg); }
.hdr__nav a:hover::after, .hdr__nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.hdr__end { justify-self: end; display: flex; align-items: center; gap: 14px; }
.langs { display: flex; font: 500 13px/1 var(--f); gap: 2px; }
.langs a { padding: 8px 9px; border-radius: 6px; color: var(--fg-3); transition: color .2s, background .2s; }
.langs a:hover { color: var(--fg); }
.langs a[aria-current] { background: var(--bg-3); color: var(--fg); }
.menu-btn { display: none; align-items: center; gap: 10px; height: 40px; font: 500 15px/1 var(--f); }
.menu-btn i { position: relative; width: 18px; height: 8px; }
.menu-btn i::before, .menu-btn i::after { content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.menu-btn i::before { top: 0; } .menu-btn i::after { bottom: 0; }
.menu-btn[aria-expanded="true"] i::before { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i::after { transform: translateY(-3.25px) rotate(-45deg); }

.sheet {
  position: fixed; inset: 0; z-index: 45; background: var(--bg);
  padding: calc(var(--hdr-h) + 16px) var(--gut) calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 28px;
}
.sheet[hidden] { display: none; }
.sheet nav { display: flex; flex-direction: column; }
.sheet nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font: 600 34px/1.1 var(--f); letter-spacing: -.035em; }
.sheet__langs { display: flex; gap: 8px; font-weight: 500; }
.sheet__langs a { flex: 1; text-align: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-btn); color: var(--fg-2); }
.sheet__langs a[aria-current] { color: var(--fg); border-color: var(--fg-3); }
.sheet .btn { margin-top: auto; height: 56px; }
.sheet.is-open nav a { animation: sheetIn .5s var(--ease) both; }
.sheet.is-open nav a:nth-child(2) { animation-delay: .04s; } .sheet.is-open nav a:nth-child(3) { animation-delay: .08s; }
@keyframes sheetIn { from { opacity: 0; transform: translateX(-16px); } }

.suggest { position: fixed; z-index: 40; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; background: var(--fg); color: var(--bg); border-radius: var(--r-btn); padding: 4px 4px 4px 14px; font-weight: 500; font-size: 14px; box-shadow: 0 10px 40px rgb(0 0 0 / .5); animation: sheetIn .5s var(--ease) both; }
.suggest[hidden], .suggest a[hidden] { display: none; }
.suggest a { display: inline-flex; gap: .4em; align-items: center; padding: 8px 0; }
.suggest button { width: 32px; height: 32px; font-size: 18px; border-radius: 6px; }
.suggest button:hover { background: rgb(0 0 0 / .08); }

/* ------------------------------ stage (home) ------------------------------ */
.stage {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding: 0 var(--gut);
}
.stage__visual {
  grid-column: 2; grid-row: 1;
  position: sticky; top: 0; height: 100svh;
  margin-right: calc(var(--gut) * -1);
}
.stage__copy { grid-column: 1; grid-row: 1; position: relative; z-index: 2; }

.cube { position: relative; width: 100%; height: 100%; }
.cube canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); touch-action: pan-y; cursor: grab; }
.cube canvas:active { cursor: grabbing; }
.cube.is-live canvas { opacity: 1; }
.cube-poster { position: absolute; left: 50%; top: 50%; width: min(52%, 400px); transform: translate(-50%, -50%); transition: opacity .8s, transform 1.2s var(--ease); }
.cube.is-live .cube-poster { opacity: 0; transform: translate(-50%, -50%) scale(.94); }
.stage__visual::after {
  content: ''; position: absolute; left: 20%; right: 20%; bottom: 12%; height: 40px;
  background: radial-gradient(closest-side, rgb(255 91 31 / .10), transparent); pointer-events: none;
}

.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: calc(var(--hdr-h) + 40px) 0 80px; }
.hero__title {
  font: 600 clamp(46px, 6.2vw, 100px)/.98 var(--f); letter-spacing: -.045em;
  width: max-content; max-width: calc(100vw - var(--gut) * 2); pointer-events: none;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .07em; }
.hero__title .line > span { display: inline-block; }
.hero__title .line:last-child { color: var(--fg-3); }
html.js .hero__title .line > span { transform: translateY(105%); }
html.js.is-ready .hero__title .line > span { transform: none; transition: transform 1.1s var(--ease) calc(var(--i) * 90ms + 100ms); }
.hero__lead { max-width: 24em; margin-top: 30px; font-size: clamp(18px, 1.45vw, 22px); line-height: 1.45; color: var(--fg-2); }
.hero__cta { margin-top: 40px; }

.chapter {
  min-height: 92svh; padding: 14vh 0; max-width: 540px;
  display: flex; flex-direction: column; justify-content: center;
  transition: opacity .6s var(--ease);
}
html.js .chapter:not(.is-active) { opacity: .25; }
.chapter__title { font: 600 clamp(34px, 3.6vw, 58px)/1.02 var(--f); letter-spacing: -.04em; }
.chapter__tagline { margin-top: 20px; font-size: clamp(19px, 1.5vw, 23px); line-height: 1.4; max-width: 23em; }
.chapter__desc { margin-top: 14px; color: var(--fg-2); max-width: 31em; font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.tags li { font-size: 14px; line-height: 1; color: var(--fg-2); border: 1px solid var(--line-2); padding: 9px 13px; border-radius: 999px; }
.chapter__foot { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 22px; border-top: 1px solid var(--line); }
.price { font: 600 clamp(28px, 2.5vw, 38px)/1 var(--f); letter-spacing: -.035em; font-variant-numeric: tabular-nums; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; user-select: none; }
.price__from { font-size: 15px; font-weight: 400; color: var(--fg-3); letter-spacing: 0; }
.price__extra { font-size: 14px; font-weight: 500; color: var(--accent); letter-spacing: 0; }

/* ------------------------------ process ------------------------------ */
.process { padding: 140px var(--gut) 120px; border-top: 1px solid var(--line); }
.process__title { font: 600 clamp(34px, 4.4vw, 68px)/1 var(--f); letter-spacing: -.045em; margin-bottom: 64px; max-width: 12em; }
.process__track { height: 1px; background: var(--line-2); position: relative; }
.process__track i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding: 34px 32px 0 0; }
.step::before { content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--fg-3); transition: background .4s, border-color .4s; }
.step.is-on::before { background: var(--accent); border-color: var(--accent); }
.step h3 { font: 600 22px/1.2 var(--f); letter-spacing: -.025em; }
.step p { margin-top: 10px; color: var(--fg-2); font-size: 16px; max-width: 21em; }

/* ------------------------------ band ------------------------------ */
.band { padding: 120px var(--gut) 140px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.band__title { font: 600 clamp(34px, 5vw, 80px)/1 var(--f); letter-spacing: -.045em; max-width: 11em; }

/* ------------------------------ footer ------------------------------ */
.ftr { border-top: 1px solid var(--line); padding: 48px var(--gut) calc(40px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; color: var(--fg-2); font-size: 15px; }
.ftr__brand p { margin-top: 14px; max-width: 22em; }
.ftr__idx { display: grid; gap: 10px; }
.ftr__idx a, .ftr__langs a, .ftr__meta > a { transition: color .2s; }
.ftr__idx a:hover, .ftr__langs a:hover, .ftr__meta > a:hover { color: var(--fg); }
.ftr__meta { display: grid; gap: 12px; justify-items: start; align-content: start; }
.ftr__meta > a { display: inline-flex; gap: .4em; align-items: center; }
.ftr__langs { display: flex; gap: 16px; }
.ftr__copy { color: var(--fg-3); font-size: 14px; }

/* ------------------------------ services page ------------------------------ */
.sv { padding-top: var(--hdr-h); }
.sv-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; padding: 72px var(--gut) 56px; }
.sv-head__title { font: 600 clamp(42px, 5.6vw, 92px)/.98 var(--f); letter-spacing: -.045em; }
.sv-head__lead { margin-top: 22px; max-width: 32em; color: var(--fg-2); font-size: 18px; }
.cur { display: grid; gap: 10px; justify-items: end; }
.cur__label { color: var(--fg-3); font-size: 14px; }
.cur__btns { display: flex; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 3px; position: relative; }
.cur__btns button { position: relative; z-index: 1; font: 500 14px/1 var(--f); padding: 11px 15px; color: var(--fg-2); transition: color .25s; font-variant-numeric: tabular-nums; }
.cur__btns button:hover { color: var(--fg); }
.cur__btns button[aria-pressed="true"] { color: var(--accent-ink); }
.cur__btns .cur__pill { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 0; width: 0; border-radius: 7px; background: var(--accent); transition: transform .45s var(--ease), width .45s var(--ease); }

.sv-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); border-top: 1px solid var(--line); }
.sv-pick { padding: 0 var(--gut) 80px; border-right: 1px solid var(--line); }
.pick-group { border: 0; margin: 0; padding: 44px 0 0; min-width: 0; }
.pick-group[hidden] { display: none; }
.pick-group legend { padding: 0; margin-bottom: 16px; font-size: 15px; color: var(--fg-3); }

.svcs { display: grid; gap: 6px; }
.svc {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center;
  padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-card); cursor: pointer;
  transition: background .3s, border-color .3s;
}
.svc input, .tier input { position: absolute; opacity: 0; pointer-events: none; }
.svc:hover { background: var(--bg-2); border-color: var(--line-2); }
.svc:has(input:checked) { background: var(--bg-2); border-color: var(--fg-3); box-shadow: inset 3px 0 0 var(--accent); }
.svc:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.svc__name { display: block; font: 600 clamp(20px, 1.9vw, 26px)/1.15 var(--f); letter-spacing: -.03em; }
.svc__tag { display: block; margin-top: 6px; color: var(--fg-3); font-size: 15px; max-width: 34em; transition: color .3s; }
.svc:has(input:checked) .svc__tag { color: var(--fg-2); }
.svc__price { font-size: 16px; font-weight: 500; color: var(--fg-2); font-variant-numeric: tabular-nums; }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tiers[hidden] { display: none; }
.tier {
  position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px; min-height: 168px;
  border: 1px solid var(--line); border-radius: var(--r-card); cursor: pointer; transition: border-color .25s, background .25s;
}
.tier:hover { border-color: var(--line-2); background: var(--bg-2); }
.tier:has(input:checked) { border-color: var(--accent); background: rgb(255 91 31 / .06); }
.tier:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.tier__name { font-weight: 600; font-size: 17px; }
.tier__desc { color: var(--fg-2); font-size: 15px; line-height: 1.45; }
.tier__price { margin-top: auto; font-weight: 500; font-size: 15px; font-variant-numeric: tabular-nums; }
.tiers.is-swap .tier { animation: tierIn .5s var(--ease) both; }
.tiers.is-swap .tier:nth-child(2) { animation-delay: .05s; } .tiers.is-swap .tier:nth-child(3) { animation-delay: .1s; }
@keyframes tierIn { from { opacity: 0; transform: translateY(8px); } }

.extra { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-card); cursor: pointer; transition: border-color .25s, background .25s; }
.extra input { position: absolute; opacity: 0; }
.extra__box { width: 22px; height: 22px; border: 1px solid var(--fg-3); border-radius: 6px; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.extra__box::after { content: ''; width: 10px; height: 5px; border: solid var(--accent-ink); border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .25s var(--ease); }
.extra:has(input:checked) { border-color: var(--accent); background: rgb(255 91 31 / .06); }
.extra:has(input:checked) .extra__box { background: var(--accent); border-color: var(--accent); }
.extra:has(input:checked) .extra__box::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.extra:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.extra__price { color: var(--accent); font-weight: 500; font-size: 15px; }

.sum { position: sticky; top: var(--hdr-h); align-self: start; padding: 28px var(--gut) 40px; display: flex; flex-direction: column; min-height: calc(100svh - var(--hdr-h)); }
.sum__cube { height: 280px; margin: -8px 0 4px; }
.sum__cube .cube-poster { width: 150px; }
.sum__label { color: var(--fg-3); font-size: 15px; }
.sum__price { display: block; margin-top: 8px; font: 600 clamp(38px, 3.6vw, 56px)/1 var(--f); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.sum__price.is-tick { animation: tick .45s var(--ease); }
@keyframes tick { 0% { opacity: .2; transform: translateY(10px); } }
.sum__rate { margin-top: 10px; color: var(--fg-3); font-size: 13px; min-height: 1.4em; }
.sum__list { margin-top: 26px; border-top: 1px solid var(--line); }
.sum__list > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.sum__list > div[hidden] { display: none; }
.sum__list dt { color: var(--fg-3); }
.sum__list dd { text-align: right; }
.sum__actions { display: grid; gap: 8px; margin-top: auto; padding-top: 28px; }
.sum__actions .btn { width: 100%; }
[data-copy].is-done { border-color: var(--accent); color: var(--accent); }

.contacts { border-top: 1px solid var(--line); padding: 96px var(--gut); display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contacts__head h2 { font: 600 clamp(34px, 4vw, 60px)/1 var(--f); letter-spacing: -.045em; }
.contacts__head p { margin-top: 18px; color: var(--fg-2); max-width: 24em; }
.hold {
  position: relative; width: 100%; height: 116px; border: 1px solid var(--line-2); border-radius: var(--r-card);
  display: flex; align-items: center; justify-content: space-between; padding: 0 28px; overflow: hidden;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: none;
  transition: border-color .3s;
}
.hold:hover { border-color: var(--fg-3); }
.hold__fill { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(var(--h, 0)); }
.hold__label { position: relative; font: 600 clamp(19px, 1.8vw, 24px)/1.1 var(--f); letter-spacing: -.025em; mix-blend-mode: difference; }
.hold__ring { position: relative; color: var(--fg-3); mix-blend-mode: difference; font-variant-numeric: tabular-nums; font-size: 15px; }
.hold.is-holding { border-color: var(--accent); }
.hold.is-done { display: none; }
.clist { display: grid; border-top: 1px solid var(--line); }
.clist[hidden] { display: none; }
.clist li { border-bottom: 1px solid var(--line); animation: tierIn .6s var(--ease) both; }
.clist li:nth-child(2) { animation-delay: .07s; } .clist li:nth-child(3) { animation-delay: .14s; }
.clist a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; padding: 22px 0; transition: padding .4s var(--ease); }
.clist a:hover { padding-left: 12px; }
.clist small { grid-column: 1 / -1; font-size: 14px; color: var(--fg-3); }
.clist span { font: 600 clamp(22px, 2.2vw, 32px)/1.1 var(--f); letter-spacing: -.03em; word-break: break-all; }
.clist .ico-arrow { width: 22px; height: 22px; color: var(--fg-3); }
.clist a:hover .ico-arrow { color: var(--accent); transform: translateX(4px); }

.info { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; padding: 96px var(--gut) 120px; }
.info h2 { font: 600 clamp(26px, 2.4vw, 36px)/1.05 var(--f); letter-spacing: -.035em; margin-bottom: 24px; }
.factors ul { border-top: 1px solid var(--line); }
.factors li { display: flex; gap: 14px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--fg-2); }
.factors li::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); transform: translateY(-2px); }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; justify-content: space-between; gap: 24px; padding: 19px 0; cursor: pointer; font-weight: 500; font-size: 18px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; flex: none; width: 14px; height: 14px; margin-top: 6px; }
.qa summary i::before, .qa summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--fg-2); transition: transform .35s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i::after { transform: rotate(0); }
.qa summary:hover i::before, .qa summary:hover i::after { background: var(--accent); }
.qa p { padding: 0 0 22px; color: var(--fg-2); max-width: 36em; }

.nf main { min-height: 100svh; display: grid; place-content: center; justify-items: start; gap: 20px; padding: var(--gut); }
.nf h1 { font: 600 clamp(30px, 5vw, 64px)/1 var(--f); letter-spacing: -.045em; max-width: 14em; }
.nf .label { color: var(--fg-3); }

/* ------------------------------ tablet ------------------------------ */
@media (max-width: 1080px) {
  .hdr__nav { display: none; }
  .hdr { grid-template-columns: auto 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .tiers { grid-template-columns: 1fr; }
  .tier { min-height: 0; display: grid; grid-template-columns: 1fr auto; }
  .tier__desc { grid-column: 1 / -1; }
  .tier__price { grid-row: 1; grid-column: 2; margin: 0; }
  .ftr { grid-template-columns: 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
}

/* ------------------------------ phone: its own composition ------------------------------ */
@media (max-width: 820px) {
  :root { --hdr-h: 58px; }
  body { font-size: 16px; }
  .hdr .btn--sm, .hdr .langs { display: none; }
  .menu-btn { display: inline-flex; }

  /* the cube becomes a sticky window on top, the copy scrolls beneath it */
  .stage { display: block; padding: 0; }
  .stage__visual {
    position: sticky; top: 0; z-index: 1; height: 44svh; margin: 0;
    background: linear-gradient(var(--bg) 72%, rgb(10 10 11 / 0));
    padding-top: var(--hdr-h);
  }
  .stage__visual::after { bottom: 6%; }
  .cube-poster { width: min(46%, 210px); }
  .stage__copy { padding: 0 var(--gut); z-index: 0; }
  .hero { min-height: 0; padding: 4px 0 72px; }
  .hero__title { font-size: clamp(40px, 11.6vw, 60px); width: auto; }
  .hero__lead { margin-top: 18px; font-size: 18px; }
  .hero__cta { width: 100%; margin-top: 28px; }
  .chapter { min-height: 0; padding: 36px 0 64px; max-width: none; border-top: 1px solid var(--line); }
  html.js .chapter:not(.is-active) { opacity: .4; }
  .chapter__title { font-size: 32px; }
  .chapter__tagline { font-size: 18px; margin-top: 12px; }
  .chapter__desc { font-size: 15px; }
  .tags { flex-wrap: nowrap; overflow-x: auto; margin: 20px calc(var(--gut) * -1) 0; padding: 0 var(--gut); scrollbar-width: none; }
  .tags::-webkit-scrollbar { display: none; }
  .tags li { white-space: nowrap; }
  .chapter__foot { margin-top: 26px; flex-direction: column; align-items: stretch; border: 0; padding: 0; }
  .chapter__foot .link-arrow { justify-content: space-between; border: 1px solid var(--line-2); border-radius: var(--r-btn); padding: 16px; }

  .process { padding: 80px var(--gut) 72px; }
  .process__title { margin-bottom: 32px; }
  .process__track { display: none; }
  .steps { grid-template-columns: 1fr; row-gap: 0; border-left: 1px solid var(--line-2); margin-left: 4px; }
  .step { padding: 0 0 30px 24px; }
  .step:last-child { padding-bottom: 0; }
  .step::before { top: 6px; left: -5px; }
  .step h3 { font-size: 19px; }
  .step p { margin-top: 6px; font-size: 15px; }

  .band { grid-template-columns: 1fr; padding: 72px var(--gut) 88px; gap: 28px; }
  .band .btn { width: 100%; }

  .ftr { grid-template-columns: 1fr; }

  /* services */
  .sv-head { grid-template-columns: 1fr; padding: 36px var(--gut) 28px; gap: 24px; }
  .sv-head__lead { font-size: 16px; }
  .cur { justify-items: stretch; }
  .cur__label { display: none; }
  .cur__btns button { flex: 1; padding: 13px 0; }
  .sv-grid { grid-template-columns: 1fr; }
  .sv-pick { border: 0; padding-bottom: 32px; }
  .svc { padding: 16px 18px; grid-template-columns: 1fr; gap: 4px; }
  .svc__price { font-size: 15px; }
  .svc__tag { display: none; }
  .svc:has(input:checked) .svc__tag { display: block; }

  /* summary turns into a bottom bar: price + jump to contacts */
  .sum {
    position: sticky; top: auto; bottom: 0; z-index: 20; min-height: 0;
    display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px;
    padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom));
    background: rgb(17 17 19 / .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line-2);
  }
  .sum__cube, .sum__list, .sum__rate, [data-copy] { display: none; }
  .sum__label { grid-column: 1; font-size: 13px; }
  .sum__price { grid-column: 1; margin: 0; font-size: 23px; letter-spacing: -.03em; }
  .sum__actions { grid-column: 2; grid-row: 1 / span 2; padding: 0; margin: 0; }
  .sum__actions .btn { height: 46px; width: auto; }

  .contacts, .info { grid-template-columns: 1fr; padding: 64px var(--gut); gap: 28px; }
  .hold { height: 96px; padding: 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html.js .hero__title .line > span { transform: none; }
}
