:root {
  color-scheme: dark;
  --bg: #08090b;
  --surface: #101216;
  --surface-2: #171a1f;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.24);
  --text: #f1f3ef;
  --muted: #9ba1a8;
  --volt: #d2ff3a;
  --danger: #ff5a5f;
  --warn: #ffb020;
  --accent: var(--volt);
  --gutter: clamp(16px, 3.2vw, 48px);
  --cut: 12px;
  --display: 'Saira Condensed', 'Arial Narrow', sans-serif;
  --body: 'Saira', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, dl, dd, fieldset { margin: 0; padding: 0; }
ol, ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; }
[hidden] { display: none !important; }

/* Base */
.eyebrow { font: 500 12px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.eyebrow--accent { color: var(--accent); }
.h2 { font: 800 clamp(34px, 4.6vw, 64px)/0.98 var(--display); text-transform: uppercase; letter-spacing: 0.005em; }
.h1-small { font: 800 clamp(38px, 5vw, 60px)/1 var(--display); text-transform: uppercase; }
.lead { color: var(--muted); font-size: 17px; max-width: 54ch; }

.btn {
  --cut: 10px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border: 0;
  background: var(--volt); color: #08090b;
  font: 600 15px/1 var(--body);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  transition: background 0.18s, transform 0.18s var(--ease);
}
.btn:hover { background: #e6ff7d; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--small { min-height: 38px; padding: 0 16px; font-size: 14px; --cut: 8px; }
.btn--block { width: 100%; }
.btn--ghost { background: var(--surface-2); color: var(--text); }
.btn--ghost:hover { background: #262a31; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.chip { font: 500 11px/1 var(--mono); padding: 5px 7px; border: 1px solid var(--line-strong); color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

.segmented { display: inline-flex; padding: 3px; background: var(--surface); border: 1px solid var(--line); }
.segmented button { min-height: 38px; padding: 0 16px; background: transparent; border: 0; color: var(--muted); font-size: 14px; font-weight: 500; transition: color 0.15s, background 0.15s; }
.segmented button:hover { color: var(--text); }
.segmented button[aria-pressed='true'] { background: var(--text); color: var(--bg); }
.segmented__off { font: 500 11px var(--mono); color: inherit; opacity: 0.75; }
.segmented--full { display: flex; }
.segmented--full button { flex: 1; }

.status { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--volt); }
.status::before { content: ''; width: 7px; height: 7px; background: currentColor; }
[data-state='past_due'] .status { color: var(--warn); }
[data-state='canceled'] .status { color: var(--danger); }

.rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.rows dt { color: var(--muted); }
.rows dd { text-align: right; font-weight: 500; }

/* Cabeçalho */
.header { position: sticky; top: 0; z-index: 20; background: rgba(8, 9, 11, 0.86); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 32px; height: 64px; padding: 0 var(--gutter); }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 22px/1 var(--display); letter-spacing: 0.08em; }
.logo__mark { width: 22px; height: 22px; color: var(--volt); }
.nav { display: flex; gap: 26px; margin-left: 12px; font-size: 14px; color: var(--muted); }
.nav a { transition: color 0.15s; }
.nav a:hover, .link-quiet:hover { color: var(--text); }
.header__actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.link-quiet { font-size: 14px; color: var(--muted); transition: color 0.15s; }

/* Topo */
.hero { display: flex; flex-direction: column; min-height: calc(100svh - 65px); padding: clamp(24px, 3.5vw, 44px) var(--gutter) var(--gutter); gap: clamp(24px, 3vw, 36px); }
.hero__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.hero__title { font: 800 clamp(58px, 9.4vw, 148px)/0.86 var(--display); text-transform: uppercase; letter-spacing: -0.005em; }
.hero__title em { font-style: normal; color: var(--volt); }
.hero__side { width: min(420px, 38%); flex: none; padding-bottom: 8px; }
.hero__side .lead { font-size: 16px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.rail { flex: 1; display: flex; gap: 6px; min-height: 420px; }
.slice { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: var(--surface); transition: flex-grow 0.6s var(--ease); }
.slice.is-active { flex-grow: 3.1; }
.slice img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(0.42); transform: scale(1.04); transition: filter 0.5s, transform 0.8s var(--ease); }
.slice.is-active img { filter: none; transform: scale(1); }
.slice::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); z-index: 2; }
.slice.is-active::before { transform: scaleX(1); }
.slice::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(8, 9, 11, 0.94)); opacity: 0; transition: opacity 0.4s; }
.slice.is-active::after { opacity: 1; }
.slice__index { position: absolute; top: 14px; left: 14px; z-index: 2; font: 500 12px/1 var(--mono); color: var(--text); }
.slice.is-active .slice__index { color: var(--accent); }
.slice__label { position: absolute; left: 14px; bottom: 16px; z-index: 2; writing-mode: vertical-rl; transform: rotate(180deg); font: 800 clamp(20px, 2vw, 28px)/1 var(--display); text-transform: uppercase; white-space: nowrap; transition: opacity 0.25s; }
.slice.is-active .slice__label { opacity: 0; }
.slice__info { position: absolute; left: 20px; bottom: 20px; width: min(320px, calc(100% - 40px)); z-index: 2; display: flex; flex-direction: column; gap: 6px; opacity: 0; transform: translateY(10px); transition: opacity 0.25s, transform 0.4s var(--ease); pointer-events: none; }
.slice.is-active .slice__info { opacity: 1; transform: none; transition-delay: 0.2s; }
.slice__meta { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.04em; color: var(--accent); }
.slice__info strong { font: 800 clamp(30px, 3.2vw, 44px)/0.95 var(--display); text-transform: uppercase; }
.slice__tagline { font-size: 14px; line-height: 1.4; color: #d3d6d9; }
.slice__go { font-size: 14px; font-weight: 600; margin-top: 4px; }

/* Sinal */
.signal { padding: clamp(64px, 8vw, 110px) var(--gutter); border-top: 1px solid var(--line); }
.signal__intro { margin-bottom: 36px; }
.signal__grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.signal__cell { display: flex; flex-direction: column; min-height: 280px; padding: 24px; border-left: 1px solid var(--line); }
.signal__cell:first-child { border-left: 0; }
.signal__input { font: 500 13px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.signal__arrow { margin: 14px 0 auto; color: var(--volt); font-size: 20px; }
.signal__output { font: 800 clamp(34px, 4vw, 58px)/1 var(--display); text-transform: uppercase; margin-top: 28px; }
.signal__game { font-size: 14px; color: var(--muted); margin-top: 10px; }
.signal__cell.is-pulsing .signal__output, .signal__cell.is-pulsing .signal__game { animation: pulse-in 0.45s var(--ease); }
@keyframes pulse-in { from { opacity: 0; transform: translateY(10px); } }

/* Seções */
.section { padding: clamp(64px, 8vw, 110px) var(--gutter); border-top: 1px solid var(--line); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 36px; }
.section__aside { max-width: 36ch; color: var(--muted); }

/* Catálogo */
.catalog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); transition: background 0.2s; }
.card--wide { grid-column: span 2; }
.card:hover { background: var(--surface-2); }
.card__media { display: block; position: relative; flex: none; height: clamp(300px, 27vw, 420px); overflow: hidden; }
.card__media::after { content: ''; position: absolute; inset: auto 0 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.card:hover .card__media::after, .card:focus-visible .card__media::after { transform: scaleX(1); }
.card__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) brightness(0.85); transition: filter 0.3s, transform 0.7s var(--ease); }
.card:hover img { filter: none; transform: scale(1.03); }
.card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px; }
.card__top { display: flex; align-items: center; gap: 6px; }
.card__index { font: 500 12px/1 var(--mono); color: var(--accent); margin-right: auto; }
.card__name { font: 800 28px/1 var(--display); text-transform: uppercase; margin-top: 4px; }
.card__text { color: var(--muted); font-size: 14px; line-height: 1.45; }

