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

/* SparkProxy: deep navy surface, spark orange for action, signal blue for connection. */
:root {
  color-scheme: dark;
  --paper: #0a0f1c;
  --white: #111a2e;
  --panel: #18233c;
  --line: #24314f;
  --line-soft: rgb(255 255 255 / 6%);
  --ink: #eef2fb;
  --muted: #9aa6c2;
  --signal: #c7d3f0;
  --accent: #ff7a3d;
  --accent-hover: #ff9562;
  --accent-soft: rgb(255 122 61 / 12%);
  --accent-line: rgb(255 122 61 / 48%);
  --accent-text: #1f0d03;
  --blue: #5b93ff;
  --blue-soft: rgb(91 147 255 / 14%);
  --success: #3dd08a;
  --success-soft: rgb(61 208 138 / 14%);
  --danger: #ff6b6b;
  --shadow: 0 24px 60px -24px rgb(0 0 0 / 60%);
  --display: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 500 16px/1.6 var(--display);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
body:not(.is-mini-app) {
  background:
    radial-gradient(900px 520px at 85% -10%, rgb(91 147 255 / 16%), transparent 65%),
    radial-gradient(700px 460px at -10% 8%, rgb(255 122 61 / 10%), transparent 60%),
    var(--paper) no-repeat;
}
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; color: inherit; }
button:disabled { opacity: .55; cursor: default; }
img { display: block; max-width: 100%; }
p { margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.12; }
h1, h2 { font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: 18px; font-weight: 750; letter-spacing: -.01em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { color: var(--accent-text); background: var(--accent); }
.icon { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 5;
  top: 12px;
  left: 12px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  color: var(--accent-text);
  background: var(--accent);
}
.wrap { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.section { padding-block: clamp(56px, 8vw, 100px); }
.section-head { display: grid; gap: 12px; max-width: 640px; margin-bottom: clamp(24px, 4vw, 40px); }
.section-head p { color: var(--muted); font-size: 16px; }

/* Header */
.header {
  position: relative;
  z-index: 3;
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.header > .button:last-child { justify-self: end; }
.brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.04em;
}
.brand img { border-radius: 10px; box-shadow: 0 0 0 1px var(--line-soft), 0 6px 18px -6px rgb(250 98 51 / 55%); }
.brand-light { font-weight: 500; color: var(--muted); }
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgb(17 26 46 / 60%);
  backdrop-filter: blur(10px);
}
.desktop-nav a { padding: 7px 16px; border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 600; }
.desktop-nav a:hover { color: var(--ink); background: var(--panel); }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  color: var(--ink);
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  transition: border-color .15s, background .15s, transform .15s, box-shadow .15s;
}
.button:not(:disabled):hover { border-color: var(--signal); }
.button:not(:disabled):active { transform: translateY(1px); }
.button-small { min-height: 44px; padding: 8px 14px; font-size: 14px; }
.button-large { min-height: 54px; padding: 14px 26px; font-size: 16px; border-radius: 14px; }
.button-quiet, .header-account { background: transparent; }
.header-account { border-color: var(--line); }
.button-accent {
  color: var(--accent-text);
  background: linear-gradient(180deg, #ff8a50, var(--accent));
  border-color: transparent;
  box-shadow: 0 10px 28px -12px rgb(255 122 61 / 75%), inset 0 1px 0 rgb(255 255 255 / 25%);
}
.button-accent:not(:disabled):hover { background: var(--accent-hover); border-color: transparent; }
.button-dark { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.button-dark:not(:disabled):hover { background: var(--signal); border-color: var(--signal); }
.text-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--signal);
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 5px;
}
.text-link:hover { color: var(--ink); text-decoration-color: currentColor; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding-block: clamp(40px, 7vw, 96px) clamp(32px, 5vw, 64px);
}
.hero-copy { min-width: 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(17 26 46 / 70%);
  color: var(--signal);
  font-size: 13px;
  font-weight: 650;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px var(--success-soft); }
