/* Перелёт — сайт. Мир — ночной аэропорт: посадочный талон, табло вылетов, след самолётика.
   Поверхности — чернильные нейтральные, акцент — голубой из логотипа (#56CCF2), только на главном действии и выборе.
   Фирменная деталь — затухающий след из точек, как у самолётика на логотипе. */

@font-face {
  font-family: "Manrope";
  src: url("/static/fonts/Manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  /* чернильная нейтральная шкала */
  --bg-deep: #070910;
  --bg: #0b0d14;
  --card: #11141c;
  --raised: #1a1e28;
  --raised-2: #222736;
  --line: rgba(238, 240, 245, 0.08);
  --line-2: rgba(238, 240, 245, 0.14);
  --text: #eef0f5;
  --text-2: #a3a9b8;
  --muted: #7a8296;
  /* акцент из логотипа */
  --accent: #56ccf2;
  --accent-hover: #74d6f5;
  --on-accent: #061420;
  --trail: #7cc4ff;
  /* смысловые */
  --ok: #4cc38a;
  --bad: #e5484d;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code", Consolas, Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  min-height: 100vh;
  overflow-x: hidden;
  font-variant-numeric: tabular-nums;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* --- шапка --- */
header.top {
  position: sticky; top: 0; z-index: 40; height: calc(64px + env(safe-area-inset-top, 0px));
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: env(safe-area-inset-top, 0px) max(24px, env(safe-area-inset-right)) 0 max(24px, env(safe-area-inset-left));
  background: rgba(11, 13, 20, 0.92);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; line-height: 1; }
.brand img { width: 28px; height: 28px; }
nav.links { display: flex; gap: 28px; font-size: 14px; color: var(--text-2); }
nav.links a { transition: color 150ms var(--ease); }
nav.links a:hover, .top-link:hover { color: var(--text); }
.top-actions { display: flex; gap: 20px; align-items: center; }
.top-link { font-size: 14px; color: var(--text-2); transition: color 150ms var(--ease); }

/* --- кнопки --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease), transform 120ms var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: var(--raised); border-color: var(--line); color: var(--text); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.btn-ghost:hover { background: var(--raised-2); border-color: var(--line-2); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* --- раскладка --- */
main { position: relative; max-width: 1120px; margin: 0 auto; padding: 0 max(24px, env(safe-area-inset-left)); }
section { padding-block: 96px; scroll-margin-top: 64px; }
section + section { border-top: 1px solid var(--line); }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
h2 { font-size: clamp(28px, 4vw, 36px); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 16px; }
.lead { color: var(--text-2); font-size: 18px; line-height: 1.6; max-width: 36rem; }
.link { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; transition: text-decoration-color 150ms var(--ease); }
.link:hover { text-decoration-color: var(--accent); }

/* --- первый экран --- */
.hero {
  min-height: calc(100vh - 64px); padding-block: 64px 80px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center;
}
.hero h1 { font-size: clamp(40px, 5.6vw, 64px); line-height: 1.04; letter-spacing: -0.03em; margin-bottom: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* посадочный талон подписки */
.pass {
  position: relative; border-radius: 16px; background: var(--card); border: 1px solid var(--line-2);
  box-shadow: 0 24px 64px -24px rgba(0, 0, 0, 0.7);
  transform: rotate(-1.5deg);
}
.pass-head {
  display: flex; align-items: center; gap: 10px; padding: 20px 24px;
  border-bottom: 1px solid var(--line); font-weight: 600; font-size: 15px;
}
.pass-head img { width: 24px; height: 24px; }
.pass-head small { margin-left: auto; font: 400 12px var(--mono); color: var(--muted); }
.route { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 28px 24px 24px; }
.route .end { display: grid; gap: 4px; }
.route .end:last-child { text-align: right; }
.k { font: 400 12px/16px var(--mono); color: var(--muted); }
.route .code { font: 500 40px/1 var(--mono); letter-spacing: -0.02em; }
.route .end span:last-child { font-size: 13px; color: var(--text-2); }
/* след самолётика: точки затухают к хвосту, как на логотипе */
.trail { display: flex; align-items: center; gap: 8px; min-width: 0; }
.trail i { flex: 1; height: 4px; background: radial-gradient(circle, var(--trail) 1.5px, transparent 2px) right center / 12px 4px repeat-x; -webkit-mask-image: linear-gradient(90deg, transparent, #000 85%); mask-image: linear-gradient(90deg, transparent, #000 85%); }
.trail svg { width: 22px; height: 22px; flex: none; }
.fields { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 16px; padding: 0 24px 24px; }
.fields div { display: grid; gap: 4px; }
.fields b { font-weight: 500; font-size: 15px; white-space: nowrap; }
.tear { position: relative; height: 1px; margin: 0 16px; background: linear-gradient(90deg, var(--line-2) 50%, transparent 0) 0 0 / 8px 1px repeat-x; }
.tear::before, .tear::after { content: ""; position: absolute; top: -10px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); }
.tear::before { left: -27px; clip-path: inset(0 0 0 50%); }
.tear::after { right: -27px; clip-path: inset(0 50% 0 0); }
.stub { display: grid; gap: 8px; padding: 20px 24px 24px; }
.stub code { font: 400 13px/1.5 var(--mono); color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stub .live { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.stub .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }

/* --- шаги: связаны следом самолётика --- */
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.steps-row > div { position: relative; padding-top: 32px; }
.steps-row > div::before {
  content: ""; position: absolute; top: 4px; left: 20px; right: -32px; height: 4px;
  background: radial-gradient(circle, var(--trail) 1.5px, transparent 2px) left center / 12px 4px repeat-x; opacity: .5;
}
.steps-row > div:last-child::before { right: 0; -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent); mask-image: linear-gradient(90deg, #000 60%, transparent); }
.steps-row .n {
  position: absolute; top: 0; left: 0; width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--trail);
}
.steps-row .k { display: block; margin-bottom: 8px; }
.steps-row b { display: block; font-size: 18px; font-weight: 500; margin-bottom: 8px; }
.steps-row p { color: var(--text-2); font-size: 15px; }

/* --- серверы: табло вылетов --- */
.board { margin-top: 48px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); overflow: hidden; }
.board-h, .flight { display: grid; grid-template-columns: 120px 1fr 1.3fr; gap: 24px; align-items: center; padding: 0 24px; }
.board-h { height: 40px; font: 400 12px var(--mono); color: var(--muted); border-bottom: 1px solid var(--line); }
.flight { min-height: 56px; border-bottom: 1px solid var(--line); }
.flight:last-child { border-bottom: 0; }
.flight .name { font-weight: 500; }
.flight .d { color: var(--text-2); font-size: 14px; }
.flap { display: inline-flex; gap: 2px; }
.flap span {
  position: relative; width: 22px; height: 30px; display: grid; place-items: center; border-radius: 4px;
  background: var(--raised); font: 500 15px var(--mono); color: var(--text);
}
.flap span::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--bg-deep); }
.flight.auto .flap span { color: var(--accent); }

/* --- тарифы --- */
.devices-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 40px 0 24px; }
.devices-pick > span { color: var(--text-2); font-size: 15px; }
.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); }
.seg button {
  border: 1px solid transparent; background: none; cursor: pointer; height: 32px; min-width: 44px; padding: 0 12px; border-radius: 6px;
  font-weight: 500; color: var(--text-2); transition: background-color 150ms var(--ease), color 150ms var(--ease);
}
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--raised-2); border-color: var(--line-2); color: var(--text); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.plan {
  border-radius: 16px; padding: 32px; border: 1px solid var(--line); background: var(--card);
  display: flex; flex-direction: column; gap: 16px;
}
.plan.best { border-color: var(--line-2); background: var(--raised); }
.plan h3 { font-size: 18px; }
.price { display: flex; align-items: baseline; gap: 12px; }
.price b { font-size: 44px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.price span { color: var(--text-2); }
.per { font-size: 14px; color: var(--text-2); }
.per em { font-style: normal; color: var(--text); }
.plan ul { list-style: none; display: grid; gap: 8px; color: var(--text-2); font-size: 15px; margin: 8px 0 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.plan li { display: flex; gap: 12px; align-items: center; }
.plan li::before {
  content: ""; width: 16px; height: 16px; flex: none; background: var(--muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plan .btn { margin-top: auto; }
.note { color: var(--text-2); font-size: 14px; margin-top: 24px; }
.note a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.note a:hover { text-decoration-color: var(--accent); }

/* --- вопросы --- */
.faq { margin-top: 40px; border-top: 1px solid var(--line); max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 0; font-weight: 500; font-size: 17px;
  display: flex; justify-content: space-between; gap: 16px; align-items: center; transition: color 150ms var(--ease);
}
.faq summary:hover { color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 18px; height: 18px; flex: none; background: var(--muted); transition: transform 200ms var(--ease);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E") center / contain no-repeat;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 40px 24px 0; color: var(--text-2); }
.faq details > div p + p { margin-top: 12px; }

/* --- поддержка --- */
.cta {
  border: 1px solid var(--line); border-radius: 16px; padding: 40px; background: var(--card);
  display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center;
}
.cta h2 { margin-bottom: 8px; }
.cta .lead { font-size: 16px; }
.cta .row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta .row .link { font-size: 14px; margin-left: 8px; }

/* --- подвал --- */
footer.bottom {
  max-width: 1120px; margin: 64px auto 0;
  padding: 40px max(24px, env(safe-area-inset-right)) calc(40px + env(safe-area-inset-bottom, 0px)) max(24px, env(safe-area-inset-left));
  border-top: 1px solid var(--line); color: var(--text-2); font-size: 14px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px;
}
footer.bottom h4 { color: var(--text); font-size: 14px; font-weight: 500; margin-bottom: 12px; }
footer.bottom ul { list-style: none; display: grid; gap: 8px; }
footer.bottom a { transition: color 150ms var(--ease); }
footer.bottom a:hover { color: var(--text); }
footer.bottom .about { margin-top: 12px; max-width: 42ch; }
footer.bottom .copy { font-size: 13px; color: var(--muted); margin-top: 12px; }
footer.bottom .label { color: var(--muted); margin-right: 8px; }

/* --- окно покупки --- */
.modal {
  position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px;
  background: rgba(7, 9, 16, 0.8);
}
.modal:not([hidden]) .panel { animation: rise 300ms var(--ease); }
.panel {
  width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  border-radius: 16px; border: 1px solid var(--line-2); background: var(--card);
  box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.8);
}
.panel-head { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.panel-head h3 { font-size: 20px; }
.panel .body { padding: 24px; display: grid; gap: 16px; }
.close {
  margin-left: auto; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px;
  background: none; border: 0; cursor: pointer; color: var(--muted); transition: background-color 150ms var(--ease), color 150ms var(--ease);
}
.close:hover { color: var(--text); background: var(--raised); }
.summary { display: grid; gap: 8px; padding: 16px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font-size: 15px; }
.summary div { display: flex; justify-content: space-between; gap: 16px; }
.summary span { color: var(--text-2); }
.summary b { font-weight: 500; white-space: nowrap; text-align: right; }
.summary .total { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; font-size: 18px; }
.summary .total b { font-weight: 600; }
label.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-2); cursor: pointer; }
label.check input { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
label.check a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.field { display: grid; gap: 8px; font-size: 14px; color: var(--text-2); }
.field input {
  width: 100%; height: 44px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2);
  background: var(--bg); color: var(--text); font: 14px var(--mono); transition: border-color 150ms var(--ease);
}
.field input::placeholder { color: var(--muted); }
.field input:focus { outline: none; border-color: var(--accent); }
.msg { padding: 12px 16px; border-radius: 8px; font-size: 14px; border: 1px solid var(--line); background: var(--raised); color: var(--text); }
.msg.err { border-color: rgba(229, 72, 77, 0.35); background: rgba(229, 72, 77, 0.08); }
.msg.ok { border-color: rgba(76, 195, 138, 0.3); background: rgba(76, 195, 138, 0.08); }
.msg b { font-weight: 600; }
.small { font-size: 13px; color: var(--text-2); }
.link-btn {
  background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--text);
  text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px;
}
.link-btn:hover { text-decoration-color: var(--accent); }
label.check b { color: var(--text); font-weight: 500; }

/* --- страница счёта и кабинет: отдельный экран вместо лендинга --- */
.screen { padding-block: 64px 40px; display: grid; justify-items: center; }
.sheet { width: min(640px, 100%); border-radius: 16px; border: 1px solid var(--line-2); background: var(--card); }
.sheet-head { display: flex; align-items: center; gap: 10px; padding: 16px 24px; border-bottom: 1px solid var(--line); font: 400 12px var(--mono); color: var(--muted); }
.sheet-body { padding: 24px; display: grid; gap: 20px; font-size: 15px; }
.status { display: flex; align-items: center; gap: 16px; }
.status .dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--raised); color: var(--text-2); }
.status .dot img { width: 24px; height: 24px; }
.status.wait .dot { background: none; border: 2px solid var(--raised-2); border-top-color: var(--accent); animation: spin 0.9s linear infinite; }
.status.good .dot { background: rgba(76, 195, 138, 0.12); color: var(--ok); }
.status.badd .dot { background: rgba(229, 72, 77, 0.12); color: var(--bad); }
.status h3 { font-size: 22px; line-height: 1.2; }
@keyframes spin { to { transform: rotate(360deg); } }
.keybox {
  display: flex; gap: 8px; align-items: center; padding: 4px 4px 4px 12px; border-radius: 10px;
  background: var(--bg); border: 1px solid var(--line-2);
}
.keybox code { flex: 1; min-width: 0; padding: 8px 0; font: 13px/1.5 var(--mono); color: var(--text-2); overflow-wrap: anywhere; }
.steps { display: grid; gap: 12px; counter-reset: s; }
.steps li { list-style: none; display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--text-2); }
.steps li::before {
  counter-increment: s; content: counter(s); width: 24px; height: 24px; border-radius: 6px;
  display: grid; place-items: center; font: 500 12px var(--mono); color: var(--text-2); background: var(--raised);
}
.steps a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.tg { border-radius: 12px; padding: 20px; display: grid; gap: 12px; border: 1px solid var(--line); background: var(--raised); }
.tg b { font-size: 16px; font-weight: 500; }
.row-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* появление первого экрана */
.rise { animation: rise 400ms var(--ease) both; }
.rise + .rise { animation-delay: 60ms; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* --- документы --- */
.doc { padding-block: 64px 0; max-width: 800px; margin: 0 auto; }
.doc article { border: 1px solid var(--line); border-radius: 16px; padding: clamp(24px, 5vw, 48px); background: var(--card); }
.doc h1 { font-size: clamp(28px, 5vw, 36px); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 8px; }
.doc .meta { font-size: 13px; color: var(--muted); margin-bottom: 32px; }
.doc h2 { font-size: 20px; letter-spacing: 0; margin: 32px 0 12px; }
.doc p, .doc li { color: var(--text-2); }
.doc p + p { margin-top: 12px; }
.doc ol, .doc ul { padding-left: 24px; display: grid; gap: 8px; }
.doc a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.doc th { color: var(--muted); font-weight: 500; }

/* --- адаптив --- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 48px; min-height: 0; padding-block: 48px 64px; }
  .pass { transform: none; }
  nav.links { display: none; }
  .steps-row { grid-template-columns: 1fr; gap: 24px; }
  .steps-row > div { padding: 0 0 0 32px; }
  .steps-row > div::before { top: 16px; bottom: -28px; left: 4px; right: auto; width: 4px; height: auto; background: radial-gradient(circle, var(--trail) 1.5px, transparent 2px) center top / 4px 12px repeat-y; }
  .steps-row > div:last-child::before { display: none; }
  .steps-row .n { top: 2px; }
  .cta { grid-template-columns: 1fr; }
  footer.bottom { grid-template-columns: 1fr 1fr; }
  footer.bottom > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  header.top { padding-inline: 16px; }
  main { padding-inline: 16px; }
  section { padding-block: 64px; }
  .hero h1 { font-size: 38px; }
  .lead { font-size: 17px; }
  /* на телефоне в шапке только «Моя подписка»: тарифы есть на странице */
  .hide-sm { display: none !important; }
  .route { padding-inline: 20px; gap: 12px; }
  .route .code { font-size: 32px; }
  .fields { grid-template-columns: 1fr 1fr; padding-inline: 20px; }
  .pass-head, .stub { padding-inline: 20px; }
  .board-h { display: none; }
  .flight { grid-template-columns: auto 1fr; gap: 4px 16px; padding: 12px 16px; }
  .flight .flap { grid-row: span 2; }
  .flight .d { grid-column: 2; }
  .plan { padding: 24px; }
  .price b { font-size: 40px; }
  .cta { padding: 24px; }
  footer.bottom { grid-template-columns: 1fr; }
  .keybox { flex-direction: column; align-items: stretch; padding: 8px; }
  .keybox code { padding: 4px; }
  .sheet-body, .panel .body { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
