
/* Layout concept: a box-office ticket. Cobalt "night" bands alternate with ticket-paper bands; every section is cut like a stub, with perforations between them. One loud moment: the seat map filling to a SOLD OUT stamp. */
:root {
  --cobalt: #2433FF;
  --cobalt-deep: #1621B8;
  --paper: #FFF4E0;
  --paper-2: #F7E6C6;
  --ink: #0E0F2C;
  --pink: #FF3D8B;
  --lemon: #FFE14D;
  --muted: #5B5A73;
  --line: rgba(14, 15, 44, .16);
  --on-cobalt-muted: rgba(255, 255, 255, .72);

  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-body: "Golos Text", "Segoe UI", Roboto, system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--lemon); outline-offset: 3px; border-radius: 4px; }
.on-paper :focus-visible { outline-color: var(--cobalt); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; font-size: 12.5px; }
h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; margin: 0; line-height: 1.04; letter-spacing: -.01em; }
h2 { font-size: clamp(25px, 4.6vw, 58px); font-weight: 900; text-transform: uppercase; }
h3 { font-size: 20px; font-weight: 700; line-height: 1.2; }
p { margin: 0; }
.lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 60ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); }
@media (max-width: 420px) { .mono { font-size: 11.5px; }}
/* ---------- Buttons ---------- */
.btn {
  --bg: var(--pink); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 26px;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-display); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .02em;
  text-decoration: none; border: 0; border-radius: 999px; cursor: pointer;
  box-shadow: 0 0 0 2px var(--ink), 4px 4px 0 2px var(--ink);
  transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.btn svg { width: 18px; height: 18px; flex: none; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translate(-2px, -2px); box-shadow: 0 0 0 2px var(--ink), 6px 6px 0 2px var(--ink); }
}
.btn:active { transform: translate(2px, 2px) scale(.98); box-shadow: 0 0 0 2px var(--ink), 1px 1px 0 2px var(--ink); }
.btn--ghost { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
@media (hover: hover) and (pointer: fine) {
  .btn--ghost:hover { transform: none; box-shadow: inset 0 0 0 2px #fff; }
}
.btn--ghost:active { transform: scale(.98); box-shadow: inset 0 0 0 2px #fff; }
.btn--lemon { --bg: var(--lemon); }
@media (max-width: 420px) { .btn {padding: 0 15px;font-size: 13px;} }
/* ---------- Header ---------- */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--cobalt); color: #fff;
  border-bottom: 2px solid var(--ink);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 900; font-size: 20px; letter-spacing: -.01em; }
.logo-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--pink); color: var(--ink); font-size: 12px; transform: rotate(-12deg); box-shadow: 0 0 0 2px var(--ink); }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; opacity: .85; transition: opacity 150ms ease; }
.nav a:hover { opacity: 1; }
.top .btn { min-height: 44px; padding: 0 18px; font-size: 13px; }
@media (max-width: 960px) { .nav { display: none; } }
@media (max-width: 520px) { .top .btn { display: none; } }

/* ---------- Hero ---------- */
.hero { background: var(--cobalt); color: #fff; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.14) 1.2px, transparent 1.4px);
  background-size: 22px 22px;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 110px); }