.hero h1 { font-size: clamp(46px, 6.4vw, 86px); line-height: 1; letter-spacing: -.045em; }
.hero-accent {
  background: linear-gradient(95deg, #ffb27f 0%, var(--accent) 45%, #ff5a2a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-description { max-width: 500px; margin-top: 22px; color: var(--muted); font-size: 18px; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--success-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-4.8' fill='none' stroke='%233dd08a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* Hero visual: a Telegram-style proxy settings card */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 440px; }
.orbit {
  position: absolute;
  width: min(440px, 92%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgb(255 122 61 / 26%), transparent 55%),
    conic-gradient(from 210deg, transparent 0 60%, rgb(91 147 255 / 35%) 75%, transparent 90%);
  filter: blur(2px);
  mask: radial-gradient(circle, #000 58%, transparent 71%);
}
.orbit::after {
  content: "";
  position: absolute;
  inset: 9%;
  border: 1px dashed rgb(199 211 240 / 18%);
  border-radius: 50%;
}
.phone {
  position: relative;
  width: min(320px, 100%);
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, #16213a, #0f1729);
  box-shadow: var(--shadow), inset 0 1px 0 rgb(255 255 255 / 6%);
  transform: rotate(-2deg);
}
.phone-top { padding: 4px 6px 14px; color: var(--muted); font-size: 13px; font-weight: 700; text-align: center; }
.phone-row {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: var(--panel);
}
.phone-row + .phone-row { margin-top: 8px; }
.phone-row strong { display: block; font-size: 14px; }
.phone-row small { display: block; color: var(--muted); font-size: 12px; }
.phone-row small.ok { color: var(--success); font-weight: 700; }
.phone-shield, .phone-spark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; }
.phone-shield { background: var(--blue-soft); }
.phone-shield svg { width: 20px; fill: var(--blue); }
.phone-spark { background: #25231f; }
.phone-spark svg { width: 22px; fill: #fa6233; }
.toggle { width: 42px; height: 26px; border-radius: 999px; background: var(--success); position: relative; }
.toggle::after { content: ""; position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; }
.check { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--success-soft); color: var(--success); font-size: 13px; font-weight: 800; }
.phone-chat { display: grid; gap: 8px; margin-top: 16px; padding: 14px 6px 4px; border-top: 1px solid var(--line-soft); }
.bubble { max-width: 75%; padding: 8px 12px; border-radius: 16px; font-size: 13px; }
.bubble-in { justify-self: start; background: var(--panel); border-bottom-left-radius: 5px; }
.bubble-out { justify-self: end; background: linear-gradient(180deg, #4d86f5, #3a6fdc); color: #fff; border-bottom-right-radius: 5px; }

/* Features */
.features { padding-top: 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature-grid li {
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgb(24 35 60 / 80%), rgb(17 26 46 / 60%));
}
.feature-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 13px; background: var(--accent-soft); }
.feature-icon svg { width: 22px; fill: var(--accent); }
.feature-grid li:nth-child(even) .feature-icon { background: var(--blue-soft); }
.feature-grid li:nth-child(even) .feature-icon svg { fill: var(--blue); }
.feature-grid p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* Plans */
.plans-section { padding-block: clamp(24px, 4vw, 48px) clamp(40px, 5vw, 64px); }
.price-panel {
  display: grid;
  gap: 20px;
  min-width: 0;
  padding: clamp(14px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background: rgb(17 26 46 / 85%);
  box-shadow: var(--shadow);
}
.periods {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}
.periods label { position: relative; display: grid; }
.periods input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.periods label > span {
  position: relative;
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 22px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.periods label:hover > span { border-color: var(--signal); }
.periods strong { color: var(--muted); font-size: 14px; font-weight: 700; }
.plan-price { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.035em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.periods small { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.plan-tag {
  position: absolute;
  top: -11px;
  left: 16px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .02em;
}
.plan-tag-quiet { background: var(--panel); color: var(--signal); border: 1px solid var(--line); }
.periods input:checked + span {
  background: linear-gradient(180deg, rgb(255 122 61 / 16%), rgb(255 122 61 / 6%));
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.periods input:checked + span strong { color: var(--ink); }
.periods input:checked + span small { color: var(--accent-ink, var(--accent-hover)); }
.periods input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 3px; }
.periods input:disabled { cursor: default; }
.periods input:disabled + span { opacity: .45; }
.price-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--panel);
}
.price-block { min-width: 110px; }
.price { font-size: clamp(30px, 3.4vw, 40px); font-weight: 800; line-height: 1.05; letter-spacing: -.045em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-period { margin-top: 2px; color: var(--muted); font-size: 13px; }
.payment-brands { display: flex; flex-wrap: wrap; gap: 6px; margin-right: auto; color: var(--signal); font-size: 13px; }
.pay-chip { padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-weight: 650; white-space: nowrap; }
.price-summary .button { white-space: nowrap; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 26px 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgb(17 26 46 / 70%);
}
.step-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border: 1px solid var(--accent-line);
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-weight: 800;
  font-size: 15px;
}
.steps p { max-width: 36ch; margin-top: 8px; color: var(--muted); font-size: 15px; }
.steps .text-link { display: inline-block; margin-top: 14px; font-size: 14px; }

/* Device guide */
.device-guide {
  margin-top: 18px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--white);
}
.device-guide-head h3 { font-size: clamp(19px, 2.4vw, 24px); letter-spacing: -.02em; }
.device-guide-head p { max-width: 62ch; margin-top: 6px; color: var(--muted); font-size: 15px; }
.device-tabs {
  display: flex;
  gap: 6px;
  margin: 18px 0 16px;
  padding: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  border-radius: 14px;
  background: var(--paper);
}
.device-tabs::-webkit-scrollbar { display: none; }
.device-tabs button {
  display: inline-flex;
  flex: 1 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.device-tabs button svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.device-tabs button:hover { color: var(--ink); }
.device-tabs button[aria-selected="true"] { background: var(--panel); color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.device-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.device-panel[hidden] { display: none; }
.device-way { padding: 18px 20px; border-radius: 14px; background: var(--paper); }
.device-way h4 { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 16px; }
.device-way ol { display: grid; gap: 8px; margin: 12px 0 0; padding-left: 20px; color: var(--muted); font-size: 15px; }
.device-way li::marker { color: var(--accent); font-weight: 800; }
.device-way b { color: var(--ink); font-weight: 700; }
.device-badge {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink, var(--accent-hover));
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.device-badge-quiet { background: var(--blue-soft); color: var(--blue); }
.device-notes { display: grid; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.device-notes li { position: relative; padding-left: 18px; }
.device-notes li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.device-notes b { color: var(--ink); }
.device-notes .text-link { font-size: inherit; }

/* Renewal without Telegram */
.save-site {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 40px);
  background:
    radial-gradient(500px 200px at 100% 0%, rgb(91 147 255 / 14%), transparent 70%),
    var(--white);
}
.save-site-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--blue-soft); }
.save-site-icon svg { width: 28px; fill: var(--blue); }
.save-site h2 { font-size: clamp(24px, 3vw, 34px); }
.save-site p { max-width: 60ch; margin-top: 10px; color: var(--muted); font-size: 15px; }
.save-site .button { flex-shrink: 0; }

/* FAQ */
.faq-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 40px; }
.faq-intro { margin-top: 16px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.faq-list { display: grid; gap: 8px; }
.faq-list details {
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgb(17 26 46 / 70%);
  transition: border-color .15s, background .15s;
}
.faq-list details[open] { border-color: var(--line); background: var(--white); }
summary { cursor: pointer; }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  list-style: none;
  font-weight: 700;
  font-size: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--panel);
  color: var(--signal);
  font-size: 18px;
  line-height: 1;
  transition: transform .2s;
}
.faq-list details[open] summary span { transform: rotate(45deg); background: var(--accent-soft); color: var(--accent); }
.faq-list details p { padding: 0 52px 18px 20px; color: var(--muted); font-size: 15px; }

/* Closing call to action */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: clamp(40px, 6vw, 72px);
  padding: clamp(26px, 4vw, 44px);
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(600px 220px at 0% 100%, rgb(255 122 61 / 22%), transparent 70%),
    linear-gradient(120deg, #17223d, #121b31);
  border: 1px solid var(--line);
}
.cta-band h2 { max-width: 18ch; font-size: clamp(26px, 3.4vw, 40px); }

/* Footer */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-block: 28px 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.footer .brand { color: var(--ink); font-size: 18px; }
.footer .brand img { width: 30px; height: 30px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links button { border: 0; padding: 0; background: transparent; color: inherit; }
.footer-links :is(a, button):hover { color: var(--ink); }

/* Dialogs */
dialog {
  width: min(500px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}
dialog::backdrop { background: rgb(3 6 14 / 72%); backdrop-filter: blur(4px); }
dialog h2 { margin: 2px 44px 6px 0; font-size: clamp(22px, 5vw, 28px); }
dialog > p { margin-bottom: 12px; color: var(--muted); font-size: 15px; }
.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--panel);
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
}
.dialog-close:hover { color: var(--ink); }
.method-list { display: grid; gap: 8px; margin-block: 18px; }
.payment-choice {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  font-size: 15px;
  transition: border-color .15s, background .15s;
}
.payment-choice[data-payment-method="platega"] { border-color: var(--accent-line); background: var(--accent-soft); }
.payment-choice:hover { border-color: var(--signal); }
.payment-choice strong, .payment-choice small { display: block; }
.payment-choice small { color: var(--muted); font-size: 13px; }
.payment-choice > span:last-child { color: var(--muted); }
.method-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--panel); color: var(--signal); font-size: 20px; font-weight: 700; }
.payment-choice[data-payment-method="platega"] .method-icon { background: var(--accent); color: var(--accent-text); }
.payment-choice[data-payment-method="stars"] .method-icon { color: #ffc94d; }
.checkout-note { margin-bottom: 0; font-size: 13px; }

@media (max-width: 1020px) {
  .wrap { width: calc(100% - 48px); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .periods { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .header { min-height: 64px; display: flex; justify-content: space-between; gap: 12px; }
  .desktop-nav { display: none; }
  .brand { font-size: 19px; gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .hero { grid-template-columns: 1fr; gap: 8px; padding-block: 24px 8px; }
  .eyebrow { margin-bottom: 16px; font-size: 12px; }
  .hero h1 { font-size: clamp(42px, 12vw, 64px); }
  .hero-description { margin-top: 16px; font-size: 16px; }
  .hero-actions { margin-top: 22px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .hero-points { flex-direction: column; gap: 8px; margin-top: 22px; }
  .hero-visual { min-height: 0; padding-block: 28px 8px; }
  .orbit { width: 340px; }
  .phone { width: min(300px, 100%); transform: none; }
  .section-head p { font-size: 15px; }
  .feature-grid { gap: 10px; }
  .feature-grid li { padding: 18px; }
  .feature-icon { width: 40px; height: 40px; margin-bottom: 12px; }
  .feature-grid h3 { font-size: 16px; }
  .feature-grid p { font-size: 13px; }
  .periods { gap: 18px 10px; }
  .periods label > span { padding: 18px 14px 14px; }
  .plan-price { font-size: 24px; }
  .periods small { font-size: 12px; }
  .plan-tag { left: 12px; font-size: 10px; }
  .price-summary { padding: 16px; }
  .payment-brands { order: 3; width: 100%; margin: 0; }
  .price-summary .button { flex: 1 1 auto; }
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 10px; padding: 18px; }
  .steps h3, .steps p, .steps .text-link { grid-column: 2; }
  .steps p { margin-top: 4px; font-size: 14px; }
  .steps .text-link { margin-top: 8px; justify-self: start; }
  .step-number { grid-row: span 3; margin: 0; }
  .save-site { grid-template-columns: 1fr; gap: 14px; }
  .save-site-icon { width: 48px; height: 48px; }
  .save-site .button { justify-self: start; }
  .faq-section { grid-template-columns: 1fr; gap: 18px; }
  .faq-list summary { padding: 16px; font-size: 15px; }
  .faq-list details p { padding: 0 16px 16px; font-size: 14px; }
  .cta-band .button { width: 100%; }
  .device-panel { grid-template-columns: 1fr; }
  .device-way { padding: 16px; }
  .device-way ol { font-size: 14px; }
  .device-tabs { flex-wrap: wrap; overflow: visible; }
  .device-tabs button { flex: 1 1 auto; padding-inline: 12px; }
  .footer { gap: 14px; }
  .footer-links { width: 100%; order: 2; gap: 16px; }
}

@media (max-width: 520px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 16px; }
  .feature-icon { grid-row: span 2; margin: 0; }
  .feature-grid p { margin-top: 2px; }
}

@media (max-width: 380px) {
  .wrap { width: calc(100% - 24px); }
  .header .button { font-size: 12px; padding-inline: 10px; }
  .periods label > span { padding-inline: 12px; }
  .plan-price { font-size: 21px; }
}

@media (max-width: 560px) {
  dialog {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 24px 18px calc(22px + env(safe-area-inset-bottom, 0px));
    border-width: 1px 0 0;
    border-radius: 24px 24px 0 0;
  }
}

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