:root {
  --ink: #0F1420;
  --mut: #5A6072;
  --line: rgba(15, 20, 32, .09);
  --line-2: rgba(15, 20, 32, .16);
  --bg: #F4F5F7;
  --soft: #ECEEF2;
  --acc: #3F4CF5;
  --acc-ink: #2A35C4;
  --indigo: #E9EBFF;
  --mint: #DDF3E8;
  --mint-ink: #0B5E3A;
  --peach: #FFE8DC;
  --peach-ink: #9A3412;
  --site: #1B1340;
  --site-2: #2A2060;
  --site-mut: #C9C2EE;
  --coral: #FF7A59;
  --ok: #1F7A47;
  --shadow: 0 1px 2px rgba(15, 20, 32, .04), 0 18px 44px -24px rgba(15, 20, 32, .22);
  --sans: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --disp: 'Inter Tight', Inter, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 15px/1.5 var(--sans); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
b { font-weight: 600; }
i, em { font-style: normal; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
section[id], main[id] { scroll-margin-top: 84px; }

/* primitives */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding-bottom: 120px; }
.disp { font-family: var(--disp); font-weight: 500; letter-spacing: -.03em; text-wrap: balance; }
.h2 { font-size: clamp(30px, 3.5vw, 46px); line-height: 1.08; }
.h3 { font-size: 24px; line-height: 1.15; letter-spacing: -.02em; }
.lead { font-size: 17px; line-height: 1.6; color: var(--mut); text-wrap: pretty; }
.lead--dark { color: #A9B1C2; }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--acc); }
.eyebrow--light { color: #AAB2FF; }
.mono { font-family: var(--mono); }
.mut { color: var(--mut); }
.ink { color: var(--ink); }
.sm { font-size: 13px; line-height: 1.45; }
.xs { font-size: 12px; }
.right { text-align: right; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.row--base { align-items: baseline; }
.row--top { align-items: flex-start; }
[class*="stack-"] { display: flex; flex-direction: column; }
.stack-2 { gap: 2px; } .stack-4 { gap: 4px; } .stack-6 { gap: 6px; } .stack-8 { gap: 8px; }
.stack-10 { gap: 10px; } .stack-12 { gap: 12px; } .stack-16 { gap: 16px; }
.push { margin-top: auto; }

.card { background: #fff; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.chip { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.chip--mint { background: var(--mint); color: var(--mint-ink); }
.chip--peach { background: #FFF1EC; color: var(--peach-ink); }
.chip--indigo { background: var(--indigo); color: var(--acc-ink); }
.chip--soft { background: var(--soft); color: var(--ink); }
.chip--white { background: #fff; color: var(--ink); }
.chip--ink { background: var(--ink); color: #fff; padding: 8px 14px; }
.chip--dark { background: #1C2333; color: #D5DAE6; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -12px rgba(15, 20, 32, .55); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--lg { min-height: 52px; padding: 0 28px; }
.textlink { font-size: 16px; font-weight: 500; color: var(--ink); text-underline-offset: 4px; }
.textlink:hover { color: var(--acc); }
.ghost, .solid { min-height: 44px; padding: 0 16px; border-radius: 10px; font-weight: 600; font-size: 14px; }
.ghost { border: 1px solid var(--line-2); background: #fff; transition: border-color .2s; }
.ghost:hover { border-color: rgba(15, 20, 32, .4); }
.solid { border: 0; background: var(--ink); color: #fff; transition: opacity .2s; }
.solid:hover { opacity: .86; }
.solid--lg { min-height: 48px; }
.xbtn { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--bg); font-size: 20px; line-height: 1; color: var(--mut); }
.xbtn:hover { color: var(--ink); }
.checkout__tools { display: flex; align-items: center; gap: 8px; }

.segs { display: flex; flex-wrap: wrap; gap: 6px; }
.seg { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-weight: 600; font-size: 14px; transition: background .2s, color .2s, border-color .2s; }
.seg[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.segs--dark .seg { border-color: #3A435A; color: #fff; }
.segs--dark .seg[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--ink); }

.toggle { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--bg); }
.toggle button { min-width: 44px; min-height: 32px; border: 0; border-radius: 999px; background: transparent; font-size: 12px; font-weight: 600; }
.toggle button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 2px rgba(15, 20, 32, .12); }
.toggle--dark { background: #fff; border: 1px solid var(--line); }
.toggle--dark button { min-width: 48px; min-height: 36px; }
.toggle--dark button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }

.gridbg { background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px; }
.lift { transition: transform .25s, box-shadow .25s; }
.lift:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(15, 20, 32, .04), 0 28px 56px -28px rgba(15, 20, 32, .3); }

.tile { border-radius: 28px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.tile--xl { padding: clamp(24px, 5vw, 72px); }
.tile--soft { background-color: var(--soft); }
.tile--indigo { background: var(--indigo); }
.tile--mint { background: var(--mint); }
.tile--peach { background: var(--peach); }
.tile--white { background-color: #fff; border: 1px solid var(--line); }
.tile--dark { background: var(--ink); color: #fff; }

.split { display: flex; flex-flow: row wrap; gap: 48px 56px; align-items: center; }
.split__text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.split__visual { flex: 1 1 400px; min-width: 0; }

.sechead { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; }
.sechead .h2 { flex: 1 1 420px; max-width: 620px; }
.sechead .lead { flex: 1 1 340px; max-width: 440px; }
.sechead--center { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.sechead--center .h2 { flex: none; max-width: 700px; }

/* scroll reveal */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .rv.in { opacity: 1; transform: none; }
.js .lift.rv.in { transition: transform .25s, box-shadow .25s, opacity .7s; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(244, 245, 247, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 19px var(--disp); letter-spacing: -.02em; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { color: var(--ink); text-decoration: none; padding: 12px 0; transition: color .2s; }
.nav__links a:hover { color: var(--acc); }

/* hero */
.hero { position: relative; padding-top: 104px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 24px; align-items: center; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.pill__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }
.hero__title { max-width: 740px; font-size: clamp(40px, 5vw, 68px); line-height: 1.03; }
.hero__lead { max-width: 600px; font-size: 19px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px; }

.float { position: absolute; display: none; text-align: left; padding: 14px 16px; font-size: 14px; animation: bob 7s ease-in-out infinite alternate; }
.float--1 { left: 12px; top: 150px; width: 184px; gap: 12px; align-items: center; rotate: -4deg; }
.float--2 { left: 0; top: 318px; width: 188px; flex-direction: column; gap: 4px; rotate: 3deg; animation-delay: -3s; }
.float--3 { right: 12px; top: 140px; width: 184px; flex-direction: column; gap: 4px; rotate: 4deg; animation-delay: -2s; }
.float--4 { right: 0; top: 310px; width: 188px; gap: 12px; align-items: center; rotate: -3deg; animation-delay: -5s; }
.qr { flex: none; border-radius: 6px; background: #fff; }
.float .qr { border: 1px solid var(--line); }
.tick { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-weight: 700; }
@media (min-width: 1240px) { .float { display: flex; } }
@keyframes bob { from { translate: 0 -6px; } to { translate: 0 8px; } }

/* demo */
.demo { padding-bottom: 40px; }
.stage { border-radius: 32px; background-color: var(--soft); padding: clamp(16px, 3vw, 40px); display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.browser { flex: 999 1 560px; min-width: 0; overflow: hidden; border-radius: 18px; }
.browser__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #F7F8FA; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #D3D7DE; }
.browser__url { flex: 1; padding: 6px 14px; border-radius: 8px; background: #fff; border: 1px solid var(--line); color: var(--mut); font-size: 13px; }

.site { position: relative; min-height: 700px; background: var(--site); color: #fff; padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 32px; }
.site__nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--site-mut); }
.site__logo { font-weight: 600; font-size: 18px; color: #fff; letter-spacing: -.01em; }
.site__links { display: flex; gap: 20px; }
.site__links .is-current { color: #fff; border-bottom: 1px solid var(--coral); }
.site__hero { display: flex; flex-direction: column; gap: 10px; color: var(--site-mut); }
.site__title { color: #fff; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.05; max-width: 520px; }
.site__tickets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 16px; }
.tcard { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 16px; background: var(--site-2); }
.tcard--vip { outline: 1px solid var(--coral); }
.tcard b { font-size: 17px; }
.tcard p { color: var(--site-mut); }
.tcard__price { font-size: 24px; }
.site__btn { min-height: 46px; border: 0; border-radius: 10px; background: var(--coral); color: var(--site); font-weight: 600; font-size: 15px; transition: filter .2s; }
.site__btn:hover { filter: brightness(1.06); }
.site__btn--plain { background: #fff; }
.site__btn--pay { min-height: 50px; font-size: 16px; }
.js-pulse.is-pulsing { animation: pulse 2.2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 122, 89, .55); } 60% { box-shadow: 0 0 0 12px rgba(255, 122, 89, 0); } }

.checkout { position: absolute; inset: 0; background: rgba(10, 6, 30, .74); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); display: flex; padding: 16px; overflow-y: auto; animation: fade .25s ease-out both; }
.checkout__box { width: 100%; max-width: 430px; margin: auto; border-radius: 18px; background: #fff; color: var(--ink); padding: 22px; display: flex; flex-direction: column; gap: 14px; font-size: 14px; line-height: 1.45; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); animation: rise .35s ease-out both; outline: none; }
.checkout__event { font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.pane { display: flex; flex-direction: column; gap: 12px; animation: rise .3s ease-out both; }
.pane--busy { align-items: center; padding: 56px 0; gap: 16px; }
.pane__title { font-size: 26px; line-height: 1.1; }
.summary { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 12px; background: var(--bg); }
.summary__total { font-weight: 600; padding-top: 10px; border-top: 1px solid var(--line); }
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper b { min-width: 14px; text-align: center; }
.stepper button { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; font-size: 16px; line-height: 1; }
.stepper button:hover { border-color: rgba(15, 20, 32, .4); }
.methods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.methods button { min-height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; font-weight: 600; transition: background .2s, color .2s; }
.methods button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cardfields, .invfields, .banknote { border: 1px solid var(--line-2); border-radius: 10px; }
.cardfields { color: var(--mut); }
.cardfields > .row { padding: 10px 14px; border-bottom: 1px solid var(--line); }
.cardfields__2 { display: grid; grid-template-columns: 1fr 1fr; }
.cardfields__2 span { padding: 10px 14px; }
.cardfields__2 span:first-child { border-right: 1px solid var(--line); }
.banknote { padding: 12px 14px; color: var(--mut); }
.invfields { animation: rise .25s ease-out both; }
.invfields .row { padding: 10px 14px; }
.invfields .row + .row { border-top: 1px solid var(--line); }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; border: 0; background: none; text-align: left; }
.check__box { flex: none; width: 20px; height: 20px; border-radius: 6px; border: 1px solid rgba(15, 20, 32, .3); display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; transition: background .15s; }
.check[aria-pressed="true"] .check__box { background: var(--ink); border-color: var(--ink); }
.check[aria-pressed="true"] .check__box::after { content: '✓'; }
.spinner { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--soft); border-top-color: var(--coral); animation: spin .8s linear infinite; }
.ticket { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: 14px; background: var(--site); color: var(--site-mut); }
.ticket__name { font-size: 17px; color: #fff; }
.ticket .qr { border-radius: 8px; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

.log { flex: 1 1 300px; min-width: 0; padding: 24px; border-radius: 18px; display: flex; flex-direction: column; gap: 18px; font-size: 14px; line-height: 1.45; }
.log__title { font-size: 22px; letter-spacing: -.02em; line-height: 1.15; }
.log__list { display: flex; flex-direction: column; gap: 6px; }
.log__list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; opacity: .5; transition: opacity .4s, background .4s; }
.log__list i { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: var(--soft); color: var(--mut); transition: background .4s, color .4s; }
.log__list li.is-done { opacity: 1; background: var(--bg); }
.log__list li.is-done i { background: var(--ok); color: #fff; }

/* facts */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); margin-top: 24px; margin-bottom: 120px; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); width: calc(100% - 48px); max-width: 1152px; }
.facts > div { display: flex; flex-direction: column; gap: 4px; padding: 24px 24px 24px 0; font-size: 14px; }

/* skip stages */
.bignum { font-size: 40px; line-height: 1; }
.split__visual.tile { gap: 16px; }
.stages { display: flex; flex-direction: column; gap: 8px; }
.stages li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid transparent; transition: opacity .35s, background .35s, border-color .35s; }
.stages li > span { display: flex; gap: 12px; align-items: center; }
.stages li i { font-size: 13px; color: var(--mut); }
.stages .chip { background: var(--indigo); color: var(--acc-ink); }
.stages .chip::after { content: 'Shown'; }
.stages li.is-skipped { opacity: .55; background: transparent; border-color: rgba(15, 20, 32, .12); }
.stages li.is-skipped b { text-decoration: line-through; }
.stages li.is-skipped .chip { background: transparent; color: var(--mut); }
.stages li.is-skipped .chip::after { content: 'Skipped'; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); gap: 20px; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.flow__node { flex: 1 1 130px; display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 12px; font-size: 14px; }
.flow__node--you { outline: 2px solid var(--acc); }
.flow__arrow { color: var(--mut); }
.flow__note { padding: 14px 16px; border-radius: 12px; border: 1px dashed rgba(63, 76, 245, .5); font-size: 14px; }
.list { padding: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.list__head { padding: 0 4px 4px; }
.list__row { flex-wrap: wrap; padding: 12px; border-radius: 10px; background: var(--bg); transition: background .3s; min-height: 68px; }
.list__row.is-paid { background: var(--mint); }
.seat { display: flex; gap: 12px; align-items: center; }
.scanwrap { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.scan { flex: 1 1 200px; display: flex; flex-direction: column; justify-content: center; gap: 6px; min-height: 150px; padding: 22px; border-radius: 18px; background: var(--ok); color: #fff; transition: background .3s, color .3s; }
.scan.is-used { background: #FFD23F; color: var(--ink); }
.scan.is-flash { animation: rise .3s ease-out both; }
.scan__name { font-size: 28px; line-height: 1.05; }
.scanside { flex: 1 1 160px; display: flex; flex-direction: column; gap: 12px; justify-content: space-between; }
.scan__count { font-size: 32px; line-height: 1; }
.scan__count small { font-size: 16px; }

/* invoicing */
.docnote { min-height: 68px; max-width: 460px; }
.paper { padding: clamp(24px, 3vw, 40px); border-radius: 6px; display: flex; flex-direction: column; gap: 22px; font-size: 14px; }
.paper.is-swap { animation: rise .3s ease-out both; }
.paper__title { font-size: 28px; }
.paper__parties { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.paper__lines { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.paper__total { padding-top: 14px; border-top: 1px solid var(--line); font-weight: 600; font-size: 18px; }

/* admin */
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px; }
.acard { padding: 28px; border-radius: 24px; display: flex; flex-direction: column; gap: 24px; font-size: 14px; }
.acard__ui { display: flex; flex-direction: column; gap: 10px; min-height: 132px; }
.acard__text { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.acard h3 { font-size: 17px; font-weight: 600; }
.bar { display: flex; flex-direction: column; gap: 6px; }
.bar__track { height: 6px; border-radius: 3px; background: var(--soft); }
.bar__track i { display: block; height: 6px; border-radius: 3px; background: var(--ink); }
.bar--acc .bar__track i { background: var(--acc); }
.inset { padding: 10px 12px; border-radius: 10px; background: var(--bg); }
.inset--peach { background: var(--peach); }
.swatches { display: flex; gap: 8px; align-items: center; }
.swatches i { width: 28px; height: 28px; border-radius: 8px; }
.swatch--white { background: #fff; border: 1px solid var(--line-2); }

/* developers */
.console { align-self: stretch; display: flex; min-height: 360px; padding: 24px; border-radius: 18px; background: #171D2B; border: 1px solid #262E42; font-size: 14px; }
.devpane { flex: 1; min-width: 0; margin: 0; animation: rise .3s ease-out both; }
pre.devpane { font-size: 13px; line-height: 1.75; color: #D5DAE6; overflow-x: auto; }
pre .c { color: #7C859B; }
pre .s { color: #AAB2FF; }
.hooks { display: flex; flex-direction: column; gap: 8px; }
.hooks__head { color: #A9B1C2; padding-bottom: 6px; }
.hooks__row { flex-wrap: wrap; padding: 12px 14px; border-radius: 10px; background: #1C2333; min-height: 48px; }
.hooks__fail { display: flex; align-items: center; gap: 12px; }
.ok { color: #8EF0B4; }
.bad { color: #FFB39E; }
.console .ghost { color: var(--ink); }
.chat { display: flex; flex-direction: column; gap: 10px; }
.chat__me, .chat__ai { max-width: 88%; padding: 12px 14px; }
.chat__me { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: var(--acc); }
.chat__ai { align-self: flex-start; border-radius: 14px 14px 14px 4px; background: #1C2333; color: #D5DAE6; }
.chat__confirm { align-self: flex-start; max-width: 90%; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 14px; background: #fff; color: var(--ink); }
.chat__foot { color: #A9B1C2; }

/* roles */
.roles__title { max-width: 640px; margin-bottom: 48px; }
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 16px; }
.role { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 20px; background: var(--soft); }
.role h3 { font-size: 17px; font-weight: 600; }
.role ul { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--mut); }

/* security */
.security { gap: 48px; }
.security__head { max-width: 620px; }
.security__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 32px; font-size: 14px; }
.security__grid div { display: flex; flex-direction: column; gap: 8px; }
.security__grid h3 { font-size: 16px; font-weight: 600; }

/* cta + footer */
.cta { padding-top: 24px; padding-bottom: 136px; display: flex; flex-direction: column; gap: 24px; align-items: center; text-align: center; }
.cta__title { max-width: 760px; font-size: clamp(36px, 4.6vw, 62px); line-height: 1.03; }
.cta .lead { max-width: 520px; font-size: 18px; }
.footer { border-top: 1px solid var(--line); font-size: 14px; }
.footer .row { flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; }

/* small screens */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .hero { padding-top: 64px; }
  .section { padding-bottom: 88px; }
  .facts { margin-bottom: 88px; }
  .facts > div { padding: 18px 0; }
  .site { min-height: 760px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .facts { width: calc(100% - 32px); }
  .tile, .stage { border-radius: 22px; }
  .site__links { display: none; }
  .paper__parties { grid-template-columns: 1fr; }
}

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