/* TerraLegion — site styles (from "TerraLegion Site v5" design) */
:root {
  --paper: #F7F0DC;
  --card: #FFFCF2;
  --line: #E4DAC0;
  --line-2: #DDD0AE;
  --ink: #080B16;
  --ink-line: #1B2337;
  --accent: #E23A21;
  --accent-hi: #F0553C;
  --error: #C22E17;
  --text: #2C3446;
  --muted: #4C5468;
  --label: #6B7385;
  --faint: #A79E85;
  --on-ink: #F7F0DC;
  --on-ink-2: #C6CDDD;
  --on-ink-3: #AEB6CB;
  --on-ink-label: #7C89A6;
  --gutter: clamp(16px, 3.5vw, 40px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --display: 'Bowlby One', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
  --sans: 'Chakra Petch', system-ui, sans-serif;
}

html, body { margin: 0; padding: 0; background: var(--paper); }
body { font-family: var(--sans); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
::selection { background: var(--accent); color: var(--paper); }
input, textarea, select, button { font-family: var(--sans); font-size: 16px; }
input::placeholder, textarea::placeholder { color: #9AA0AE; }
img { max-width: 100%; }
[hidden] { display: none !important; }

@keyframes tlUp { from { opacity: 0; transform: translateY(18px) } to { opacity: 1; transform: none } }
@keyframes tlFade { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
@keyframes tlPulse { 0%, 100% { transform: scale(1); opacity: 1 } 50% { transform: scale(1.55); opacity: .3 } }
@keyframes tlBeam { 0% { transform: translateX(-45%) rotate(14deg); opacity: .15 } 50% { transform: translateX(45%) rotate(14deg); opacity: .5 } 100% { transform: translateX(-45%) rotate(14deg); opacity: .15 } }
@keyframes tlLamp { 0%, 100% { opacity: .55 } 50% { opacity: 1 } }
@keyframes tlKen { 0% { transform: scale(1.02) translate3d(0, 0, 0) } 100% { transform: scale(1.13) translate3d(0, -2%, 0) } }
@keyframes tlSheen { 0% { transform: translateX(-120%) skewX(-18deg); opacity: 0 } 12% { opacity: .85 } 55% { opacity: .25 } 100% { transform: translateX(220%) skewX(-18deg); opacity: 0 } }
@keyframes tlBarFill { from { transform: scaleX(0) } to { transform: scaleX(1) } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important } }

/* ---------- layout primitives ---------- */
.page { background: var(--paper); min-height: 100vh; overflow-x: clip; }
.wrap { max-width: 1300px; margin: 0 auto; }
.route { animation: tlFade .5s var(--ease) both; }
.sec { padding: clamp(56px, 7vw, 100px) var(--gutter); }
.sec-dark { background: var(--ink); }
.sec-card { background: var(--card); }
.display { font-family: var(--display); font-weight: 400; margin: 0; }
.eyebrow { margin: 0 0 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--label); }
.eyebrow-ink { color: var(--on-ink-label); }
.label { margin: 0 0 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; color: var(--ink); }
.lede { margin: 0; font-size: 18px; line-height: 1.75; color: var(--muted); text-wrap: pretty; }
.body { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.h-page { font-size: clamp(34px, 5.6vw, 72px); line-height: 1.02; color: var(--ink); margin: 0 0 18px; }
.h-sec { font-size: clamp(30px, 4.4vw, 54px); line-height: 1.06; color: var(--ink); }
.check { width: 15px; height: 15px; flex: 0 0 auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; padding: 18px 26px; border-radius: 2px; min-height: 44px; box-sizing: border-box; white-space: nowrap; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.btn img { width: 15px; height: 15px; display: block; }
.btn-sm { font-size: 12.5px; padding: 12px 20px; gap: 10px; }
.btn-sm img { width: 14px; height: 14px; }
.btn-accent, .btn-accent:hover { color: var(--ink); background: var(--accent); }
.btn-accent:hover { background: var(--accent-hi); }
.btn-ghost { color: var(--on-ink); border: 1.5px solid #3B4666; }
.btn-ghost:hover { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }
.btn-ink, .btn-ink:hover { color: var(--on-ink); background: var(--ink); }
.btn-ink:hover { background: var(--ink-line); }
.btn-outline-ink { color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline-ink:hover { background: var(--ink); color: var(--on-ink); }
.link-under { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; color: var(--ink); border-bottom: 1.5px solid var(--accent); padding-bottom: 6px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--ink); border-bottom: 1px solid var(--ink-line); }
.header-bar { max-width: 1300px; margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header-logo { display: flex; align-items: center; flex: 0 0 auto; }
.header-logo img { height: 30px; width: auto; display: block; }
.nav-desk { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 30px); }
.nav-desk a[data-nav] { font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em; white-space: nowrap; display: flex; align-items: center; gap: 8px; color: var(--on-ink-2); }
.nav-desk a[data-nav]:hover { color: var(--accent); }
.nav-desk a[data-nav].on { color: var(--on-ink); }
.nav-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); display: none; }
.nav-desk a.on .nav-dot { display: block; }
.tl-burger { display: none; align-items: center; background: var(--accent); color: var(--ink); border: 0; padding: 12px 16px; border-radius: 2px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; cursor: pointer; min-height: 44px; }
.mobile-menu { border-top: 1px solid var(--ink-line); padding: 8px var(--gutter) 20px; display: flex; flex-direction: column; }
.mobile-menu a { padding: 15px 0; border-bottom: 1px solid #151C2E; color: var(--on-ink); font-size: 17px; font-weight: 600; }
.mobile-menu a.mobile-cta { margin-top: 16px; border: 0; text-align: center; background: var(--accent); color: var(--ink); padding: 16px; border-radius: 2px; font-family: var(--mono); font-size: 13px; font-weight: 400; letter-spacing: .1em; }
@media (max-width: 1000px) { .tl-desk { display: none !important } .tl-burger { display: flex !important } }

/* ---------- home: hero ---------- */
.hero { position: relative; background: var(--ink); overflow: hidden; padding: clamp(44px, 5.5vw, 84px) var(--gutter) clamp(52px, 6vw, 88px); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.hero-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(110% 70% at 72% 26%, rgba(226, 58, 33, .2), transparent 64%); }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(96deg, rgba(8, 11, 22, .9) 0%, rgba(8, 11, 22, .62) 30%, rgba(8, 11, 22, .1) 52%, rgba(8, 11, 22, 0) 68%); }
.hero-inner { position: relative; display: flex; flex-wrap: wrap; gap: clamp(32px, 4vw, 56px); align-items: center; }
.hero-copy { flex: 1 1 440px; min-width: 290px; animation: tlUp .7s ease both; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; border: 1px solid #2A3554; background: rgba(247, 240, 220, .06); padding: 8px 14px; border-radius: 100px; margin-bottom: 24px; }
.hero-badge .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: block; animation: tlPulse 2.6s ease-in-out infinite; }
.hero-badge span:last-child { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--on-ink-2); }
.hero h1 { font-size: clamp(38px, 6.6vw, 80px); line-height: 1.0; color: var(--on-ink); text-wrap: balance; }
.hero-sub { margin: 24px 0 0; font-size: clamp(18px, 2vw, 22px); line-height: 1.5; font-weight: 600; color: var(--on-ink); max-width: 30ch; text-wrap: pretty; }
.hero-text { margin: 16px 0 0; font-size: 17.5px; line-height: 1.75; color: var(--on-ink-2); max-width: 54ch; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-ticks { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 28px; }
.hero-ticks span { display: flex; align-items: center; gap: 9px; font-size: 15px; color: var(--on-ink-3); }
.hero-side { flex: 1 1 470px; min-width: 290px; animation: tlUp .9s ease both; display: flex; justify-content: center; }
.stage { position: relative; width: min(430px, 88vw); border-radius: 6px; overflow: hidden; border: 1px solid #2B3350; background: linear-gradient(170deg, #0C1224, #070A14); box-shadow: 0 40px 70px -34px rgba(0, 0, 0, .75); transition: transform .5s var(--ease); }
.stage-beam { position: absolute; inset: -30% -20%; background: linear-gradient(100deg, transparent 38%, rgba(247, 240, 220, .14) 50%, transparent 62%); animation: tlBeam 7s ease-in-out infinite; pointer-events: none; }
.stage-lamp { position: absolute; top: -18%; left: 50%; width: 78%; height: 70%; transform: translateX(-50%); background: radial-gradient(60% 60% at 50% 0%, rgba(226, 58, 33, .42), transparent 70%); animation: tlLamp 4s ease-in-out infinite; pointer-events: none; }
.stage-body { position: relative; display: flex; flex-direction: column; gap: 26px; padding: clamp(26px, 4vw, 40px); }
.stage-head { display: flex; align-items: center; gap: 10px; }
.stage-head .lamp { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: block; animation: tlLamp 2.2s ease-in-out infinite; }
.stage-head span:last-child { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; color: #8E97AD; }
.hook-box { min-height: clamp(170px, 22vw, 210px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.hook { transition: opacity .4s ease, transform .4s ease; }
.hook.off { opacity: 0; transform: translateY(-10px); }
.hook-title { margin: 0; font-family: var(--display); font-size: clamp(28px, 4.4vw, 44px); line-height: 1.04; color: var(--on-ink); text-wrap: balance; }
.hook-body { margin: 14px 0 0; font-size: 16px; line-height: 1.6; color: var(--on-ink-2); max-width: 34ch; text-wrap: pretty; }
.stage-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid #1E2540; }
.hook-dots { display: flex; gap: 7px; }
.hook-dots span { width: 22px; height: 3px; border-radius: 2px; display: block; background: #2B3350; transition: background .3s ease; }
.hook-dots span.on { background: var(--accent); }
.stage-foot a { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--on-ink); border-bottom: 1.5px solid var(--accent); padding-bottom: 3px; }

/* ---------- home: promises / services / sectors / steps ---------- */
.promises { background: var(--card); border-bottom: 1px solid var(--line); padding: clamp(36px, 4.6vw, 60px) var(--gutter); }
.promises-grid { animation: tlFade .8s var(--ease) both; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(24px, 3vw, 44px); }
.promise { border-left: 2px solid var(--accent); padding-left: 18px; }
.promise-k { margin: 0 0 8px; font-family: var(--display); font-size: clamp(28px, 3.2vw, 38px); color: var(--ink); }
.svc-grid { animation: tlFade .8s var(--ease) both; display: grid; grid-template-columns: repeat(auto-fit, minmax(max(260px, 31%), 1fr)); gap: clamp(16px, 2vw, 22px); }
.svc-card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: clamp(20px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 12px; color: var(--text); transition: transform .35s var(--ease), border-color .3s ease, box-shadow .35s ease; }
.svc-card:hover { color: var(--text); border-color: var(--accent); transform: translateY(-5px); box-shadow: 0 22px 34px -26px rgba(8, 11, 22, .45); }
.svc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.svc-icon { width: 26px; height: 26px; display: block; }
.svc-no { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; color: var(--faint); }
.svc-card h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 21px; line-height: 1.15; color: var(--ink); }
.partner-chip { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: #0B5140; background: #F3C41B; padding: 6px 11px; border-radius: 100px; }
.svc-more { margin-top: 2px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; color: var(--accent); }
.sectors { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(48px, 6vw, 80px) var(--gutter); }
.split { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 56px); }
.chips { display: flex; flex-wrap: wrap; gap: 9px; align-content: flex-start; }
.chip { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); border: 1px solid var(--line-2); background: var(--paper); padding: 9px 14px; border-radius: 100px; }
.tl-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 32px); }
.step { border-top: 3px solid var(--accent); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.step h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 20px; color: var(--ink); }
.mono-note { font-family: var(--mono); font-size: 12px; color: var(--label); }
@media (max-width: 1100px) { .tl-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 24px } }
@media (max-width: 640px) { .tl-steps { grid-template-columns: minmax(0, 1fr); gap: 22px } .tl-steps > div { padding-top: 16px } }

/* ---------- cards used on inner pages ---------- */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.stack { display: flex; flex-direction: column; }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: var(--text); }
.ticks li img { margin-top: 4px; }
.gets li { font-size: 16px; line-height: 1.5; color: var(--muted); border-left: 2px solid var(--line-2); padding-left: 12px; }
.partner-box { display: flex; gap: 16px; align-items: flex-start; background: #0B5140; border-radius: 8px; padding: 18px 20px; }
.partner-box img { width: 60px; height: 60px; flex: 0 0 auto; border-radius: 50%; background: #FFF; display: block; }
.partner-box a { color: #F3C41B; text-decoration: underline; }
.fine { margin: 6px 4px 0; font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: var(--label); line-height: 1.6; }
.num-row { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--ink-line); }
.num-row .n { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--accent); flex: 0 0 26px; padding-top: 4px; }
.num-row h3, .dark-item h3 { margin: 0 0 7px; font-size: 19px; font-weight: 700; color: var(--on-ink); }
.num-row p, .dark-item p { margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--on-ink-3); text-wrap: pretty; }

/* ---------- work carousel ---------- */
.deck { perspective: 1500px; height: clamp(430px, 56vw, 580px); position: relative; overflow: hidden; touch-action: pan-y; }
.deck-inner { transform-style: preserve-3d; position: absolute; inset: 0; }
.work-card { position: absolute; top: 0; left: 50%; width: clamp(280px, 42vw, 460px); margin-left: clamp(-230px, -21vw, -140px); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); box-shadow: 0 34px 56px -30px rgba(8, 11, 22, .45); transition: transform .6s var(--ease), opacity .6s ease, box-shadow .6s ease; }
.work-media { position: relative; height: clamp(220px, 27vw, 300px); background: #0C1120; overflow: hidden; }
.work-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transform-origin: 52% 45%; }
.work-media .shade { position: absolute; inset: 0; background: linear-gradient(175deg, rgba(8, 11, 22, 0) 40%, rgba(8, 11, 22, .72) 100%); }
.work-media .sheen { position: absolute; top: 0; bottom: 0; left: 0; width: 38%; background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0) 100%); mix-blend-mode: screen; pointer-events: none; opacity: 0; }
.work-card.active .work-media img { animation: tlKen 9s ease-out both; }
.work-card.active .sheen { animation: tlSheen 2.6s cubic-bezier(.3, .1, .3, 1) .35s both; }
.work-type { position: absolute; top: 14px; left: 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: var(--ink); background: var(--accent); padding: 6px 10px; border-radius: 3px; }
.work-tag { position: absolute; bottom: 12px; left: 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: var(--on-ink); }
.work-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; }
.work-body h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.2; color: var(--ink); }
.work-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 2px; }
.work-chips span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); background: var(--paper); padding: 5px 9px; border-radius: 3px; }
.deck-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.round-btn { cursor: pointer; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink); background: none; display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.round-btn img { width: 17px; height: 17px; filter: invert(1); transition: filter .2s ease; }
.round-btn:hover { background: var(--ink); }
.round-btn:hover img { filter: none; }
.deck-dots { display: flex; gap: 8px; align-items: center; }
.deck-dots button { cursor: pointer; width: 30px; height: 44px; padding: 0; border: 0; background: none; display: flex; align-items: center; justify-content: center; }
.deck-dots .track { position: relative; width: 26px; height: 4px; border-radius: 2px; background: #E0D6BC; overflow: hidden; display: block; }
.deck-dots .fill { position: absolute; inset: 0; background: var(--accent); transform-origin: left center; transform: scaleX(0); }
.deck-dots button.on .fill { transform: scaleX(1); animation: tlBarFill 5.4s linear both; }

/* ---------- process / faq / payments ---------- */
.pay-badge { display: inline-flex; align-items: center; justify-content: center; height: 36px; min-width: 74px; padding: 0 13px; border-radius: 6px; font-size: 14px; font-weight: 700; letter-spacing: -.01em; box-sizing: border-box; white-space: nowrap; }
.pay-soft { background: #F1EFE7; border: 1px solid #D9D2C0; color: #3B4355; font-weight: 600; }

/* ---------- studio ---------- */
.photo-slot { border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2); background: #EFE7D2; height: clamp(280px, 34vw, 400px); display: flex; align-items: center; justify-content: center; }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-slot .empty { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--faint); text-align: center; padding: 20px; }

/* ---------- contact form ---------- */
.field-label { display: block; margin-bottom: 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; color: var(--ink); }
.field { width: 100%; box-sizing: border-box; padding: 15px 16px; border-radius: 3px; border: 1px solid var(--line-2); background: #FFF; color: var(--ink); min-height: 44px; transition: border-color .2s ease, box-shadow .2s ease; }
.field:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(226, 58, 33, .16); outline: none; }
textarea.field { resize: vertical; line-height: 1.6; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { cursor: pointer; border-radius: 100px; padding: 12px 17px; font-size: 14.5px; min-height: 46px; transition: background .22s ease, color .22s ease, border-color .22s ease; background: #FFF; color: var(--muted); border: 1px solid var(--line-2); }
.pill[aria-pressed="true"] { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.err { margin: 7px 0 0; font-size: 14px; color: var(--error); }
.stepbar { display: flex; gap: clamp(10px, 1.6vw, 18px); }
.stepbar button { flex: 1 1 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; text-align: left; background: none; border: 0; padding: 0; cursor: default; }
.stepbar button.done { cursor: pointer; }
.stepbar .bar { height: 3px; border-radius: 100px; display: block; transition: background .35s ease; background: var(--line); }
.stepbar .row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.stepbar .dot { flex: 0 0 auto; width: 21px; height: 21px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 10px; box-sizing: border-box; transition: background .35s ease, color .35s ease, border-color .35s ease; background: transparent; color: var(--faint); border: 1px solid var(--line); }
.stepbar .word { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .35s ease; color: var(--faint); }
.stepbar button.done .bar, .stepbar button.now .bar { background: var(--accent); }
.stepbar button.done .dot { background: var(--ink); color: #FFF7EE; border-color: transparent; }
.stepbar button.now .dot { background: var(--accent); color: #FFF7EE; border-color: transparent; }
.stepbar button.done .word { color: var(--muted); }
.stepbar button.now .word { color: var(--ink); }
.form-wrap { overflow: hidden; transition: height .45s var(--ease); }
.form-track { display: flex; width: 300%; align-items: flex-start; transition: transform .5s var(--ease); }
.form-panel { width: 33.3333%; flex: 0 0 33.3333%; box-sizing: border-box; padding: 0 2px; display: flex; flex-direction: column; gap: 24px; }
.consent { display: flex; gap: 13px; align-items: flex-start; cursor: pointer; border: 1px solid var(--line-2); border-radius: 6px; background: #FFF; padding: 16px 17px; transition: border-color .2s ease, box-shadow .2s ease; }
.consent.bad { border-color: var(--error); }
.consent input { width: 20px; height: 20px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.consent a { color: var(--error); font-weight: 600; text-decoration: underline; }
.form-nav { border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.form-nav button { cursor: pointer; font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; min-height: 48px; border-radius: 2px; }
.btn-back { background: none; border: 1.5px solid var(--ink); color: var(--ink); padding: 16px 24px; transition: background .25s ease, color .25s ease; }
.btn-back:disabled { border-color: var(--line); color: #B6AE99; cursor: default; }
.btn-go { display: flex; align-items: center; gap: 12px; border: 0; color: var(--ink); background: var(--accent); padding: 16px 28px; transition: background .25s ease; }
.btn-go:hover { background: var(--accent-hi); }
.btn-go img { width: 15px; height: 15px; display: block; }
@media (max-width: 620px) {
  .tl-stepword { display: none !important }
  .form-nav { flex-direction: column-reverse; align-items: stretch; }
  .form-nav button { width: 100%; justify-content: center; }
}

/* ---------- CTA band / footer ---------- */
.cta-band { background: var(--accent); padding: clamp(44px, 5.5vw, 76px) var(--gutter); }
.cta-inner { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.cta-copy { flex: 1 1 420px; min-width: 270px; }
.cta-copy h2 { margin: 0 0 10px; font-size: clamp(26px, 3.6vw, 44px); line-height: 1.06; color: var(--ink); max-width: 22ch; }
.cta-copy p { margin: 0; font-size: 17.5px; line-height: 1.6; color: #FFF; max-width: 46ch; }
.cta-actions { flex: 0 0 auto; display: flex; flex-wrap: wrap; gap: 14px; }
.site-footer { background: var(--ink); padding: clamp(40px, 5vw, 64px) var(--gutter) 30px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; padding-bottom: 36px; border-bottom: 1px solid var(--ink-line); }
.footer-brand { flex: 1 1 280px; }
.footer-brand img { height: 32px; width: auto; display: block; margin-bottom: 18px; }
.footer-brand p { margin: 0; font-size: 16.5px; line-height: 1.7; color: var(--on-ink-3); max-width: 38ch; }
.footer-cols { flex: 0 1 auto; display: flex; flex-wrap: wrap; gap: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--on-ink); font-size: 16px; }
.footer-col a:hover { color: var(--accent); }
.footer-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; color: var(--on-ink-label); }
.footer-social { display: flex; gap: 14px; }
.footer-social img { width: 20px; height: 20px; display: block; }
.footer-bottom { margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.footer-bottom p { margin: 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; color: var(--on-ink-label); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal a { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; color: var(--on-ink); text-decoration: underline; }
.to-top { position: fixed; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); z-index: 70; width: 52px; height: 52px; border-radius: 50%; border: 1px solid #2A3554; background: var(--ink); color: var(--on-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 10px 28px rgba(8, 11, 22, .28); transition: background .2s ease, transform .2s ease; }
.to-top:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); transform: translateY(-2px); }