.hero-copy { display: grid; gap: 26px; min-width: 0; }
.hero .eyebrow { color: var(--lemon); }
.hero h1 { font-size: clamp(26px, 5vw, 68px); hyphens: manual; font-weight: 900; text-transform: uppercase; line-height: .98; }
.hero h1 .hl { color: var(--lemon); display: inline-block; }
.hero h1 .strike { position: relative; white-space: nowrap; }
.hero .lead { color: var(--on-cobalt-muted); }
.hero .lead strong { color: #fff; font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--on-cobalt-muted); font-size: 14px; }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--lemon); }

/* Ticket */
.ticket {
  --notch: 16px;
  position: relative; min-width: 0;
  background: var(--paper); color: var(--ink);
  border-radius: 18px;
  box-shadow: 10px 10px 0 var(--ink);
  transform: rotate(2.2deg);
  -webkit-mask: radial-gradient(circle var(--notch) at 0 66%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--notch) at 100% 66%, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle var(--notch) at 0 66%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--notch) at 100% 66%, transparent 98%, #000) right / 51% 100% no-repeat;
}
.ticket-shadow { position: relative; filter: drop-shadow(10px 10px 0 var(--ink)); transform: rotate(2.2deg); }
.ticket-shadow .ticket { box-shadow: none; transform: none; }
.t-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px 0; }
.t-head .mono { color: var(--muted); }
.t-title { padding: 10px 22px 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(20px, 2.2vw, 26px); text-transform: uppercase; line-height: 1.05; }
.t-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px 22px 0; }
.t-meta div { display: grid; gap: 2px; }
.t-meta b { font-family: var(--f-mono); font-size: 15px; font-weight: 700; }
.t-meta .mono { font-size: 10.5px; color: var(--muted); }
.stage { margin: 18px 22px 0; height: 8px; border-radius: 0 0 40px 40px; background: var(--ink); position: relative; }
.stage::after { content: "СЦЕНА"; position: absolute; left: 50%; top: 10px; transform: translateX(-50%); font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .3em; color: var(--muted); }
.seats { display: grid; grid-template-columns: repeat(14, 1fr); gap: 5px; padding: 30px 22px 0; }
.seat { aspect-ratio: 1; border-radius: 3px 3px 5px 5px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); transition: background-color 180ms ease, box-shadow 180ms ease; }
.seat.sold { background: var(--pink); box-shadow: inset 0 0 0 1.5px rgba(14,15,44,.35); }
.perf { margin: 22px 0 0; border-top: 2.5px dashed rgba(14,15,44,.28); }
.t-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 16px 22px 22px; }
.t-foot .mono { color: var(--muted); }
.meter { display: grid; gap: 4px; }
.meter b { font-family: var(--f-display); font-weight: 900; font-size: clamp(38px, 4.4vw, 54px); line-height: 1; font-variant-numeric: tabular-nums; }
.barcode { width: 112px; height: 46px; flex: none;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px); }
.stamp {
  position: absolute; right: 8%; top: 36%;
  padding: 10px 18px; border: 4px solid var(--pink); border-radius: 10px;
  color: var(--pink); font-family: var(--f-display); font-weight: 900; font-size: clamp(26px, 3.2vw, 40px); letter-spacing: .02em; line-height: 1;
  background: rgba(255,244,224,.82);
  transform: rotate(-14deg); opacity: 1;
  box-shadow: inset 0 0 0 3px rgba(255,61,139,.25);
  pointer-events: none;
}
.stamp.is-pending { opacity: 0; transform: rotate(-14deg) scale(1.35); }
.stamp.is-landing { transition: opacity 160ms ease-out, transform 360ms cubic-bezier(.2, 1.4, .4, 1); }
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .ticket-shadow { max-width: 460px; width: 100%; justify-self: center; transform: rotate(1.4deg); }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--lemon); border-block: 2px solid var(--ink); overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 22px; padding: 16px 11px; font-family: var(--f-display); font-weight: 700; font-size: 18px; text-transform: uppercase; white-space: nowrap; }
.marquee-track span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 2px var(--ink); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Sections ---------- */
.sec { padding-block: clamp(64px, 9vw, 120px); }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 60px); max-width: 860px; }
.sec-head .lead { color: var(--muted); }
.band-cobalt { background: var(--cobalt); color: #fff; }
.band-cobalt .sec-head .lead { color: var(--on-cobalt-muted); }
.band-ink { background: var(--ink); color: #fff; }
.band-ink .sec-head .lead { color: rgba(255,255,255,.7); }
.cut { height: 0; border-top: 3px dashed var(--ink); opacity: .35; }

/* Pains */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pain {
  display: grid; gap: 12px; align-content: start;
  padding: 26px 24px 28px; background: #fff; border: 2px solid var(--ink); border-radius: 16px;
  position: relative;
}
.pain .tag { justify-self: start; padding: 5px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink); }
.pain p { color: var(--muted); font-size: 16px; }
.pain .fix { color: var(--ink); font-weight: 600; font-size: 15px; padding-top: 12px; border-top: 1.5px dashed var(--line); }
.pain .fix::before { content: "Что делаем: "; color: var(--cobalt); }
@media (max-width: 960px) { .pains { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .pains { grid-template-columns: 1fr; } }
.pains-cta { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; padding: 26px; border-radius: 16px; background: var(--ink); color: #fff; }
.pains-cta p { flex: 1 1 320px; font-family: var(--f-display); font-weight: 700; font-size: clamp(18px, 2vw, 24px); line-height: 1.2; }

/* Services */
.services { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.svc { grid-column: span 4; display: grid; gap: 14px; align-content: start; padding: 28px 26px; border-radius: 18px; background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.22); }
.svc.wide { grid-column: span 8; background: var(--pink); color: var(--ink); border-color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.svc.wide p { color: rgba(14,15,44,.78); }
.svc .ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--lemon); color: var(--ink); }
.svc .ico svg { width: 24px; height: 24px; }
.svc p { color: var(--on-cobalt-muted); font-size: 16px; }
.svc ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.svc li { padding: 6px 12px; border-radius: 999px; background: rgba(14,15,44,.1); font-size: 14px; font-weight: 500; }
.waves { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
.wave { display: grid; gap: 4px; padding: 14px; border-radius: 12px; background: var(--paper); border: 2px solid var(--ink); }
.wave b { font-family: var(--f-display); font-size: 15px; }
.wave .mono { font-size: 11px; color: var(--muted); }
.svc.strip { grid-column: span 12; grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1.4fr); align-items: center; gap: 14px 24px; }
@media (max-width: 960px) { .svc, .svc.wide { grid-column: span 6; } .svc.strip { grid-column: span 12; grid-template-columns: 44px minmax(0, 1fr); } .svc.strip p { grid-column: 1 / -1; } }
@media (max-width: 640px) { .svc, .svc.wide { grid-column: span 12; } .waves { grid-template-columns: 1fr; } }

/* RegToEvent */
.rte { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.rte-copy { display: grid; gap: 24px; min-width: 0; }
.rte-badge { justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.25); }
.rte-badge i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--lemon); color: var(--ink); font-style: normal; font-family: var(--f-mono); font-weight: 700; font-size: 11px; }
.feat { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.18); }
.feat li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.feat svg { width: 22px; height: 22px; color: var(--lemon); margin-top: 2px; }
.feat b { display: block; font-weight: 600; font-size: 17px; }
.feat span { color: rgba(255,255,255,.66); font-size: 15px; }

