:root {
  --red: #e10600;
  --red-d: #b80500;
  --ink: #131316;
  --gray: #5c5c66;
  --line: #e6e6ea;
  --bg-gray: #f4f4f6;
  --card: #f6f6f8;
  --dark: #0d0d0e;
  --font: "Manrope", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --wrap: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; margin: 14px 0 16px; }
h2 { font-size: clamp(24px, 3vw, 38px); font-weight: 800; margin: 0 0 14px; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 860px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.label { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--red); display: flex; align-items: center; gap: 10px; }
.label::before { content: ""; width: 26px; height: 2px; background: var(--red); }
.label--light { color: #fff; }
.label--light::before { background: var(--red); }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 8px; border: 1px solid transparent; font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer; transition: .2s; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-d); }
.btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { border-color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: #fff; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--sm { padding: 10px 18px; font-size: 14px; }

.tag { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin: 0 8px 8px 0; }
.tag--gray { color: var(--gray); }
.tag--topic { color: var(--gray); border: 1px solid var(--line); border-radius: 20px; padding: 3px 12px; text-decoration: none; }
.tag--topic:hover { color: var(--red); border-color: var(--red); }

/* header */
.hdr { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; gap: 28px; height: 76px; }
.hdr__logo img { height: 46px; width: auto; }
.hdr__nav { display: flex; gap: 26px; margin: 0 auto; }
.hdr__nav a { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.hdr__nav a:hover { color: var(--red); border-color: var(--red); }
.hdr__side { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.hdr__phone { font-family: var(--mono); font-size: 13px; text-decoration: none; }
.hdr__mail { font-size: 13px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.hdr__mail:hover { color: var(--red); border-color: var(--red); }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.burger span { width: 22px; height: 2px; background: var(--ink); }
.mnav { display: none; flex-direction: column; background: #fff; border-top: 1px solid var(--line); padding: 12px 24px 20px; }
.mnav a { padding: 10px 0; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
body.menu .mnav { display: flex; }

/* hero */
.hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background: url('/assets/img/hero.jpg') right center / cover no-repeat; opacity: .8; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0d0d0e 18%, rgba(13,13,14,.86) 45%, rgba(13,13,14,.25) 78%, rgba(13,13,14,.4)); }
.hero__in { position: relative; z-index: 1; padding: 84px 24px 72px; max-width: var(--wrap); margin: 0 auto; }
.hero h1 { font-size: clamp(34px, 5.4vw, 64px); margin: 18px 0 20px; }
.hero h1 span { color: var(--red); }
.hero__sub { color: #c9c9cf; max-width: 520px; font-size: 17px; }
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 44px; }
.hero__feats { list-style: none; display: flex; gap: 40px; flex-wrap: wrap; }
.hero__feats li { display: flex; gap: 12px; align-items: flex-start; color: #b9b9c0; font-size: 14px; }
.hero__feats .ico { font-size: 20px; filter: grayscale(1) brightness(2); }
.hero__side { position: absolute; right: 28px; top: 90px; z-index: 1; font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.55); text-align: right; border-right: 1px solid rgba(255,255,255,.3); padding-right: 14px; }

/* red stripe */
.stripe { background: var(--red); color: #fff; }
.stripe__in { display: flex; align-items: center; gap: 22px; padding: 18px 24px; flex-wrap: wrap; }
.stripe__ico { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.6); border-radius: 8px; display: grid; place-items: center; }
.stripe__label { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.stripe__date, .stripe__title { font-size: 18px; }
.stripe__date { border-left: 1px solid rgba(255,255,255,.4); padding-left: 22px; }
.stripe__title { border-left: 1px solid rgba(255,255,255,.4); padding-left: 22px; flex: 1; min-width: 220px; }
.stripe__speaker { display: flex; flex-direction: column; font-size: 12px; color: rgba(255,255,255,.85); }
.stripe__speaker b { font-size: 14px; color: #fff; }
.stripe .btn--ghost { border-color: rgba(255,255,255,.7); }

/* sections */
.sec { padding: 76px 0; }
.sec--gray { background: var(--bg-gray); }
.sec__head { display: flex; gap: 40px; justify-content: space-between; align-items: flex-end; margin-bottom: 36px; flex-wrap: wrap; }
.sec__head > div { max-width: 620px; }
.sec__head h2 { margin: 12px 0 0; }
.sec__note { color: var(--gray); max-width: 420px; margin: 0; }
.sec__all { font-weight: 700; text-decoration: none; white-space: nowrap; }
.sec__all:hover { color: var(--red); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.card { display: flex; flex-direction: column; background: var(--card); border-radius: 10px; overflow: hidden; text-decoration: none; transition: .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(13,13,14,.12); }
.card__img { position: relative; aspect-ratio: 16/7; overflow: hidden; }
.card__img--sm { aspect-ratio: 16/6; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__img b { position: absolute; left: 16px; bottom: 10px; font-family: var(--mono); font-size: 22px; color: #fff; }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.card__body strong { font-size: 17px; display: flex; justify-content: space-between; gap: 10px; }
.card__body strong span { color: var(--red); }
.card__body p { color: var(--gray); font-size: 14px; margin: 0; }

/* kb home */
.kbhome { display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: start; }
.kbhome__left h2 { margin: 12px 0 14px; }
.kbhome__left p { color: var(--gray); }
.tabs { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.tab { padding: 10px 18px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font: 600 14px var(--font); text-decoration: none; color: var(--ink); }
.tab--on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabs .sec__all { margin-left: auto; }

/* cta */
.cta { background: var(--dark); color: #fff; padding: 64px 0; }
.cta__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta p { color: #b9b9c0; max-width: 560px; margin: 0; }

/* pages */
.page { padding: 48px 0 84px; }
.page--center { text-align: center; }
.page__lead { color: var(--gray); font-size: 17px; max-width: 760px; }
.page--center .page__lead { margin: 0 auto 24px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--gray); margin-bottom: 22px; flex-wrap: wrap; }
.crumbs a { color: var(--gray); text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs a + a::before, .crumbs a + span::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs span { color: var(--ink); }

.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin: 34px 0; }
.cols2--wide { grid-template-columns: 1.6fr 1fr; gap: 44px; align-items: start; }
.block { background: var(--card); border-radius: 10px; padding: 26px 28px; }
.block h2 { font-size: 22px; }
.block--res { border-left: 4px solid var(--red); }
.check { list-style: none; }
.check li { padding: 8px 0 8px 30px; position: relative; }
.check li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 800; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 22px 0 40px; }
.steps li { background: var(--card); border-radius: 10px; padding: 20px; font-size: 14px; color: var(--gray); }
.steps b { display: block; font-family: var(--mono); color: var(--red); font-size: 18px; margin-bottom: 8px; }

.person { background: var(--card); border-radius: 10px; overflow: hidden; }
.person img { aspect-ratio: 16/8; object-fit: cover; width: 100%; }
.person strong { display: block; padding: 14px 18px 0; }
.person p { padding: 4px 18px 18px; color: var(--gray); font-size: 14px; margin: 0; }

.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 10px 0 0; color: var(--gray); }

/* lead form */
.lead { background: var(--card); border-radius: 12px; padding: 30px 32px; margin-top: 44px; max-width: 860px; }
.lead h3 { margin-bottom: 14px; }
.lead__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.lead label, .loginform label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.lead input[type=text], .lead textarea, .loginform input { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font: 400 15px var(--font); background: #fff; width: 100%; }
.lead input[type=email], .lead input[type=tel], .lead input[type=password], .lead input[type=url], .lead input[type=number], .lead input[type=file] { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font: 400 15px var(--font); background: #fff; width: 100%; }
.lead input[type=file] { padding: 10px 12px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; margin-bottom: 14px; }
.form__grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form__grid { grid-template-columns: 1fr; } }
.lead input:focus, .lead textarea:focus, .loginform input:focus { outline: 2px solid rgba(225,6,0,.35); border-color: var(--red); }
.lead .opt { color: var(--gray); font-weight: 400; }
.lead__consent { flex-direction: row !important; align-items: center; gap: 10px !important; font-weight: 400 !important; font-size: 13px; }
.lead__consent input { width: auto; }
.lead__ok { background: #e8f7ec; color: #1c7c3c; border-radius: 8px; padding: 12px 16px; margin-bottom: 14px; }
.lead__err { background: #fdecec; color: var(--red-d); border-radius: 8px; padding: 12px 16px; margin-bottom: 14px; }
.hp { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lead select, .loginform select { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font: 400 15px var(--font); background: #fff; width: 100%; }
.lead select:focus, .loginform select:focus { outline: 2px solid rgba(225,6,0,.35); border-color: var(--red); }
.checks { border: 0; padding: 0; margin: 0 0 14px; }
.checks legend { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.checks .lead__consent { display: inline-flex; margin: 0 18px 8px 0; }
.formnote { margin: 12px 0 0; color: var(--gray); font-size: 13px; }
.page__mut { margin: 18px 0 0; color: var(--gray); font-size: 14px; text-align: center; }
.page__mut a { color: var(--red); font-weight: 600; }
.oauth { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.oauth span { color: var(--gray); font-size: 13px; }
.oauth .btn--outline { border-radius: 20px; }
.oauth .btn--outline:hover { background: #fff5f5; }
.page__mut a { transition: color .18s ease; }
.page__mut a:hover { color: var(--red); }
.kbfilters { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; align-items: flex-end; }
.kbfilters label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: var(--gray); }
.kbfilters select { border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; font: 400 14px var(--font); background: #fff; }
.kbreset { text-decoration: none; }
.card__meta { display: block; color: var(--gray); font-size: 12px; margin-top: 6px; }
.card__tags { display: block; color: var(--red); font-size: 12px; margin-top: 4px; font-family: var(--mono); }
.card__tags--big { font-size: 14px; margin: 10px 0; }
.tag--lock { background: #fff4e5; color: #8a5a00; }
.cal { margin: 26px 0 34px; background: var(--card); border-radius: 12px; padding: 20px 22px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cal__head strong { font-size: 18px; text-transform: capitalize; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal__wd { font: 600 11px var(--mono); color: var(--gray); text-align: center; text-transform: uppercase; letter-spacing: .08em; padding: 4px 0; }
.cal__d { min-height: 64px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font-size: 12px; display: flex; flex-direction: column; gap: 4px; }
.cal__d b { font-size: 12px; color: var(--gray); }
.cal__d--empty { background: transparent; border-color: transparent; }
.cal__d--ev { border-color: var(--red); background: #fff5f5; }
.cal__d a { color: var(--red); font-weight: 700; text-decoration: none; font-size: 11px; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.regbox { margin-top: 0; padding: 24px; }
.regbox label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.regbox input[type=text], .regbox input[type=email], .regbox input[type=tel], .regbox select { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font: 400 15px var(--font); background: #fff; width: 100%; }
@media (max-width: 700px) { .cal__d { min-height: 44px; } .cal__d a { display: none; } .cal__d--ev::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); } }

/* events */
.evlist { display: flex; flex-direction: column; gap: 18px; margin: 22px 0 40px; }
.ev { display: grid; grid-template-columns: 260px 1fr 40px; gap: 24px; background: var(--card); border-radius: 10px; overflow: hidden; text-decoration: none; align-items: center; padding-right: 18px; transition: .25s; }
.ev:hover { box-shadow: 0 16px 36px rgba(13,13,14,.12); transform: translateY(-2px); }
.ev__img { aspect-ratio: 16/9; }
.ev__img img { width: 100%; height: 100%; object-fit: cover; }
.ev__body { padding: 18px 0; display: flex; flex-direction: column; gap: 6px; }
.ev__body strong { font-size: 19px; }
.ev__body p { color: var(--gray); font-size: 14px; margin: 0; }
.ev__meta { font-family: var(--mono); font-size: 12px; color: var(--ink); }
.ev__speaker { font-size: 13px; color: var(--gray); }
.ev__go { color: var(--red); font-size: 22px; }
.ev--done { opacity: .82; }
.empty { color: var(--gray); background: var(--card); border-radius: 10px; padding: 24px; }

/* event page */
.evmeta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 26px 0 36px; }
.evmeta div { background: var(--card); border-radius: 10px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.evmeta b { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); font-weight: 500; }
.evmeta span { font-weight: 700; }
.evmeta small { color: var(--gray); }
.speaker { background: var(--dark); color: #fff; border-radius: 10px; padding: 22px 24px; margin-bottom: 18px; }
.speaker b { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.speaker strong { display: block; font-size: 19px; margin: 6px 0; }
.speaker p { color: #b9b9c0; font-size: 14px; margin: 0; }
.note { color: var(--gray); font-size: 14px; }
.prose { font-size: 16px; max-width: 760px; }
.prose p { margin: 0 0 14px; }
.prose h2 { font-size: 24px; margin: 26px 0 10px; }

/* kb page */
.kbbar { display: flex; gap: 10px; margin: 26px 0 16px; max-width: 560px; }
.kbbar input { flex: 1; border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; font: 400 15px var(--font); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { border: 1px solid var(--line); border-radius: 20px; padding: 7px 14px; font-size: 13px; text-decoration: none; color: var(--gray); background: #fff; }
.chip:hover { color: var(--red); border-color: var(--red); }
.chip--on { background: var(--ink); border-color: var(--ink); color: #fff; }
.tabs--real { margin-bottom: 26px; }
.kbgrid .card__body p { min-height: 42px; }

/* material page */
.matmeta { color: var(--gray); font-size: 13px; font-family: var(--mono); }
.matimg { margin: 26px 0; }
.matimg img { border-radius: 10px; width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.matimg figcaption { font-size: 12px; color: var(--gray); margin-top: 8px; }
.caseblocks { display: grid; gap: 16px; margin: 26px 0; }
.caseperiod { font-family: var(--mono); font-size: 13px; color: var(--gray); }
.caseconf { font-size: 13px; color: var(--gray); }
.nextstep { background: var(--dark); color: #fff; border-radius: 12px; padding: 26px 30px; margin-top: 36px; }
.nextstep b { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.nextstep p { color: #c9c9cf; margin: 8px 0 16px; }

/* login */
.loginform { max-width: 380px; margin: 0 auto; text-align: left; background: var(--card); padding: 28px; border-radius: 12px; }

/* footer */
.ftr { background: var(--dark); color: #fff; padding: 56px 0 0; margin-top: 0; }
.ftr__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.ftr__brand { display: flex; gap: 16px; }
.ftr__logo { width: 52px; height: 52px; background: #fff; border-radius: 10px; display: grid; place-items: center; flex: none; }
.ftr__logo img { width: 44px; height: 44px; object-fit: contain; }
.ftr__brand strong { font-size: 18px; letter-spacing: .02em; }
.ftr__brand i { color: var(--red); font-style: normal; }
.ftr__brand p { color: #9a9aa2; font-size: 13px; margin: 6px 0 0; }
.ftr__nav, .ftr__contacts { display: flex; flex-direction: column; gap: 10px; }
.ftr__nav a, .ftr__contacts a { color: #c9c9cf; text-decoration: none; font-size: 14px; }
.ftr__nav a:hover, .ftr__contacts a:hover { color: var(--red); }
.ftr__bottom { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255,255,255,.12); padding: 18px 24px; color: #77777f; font-size: 12px; flex-wrap: wrap; }
.ftr__bottom a { color: #9a9aa2; }
.ftr__sub strong { font-size: 15px; display: block; margin-bottom: 10px; }
.subform { display: flex; gap: 8px; flex-wrap: wrap; }
.subform input[type=email] { flex: 1 1 160px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; border-radius: 8px; padding: 10px 12px; font: 400 14px var(--font); }
.subform input[type=email]::placeholder { color: #8b8b93; }
.subform__msg { background: rgba(255,255,255,.12); border-radius: 8px; padding: 8px 12px; font-size: 13px; margin-bottom: 10px; }
.subform__consent { flex: 1 0 100%; display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: #9a9aa2; cursor: pointer; }
.subform__consent input { margin-top: 2px; accent-color: var(--red); }
.subform__consent a { color: #c9c9cf; }
.ftr__subnote { color: #77777f; font-size: 12px; margin: 10px 0 0; }

@media (max-width: 960px) {
  .hdr__nav, .hdr__side .hdr__phone, .hdr__mail { display: none; }
  .burger { display: flex; }
  .hdr__side { margin-left: auto; gap: 10px; }
  .grid3, .grid2, .cols2, .cols2--wide { grid-template-columns: 1fr; }
  .kbhome { grid-template-columns: 1fr; gap: 26px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .evmeta { grid-template-columns: 1fr; }
  .ev { grid-template-columns: 1fr; padding-right: 0; }
  .ev__body { padding: 18px 20px 22px; }
  .ev__go { display: none; }
  .hero__side { display: none; }
  .ftr__in { grid-template-columns: 1fr; gap: 26px; }
  .stripe__in { gap: 12px; }
  .stripe__date, .stripe__title { border: 0; padding: 0; }
}
@media (max-width: 560px) {
  .steps, .lead__grid { grid-template-columns: 1fr; }
  .hero__in { padding: 56px 20px 48px; }
  .hero__feats { gap: 14px 22px; }
  .hero__btns .btn, .hero__btns .specular-button { width: 100%; justify-content: center; }
  .hdr__in { gap: 12px; }
  .ev__actions { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .block > table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
  .tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
.ac { position: relative; flex: 1 1 220px; }
.ac input { width: 100%; }
.ac__list { position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 28px rgba(20,20,25,.12); z-index: 30; overflow: hidden; }
.ac__list a { display: block; padding: 10px 14px; font-size: 14px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.ac__list a:last-child { border-bottom: 0; }
.ac__list a:hover { background: #fff5f5; color: var(--red); }
.hist { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0 4px; font-size: 13px; }
.hist__label { color: var(--gray); }
.lnk { background: none; border: 0; padding: 0; color: var(--red); font: 600 13px var(--font); cursor: pointer; text-decoration: underline; }
.share { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 26px 0 6px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.share__label { color: var(--gray); }
.share a { color: var(--red); text-decoration: none; font-weight: 600; }
.share a:hover { text-decoration: underline; }
.acc__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 900px) { .acc__grid { grid-template-columns: 1fr; } }
.reflink { width: 100%; font: 400 13px var(--mono); border: 1px dashed var(--line); border-radius: 8px; padding: 10px 12px; background: #fff; color: var(--ink); }
table td small { color: var(--gray); }
table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 10px; overflow: hidden; font-size: 14px; margin: 14px 0; box-shadow: 0 1px 0 var(--line); }
th, td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; word-break: break-word; }
th { font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gray); background: #f7f7f8; }
tr:last-child td { border-bottom: 0; }
.tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tscroll table { min-width: 520px; }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.anim { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.anim.in { opacity: 1; transform: none; }
.hero .hero__in { animation: none; }
.btn { transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.card { transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(20,20,25,.10); }
.cal__d { transition: transform .12s ease; }
.cal__d--ev:hover { transform: scale(1.04); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .anim { opacity: 1; transform: none; }
}
/* --- полировка анимаций --- */
.page > .wrap > .label { animation: fade-up .45s cubic-bezier(.2,.7,.2,1) both; }
.page > .wrap > h1 { animation: fade-up .5s cubic-bezier(.2,.7,.2,1) .04s both; }
.page > .wrap > .page__lead { animation: fade-up .5s cubic-bezier(.2,.7,.2,1) .1s both; }
.page--center h1 { animation: fade-up .5s cubic-bezier(.2,.7,.2,1) .05s both; }
.page--center .page__lead { animation: fade-up .5s cubic-bezier(.2,.7,.2,1) .12s both; }
.page--center .loginform, .regform { animation: fade-up .55s cubic-bezier(.2,.7,.2,1) .2s both; }
.page--center .page__mut { animation: fade-up .5s cubic-bezier(.2,.7,.2,1) .3s both; }
.page--center .oauth { animation-delay: .36s; }
.loginform, .regform, .lead { box-shadow: 0 18px 44px rgba(20,20,25,.07); transition: box-shadow .3s ease; }
.loginform:focus-within, .regform:focus-within { box-shadow: 0 22px 54px rgba(20,20,25,.12); }
.lead label, .loginform label, .regbox label { color: var(--ink); transition: color .2s ease; }
.lead label:focus-within, .loginform label:focus-within, .regbox label:focus-within { color: var(--red); }
.lead input[type=text], .lead input[type=email], .lead input[type=tel], .lead textarea, .lead select,
.loginform input, .regbox input, .regbox select, .kbbar input[type=search] { transition: border-color .2s ease, box-shadow .2s ease; }
.lead input:focus, .lead textarea:focus, .lead select:focus,
.loginform input:focus, .regbox input:focus, .kbbar input[type=search]:focus { box-shadow: 0 0 0 3px rgba(225,6,0,.12); }
.btn--red { position: relative; overflow: hidden; }
.btn--red::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.28) 50%, transparent 68%); transform: translateX(-130%); pointer-events: none; }
.btn--red:hover::after { transform: translateX(130%); transition: transform .65s ease; }
.hdr__nav a { position: relative; border-bottom: 0 !important; }
.hdr__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.hdr__nav a:hover { color: var(--red); }
.hdr__nav a:hover::after { transform: scaleX(1); }
.hdr__nav a.on { color: var(--red); }
.hdr__nav a.on::after { transform: scaleX(1); }
.card__img img { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__img img { transform: scale(1.045); }
.chip { transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease; }
.chip:hover { transform: translateY(-1px); }
.anim { transition-timing-function: cubic-bezier(.2,.7,.2,1); transition-duration: .55s; }
.flash, .lead__err, .lead__ok { animation: fade-up .35s ease both; }
.lead__err { animation: fade-up .3s ease both, shake .4s ease .3s; }
@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-3px); } }
#scrollprogress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--red), #ff5a3c); z-index: 200; pointer-events: none; transition: width .12s linear; }
.cal__d a { transition: color .15s ease; }
.cal__d a:hover { text-decoration: underline; }
table tr { transition: background .15s ease; }
table tr:hover td { background: #fafafa; }
.nextstep { transition: transform .25s ease, box-shadow .25s ease; }
.nextstep:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(20,20,25,.08); }
.share a, .share .lnk { transition: transform .15s ease, color .15s ease; display: inline-block; }
.share a:hover { transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) {
  .page--center h1, .page--center .page__lead, .page--center .loginform, .regform,
  .page--center .page__mut, .flash, .lead__err, .lead__ok { animation: none; }
  .btn--red::after, #scrollprogress { display: none; }
}
/* --- дизайн-патч v2 --- */
html { scroll-behavior: smooth; }
.btn { position: relative; overflow: hidden; }
.hero .label { animation: fade-up .6s cubic-bezier(.2,.7,.2,1) .05s both; }
.hero h1 { animation: fade-up .65s cubic-bezier(.2,.7,.2,1) .14s both; }
.hero__sub { animation: fade-up .6s cubic-bezier(.2,.7,.2,1) .24s both; }
.hero__btns { animation: fade-up .6s cubic-bezier(.2,.7,.2,1) .34s both; }
.hero__feats { animation: fade-up .6s cubic-bezier(.2,.7,.2,1) .44s both; }
.hero__bg { animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
.hero__bg::before { content: ""; position: absolute; inset: -20%; background: radial-gradient(38% 46% at 72% 34%, rgba(225,6,0,.32), transparent 70%); animation: glow-drift 9s ease-in-out infinite alternate; z-index: 1; }
@keyframes glow-drift { from { transform: translate(-4%, 3%); opacity: .7; } to { transform: translate(5%, -4%); opacity: 1; } }
.hero__bg::after { z-index: 2; }
.hero__in { z-index: 3; }
.hero__side { z-index: 3; animation: fade-up .8s .6s both; }
.hero h1 .gradient-text { color: transparent; }
.stripe { background: linear-gradient(100deg, var(--red), #ff4d1f, var(--red)); background-size: 220% 100%; animation: stripe-slide 7s ease-in-out infinite alternate; }
@keyframes stripe-slide { from { background-position: 0 0; } to { background-position: 100% 0; } }
.stripe__ico { transition: transform .3s cubic-bezier(.34,1.56,.64,1); animation: ico-bob 2.6s ease-in-out infinite; }
@keyframes ico-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.stripe:hover .stripe__ico { animation-play-state: paused; transform: scale(1.12) rotate(-4deg); }
.hdr { transition: box-shadow .3s ease, background .3s ease; }
.hdr.scrolled { box-shadow: 0 8px 26px rgba(20,20,25,.10); }
.hdr__logo img { transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.hdr__logo:hover img { transform: scale(1.06) rotate(-6deg); }
.burger span { transition: transform .25s ease, opacity .25s ease; }
body.menu .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu .burger span:nth-child(2) { opacity: 0; }
body.menu .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.madeby { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: #b9b9c0; font-weight: 600; }
.hdr__out { border-color: #d9d9de; color: var(--gray); }
.hdr__out:hover { border-color: var(--red); color: var(--red); }
.madeby a { font-size: 18px; font-weight: 800; letter-spacing: .02em; color: #fff; background: var(--red); border-radius: 9px; padding: 4px 12px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.madeby a:hover { transform: translateY(-2px); background: #ff3b1f; box-shadow: 0 8px 22px rgba(225,6,0,.45); }
.ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.5); transform: scale(0); animation: ripple .55s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }
.ftr__nav a, .ftr__contacts a { transition: color .18s ease, transform .18s ease; }
.ftr__nav a:hover, .ftr__contacts a:hover { transform: translateX(3px); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f1f1f3; }
::-webkit-scrollbar-thumb { background: #d9d9de; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }
html { scrollbar-width: thin; scrollbar-color: #d9d9de #f1f1f3; }
.sec__head h2 { position: relative; display: inline-block; }
.btn--ghost { transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.tag--topic { transition: color .18s ease, border-color .18s ease, transform .18s ease; }
.tag--topic:hover { transform: translateY(-1px); }
body.menu .mnav a { animation: fade-up .3s cubic-bezier(.2,.7,.2,1) both; }
body.menu .mnav a:nth-child(1) { animation-delay: .02s; }
body.menu .mnav a:nth-child(2) { animation-delay: .07s; }
body.menu .mnav a:nth-child(3) { animation-delay: .12s; }
body.menu .mnav a:nth-child(4) { animation-delay: .17s; }
body.menu .mnav a:nth-child(5) { animation-delay: .22s; }
body.menu .mnav a:nth-child(6) { animation-delay: .27s; }
body.menu .mnav a:nth-child(7) { animation-delay: .32s; }
body.menu .mnav a { border-bottom: 1px solid var(--line); transition: color .18s ease; }
body.menu .mnav a:hover { color: var(--red); }
/* --- PulseHeart (лайки) --- */
.pulse-heart {
  --ph-size: 32px; --ph-corner: 32px; --ph-pill: #232326; --ph-idle: #8b8b93;
  --ph-liked: #ff4d6d; --ph-text: #f5f5f5; --ph-roll: 350ms;
  --ph-stroke: calc(var(--ph-size) * 1.5 / 24); --ph-ease-out: cubic-bezier(.23,1,.32,1);
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  margin: 0; padding: 0; border: 0; border-radius: var(--ph-corner); background: none;
  color: var(--ph-text); font-family: inherit; cursor: pointer; user-select: none;
  -webkit-user-select: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; outline: none;
  transition: transform 160ms var(--ph-ease-out);
}
.pulse-heart[data-pressed] { transform: scale(.95); }
.pulse-heart:focus-visible { outline: 2px solid rgba(255,77,109,.6); outline-offset: 3px; }
.pulse-heart__pill {
  display: inline-flex; align-items: center; gap: calc(var(--ph-size) * .25);
  padding: calc(var(--ph-size) * .22); padding-inline-end: calc(var(--ph-size) * .38);
  border-radius: var(--ph-corner); background: var(--ph-pill); transform-origin: center;
}
.pulse-heart__heart { display: block; width: var(--ph-size); height: var(--ph-size); color: var(--ph-idle); transform-origin: center; transition: color 160ms ease; }
.pulse-heart__heart svg { display: block; width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: var(--ph-stroke); stroke-linecap: round; stroke-linejoin: round; }
.pulse-heart[data-liked='true'] .pulse-heart__heart svg { fill: currentColor; }
.pulse-heart[data-liked='true'] .pulse-heart__heart { color: var(--ph-liked); }
.pulse-heart[data-running] .pulse-heart__heart { transition: none; }
@media (hover: hover) and (pointer: fine) {
  .pulse-heart:not([data-liked='true']):hover .pulse-heart__heart { color: #d16a7b; }
}
.pulse-heart__count { display: inline-flex; font-size: calc(var(--ph-size) * .5); font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ph-text); min-width: 1ch; }
.pulse-heart__count.pop { animation: ph-pop .3s var(--ph-ease-out); }
@keyframes ph-pop { 0% { transform: translateY(6px); opacity: 0; } 100% { transform: none; opacity: 1; } }
@media (pointer: coarse) { .pulse-heart { min-width: 44px; min-height: 44px; } }
.ev { position: relative; }
.ev__link { position: absolute; inset: 0; z-index: 1; }
.ev > .ev__img, .ev > .ev__body, .ev > .ev__go { position: relative; z-index: 0; pointer-events: none; }
.ev__like { display: inline-flex; position: relative; z-index: 2; pointer-events: auto; margin-top: 12px; }
.ev__actions { display: flex; align-items: center; gap: 12px; margin: 10px 0 16px; }
.ev__likesnote { color: var(--gray); font-size: 13px; }
/* --- Треды-фон на входе/регистрации --- */
.page--threads { position: relative; background: #0c0c0f; color: #fff; overflow: hidden; }
.wtbg { position: absolute; inset: 0; overflow: hidden; }
.wtbg__canvas { width: 100%; height: 100%; display: block; }
.page--threads > .wrap { position: relative; z-index: 1; }
.page--threads h1 { color: #fff; }
.page--threads .page__lead { color: #c9c9cf; }
.page--threads .label { color: #ff8a95; }
.page--threads .label::before { background: var(--red); }
.page--threads .page__mut { color: #9a9aa2; }
.page--threads .page__mut a { color: #e6e6ea; }
.page--threads .page__mut a:hover { color: var(--red); }
.page--threads .loginform, .page--threads .lead { background: rgba(255,255,255,.97); }
@media (prefers-reduced-motion: reduce) { .pulse-heart, .pulse-heart__heart { transition: none; } }
/* --- SpecularButton --- */
.specular-button {
  --sb-radius: 18px; --sb-text-color: #f5f5f5;
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  border: none; margin: 0; font-family: var(--font); font-weight: 600; letter-spacing: .01em; line-height: 1;
  color: var(--sb-text-color); border-radius: var(--sb-radius); text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 8px 24px rgba(0,0,0,.25);
  cursor: pointer; outline: none; transition: transform .15s ease, background .25s ease;
  background: rgba(255,255,255,.03);
}
.specular-button:active { transform: scale(.96); }
.specular-button:focus-visible { outline: 2px solid rgba(255,255,255,.6); outline-offset: 3px; }
.specular-button--sm { font-size: .85rem; padding: 10px 22px; }
.specular-button--md { font-size: 1rem; padding: 14px 30px; }
.specular-button--lg { font-size: 1.15rem; padding: 18px 40px; }
.specular-button__fx { position: absolute; inset: -20px; pointer-events: none; z-index: 1; overflow: visible; }
.specular-button__fx canvas { display: block; }
.specular-button__label { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; }
.specular-button:hover { background: rgba(255,255,255,.09); }
.specular-button--fallback { background: var(--red); border: 2px solid #fff; }
.specular-button--fallback:hover { background: var(--red-d); }
@media (max-width: 700px) { .specular-button--lg { font-size: 1rem; padding: 15px 28px; } }
/* --- GradientText (port react-bits) --- */
.gradient-text {
  background-image: linear-gradient(to right, #F43F5E, #ffffff, #EF4444, #EF4444, #F43F5E);
  background-size: 300% 100%;
  background-repeat: repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gradient-pan 8.5s ease-in-out infinite alternate;
}
@keyframes gradient-pan {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}
.hero h1 span { color: transparent; -webkit-text-fill-color: transparent; }
/* --- CardSwap (port react-bits + gsap → rAF) --- */
.card-swap-wrap { display: flex; justify-content: center; margin-top: 40px; padding: 120px 0 110px; overflow: hidden; }
.card-swap {
  --cs-w: min(560px, calc(100vw - 44px)); --cs-h: 370px; --cs-dx: 80px; --cs-dy: 85px;
  position: relative; width: var(--cs-w); height: var(--cs-h); flex: none; perspective: 1000px;
  transform: translate(calc(var(--cs-dx) / -2), calc(var(--cs-dy) / 2));
}
.card-swap-card {
  position: absolute; top: 50%; left: 50%; width: var(--cs-w); height: var(--cs-h);
  border-radius: 14px; background: #101013; border: 1px solid rgba(255,255,255,.85);
  transform-style: preserve-3d; will-change: transform; backface-visibility: hidden;
  box-shadow: 0 26px 56px rgba(13,13,14,.3); overflow: hidden; color: #fff;
}
.card-swap .card-swap-card:nth-child(1){ transform: translate(-50%,-50%); z-index:3; }
.card-swap .card-swap-card:nth-child(2){ transform: translate(-50%,-50%) translate3d(var(--cs-dx), calc(var(--cs-dy) * -1), calc(var(--cs-dx) * -1.5)) skewY(6deg); z-index:2; }
.card-swap .card-swap-card:nth-child(3){ transform: translate(-50%,-50%) translate3d(calc(var(--cs-dx) * 2), calc(var(--cs-dy) * -2), calc(var(--cs-dx) * -3)) skewY(6deg); z-index:1; }
.card-swap-card .card__img { aspect-ratio: 16/8; }
.card-swap-card .card__body { padding: 24px 28px 28px; gap: 10px; }
.card-swap-card .card__body strong { font-size: 21px; }
.card-swap-card .card__body p { font-size: 15px; }
.card-swap-card .card__img b { font-size: 26px; }
.card-swap-card .card__body strong { color: #fff; }
.card-swap-card .card__body p { color: #b9b9c0; }
.card-swap-card .card__body strong span { color: #ff5a5a; }
@media (max-width: 900px) {
  .card-swap-wrap { padding: 84px 0 70px; }
  .card-swap { --cs-h: 330px; --cs-dx: 56px; --cs-dy: 60px; }
  .card-swap-card .card__body { padding: 20px 22px 22px; }
  .card-swap-card .card__body strong { font-size: 19px; }
  .card-swap-card .card__body p { font-size: 14px; }
}
@media (max-width: 560px) {
  .card-swap-wrap { padding: 64px 0 56px; margin-top: 20px; }
  .card-swap { --cs-h: 340px; --cs-dx: 42px; --cs-dy: 46px; }
}
@media (prefers-reduced-motion: reduce) { .gradient-text { animation: none; background-position: 50% 50%; } }
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .gradient-text { color: #fff; -webkit-text-fill-color: initial; background: none; animation: none; }
}
@media (pointer: coarse) {
  .btn--sm { min-height: 40px; }
  .cal__d { min-height: 40px; }
  .hist a.chip, .chips .chip { padding: 9px 16px; }
  .lnk { padding: 6px 2px; }
}
/* ===== мобильная версия ===== */
@media (max-width: 960px) {
  .wrap { padding: 0 20px; }
  .sec { padding: 52px 0; }
  .page { padding: 36px 0 60px; }
  .sec__head { gap: 16px; align-items: flex-start; margin-bottom: 24px; }
  .sec__note { max-width: none; }
  .cta { padding: 44px 0; }
  .lead { padding: 24px 22px; margin-top: 32px; }
  .block { padding: 22px 20px; }
  .nextstep { padding: 22px; }
  .ftr { padding-top: 40px; }
  .cols2 { margin: 24px 0; gap: 18px; }
  .hero h1 { font-size: clamp(28px, 7vw, 44px); }
  .hero__sub { font-size: 15px; }
  .hero__btns { margin: 24px 0 32px; }
  .hero__bg, .hero__bg::before { animation: none; }
  .stripe { animation: none; background: var(--red); }
  .stripe__ico { animation: none; }
  .kbbar { flex-wrap: wrap; }
  .kbfilters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: end; }
  .kbfilters label { min-width: 0; }
  .kbfilters select { width: 100%; }
  .kbfilters .btn, .kbfilters .kbreset { width: 100%; justify-content: center; text-align: center; }
  .cal { padding: 14px; }
  .ev__body strong { font-size: 17px; }
  .ev__img { aspect-ratio: 16/8; }
}
@media (max-width: 640px) {
  input, select, textarea { font-size: 16px !important; }
  .hdr__side .btn--sm { display: none; }
  .hdr__in { height: 62px; gap: 10px; }
  .hdr__logo img { height: 38px; }
  .grid3, .grid2 { gap: 14px; }
  .card__body { padding: 16px 18px 20px; }
  .card__body strong { font-size: 16px; }
  .lead { padding: 20px 16px; }
  .loginform { padding: 22px 18px; }
  .kbbar { flex-direction: column; max-width: none; }
  .kbbar .ac { flex: none; width: 100%; }
  .kbbar .btn { width: 100%; justify-content: center; }
  .kbfilters { grid-template-columns: 1fr; }
  .evlist { gap: 14px; }
  .stripe__in { padding: 16px 20px; }
  .stripe__ico { display: none; }
  .stripe__date, .stripe__title, .stripe__speaker { font-size: 15px; }
  .page__lead { font-size: 15px; }
  .ftr__in { gap: 22px; padding-bottom: 28px; }
  .ftr__bottom { padding: 16px 0; flex-direction: column; gap: 12px; }
  .madeby { font-size: 13px; }
  .madeby a { font-size: 15px; }
  .share { gap: 10px 16px; }
  .card-swap-wrap { padding: 56px 0 44px; }
  .steps { grid-template-columns: 1fr; }
  .evmeta { gap: 12px; }
  h1 { font-size: clamp(24px, 6.5vw, 34px); }
  h2 { font-size: clamp(21px, 5vw, 28px); }
  .block h2 { font-size: 19px; }
  .prose { font-size: 15px; }
  .matimg img { aspect-ratio: 16/9; }
  .regbox { padding: 18px 16px; }
  .speaker { padding: 18px; }
  .oauth { gap: 8px; }
  .oauth .btn--sm { flex: 1 1 120px; justify-content: center; }
  .crumbs { font-size: 12px; gap: 4px; margin-bottom: 16px; }
  .hist { gap: 6px; }
  .empty { padding: 18px; }
  .person img { aspect-ratio: 16/7; }
  .faq details { padding: 12px 0; }
  .checks .lead__consent { display: flex; margin: 0 0 10px; }
}
@media (max-width: 400px) {
  .wrap { padding: 0 16px; }
  .hero__in { padding: 44px 16px 40px; }
  .hero h1 { font-size: 26px; }
  .specular-button--lg { font-size: .95rem; padding: 15px 20px; }
  .cal__grid { gap: 4px; }
  .cal__d { padding: 4px 2px; font-size: 11px; }
  .cal__d b { font-size: 11px; }
}