/* Passos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.steps li { border-top: 2px solid var(--text); padding-top: 18px; }
.steps__n { font: 500 13px/1 var(--mono); color: var(--volt); }
.steps h3 { font: 800 34px/1 var(--display); text-transform: uppercase; margin: 20px 0 10px; }
.steps p { color: var(--muted); max-width: 38ch; }

/* Planos */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.plan { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 40px); background: var(--surface); }
.plan--featured { background: var(--surface-2); box-shadow: inset 0 3px 0 var(--volt); }
.plan__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan__head h3 { font: 800 38px/1 var(--display); text-transform: uppercase; }
.plan__flag { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--volt); }
.plan__pitch { color: var(--muted); margin-top: 10px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-top: 32px; color: var(--muted); }
.plan__price strong { font: 800 clamp(58px, 6vw, 84px)/1 var(--display); color: var(--text); }
.plan__billing { font-size: 14px; color: var(--muted); }
.plan__list { margin: 28px 0 32px; flex: 1; }
.plan__list li { padding: 10px 0 10px 22px; border-top: 1px solid var(--line); font-size: 15px; position: relative; }
.plan__list li::before { content: ''; position: absolute; left: 0; top: 18px; width: 9px; height: 9px; background: var(--volt); clip-path: polygon(0 0, 65% 0, 100% 35%, 100% 100%, 35% 100%, 0 65%); }

/* Licença */