.dash { min-width: 0; border-radius: 18px; background: var(--paper); color: var(--ink); border: 2px solid var(--paper); box-shadow: 10px 10px 0 var(--pink); overflow: hidden; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 90px); }
.dash-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: var(--paper-2); border-bottom: 1.5px solid var(--line); }
.dash-bar .dots { display: flex; gap: 6px; }
.dash-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); opacity: .2; }
.dash-bar .live { display: inline-flex; align-items: center; gap: 8px; color: var(--cobalt); }
.dash-bar .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .dash-bar .live::before { animation: none; } }
.dash-body { padding: 20px 18px 22px; display: grid; gap: 18px; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { padding: 12px; border-radius: 12px; background: #fff; border: 1.5px solid var(--line); display: grid; gap: 2px; min-width: 0; }
.kpi .mono { font-size: 10.5px; color: var(--muted); }
.kpi b { font-family: var(--f-display); font-size: clamp(18px, 2vw, 24px); font-variant-numeric: tabular-nums; }
.kpi small { color: #0A8A4A; font-weight: 600; font-size: 12.5px; }
.tbl-wrap { overflow-x: auto; }
@media (max-width: 560px) { .kpis { grid-template-columns: 1fr; } .kpi { grid-template-columns: minmax(0,1fr) auto; align-items: baseline; column-gap: 12px; } .kpi small { grid-column: 1 / -1; } }
table.src { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; min-width: 400px; }
.src th { text-align: left; font-family: var(--f-mono); font-weight: 500; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 0 8px 8px 0; border-bottom: 1.5px solid var(--line); }
.src td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.src td.num, .src th.num { text-align: right; }
.src .bar { display: block; height: 6px; margin-top: 6px; border-radius: 6px; background: var(--cobalt); }
.src .bar.weak { background: var(--muted); opacity: .45; }
.src .tag-bad { color: #C21F5B; font-weight: 600; }
.src .tag-good { color: #0A8A4A; font-weight: 600; }
.dash-note { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--lemon); font-size: 14px; font-weight: 500; }
.dash-note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
@media (max-width: 960px) { .rte { grid-template-columns: 1fr; } .dash { position: static; } }
.rte-foot { margin-top: clamp(32px, 4vw, 48px); padding-top: 20px; border-top: 1px dashed rgba(255,255,255,.25); color: rgba(255,255,255,.6); font-size: 14.5px; max-width: 75ch; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 30px; border-top: 3px dashed var(--ink); opacity: .3; }
.step { position: relative; display: grid; gap: 12px; align-content: start; padding: 0 22px 0 0; }
.step .when { justify-self: start; position: relative; z-index: 1; padding: 0 16px; min-height: 60px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--paper); border: 2px solid var(--ink); font-family: var(--f-display); font-weight: 900; font-size: 20px; }
.step:last-child .when { background: var(--pink); }
.step p { color: var(--muted); font-size: 16px; }
.step ul { margin: 0; padding-left: 18px; color: var(--ink); font-size: 15px; display: grid; gap: 4px; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline::before { top: 0; bottom: 0; left: 30px; right: auto; border-top: 0; border-left: 3px dashed var(--ink); }
  .step { grid-template-columns: 80px minmax(0, 1fr); column-gap: 18px; padding: 0; }
  .step .when { grid-row: span 4; justify-self: center; align-self: start; padding: 0 8px; min-width: 76px; min-height: 48px; justify-content: center; font-size: 13px; white-space: nowrap; }
}

/* Cases */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.case { display: grid; gap: 16px; align-content: start; padding: 24px; border-radius: 18px; background: #fff; border: 2px solid var(--ink); }
.case .mono { color: var(--muted); }
.case-big { font-family: var(--f-display); font-weight: 900; font-size: clamp(40px, 4.6vw, 58px); line-height: 1; color: var(--cobalt); font-variant-numeric: tabular-nums; }
.case-big small { font-size: .38em; color: var(--ink); font-weight: 700; margin-left: 6px; }
.fill { display: grid; gap: 6px; }
.fill-row { display: grid; grid-template-columns: 62px minmax(0, 1fr) 44px; gap: 10px; align-items: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.fill-row .track { height: 10px; border-radius: 10px; background: var(--paper-2); overflow: hidden; }
.fill-row .track i { display: block; height: 100%; border-radius: 10px; background: var(--muted); opacity: .5; }
.fill-row.after .track i { background: var(--pink); opacity: 1; }
.fill-row b { text-align: right; }
.case ul { margin: 0; padding: 14px 0 0; border-top: 1.5px dashed var(--line); list-style: none; display: grid; gap: 6px; font-size: 15px; color: var(--muted); }
.case li::before { content: "→ "; color: var(--cobalt); font-weight: 700; }
@media (max-width: 960px) { .cases { grid-template-columns: 1fr; max-width: 560px; } }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.price { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 16px; padding: 28px 26px; border-radius: 18px; background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.25); }
.price.hot { background: var(--lemon); color: var(--ink); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--pink); }
.price .mono { opacity: .75; }
.price .amount { font-family: var(--f-display); font-weight: 900; font-size: clamp(30px, 3.4vw, 38px); line-height: 1; }
.price .amount small { display: block; margin-top: 6px; font-size: 15px; font-weight: 700; opacity: .7; }
.price p { font-size: 15.5px; opacity: .8; }
.price ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; font-size: 15.5px; }
.price li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; }
.price li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--lemon); }
.price.hot li svg { color: var(--cobalt); }
.price .btn { width: 100%; }
.price:not(.hot) .btn { --bg: #fff; }
@media (max-width: 960px) { .prices { grid-template-columns: 1fr; max-width: 560px; } }
.formula { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-family: var(--f-display); font-weight: 700; font-size: clamp(15px, 1.6vw, 19px); }
.formula span { padding: 10px 16px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.4); }
.formula span:last-child { background: var(--pink); color: var(--ink); border-color: var(--pink); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq .sec-head { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 100px); margin: 0; }
.qa { border-top: 2px solid var(--ink); }
.qa details { border-bottom: 2px solid var(--ink); }
.qa summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 36px; gap: 16px; align-items: center; padding: 22px 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.3; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; transition: transform 200ms var(--ease-out), background-color 150ms ease; }
.qa summary i svg { width: 16px; height: 16px; }
.qa details[open] summary i { transform: rotate(45deg); background: var(--lemon); }
.qa .ans { padding: 0 52px 24px 0; color: var(--muted); font-size: 16.5px; max-width: 65ch; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq .sec-head { position: static; } .qa .ans { padding-right: 0; } }

