@font-face {
  font-family: Manrope;
  src: url("assets/manrope-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Manrope;
  src: url("assets/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --bg: #e8eff5;
  --surface: #f0f5fa;
  --surface-subtle: #dce7f0;
  --glass: rgb(232 239 245 / 77%);
  --panel-glass: rgb(240 245 250 / 76%);
  --text: #1e2d3b;
  --muted: #4c6071;
  --line: #c8d6e1;
  --line-strong: #94acbf;
  --accent: #215c85;
  --accent-hover: #174568;
  --accent-soft: #d3e6f4;
  --primary: #c7dfee;
  --primary-hover: #b8d4e8;
  --on-primary: #18384f;
  --control-glass: rgb(247 252 255 / 49%);
  --control-glass-hover: rgb(246 252 255 / 72%);
  --control-line: rgb(106 141 166 / 49%);
  --control-shine: rgb(255 255 255 / 65%);
  --control-blue: rgb(155 202 234 / 54%);
  --control-blue-hover: rgb(153 201 234 / 72%);
  --control-blue-line: #7ca4c1;
  --good: #216747;
  --good-bg: #e7f3ec;
  --danger: #9d333b;
  --danger-bg: #fae9eb;
  --hero-glow: rgb(118 175 220 / 19%);
  --shadow: 0 10px 32px rgb(35 62 84 / 9%);
  --blur: blur(18px) saturate(125%);
  --radius: 16px;
  --header-height: 68px;
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #171e26;
  --surface: #202a34;
  --surface-subtle: #293744;
  --glass: rgb(23 30 38 / 74%);
  --panel-glass: rgb(32 42 52 / 76%);
  --text: #ecf3f9;
  --muted: #aebecb;
  --line: #344553;
  --line-strong: #597285;
  --accent: #a6d5f5;
  --accent-hover: #c8e9ff;
  --accent-soft: #2d465b;
  --primary: #344f66;
  --primary-hover: #41617c;
  --on-primary: #eff8ff;
  --control-glass: rgb(59 83 104 / 32%);
  --control-glass-hover: rgb(66 94 117 / 54%);
  --control-line: rgb(128 166 195 / 35%);
  --control-shine: rgb(200 225 243 / 12%);
  --control-blue: rgb(76 131 174 / 45%);
  --control-blue-hover: rgb(83 139 182 / 63%);
  --control-blue-line: #5f8aab;
  --good: #9bd6b6;
  --good-bg: #233a30;
  --danger: #ffadaf;
  --danger-bg: #41292d;
  --hero-glow: rgb(82 142 187 / 20%);
  --shadow: 0 10px 32px rgb(0 0 0 / 22%);
}

*, *::before, *::after { box-sizing: border-box; }
body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
}

main { flex: 1; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
img { display: block; max-width: 100%; }
svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent-soft); color: var(--text); }
:where(section[id], .document-content [id]) { scroll-margin-top: calc(var(--header-height) + 22px); }

.icons, .top-anchor { position: absolute; width: 0; height: 0; overflow: hidden; }
.top-anchor { top: 0; }
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 12px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.container { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }

/* Header and common controls */
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: calc(var(--header-height) - 1px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-self: start;
  width: fit-content;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.04em;
  white-space: nowrap;
}

.wordmark-badge {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #273a49;
}