/* Dúvidas */
.faq { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; font-size: 18px; font-weight: 500; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--mono); color: var(--volt); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }

/* Rodapé */
.footer { border-top: 1px solid var(--line); padding: 40px var(--gutter); }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 28px; }
.footer__brand p { color: var(--muted); font-size: 14px; margin-top: 10px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.footer__nav a:hover { color: var(--text); }
.footer__legal { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* Página do jogo */
.game-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: clamp(32px, 6vw, 90px); padding: clamp(24px, 4vw, 48px) var(--gutter) clamp(48px, 6vw, 80px); align-items: start; }
.game-hero--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.back { display: inline-block; font-size: 14px; color: var(--muted); margin-bottom: clamp(28px, 4vw, 56px); }
.back:hover { color: var(--text); }
.game-hero h1 { font: 800 clamp(58px, 8vw, 120px)/0.88 var(--display); text-transform: uppercase; margin-bottom: 20px; overflow-wrap: anywhere; }
.game-hero .chips { margin-top: 20px; }
.game-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.stats dd { font: 800 clamp(30px, 3.4vw, 46px)/1 var(--display); color: var(--accent); }
.stats dt { font-size: 13px; line-height: 1.35; color: var(--muted); margin-top: 6px; }
.gallery__main { width: 100%; max-height: 76vh; object-fit: contain; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.gallery__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 6px; }
.gallery__thumb { padding: 0; height: 88px; border: 0; background: var(--surface); overflow: hidden; opacity: 0.55; transition: opacity 0.2s; }
.gallery__thumb:hover, .gallery__thumb[aria-pressed='true'] { opacity: 1; }
.gallery__thumb[aria-pressed='true'] { box-shadow: 0 2px 0 var(--accent); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.triggers { margin-top: 28px; border-bottom: 1px solid var(--line); }
.triggers li { display: grid; grid-template-columns: 180px 30px 1fr; align-items: center; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); }
.triggers__in { font: 500 13px/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.triggers__arrow { color: var(--accent); }
.triggers__out { font-size: 18px; font-weight: 500; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 28px; }
.mini { position: relative; height: 240px; overflow: hidden; background: var(--surface); }
.mini img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6); transition: filter 0.3s; }
.mini:hover img { filter: none; }
.mini span { position: absolute; left: 14px; bottom: 12px; font: 800 26px/1 var(--display); text-transform: uppercase; text-shadow: 0 1px 12px #000; }

/* Formulários, checkout e conta */
.narrow { max-width: 1120px; margin: 0 auto; padding: clamp(24px, 4vw, 48px) var(--gutter) clamp(56px, 7vw, 96px); }
.demo-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; margin-bottom: 32px; border: 1px dashed var(--line-strong); font: 500 12px/1.4 var(--mono); color: var(--muted); }
.demo-bar .segmented button { min-height: 32px; padding: 0 10px; font-size: 12px; }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 400px); gap: clamp(24px, 4vw, 56px); margin-top: 28px; align-items: start; }
.form { display: flex; flex-direction: column; gap: 28px; }
.form legend { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 14px; padding: 0; }
.form fieldset { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.field input, .field select { min-height: 48px; padding: 0 14px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 0; font-weight: 400; font-size: 16px; }
.field input:focus, .field select:focus { outline: 2px solid var(--volt); outline-offset: -1px; }
.field select option { background: var(--surface); }
.field small { font-weight: 400; font-size: 13px; color: var(--muted); }
.pay-note { padding: 14px 16px; background: var(--surface); color: var(--muted); font-size: 14px; }
.form__legal { font-size: 13px; color: var(--muted); }
.form__legal a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.summary { position: sticky; top: 88px; padding: 24px; background: var(--surface); }
.summary__plan { font: 800 36px/1 var(--display); text-transform: uppercase; margin-bottom: 18px; }
.summary__game { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.summary__game img { width: 64px; height: 64px; object-fit: cover; }
.summary__stack { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; }
.summary__stack img { width: 100%; height: 72px; object-fit: cover; }
.summary__note { font-size: 14px; color: var(--muted); margin-top: 10px; }
.summary__rows { margin-top: 20px; }
.summary__rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.summary__rows dt { color: var(--muted); }
.summary__rows dd { text-align: right; font-weight: 500; }
.summary__total dd { font: 800 34px/1 var(--display); }
.summary__total { align-items: center; }
.summary__after { font-size: 13px; color: var(--muted); margin-top: 8px; }

.auth { display: flex; justify-content: center; padding: clamp(48px, 9vw, 120px) var(--gutter); }
.auth__form { width: min(420px, 100%); gap: 18px; }
.auth__message { font-size: 14px; color: var(--danger); }
.auth__message[data-kind='info'] { color: var(--volt); }
.auth__links { display: flex; justify-content: space-between; gap: 16px; }
.auth__links button { padding: 4px 0; background: none; border: 0; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.auth__links button:hover { color: var(--text); }
.launcher-panel { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin: 48px 0 20px; padding: 24px; background: var(--surface); }
.launcher-panel p { color: var(--muted); margin-top: 8px; }

.account-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.account-head .lead { margin-top: 12px; }
.account-head .btn { flex: none; }
.account-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 6px; }
.panel { display: flex; flex-direction: column; padding: 24px; background: var(--surface); }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.panel__head h2 { font: 800 26px/1 var(--display); text-transform: uppercase; }
.panel--key { box-shadow: inset 0 0 0 1px rgba(210, 255, 58, 0.45); }
[data-state='past_due'] .panel--key { box-shadow: inset 0 0 0 1px rgba(255, 176, 32, 0.55); }
[data-state='canceled'] .panel--key { box-shadow: inset 0 0 0 1px rgba(255, 90, 95, 0.55); }
.key { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.key code { font: 500 clamp(19px, 2.3vw, 28px)/1.15 var(--mono); }
[data-state='canceled'] .key code { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--danger); }
.panel__hint { color: var(--muted); font-size: 14px; margin-top: auto; padding-top: 20px; }
.link-danger { align-self: flex-start; margin-top: 10px; padding: 8px 0; background: none; border: 0; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.link-danger:hover { color: var(--danger); }
.downloads { margin-top: 48px; }
.downloads__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
.downloads__head p { font-size: 14px; color: var(--muted); }
.download { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.download img { width: 72px; height: 54px; object-fit: cover; flex: none; }
.download__name { display: flex; flex-direction: column; min-width: 0; margin-right: auto; }
.download__name strong { font: 800 22px/1.1 var(--display); text-transform: uppercase; }
.download__name small { color: var(--muted); font-size: 13px; }
.download__lock { flex: none; font: 500 12px/1 var(--mono); color: var(--muted); text-align: right; }
.download.is-locked img { filter: grayscale(1) brightness(0.5); }
.download.is-locked .download__name strong { color: var(--muted); }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 40; max-width: calc(100% - 32px); padding: 12px 18px; background: var(--text); color: var(--bg); font-size: 14px; font-weight: 500; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.3s var(--ease); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Telas menores */
@media (max-width: 1080px) {
  .catalog { grid-template-columns: repeat(3, 1fr); }
  .card--wide { grid-column: span 3; order: -1; }
  .game-hero, .game-hero--wide { grid-template-columns: 1fr; }
  .gallery { max-width: 560px; }
  .game-hero--wide .gallery { max-width: none; }
}

@media (max-width: 820px) {
  .nav { display: none; }
  .link-quiet { font-size: 14px; }
  .hero { min-height: 0; }
  .hero__top { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero__side { width: 100%; }
  .rail { flex: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; min-height: 0; height: 480px; scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
  .slice, .slice.is-active { flex: 0 0 72vw; max-width: 300px; scroll-snap-align: center; }
  .slice img { filter: none; transform: none; }
  .slice::before { transform: scaleX(1); }
  .slice::after { opacity: 1; }
  .slice__label { display: none; }
  .slice__index { color: var(--accent); }
  .slice__info { opacity: 1; transform: none; }
  .signal__grid { grid-template-columns: 1fr; }
  .signal__cell { min-height: 190px; border-left: 0; border-top: 1px solid var(--line); }
  .signal__cell:first-child { border-top: 0; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .catalog { grid-template-columns: repeat(2, 1fr); }
  .card--wide { grid-column: span 2; }
  .card__media { height: clamp(220px, 58vw, 340px); }
  .card__body { padding: 12px; }
  .card__name { font-size: 22px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .plans { grid-template-columns: 1fr; }
  .plan--featured { order: -1; }
  .footer__inner { grid-template-columns: 1fr; }
  .checkout { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
  .account-head { flex-direction: column; align-items: flex-start; }
  .account-grid { grid-template-columns: 1fr; }
  .triggers li { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .triggers__arrow { display: none; }
  .triggers__out { font-size: 16px; }
  .mini-grid { grid-template-columns: repeat(3, 1fr); }
  .mini { height: 150px; }
  .mini span { font-size: 17px; left: 8px; bottom: 8px; }
  .stats { gap: 12px; }
}

@media (max-width: 420px) {
  .btn--small { padding: 0 12px; }
  .logo { font-size: 19px; }
  .demo-bar .segmented { display: flex; width: 100%; }
  .demo-bar .segmented button { flex: 1; padding: 0 4px; font-size: 11px; }
  .download__lock { max-width: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