/* Form */
.final { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.final-copy { display: grid; gap: 24px; min-width: 0; }
.final h2 { font-size: clamp(34px, 5.4vw, 72px); }
.final h2 .hl { color: var(--lemon); }
.audit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.audit-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; color: var(--on-cobalt-muted); }
.audit-list b { color: #fff; font-weight: 600; }
.audit-list svg { width: 22px; height: 22px; color: var(--lemon); margin-top: 2px; }
.contact-alt { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--on-cobalt-muted); font-size: 15px; }
.contact-alt a { color: #fff; text-decoration-color: var(--pink); text-underline-offset: 4px; }

form.lead-form { position: relative; display: grid; gap: 16px; padding: clamp(22px, 3vw, 34px); border-radius: 20px; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); }
.form-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 2.5px dashed var(--line); }
.form-title b { font-family: var(--f-display); font-size: 18px; text-transform: uppercase; }
.form-title .mono { color: var(--muted); }
.field { display: grid; gap: 6px; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
label { font-weight: 600; font-size: 14px; }
label .req { color: #C21F5B; }
input, select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 2px solid rgba(14,15,44,.25); border-radius: 12px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(36,51,255,.18); }
.field.err input, .field.err select { border-color: #C21F5B; }
.err-msg { color: #C21F5B; font-size: 13.5px; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; pointer-events: none; }
.chips label { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 2px solid rgba(14,15,44,.25); background: #fff; font-weight: 500; cursor: pointer; transition: background-color 150ms ease, border-color 150ms ease, transform 120ms var(--ease-out); }
.chips label:active { transform: scale(.97); }
.chips input:checked + label { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips input:focus-visible + label { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.lead-form .btn { width: 100%; margin-top: 4px; }
.fine { font-size: 12.5px; color: var(--muted); }
.done { display: grid; gap: 14px; justify-items: start; padding: 10px 0; }
.done .stamp-mini { padding: 8px 14px; border: 3px solid var(--pink); border-radius: 8px; color: var(--pink); font-family: var(--f-display); font-weight: 900; font-size: 22px; transform: rotate(-6deg); }
.done h3 { font-size: 24px; }
.done p { color: var(--muted); }
@media (max-width: 900px) { .final { grid-template-columns: 1fr; } }

/* Footer */
footer { background: var(--ink); color: rgba(255,255,255,.7); padding-block: 48px calc(48px + env(safe-area-inset-bottom, 0px)); font-size: 14.5px; }
footer .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
footer .logo { color: #fff; }
footer h4 { margin: 0 0 12px; font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.45); }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }
.legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.45); }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr; } }

/* Mobile sticky CTA */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--cobalt); border-top: 2px solid var(--ink); display: none; transform: translateY(0); transition: transform 240ms var(--ease-out); }
.dock .btn { width: 100%; min-height: 50px; }
.dock.is-hidden { transform: translateY(110%); }
@media (max-width: 720px) { .dock { display: block; } footer { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; }
}