.wordmark-badge img { object-fit: contain; }
.header-nav, .header-end { display: flex; align-items: center; }
.header-nav { justify-content: center; gap: clamp(16px, 2.4vw, 32px); }
.header-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.header-nav a:is(:hover, .is-active), .footer-link:hover { color: var(--accent); }
.header-end { grid-column: 3; justify-self: end; gap: 8px; }
.header-action, .theme-toggle, .nav-burger {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  min-width: 42px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 9px;
  color: var(--text);
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

.theme-toggle, .nav-burger { padding: 0; }
.header-action svg { width: 16px; height: 16px; }

.nav-burger, .theme-sun, [data-theme="dark"] .theme-moon { display: none; }
[data-theme="dark"] .theme-sun { display: block; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.button svg { width: 16px; height: 16px; }
.primary { color: var(--on-primary); }
.glass-btn { color: var(--text); }
.button:disabled { opacity: .6; }

/* Landing */
.hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
  padding-block: clamp(60px, 7.4vw, 108px) clamp(58px, 6.5vw, 92px);
}

.hero h1 {
  font-size: clamp(46px, 5.55vw, 78px);
  font-weight: 800;
  line-height: .99;
  letter-spacing: -.055em;
  word-spacing: .025em;
}

.hero h1 span { display: block; margin-top: .13em; color: var(--muted); font-size: .72em; letter-spacing: -.042em; }
.hero-lead {
  max-width: 39ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.62;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 24px; }
.hero-specs {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.hero-specs svg { width: 15px; height: 15px; }
.hero-visual { position: relative; min-width: 0; isolation: isolate; }
.hero-visual::before {
  position: absolute;
  z-index: -1;
  inset: -13% -6%;
  background: radial-gradient(ellipse at center, var(--hero-glow), transparent 69%);
  pointer-events: none;
  content: "";
}

.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.47;
  object-fit: cover;
  object-position: 53% 50%;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  filter: saturate(.84);
}

.hero-preview {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 45px;
  padding: 8px 13px;
  border-radius: 11px;
  color: #f2f8fc;
  --button-fallback: #283b4a;
  --button-hover-fallback: #344f65;
  --button-glass: rgb(25 43 57 / 74%);
  --button-hover-glass: rgb(33 60 80 / 83%);
  --button-stroke: rgb(185 222 249 / 51%);
  --button-hover-stroke: rgb(199 231 253 / 76%);
  --button-blur: blur(22px) saturate(117%);
  font-size: 13px;
  font-weight: 750;
}

.hero-preview svg { width: 15px; height: 15px; }
.hero-preview svg:last-child { margin-left: auto; }
.section-block { padding-block: clamp(39px, 6vw, 72px); border-top: 1px solid var(--line); }
.section-head, .faq-head { max-width: 62ch; }
.section-head h2, .faq-head h2 {
  font-size: clamp(28px, 3.1vw, 42px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.05em;
}

.section-lead { margin-top: 10px; color: var(--muted); line-height: 1.6; }
.lux-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.bento-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.bento-card, .bento-stats { padding: clamp(18px, 2.6vw, 27px); }
.card-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
}

.card-copy h3 { margin-top: 15px; font-size: 17px; font-weight: 800; letter-spacing: -.025em; }
.card-copy p { margin-top: 5px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.bento-stats { display: grid; align-content: center; }
.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding-block: 9px;
  color: var(--muted);
  font-size: 13px;
}

.stat-row:not(:first-child) { border-top: 1px solid var(--line); }
.stat-row strong { color: var(--text); white-space: nowrap; }
.overview-panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.pricing-options, .checkout-methods { min-width: 0; margin: 22px 0 0; padding: 0; border: 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.price-card { position: relative; display: block; min-width: 0; cursor: pointer; }
.price-card input, .checkout-method input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.price-content { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: clamp(17px, 2.6vw, 26px); }
.price-top { display: flex; gap: 8px; align-items: center; justify-content: space-between; min-height: 26px; }
.price-term { font-size: 15px; font-weight: 800; }
.price-pill, .store-badge, .license-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border-radius: 5px;
  background: var(--surface-subtle);
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.price-value {
  display: block;
  color: var(--text);
  font-size: clamp(28px, 3.1vw, 41px);
  font-weight: 800;
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
}

.price-value span { font-size: .61em; }
.price-choice { display: flex; align-items: center; gap: 7px; margin-top: auto; color: var(--muted); font-size: 13px; font-weight: 700; }
.price-choice::before {
  width: 15px;
  height: 15px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  content: "";
}

.price-card input:checked + .price-content, .store-item-card.is-selected, .checkout-method input:checked + span {
  color: var(--text);
}

.price-card input:checked + .price-content .price-choice { color: var(--accent); }
.price-card input:checked + .price-content .price-choice::before {
  border: 4px solid var(--accent);
}

.price-card input:focus-visible + .price-content, .checkout-method input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.plan-status { min-height: 22px; margin-top: 14px; color: var(--muted); font-size: 13px; }
.checkout-state { margin-top: 10px; padding: 18px 22px; }
#checkout-signin { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.checkout-note { color: var(--muted); font-size: 14px; }
.checkout-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.faq-layout { display: grid; grid-template-columns: minmax(0, .68fr) minmax(0, 1.32fr); gap: clamp(24px, 5vw, 75px); }
.faq-support-btn { margin-top: 17px; }
.faq-list { display: grid; align-content: start; gap: 8px; }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 15px;
  border-radius: 10px;
  color: var(--text);
  font-size: 15px;
  font-weight: 750;
  text-align: left;
}

.faq-q i { display: flex; color: var(--muted); }
.faq-q:hover, .faq-item.is-open .faq-q i { color: var(--accent); }
.faq-item.is-open .faq-q svg { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 16px 16px 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.faq-item.is-open .faq-a { display: block; }

.footer { padding: 0 0 29px; }
.footer-inner { border-top: 1px solid var(--line); padding-top: 23px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-link, .footer-copy { color: var(--muted); font-size: 13px; }
.footer-copy { margin-top: 15px; }

.to-top {
  position: fixed;
  z-index: 10;
  right: 16px;
  bottom: 16px;
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  color: var(--text);
}

.to-top.is-visible { display: grid; }
.to-top:hover { color: var(--accent); }

/* Account and forms */
.account-route {
  display: grid;
  justify-items: center;
  align-content: start;
  padding-block: clamp(35px, 6.5vw, 82px) 54px;
  min-height: calc(100vh - var(--header-height) - 130px);
  background: radial-gradient(ellipse 480px 225px at 50% 12%, var(--hero-glow), transparent 100%);
}

.section-heading { margin-bottom: 23px; text-align: center; }
.section-heading h1 {
  font-size: clamp(28px, 4.4vw, 42px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.05em;
}

.section-heading h1:focus, #account-checkout-title:focus { outline: none; }
.section-heading p:not(:empty) { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.auth-shell { width: min(100%, 440px); padding: clamp(20px, 4.4vw, 33px); box-shadow: var(--shadow); }
.auth-brand-badge { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 15px; color: var(--muted); font-size: 13px; font-weight: 750; }
.auth-brand-badge img, .account-avatar { padding: 3px; border-radius: 8px; background: #273a49; }
.auth-form { display: grid; gap: 13px; }
.profile-field, .checkout-field { display: grid; gap: 6px; color: var(--text); font-size: 14px; font-weight: 750; }
.profile-field input, .redeem-form input, .checkout-select select {
  width: 100%;
  min-width: 0;
  min-height: 45px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
}

input::placeholder { color: var(--muted); opacity: 1; }
.auth-links, .auth-legal { color: var(--muted); font-size: 13px; line-height: 1.55; text-align: center; }
.auth-links a + a { margin-left: 10px; }
.auth-links a, .auth-legal a, .route-home { color: var(--accent); text-underline-offset: 3px; }
.auth-links a:hover, .auth-legal a, .route-home:hover { text-decoration: underline; }
.route-home { margin-top: 16px; font-size: 13px; font-weight: 750; }
.form-feedback { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.form-feedback:empty { display: none; }
.form-feedback[data-error="true"] { color: var(--danger); }
.form-feedback[data-success="true"] { color: var(--good); }

.account-card { display: grid; grid-template-columns: minmax(190px, .36fr) minmax(0, 1fr); width: min(100%, 940px); }
.account-sidebar { display: flex; flex-direction: column; gap: 14px; padding: 15px; border-right: 1px solid var(--line); }
.account-tabs { display: grid; gap: 4px; }
.account-tabs button, .account-exit {
  display: flex;
  gap: 7px;
  align-items: center;
  min-height: 42px;
  padding: 8px 9px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-align: left;
}

.account-tabs button[aria-selected="true"] { color: var(--text); }
.account-tabs button:hover, .account-exit:hover { color: var(--accent); }
.account-exit { margin-top: auto; }
.account-panel { min-width: 0; padding: clamp(15px, 3.5vw, 29px); }
.account-panel:focus-visible { outline-offset: -3px; }
.account-panel h2 { font-size: clamp(17px, 2.2vw, 23px); letter-spacing: -.035em; overflow-wrap: anywhere; }
.account-banner { display: flex; align-items: center; gap: 10px; min-width: 0; }
.account-banner span, .account-content > p, .redeem-head p, .license-hint, .checkout-hint {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.account-avatar { flex: none; }
.profile-facts, .license-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
.profile-facts div, .license-facts div { min-width: 0; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; }
.profile-facts dt, .license-facts dt { color: var(--muted); font-size: 12px; }
.profile-facts dd, .license-facts dd { margin-top: 3px; font-size: 13px; font-weight: 750; overflow-wrap: anywhere; }
.license-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.redeem-card, .license-card { margin-top: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 11px; }
.redeem-head h2 { display: flex; align-items: center; gap: 7px; }
.redeem-head p, .license-hint, .account-recovery, .account-content > p { margin-top: 7px; }
.redeem-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 10px; }
.license-head, .license-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.license-head { justify-content: space-between; }
.license-actions { margin-top: 12px; }
.license-card[data-state="active"] .license-badge { background: var(--good-bg); color: var(--good); }
.license-card[data-state="inactive"] .license-badge { background: var(--danger-bg); color: var(--danger); }
.cabinet-store-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 15px; }
.store-item-card {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
  padding: 12px;
  border-radius: 9px;
  color: var(--text);
  text-align: left;
}

.store-item-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px; font-size: 13px; }
.store-item-price { font-size: 20px; font-weight: 800; }
.store-item-desc { color: var(--muted); font-size: 12px; line-height: 1.5; }
.store-badge svg { width: 13px; height: 13px; }
.account-checkout-form { display: grid; gap: 13px; margin-top: 16px; }
.checkout-select { position: relative; }
.checkout-select select { appearance: none; padding-right: 34px; }
.checkout-select svg { position: absolute; right: 12px; top: calc(50% - 8px); width: 16px; height: 16px; pointer-events: none; transform: rotate(90deg); }
.checkout-methods { margin: 0; }
.checkout-methods legend { margin-bottom: 7px; padding: 0; font-size: 14px; font-weight: 750; }
.checkout-method-list { display: flex; flex-wrap: wrap; gap: 8px; }
.checkout-method { position: relative; cursor: pointer; }
.checkout-method span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 11px;
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.checkout-method svg { width: 15px; height: 15px; }
.account-route button[aria-busy="true"] { position: relative; padding-right: 32px; cursor: progress; }
.account-route button[aria-busy="true"]::after {
  position: absolute;
  top: calc(50% - 6px);
  right: 10px;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-left-color: transparent;
  border-radius: 50%;
  content: "";
  animation: button-spin .75s linear infinite;
}

@keyframes button-spin { to { transform: rotate(360deg); } }

/* Shared material for buttons, button links, and selectable tiles. */
:is(button, .button, .header-action, .hero-preview, .price-content, .checkout-method span) {
  --button-surface: var(--button-fallback, var(--surface));
  --button-hover-surface: var(--button-hover-fallback, var(--surface-subtle));
  border: 1px solid var(--button-stroke, var(--control-line));
  background-color: var(--button-surface);
  box-shadow: inset 0 1px 0 var(--control-shine);
}

:is(button, .button, .header-action, .hero-preview, .price-content, .checkout-method span):hover:not(:disabled),
.price-card:hover .price-content {
  border-color: var(--button-hover-stroke, var(--line-strong));
  background-color: var(--button-hover-surface);
}

.primary, .price-card input:checked + .price-content, .store-item-card.is-selected,
.checkout-method input:checked + span, .account-tabs button[aria-selected="true"] {
  --button-fallback: var(--primary);
  --button-hover-fallback: var(--primary-hover);
  --button-glass: var(--control-blue);
  --button-hover-glass: var(--control-blue-hover);
  --button-stroke: var(--control-blue-line);
  --button-hover-stroke: var(--accent);
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: var(--glass); }
  .auth-shell { background: var(--panel-glass); }
  .site-header, .auth-shell {
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
  }

  :is(button, .button, .header-action, .hero-preview, .price-content, .checkout-method span) {
    --button-surface: var(--button-glass, var(--control-glass));
    --button-hover-surface: var(--button-hover-glass, var(--control-glass-hover));
    -webkit-backdrop-filter: var(--button-blur, blur(14px) saturate(114%));
    backdrop-filter: var(--button-blur, blur(14px) saturate(114%));
  }
}

@media (max-width: 1060px) {
  .header-social { padding: 0; }
  .header-social span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (max-width: 880px) {
  .container { width: calc(100% - 44px); }
  .header-inner { gap: 14px; }
  .header-nav { gap: 16px; }
}

@media (max-width: 740px) {
  :root { --header-height: 60px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .header-end { grid-column: 2; grid-row: 1; }
  .nav-burger { display: inline-flex; }
  .header-nav { display: none; grid-column: 1 / -1; padding: 2px 0 12px; border-top: 1px solid var(--line); }
  .site-header.is-open .header-nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .header-nav a { padding-inline: 4px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 27px; padding-block: 43px 36px; }
  .hero-visual img { aspect-ratio: 1.7; }
  .hero-visual::before { inset-inline: -3%; }
  .hero-lead { margin-top: 16px; }
  .hero-actions { margin-top: 17px; }
  .hero-specs { margin-top: 14px; }
  .bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-stats { grid-column: 1 / -1; }
  .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .account-card { grid-template-columns: minmax(0, 1fr); }
  .account-sidebar { flex-direction: row; flex-wrap: wrap; padding: 9px; border-right: 0; border-bottom: 1px solid var(--line); }
  .account-tabs { display: flex; flex-wrap: wrap; }
  .account-exit { margin-left: auto; }
}

@media (max-width: 540px) {
  .container { width: calc(100% - 32px); }
  .bento-grid, .pricing-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .price-content { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 5px 12px; }
  .price-top { grid-column: 1; justify-content: flex-start; flex-wrap: wrap; column-gap: 6px; }
  .price-value { grid-column: 2; grid-row: 1 / 3; }
  .price-choice { grid-column: 1; }
  .overview-panel { align-items: start; flex-direction: column; }
  .redeem-form, .license-facts { grid-template-columns: minmax(0, 1fr); }
  .checkout-state { padding: 15px; }
}

@media (max-width: 460px) {
  .header-end { gap: 5px; }
  #account-link { padding: 0; }
  #account-link span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  .header-inner { column-gap: 8px; }
  .header-end { gap: 4px; }
  .header-action, .theme-toggle, .nav-burger { min-width: 36px; min-height: 38px; }
  .cabinet-store-grid { grid-template-columns: minmax(0, 1fr); }
}

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