/* ================= Multi-page additions ================= */

/* Header: dropdown + mobile menu */
.nav { align-items: center; }
.nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 7px; }
.navdrop { position: relative; }
.navdrop summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; opacity: .85; transition: opacity 150ms ease; }
.navdrop summary:hover, .navdrop[open] summary { opacity: 1; }
.navdrop summary::-webkit-details-marker { display: none; }
.navdrop summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 180ms var(--ease-out); }
.navdrop[open] summary::after { transform: translateY(2px) rotate(225deg); }
.navdrop .menu { position: absolute; top: calc(100% + 20px); left: -16px; z-index: 5; width: 300px; display: grid; gap: 2px; padding: 8px; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 14px; box-shadow: 6px 6px 0 var(--ink); transform-origin: top left; animation: pop 180ms var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.97); } }
.navdrop .menu a { opacity: 1; display: grid; gap: 2px; padding: 10px 12px; border-radius: 9px; font-weight: 600; }
.navdrop .menu a small { font-weight: 400; font-size: 13px; color: var(--muted); }
.navdrop .menu a:hover { background: var(--paper-2); }

.burger { display: none; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); background: transparent; color: #fff; cursor: pointer; transition: transform 140ms var(--ease-out); }
.burger:active { transform: scale(.94); }
.burger svg { width: 22px; height: 22px; }
.top-actions { display: flex; align-items: center; gap: 12px; }
@media (max-width: 960px) { .burger { display: inline-grid; } }
.mnav { position: fixed; inset: calc(env(safe-area-inset-top, 0px) + 70px) 0 0 0; z-index: 49; overflow-y: auto; background: var(--cobalt); color: #fff; padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px)); display: grid; align-content: start; gap: 4px; }
.mnav a { display: block; padding: 12px 0; font-family: var(--f-display); font-weight: 700; font-size: 22px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.18); }
.mnav .mono { color: var(--lemon); margin-top: 18px; }
.mnav .btn { margin-top: 24px; width: 100%; font-size: 15px; padding: 0 20px; min-height: 56px; border: 0; }
body.menu-open { overflow: hidden; }
@media (min-width: 961px) { .mnav { display: none !important; } }

/* Page hero (inner pages) */
.phero { background: var(--cobalt); color: #fff; position: relative; overflow: hidden; }
.phero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: radial-gradient(rgba(255,255,255,.14) 1.2px, transparent 1.4px); background-size: 22px 22px; }
.phero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(24px, 3vw, 36px) clamp(56px, 7vw, 96px); }
.phero .hero-copy { gap: 22px; }
.phero h1 { font-size: clamp(30px, 4.4vw, 58px); font-weight: 900; text-transform: uppercase; line-height: 1.02; }
.phero h1 .hl { color: var(--lemon); }
.phero .lead { color: var(--on-cobalt-muted); }
.phero .lead strong { color: #fff; font-weight: 600; }
.phero.simple .wrap { grid-template-columns: minmax(0, 1fr); }
.phero.simple .hero-copy { max-width: 900px; }
.crumbs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 0; margin: 0; list-style: none; font-family: var(--f-mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--on-cobalt-muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.facts { display: grid; padding: 8px 22px 22px; }
.facts div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1.5px dashed var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts .mono { color: var(--muted); font-size: 11px; }
.facts b { font-family: var(--f-display); font-size: 15px; text-align: right; }
.ticket-shadow.small { transform: rotate(-1.6deg); }
.ticket-shadow.small .stamp { top: auto; bottom: 18%; right: 6%; font-size: clamp(20px, 2.4vw, 28px); padding: 8px 12px; }
@media (max-width: 880px) { .phero .wrap { grid-template-columns: 1fr; } .ticket-shadow.small { max-width: 440px; width: 100%; justify-self: start; transform: rotate(-1deg); } }

/* Four-up pains */
.pains.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 620px) { .pains.four { grid-template-columns: 1fr; } }

/* Formats strip (home) */
.formats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fmt { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 14px; min-height: 230px; padding: 24px; border-radius: 18px; background: #fff; border: 2px solid var(--ink); text-decoration: none; transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out); }
.fmt .mono { color: var(--cobalt); }
.fmt h3 { font-size: clamp(19px, 1.8vw, 23px); text-transform: uppercase; font-weight: 900; }
.fmt p { color: var(--muted); font-size: 15px; }
.fmt .go { justify-self: start; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--pink); border: 2px solid var(--ink); transition: transform 200ms var(--ease-out); }
.fmt .go svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  .fmt:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
  .fmt:hover .go { transform: translateX(4px); }
}
.fmt:active { transform: scale(.98); }
@media (max-width: 960px) { .formats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .formats { grid-template-columns: 1fr; } .fmt { min-height: 0; } }

/* Blog cards */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post { display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; padding: 26px 24px 22px; border-radius: 18px; background: #fff; border: 2px solid var(--ink); text-decoration: none; position: relative; transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out); }
.post::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; border-top: 2.5px dashed var(--line); transform: translateY(52px); pointer-events: none; }
.post .mono { color: var(--cobalt); padding-bottom: 18px; }
.post h3 { font-size: 19px; line-height: 1.25; }
.post p { color: var(--muted); font-size: 15.5px; }
.post .meta { display: flex; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding-top: 12px; border-top: 1.5px solid var(--line); }
@media (hover: hover) and (pointer: fine) { .post:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); } }
.post:active { transform: scale(.985); }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr; max-width: 640px; } }
.more-link { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; }
.btn--paper { --bg: #fff; }

/* Case details */
.case-detail { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-block: clamp(36px, 5vw, 56px); border-top: 2px solid var(--ink); }
.case-detail:first-child { border-top: 0; padding-top: 0; }
.case-detail .case { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); }
.case-detail h2 { font-size: clamp(24px, 3vw, 36px); text-transform: none; font-weight: 800; }
.cd-body { display: grid; gap: 22px; min-width: 0; }
.cd-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding-top: 16px; border-top: 1.5px dashed var(--line); }
.cd-row .mono { color: var(--cobalt); padding-top: 3px; }
.cd-row p { color: var(--ink); }
@media (max-width: 900px) { .case-detail { grid-template-columns: 1fr; } .case-detail .case { position: static; } }
@media (max-width: 520px) { .cd-row { grid-template-columns: 1fr; gap: 6px; } }
.case-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.case-split .sec-head { margin-bottom: 0; }
@media (max-width: 900px) { .case-split { grid-template-columns: 1fr; } }

/* White cards on paper (features) */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { display: grid; gap: 12px; align-content: start; padding: 24px; border-radius: 16px; background: #fff; border: 2px solid var(--ink); }
.card .ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--lemon); border: 2px solid var(--ink); }
.card .ico svg { width: 22px; height: 22px; }
.card p { color: var(--muted); font-size: 16px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* Articles */
.art-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.art-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--on-cobalt-muted); }
.prose { max-width: 70ch; font-size: 18px; line-height: 1.7; min-width: 0; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(23px, 2.6vw, 30px); text-transform: none; font-weight: 700; line-height: 1.2; margin: 52px 0 14px; scroll-margin-top: 100px; }
.prose h3 { font-size: 20px; margin: 30px 0 10px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 24px; display: grid; gap: 8px; }
.prose li::marker { color: var(--pink); font-weight: 700; }
.prose a { color: var(--cobalt); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose strong { font-weight: 650; }
.prose .callout { margin: 30px 0; padding: 20px 22px; border-radius: 14px; background: var(--lemon); border: 2px solid var(--ink); font-weight: 500; }
.prose .callout p:last-child { margin: 0; }
.tbl-scroll { overflow-x: auto; margin: 0 0 24px; border: 2px solid var(--ink); border-radius: 14px; background: #fff; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; min-width: 520px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--f-mono); font-weight: 500; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--paper-2); }
.prose tr:last-child td { border-bottom: 0; }
.art-aside { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); display: grid; gap: 16px; }
.toc { padding: 20px; border-radius: 16px; border: 2px solid var(--ink); background: #fff; }
.toc .mono { color: var(--muted); }
.toc ol { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.4; }
.toc a { text-decoration: none; }
.toc a:hover { color: var(--cobalt); }
.aside-cta { display: grid; gap: 14px; padding: 22px; border-radius: 16px; background: var(--ink); color: #fff; }
.aside-cta b { font-family: var(--f-display); font-size: 18px; line-height: 1.2; }
.aside-cta p { color: rgba(255,255,255,.7); font-size: 15px; }
.aside-cta .btn { width: 100%; min-height: 50px; font-size: 13px; padding: 0 16px; }
@media (max-width: 960px) { .art-layout { grid-template-columns: 1fr; } .art-aside { position: static; order: -1; } .toc { display: none; } .aside-cta { display: none; } }

/* Legal / utility pages */
.legal-doc { max-width: 76ch; }
.legal-doc h2 { font-size: 22px; text-transform: none; font-weight: 700; margin: 36px 0 10px; }
.big-center { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.big-center .inner { display: grid; gap: 22px; justify-items: center; max-width: 640px; }
.big-code { font-family: var(--f-display); font-weight: 900; font-size: clamp(80px, 16vw, 180px); line-height: .9; color: var(--lemon); }
.form-error { padding: 12px 14px; border-radius: 12px; background: #FFE3EE; color: #8A1240; font-size: 14.5px; font-weight: 500; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Footer, 4 columns */
footer .wrap { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { footer .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { footer .wrap { grid-template-columns: 1fr; } }

/* Format passport: stamp sits beside the title, clear of the facts */
.ticket-shadow.small .stamp { top: 12%; bottom: auto; right: -8px; font-size: clamp(16px, 1.8vw, 22px); padding: 6px 10px; border-width: 3px; }
.fmt.compact { min-height: 0; }

.skip{position:absolute;left:-9999px;top:8px;z-index:100;padding:10px 16px;border-radius:10px;background:var(--lemon);color:var(--ink);font-weight:600}.skip:focus{left:16px}
