:root {
  color-scheme: dark;
  --bg: #070809;
  --ink: #f5f7f8;
  --muted: #aeb4bb;
  --muted-2: #747b83;
  --line: rgba(255, 255, 255, .14);
  --line-strong: rgba(255, 255, 255, .24);
  --panel: rgba(17, 19, 21, .88);
  --panel-solid: #151719;
  --steel: #d9dee3;
  --steel-2: #8f98a2;
  --accent: #f3f6f8;
  --accent-2: #ff3f36;
  --chrome: #cfd5db;
  --rubber: #0b0c0e;
  --track: #ff3f36;
  --danger: #ff6b6b;
  --radius: 6px;
  --shadow: 0 30px 90px rgba(0, 0, 0, .58);
  --font-ui: Inter, "Segoe UI", "Noto Sans", "Noto Sans Georgian", "Noto Sans Arabic", "Noto Sans Devanagari", "Noto Sans CJK SC", "Noto Sans JP", "Noto Sans KR", "Microsoft YaHei", "PingFang SC", "Hiragino Sans", "Yu Gothic", Meiryo, "Malgun Gothic", "Apple SD Gothic Neo", "Nirmala UI", "Arial Unicode MS", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Arial Black", Impact, Inter, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-ui);
  color: var(--ink);
  background:
    repeating-linear-gradient(116deg, rgba(255, 255, 255, .022) 0 1px, transparent 1px 22px),
    linear-gradient(180deg, #101113 0%, #050607 45%, #0b0c0e 100%);
  background-size: auto;
}

html[lang="ar"],
html[lang="hi"],
html[lang="zh"],
html[lang="ja"],
html[lang="ko"],
html[lang="ka"] {
  --font-display: var(--font-ui);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(108deg, transparent 0 18%, rgba(255, 255, 255, .05) 18.2%, transparent 19.2%),
    linear-gradient(108deg, transparent 0 67%, rgba(255, 63, 54, .13) 67.2%, transparent 68.4%),
    linear-gradient(180deg, rgba(255, 255, 255, .05), transparent 22%, rgba(255, 255, 255, .035) 78%, transparent);
  opacity: .48;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 6px, rgba(255, 255, 255, .018) 6px 7px),
    linear-gradient(180deg, transparent 0 60%, rgba(255, 255, 255, .055) 100%);
  mix-blend-mode: screen;
  opacity: .28;
}

button,
input,
a {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: .62;
}

.hidden {
  display: none !important;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 10px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: rgba(7, 8, 9, .78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 96px;
  height: 58px;
  overflow: visible;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 82px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .62));
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
}

.nav-links a {
  color: rgba(245, 247, 248, .78);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav-links a:hover {
  color: var(--ink);
}

.is-cabinet .topbar {
  grid-template-columns: auto auto;
  justify-content: space-between;
}

.is-cabinet .nav-links {
  display: none;
}

.top-actions,
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.hero-actions {
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 14px;
}

.bot-link {
  flex: 0 0 auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid rgba(255, 63, 54, .42);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 63, 54, .18), rgba(255, 63, 54, .07)),
    rgba(255, 255, 255, .045);
  color: #ffffff;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .12);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.bot-link:hover,
.bot-link:focus-visible {
  border-color: rgba(255, 255, 255, .5);
  background:
    linear-gradient(180deg, rgba(255, 63, 54, .28), rgba(255, 63, 54, .12)),
    rgba(255, 255, 255, .07);
  transform: translateY(-1px);
}

.dashboard-entry {
  position: relative;
  overflow: hidden;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  border: 1px solid rgba(255, 63, 54, .86);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 108, 101, .98), rgba(255, 63, 54, .95) 48%, rgba(160, 18, 14, .98) 100%);
  color: #ffffff;
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  box-shadow:
    0 22px 62px rgba(255, 63, 54, .28),
    0 0 0 1px rgba(255, 255, 255, .1) inset,
    inset 0 1px 0 rgba(255, 255, 255, .34);
  will-change: filter;
  animation: dashboardBreath 2.15s ease-in-out infinite;
}

.dashboard-entry::after {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(104deg, transparent 0 36%, rgba(255, 255, 255, .38) 45%, transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, .16), transparent 48%);
  mix-blend-mode: screen;
  transform: translateX(-118%);
  animation: dashboardShine 1.9s ease-in-out infinite;
}

.dashboard-entry:hover,
.dashboard-entry:focus-visible {
  border-color: rgba(255, 255, 255, .58);
  box-shadow:
    0 26px 76px rgba(255, 63, 54, .38),
    0 0 0 1px rgba(255, 255, 255, .16) inset,
    inset 0 1px 0 rgba(255, 255, 255, .42);
  transform: translateY(-1px);
}

.login-slot {
  min-height: 38px;
  display: flex;
  align-items: center;
}

.language-picker {
  position: relative;
}

.language-button {
  position: relative;
  overflow: hidden;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .095), rgba(255, 255, 255, .035));
  color: var(--ink);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.language-button strong {
  font-size: 13px;
  font-weight: 900;
}

.language-option small {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.language-flag,
.language-option span {
  width: 20px;
  text-align: center;
}

.language-flag-img {
  width: 20px;
  height: 20px;
  display: block;
  flex: 0 0 20px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .24),
    0 3px 10px rgba(0, 0, 0, .35);
}

.language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 90;
  width: 248px;
  max-height: min(420px, calc(100vh - 98px));
  overflow: auto;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 2px;
  background: rgba(9, 10, 11, .96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.language-option {
  width: 100%;
  min-height: 38px;
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.language-option strong {
  font-size: 14px;
  font-weight: 850;
}

.language-option small {
  color: var(--track);
  text-align: right;
}

.language-option:hover,
.language-option.active {
  background: rgba(255, 255, 255, .09);
}

.bot-link,
.telegram-fallback,
.primary-button,
.secondary-button,
.ghost-button,
.text-button,
.download-button,
.side-tab {
  position: relative;
  overflow: hidden;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.language-button::after,
.bot-link::after,
.telegram-fallback::after,
.primary-button::after,
.secondary-button::after,
.ghost-button::after,
.text-button::after,
.download-button::after,
.side-tab::after,
.modal-actions button::after,
.dialog-close::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(105deg, transparent 0 42%, rgba(255, 255, 255, .26) 48%, transparent 56%),
    linear-gradient(180deg, rgba(255, 255, 255, .14), transparent 44%);
  mix-blend-mode: screen;
  opacity: .34;
  transform: translateX(-112%);
  transition: transform .58s ease, opacity .22s ease;
}

.language-button:hover::after,
.language-button:focus-visible::after,
.bot-link:hover::after,
.bot-link:focus-visible::after,
.telegram-fallback:hover::after,
.telegram-fallback:focus-visible::after,
.primary-button:hover::after,
.primary-button:focus-visible::after,
.secondary-button:hover::after,
.secondary-button:focus-visible::after,
.ghost-button:hover::after,
.ghost-button:focus-visible::after,
.text-button:hover::after,
.text-button:focus-visible::after,
.download-button:hover::after,
.download-button:focus-visible::after,
.side-tab:hover::after,
.side-tab:focus-visible::after,
.modal-actions button:hover::after,
.modal-actions button:focus-visible::after,
.dialog-close:hover::after,
.dialog-close:focus-visible::after {
  opacity: .52;
  transform: translateX(112%);
}

.language-button > *,
.bot-link > *,
.telegram-fallback > *,
.primary-button > *,
.secondary-button > *,
.ghost-button > *,
.text-button > *,
.download-button > *,
.side-tab > *,
.modal-actions button > *,
.dialog-close > * {
  position: relative;
  z-index: 1;
}

.telegram-fallback,
.primary-button,
.download-button {
  padding: 0 14px;
  border-color: rgba(255, 255, 255, .42);
  background: linear-gradient(180deg, #ffffff 0%, #c7cdd3 62%, #9ea7af 100%);
  color: #090a0b;
  font-weight: 900;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .7);
}

.secondary-button,
.ghost-button,
.text-button {
  padding: 0 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .095), rgba(255, 255, 255, .035));
  color: var(--ink);
  font-weight: 800;
}

.text-button {
  color: var(--muted);
}

.telegram-fallback:hover,
.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.text-button:hover,
.download-button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, .32);
}

main {
  width: 100%;
}

.hero {
  position: relative;
  min-height: calc(100svh - 132px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  user-select: none;
}

.hero-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-compare {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: #050607;
  box-shadow: none;
}

.compare {
  position: relative;
  overflow: hidden;
  user-select: none;
  touch-action: none;
}

.compare-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-after {
  z-index: 1;
}

.compare-before {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 50%;
  overflow: hidden;
}

.compare-before img {
  width: var(--compare-width, 100vw);
  max-width: none;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 5, 6, .96) 0%, rgba(4, 5, 6, .82) 34%, rgba(4, 5, 6, .18) 68%, rgba(4, 5, 6, .42) 100%),
    linear-gradient(0deg, rgba(4, 5, 6, .96) 0%, transparent 42%),
    linear-gradient(112deg, transparent 0 57%, rgba(255, 63, 54, .16) 57.3%, transparent 58.2%);
}

.compare-handle {
  position: absolute;
  z-index: 32;
  top: 0;
  left: 50%;
  width: 58px;
  height: 100%;
  transform: translateX(-50%);
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: ew-resize;
  touch-action: none;
}

.compare-handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, .95);
  transform: translateX(-50%);
  box-shadow: 0 0 30px rgba(255, 255, 255, .6), 0 0 70px rgba(255, 63, 54, .26);
}

.compare-handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #bfc6ce);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .48);
  animation: handlePulse 2.6s ease-in-out infinite;
}

.compare-handle span::before,
.compare-handle span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid #090a0b;
  border-left: 2px solid #090a0b;
}

.compare-handle span::before {
  left: 15px;
  transform: translateY(-50%) rotate(-45deg);
}

.compare-handle span::after {
  right: 15px;
  transform: translateY(-50%) rotate(135deg);
}

.compare-label {
  position: absolute;
  z-index: 30;
  top: 104px;
  min-width: 82px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .44));
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0;
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.compare-label.before {
  left: clamp(16px, 4vw, 54px);
}

.compare-label.after {
  right: clamp(16px, 4vw, 54px);
}

.hero-content {
  position: relative;
  z-index: 12;
  width: min(900px, calc(100vw - 32px));
  padding: clamp(26px, 6vw, 70px) clamp(16px, 4vw, 54px) clamp(28px, 5vw, 58px);
  animation: riseIn .7s ease both;
  pointer-events: none;
  user-select: none;
}

.hero-actions {
  pointer-events: auto;
}

.hero-content::before {
  content: "";
  position: absolute;
  left: clamp(16px, 4vw, 54px);
  top: clamp(26px, 6vw, 70px);
  width: 78px;
  height: 4px;
  background: linear-gradient(90deg, var(--track), rgba(255, 255, 255, .75));
  transform: skewX(-22deg);
  box-shadow: 0 0 34px rgba(255, 63, 54, .24);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--track);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  max-width: 900px;
  padding-top: 22px;
  font-family: var(--font-display);
  font-size: 88px;
  line-height: .88;
  letter-spacing: 0;
  text-wrap: balance;
  text-transform: uppercase;
  font-style: italic;
  text-shadow: 0 18px 48px rgba(0, 0, 0, .62);
}

h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
  text-transform: uppercase;
  font-style: italic;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.15;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="hi"] h1,
html[lang="hi"] h2,
html[lang="zh"] h1,
html[lang="zh"] h2,
html[lang="ja"] h1,
html[lang="ja"] h2,
html[lang="ko"] h1,
html[lang="ko"] h2,
html[lang="ka"] h1,
html[lang="ka"] h2 {
  line-height: 1.04;
  text-transform: none;
  font-style: normal;
}

.hero-lead {
  max-width: 700px;
  margin-bottom: 28px;
  color: rgba(245, 247, 248, .78);
  font-size: 21px;
  line-height: 1.48;
}

.dashboard-strip {
  display: grid;
  place-items: center;
  padding: 28px 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background:
    linear-gradient(90deg, transparent, rgba(255, 63, 54, .12), transparent),
    #070809;
}

.dashboard-strip .dashboard-entry {
  min-width: min(420px, 100%);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 16px 26px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  background: rgba(5, 6, 7, .72);
}

.footer-legal {
  width: min(520px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 auto;
}

.footer-legal a,
.legal-tabs a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 2px;
  background: rgba(255, 255, 255, .025);
  color: rgba(245, 247, 248, .72);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.15;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-legal a:hover,
.footer-legal a:focus-visible,
.legal-tabs a:hover,
.legal-tabs a:focus-visible,
.legal-tabs a.active {
  border-color: rgba(255, 63, 54, .72);
  background: rgba(255, 63, 54, .1);
  color: #ffffff;
}

.legal-main {
  width: min(1060px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(54px, 7vw, 96px) 0 clamp(64px, 8vw, 110px);
}

.legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.legal-hero h1 {
  max-width: 820px;
  margin: 0 0 14px;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 84px);
  line-height: .9;
  text-transform: uppercase;
}

.legal-hero p:not(.eyebrow) {
  max-width: 700px;
  margin: 0;
  color: rgba(245, 247, 248, .72);
  font-size: 18px;
  line-height: 1.5;
}

.legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.legal-document {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 63, 54, .09), transparent 28%),
    rgba(15, 17, 19, .92);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
}

.legal-document::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--track), rgba(255, 255, 255, .62), transparent);
}

.legal-document pre {
  margin: 0;
  padding: clamp(22px, 4vw, 42px);
  color: rgba(245, 247, 248, .84);
  font: 500 15px/1.72 var(--font-ui);
  white-space: pre-wrap;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-metrics span {
  min-width: 138px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(5, 6, 7, .72), rgba(5, 6, 7, .42));
  backdrop-filter: blur(12px);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.hero-metrics strong,
.hero-metrics em {
  display: block;
}

.hero-metrics strong {
  font-size: 18px;
  font-style: normal;
}

.hero-metrics em {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0;
}

.wheel-reference {
  position: absolute;
  z-index: 22;
  right: clamp(16px, 4vw, 54px);
  bottom: clamp(18px, 5vw, 58px);
  width: min(300px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 2px;
  background: linear-gradient(135deg, rgba(5, 6, 7, .86), rgba(31, 34, 37, .66));
  color: var(--ink);
  text-align: left;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}

.wheel-reference img {
  width: 88px;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(255, 255, 255, .06);
}

.wheel-reference span {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

.signal-strip {
  min-height: 54px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: #0b0d0f;
}

.signal-strip span {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 10px 14px;
  border-right: 1px solid rgba(255, 255, 255, .1);
  color: rgba(245, 247, 248, .74);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section {
  padding: clamp(56px, 8vw, 108px) clamp(16px, 5vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-copy {
  width: min(980px, 100%);
  margin-bottom: clamp(24px, 4vw, 46px);
}

.section-copy.narrow {
  width: min(760px, 100%);
}

.section-copy p:not(.eyebrow),
.showcase-copy p:not(.eyebrow),
.benefit-grid p,
.process-section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.pricing-section {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  align-items: end;
  gap: clamp(22px, 5vw, 64px);
  background:
    linear-gradient(112deg, rgba(255, 63, 54, .12) 0 1px, transparent 1px 26%),
    linear-gradient(180deg, rgba(255, 255, 255, .05), transparent 32%),
    #08090a;
}

.pricing-section::before {
  content: "";
  position: absolute;
  right: -120px;
  top: 44px;
  width: 55%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .42), transparent);
  transform: rotate(-10deg);
}

.pricing-section .section-copy {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

.landing-packages {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(118px, 1fr));
  gap: 12px;
}

.packages {
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 12px;
}

.workspace .packages {
  grid-template-columns: repeat(2, minmax(180px, 1fr));
}

.package {
  position: relative;
  overflow: hidden;
  min-height: 158px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 2px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .03) 45%, rgba(255, 63, 54, .08)),
    #111315;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}

.package::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0 36%, rgba(255, 255, 255, .13) 46%, transparent 56%);
  transform: translateX(-120%);
  transition: transform .55s ease;
}

.package:hover::before {
  transform: translateX(120%);
}

.package.popular {
  border-color: rgba(255, 63, 54, .62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 54px rgba(255, 63, 54, .12);
}

.package.bulk {
  border-color: rgba(207, 213, 219, .46);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .19), rgba(255, 255, 255, .04) 45%, rgba(255, 63, 54, .1)),
    #15181b;
}

.package-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 2px;
  background: rgba(0, 0, 0, .4);
  color: var(--track);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

.package-main {
  display: grid;
  gap: 16px;
  padding-right: 54px;
}

.package-credits,
.package-price {
  display: grid;
  gap: 5px;
}

.package-credits strong,
.package-price strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 34px;
  font-style: italic;
  line-height: .92;
  letter-spacing: 0;
}

.package-price strong {
  color: #ffffff;
  font-size: 30px;
  text-shadow: 0 0 22px rgba(255, 255, 255, .12);
}

.package-credits span,
.package-price span {
  display: block;
  margin: 0;
  color: rgba(245, 247, 248, .84);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.24;
  text-transform: uppercase;
}

.package .primary-button {
  width: 100%;
  min-height: 38px;
}

.package-actions {
  display: grid;
  gap: 8px;
}

.package-actions .primary-button,
.package-actions .secondary-button {
  width: 100%;
  min-height: 38px;
}

.landing-packages .package {
  min-height: 188px;
}

.landing-packages .package.popular {
  transform: translateY(-18px);
}

.landing-packages .package .package-credits strong {
  font-size: 34px;
}

.landing-packages .package .package-price strong {
  font-size: 30px;
}

.business-section {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(280px, .88fr) minmax(320px, 1.12fr);
  gap: clamp(26px, 6vw, 72px);
  align-items: center;
  background:
    linear-gradient(112deg, #090a0b 0 47%, #14171a 47.2% 100%),
    #090a0b;
}

.business-section::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  top: 50%;
  height: 88px;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, .09), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 22px);
  transform: translateY(-50%) rotate(-8deg);
  opacity: .64;
}

.business-visual,
.business-copy {
  position: relative;
  z-index: 1;
}

.business-visual {
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .11), transparent 42%),
    linear-gradient(180deg, #171a1d, #08090a);
  clip-path: polygon(34px 0, 100% 0, calc(100% - 42px) 100%, 0 100%);
  box-shadow: var(--shadow);
}

.business-visual::after {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, .09);
  clip-path: polygon(28px 0, 100% 0, calc(100% - 34px) 100%, 0 100%);
}

.business-visual img {
  position: relative;
  z-index: 1;
  width: min(460px, 92%);
  height: auto;
  filter: drop-shadow(0 30px 54px rgba(0, 0, 0, .7));
  transform: rotate(-3deg);
}

.business-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.business-grid {
  display: grid;
  gap: 1px;
  margin-top: 30px;
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .12);
}

.business-grid article {
  min-height: 118px;
  display: grid;
  grid-template-columns: 70px 1fr;
  column-gap: 18px;
  align-items: start;
  padding: 22px;
  background:
    linear-gradient(100deg, rgba(255, 63, 54, .08), transparent 34%),
    #0f1113;
}

.business-grid strong {
  grid-row: 1 / span 2;
  color: var(--track);
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
}

.business-grid h3,
.business-grid p {
  margin: 0;
}

.benefits-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .035), transparent 36%),
    #0c0d0f;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .12);
}

.benefit-grid article {
  position: relative;
  min-height: 280px;
  padding: clamp(22px, 4vw, 34px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .045), transparent),
    #111315;
}

.benefit-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--track), transparent 70%);
}

.benefit-index {
  display: inline-block;
  margin-bottom: 52px;
  color: var(--track);
  font-weight: 950;
}

.showcase-section {
  display: grid;
  grid-template-columns: minmax(250px, 420px) minmax(0, 1fr);
  align-items: end;
  gap: clamp(28px, 5vw, 58px);
  background:
    linear-gradient(90deg, rgba(255, 63, 54, .08), transparent 32%),
    repeating-linear-gradient(112deg, transparent 0 20px, rgba(255, 255, 255, .018) 20px 21px),
    #070809;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr .72fr 1.15fr;
  gap: 12px;
  align-items: stretch;
}

.showcase-grid button {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 2px;
  background: #050607;
  color: var(--ink);
  box-shadow: var(--shadow);
  clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
}

.showcase-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.showcase-grid button:nth-child(2) img {
  object-fit: contain;
  padding: 14px;
  background: #0a0b0c;
}

.showcase-grid button:hover img {
  transform: scale(1.035);
}

.showcase-grid span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 2px;
  background: rgba(0, 0, 0, .62);
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.process-section {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  background:
    linear-gradient(112deg, transparent 0 61%, rgba(255, 63, 54, .08) 61.2%, transparent 62.2%),
    #0b0c0d;
}

.process-line {
  position: absolute;
  left: clamp(16px, 5vw, 64px);
  right: clamp(16px, 5vw, 64px);
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .1), rgba(255, 63, 54, .62), rgba(255, 255, 255, .1));
}

.process-section article {
  position: relative;
  min-height: 260px;
  padding: clamp(22px, 4vw, 34px);
  border-left: 1px solid rgba(255, 255, 255, .1);
}

.process-section strong {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 56px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: #111315;
  color: var(--track);
  font-size: 13px;
}

.final-cta {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: grid;
  place-items: center;
  justify-items: center;
  padding: clamp(54px, 9vw, 120px) 18px;
  text-align: center;
  background:
    linear-gradient(112deg, transparent 0 35%, rgba(255, 255, 255, .08) 35.1%, transparent 36%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, .06)),
    #070809;
}

.final-cta::before {
  content: "WHEEL SWAP";
  position: absolute;
  inset: auto -40px 10px;
  color: rgba(255, 255, 255, .035);
  font-family: var(--font-display);
  font-size: 118px;
  font-style: italic;
  line-height: .8;
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
}

.final-cta h2 {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

.final-cta .eyebrow,
.final-cta .login-slot {
  position: relative;
  z-index: 1;
}

.cabinet {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: 278px minmax(0, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: #070809;
}

.cabinet-gate {
  min-height: calc(100vh - 78px);
  display: grid;
  place-items: center;
  padding: clamp(28px, 6vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, .08);
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 63, 54, .16), transparent 34%),
    linear-gradient(180deg, #101113 0%, #060708 100%);
}

.cabinet-gate-inner {
  width: min(720px, 100%);
  text-align: center;
}

.cabinet-gate h1 {
  margin: 0 auto 18px;
  max-width: 720px;
  font-size: clamp(54px, 9vw, 104px);
}

.cabinet-gate p:not(.eyebrow) {
  margin: 0 auto 24px;
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.cabinet-login-slot {
  justify-content: center;
}

.sidebar {
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), transparent), #0d0f11;
}

.profile {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #b5bdc6);
  color: #08090a;
  font-weight: 950;
}

.profile-name {
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-balance {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.side-tab {
  width: 100%;
  justify-content: flex-start;
  margin-bottom: 10px;
  padding: 0 14px;
  background: rgba(255, 255, 255, .05);
  color: var(--ink);
  font-weight: 900;
}

.side-tab.active {
  background: linear-gradient(180deg, #ffffff, #c8ced5);
  color: #090a0b;
}

.side-tab.subtle {
  margin-top: 18px;
  color: var(--muted);
}

.workspace {
  padding: clamp(20px, 4vw, 42px);
}

.panel {
  display: none;
}

.panel.active {
  display: block;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.section-head.compact {
  margin-top: 28px;
  margin-bottom: 12px;
}

.notice {
  margin-bottom: 20px;
  color: var(--muted);
}

.purchase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 18px;
  align-items: start;
}

.subhead {
  margin-bottom: 12px;
}

.subhead h3 {
  margin: 0 0 6px;
  font-size: 18px;
  text-transform: uppercase;
}

.subhead p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.saved-card-card,
.billing-state,
.receipt-list {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 2px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025)),
    #101214;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.saved-card-card {
  padding: 18px;
}

.saved-card-mini {
  display: grid;
  gap: 10px;
}

.saved-card-mini article {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 2px;
  background: rgba(0, 0, 0, .22);
}

.saved-card-mini strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.saved-card-mini strong em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.saved-card-mini span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}

.muted-plan {
  color: var(--muted);
}

.consent-line {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.consent-line input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--track);
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.billing-summary {
  display: grid;
  grid-template-columns: minmax(320px, .86fr) minmax(280px, .64fr);
  gap: 16px;
}

.billing-state,
.receipt-list {
  padding: 18px;
}

.billing-state > strong {
  display: block;
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
  text-transform: uppercase;
}

.billing-state > span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.45;
}

.billing-state dl {
  display: grid;
  gap: 1px;
  margin: 18px 0 0;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .08);
}

.billing-state dl div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 11px 12px;
  background: rgba(0, 0, 0, .22);
}

.billing-state dt,
.billing-state dd {
  margin: 0;
}

.billing-state dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.receipt-list h3 {
  margin: 0 0 12px;
  font-size: 16px;
  text-transform: uppercase;
}

.receipt-list ul {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, .08);
}

.receipt-list li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  background: rgba(0, 0, 0, .22);
}

.receipt-list span,
.receipt-list em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.receipt-list strong {
  white-space: nowrap;
}

.billing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.ghost-button.danger {
  color: #ffd3d3;
  border-color: rgba(255, 107, 107, .32);
}

.upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 16px;
}

.upload-tile {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(255, 255, 255, .32);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .02)),
    #101214;
  cursor: pointer;
}

.upload-tile input {
  display: none;
}

.upload-empty {
  display: grid;
  gap: 8px;
  text-align: center;
}

.upload-empty strong {
  font-size: 22px;
}

.upload-empty em {
  color: var(--muted);
  font-style: normal;
}

.upload-tile img {
  position: absolute;
  inset: 12px;
  display: none;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  object-fit: contain;
  object-position: center;
}

.upload-tile.has-image img {
  display: block;
}

.upload-tile.has-image .upload-empty {
  display: none;
}

.replace-badge,
.open-badge {
  position: absolute;
  z-index: 3;
  bottom: 12px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .68);
  color: #fff;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .18s ease, transform .18s ease;
}

.replace-badge {
  right: 12px;
}

.open-badge {
  left: 12px;
}

.upload-tile.has-image:hover .replace-badge,
.upload-tile.has-image:hover .open-badge {
  opacity: 1;
  transform: translateY(0);
}

.tryon-action {
  width: min(860px, 100%);
  margin-top: 18px;
}

.tryon-apply-button {
  width: 100%;
  min-height: 58px;
  border-color: rgba(255, 63, 54, .86);
  background:
    linear-gradient(180deg, rgba(255, 111, 104, .98), rgba(255, 63, 54, .94) 52%, rgba(168, 20, 15, .98) 100%);
  color: #ffffff;
  font-size: 18px;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow:
    0 18px 48px rgba(255, 63, 54, .22),
    0 0 0 1px rgba(255, 255, 255, .08) inset,
    inset 0 1px 0 rgba(255, 255, 255, .34);
  animation: applyCallout 1.85s ease-in-out infinite;
}

.tryon-apply-button:hover,
.tryon-apply-button:focus-visible {
  border-color: rgba(255, 255, 255, .55);
  box-shadow:
    0 20px 58px rgba(255, 63, 54, .32),
    0 0 0 1px rgba(255, 255, 255, .12) inset,
    inset 0 1px 0 rgba(255, 255, 255, .42);
}

.progress {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
}

.tryon-action .progress {
  margin-top: 0;
  width: 100%;
}

.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.progress-meta span {
  color: var(--muted);
}

.progress-track {
  overflow: hidden;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
}

.progress-track div {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--track), #ffffff);
  transition: width .35s ease;
}

.result-zone {
  margin-top: 12px;
}

.result-image {
  overflow: hidden;
  width: min(860px, 100%);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background: #050607;
}

.result-image img {
  display: block;
  width: 100%;
  height: auto;
}

.history {
  width: min(980px, 100%);
  margin-top: 34px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 2px;
  background:
    linear-gradient(112deg, rgba(255, 63, 54, .06), transparent 42%),
    #0d0f11;
}

.history-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.history .section-head h3,
.history-title span {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.2;
  text-transform: uppercase;
}

.history-title span {
  color: var(--track);
  font-weight: 950;
}

.history-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.history-item {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 2px;
  background: #111315;
  opacity: .92;
}

.history-item.empty {
  display: grid;
  min-height: 188px;
  place-items: center;
  border-style: dashed;
  background:
    repeating-linear-gradient(112deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 12px),
    rgba(255, 255, 255, .035);
}

.history-item button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #050607;
}

.history-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: contain;
  object-position: center;
  background: #050607;
}

.history-row {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.history-row small {
  color: var(--muted);
}

.history-placeholder {
  min-height: 150px;
  display: grid;
  gap: 8px;
  place-items: center;
  color: var(--muted);
  text-align: center;
}

.history-placeholder strong {
  color: rgba(255, 255, 255, .24);
  font-size: 28px;
  line-height: 1;
}

.history-placeholder span {
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  grid-template-rows: 58px minmax(0, 1fr);
  background:
    repeating-linear-gradient(112deg, rgba(255, 255, 255, .024) 0 1px, transparent 1px 20px),
    rgba(0, 0, 0, .96);
}

body.viewer-open {
  overflow: hidden;
}

.modal-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: rgba(8, 9, 10, .72);
  backdrop-filter: blur(14px);
}

.modal-actions button,
.dialog-close {
  position: relative;
  overflow: hidden;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 2px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
}

.modal-actions button:hover {
  background: rgba(255, 255, 255, .14);
}

#zoomLabel {
  min-width: 56px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.lightbox-stage {
  position: relative;
  overflow: hidden;
  width: 100vw;
  min-height: 0;
  cursor: zoom-in;
  touch-action: none;
  user-select: none;
}

.lightbox-stage img {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 92vw;
  max-height: calc(100vh - 96px);
  width: auto;
  height: auto;
  transform-origin: center;
  transition: transform .08s ease;
  will-change: transform;
  user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
}

.lightbox-stage.zoomed {
  cursor: grab;
}

.lightbox-stage.panning {
  cursor: grabbing;
}

.lightbox-stage.panning img {
  transition: none;
}

.offer-dialog {
  width: min(760px, calc(100vw - 28px));
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: var(--panel-solid);
  color: var(--ink);
}

.offer-dialog::backdrop {
  background: rgba(0, 0, 0, .72);
}

.offer-dialog form {
  position: relative;
  margin: 0;
  padding: 24px;
}

.offer-dialog pre {
  max-height: 62vh;
  overflow: auto;
  white-space: pre-wrap;
  color: var(--muted);
  font-family: inherit;
  line-height: 1.45;
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
}

.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 24px;
  max-width: min(460px, calc(100vw - 24px));
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: rgba(18, 20, 22, .96);
  color: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity .2s ease, transform .2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes handlePulse {
  0%, 100% {
    box-shadow: 0 18px 44px rgba(0, 0, 0, .48);
  }
  50% {
    box-shadow: 0 18px 44px rgba(0, 0, 0, .48), 0 0 34px rgba(255, 63, 54, .36);
  }
}

@keyframes applyCallout {
  0%, 100% {
    transform: translateY(0);
    box-shadow:
      0 18px 48px rgba(255, 63, 54, .2),
      0 0 0 1px rgba(255, 255, 255, .08) inset,
      inset 0 1px 0 rgba(255, 255, 255, .34);
  }
  50% {
    transform: translateY(-1px);
    box-shadow:
      0 24px 64px rgba(255, 63, 54, .36),
      0 0 22px rgba(255, 63, 54, .28),
      0 0 0 1px rgba(255, 255, 255, .12) inset,
      inset 0 1px 0 rgba(255, 255, 255, .42);
  }
}

@keyframes dashboardShine {
  0% {
    transform: translateX(-118%);
  }
  56%,
  100% {
    transform: translateX(118%);
  }
}

@keyframes dashboardBreath {
  0%,
  100% {
    filter: brightness(1) saturate(1);
  }
  50% {
    filter: brightness(1.09) saturate(1.08);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 1180px) {
  h1 {
    font-size: 76px;
  }

  h2 {
    font-size: 48px;
  }
}

@media (max-width: 980px) {
  .landing-packages,
  .packages {
    grid-template-columns: repeat(3, minmax(170px, 1fr));
  }

  .purchase-grid,
  .billing-summary {
    grid-template-columns: 1fr;
  }

  .pricing-section,
  .business-section,
  .showcase-section {
    grid-template-columns: 1fr;
  }

  .landing-packages .package.popular {
    transform: none;
  }
}

@media (max-width: 860px) {
  .topbar {
    grid-template-columns: auto auto;
    height: 72px;
  }

  .nav-links {
    display: none;
  }

  .brand {
    width: 108px;
  }

  .brand img {
    width: 92px;
    height: 62px;
  }

  .hero {
    min-height: calc(100svh - 112px);
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(4, 5, 6, .22) 0%, rgba(4, 5, 6, .76) 48%, rgba(4, 5, 6, .96) 100%),
      linear-gradient(90deg, rgba(4, 5, 6, .72), transparent);
  }

  .hero-content {
    padding-top: 230px;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .login-slot,
  .hero-actions .dashboard-entry,
  .hero-actions .telegram-fallback,
  .hero-actions .secondary-button {
    width: 100%;
  }

  .wheel-reference {
    right: 14px;
    bottom: auto;
    top: 92px;
    width: min(260px, calc(100vw - 28px));
    grid-template-columns: 68px 1fr;
  }

  .wheel-reference img {
    width: 68px;
  }

  .compare-label {
    top: 90px;
  }

  .signal-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .landing-packages,
  .packages,
  .purchase-grid,
  .billing-summary,
  .benefit-grid,
  .business-grid,
  .process-section {
    grid-template-columns: 1fr;
  }

  .business-visual {
    min-height: 340px;
  }

  .business-grid article {
    grid-template-columns: 54px 1fr;
  }

  .process-line {
    display: none;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .showcase-grid button {
    min-height: 260px;
  }

  .cabinet {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: sticky;
    top: 72px;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .profile {
    grid-column: 1 / -1;
    margin-bottom: 4px;
  }

  .side-tab {
    justify-content: center;
    margin: 0;
  }

  .side-tab.subtle {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .workspace {
    padding: 16px 14px 30px;
  }

  .workspace .packages {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .purchase-grid,
  .billing-summary {
    gap: 14px;
  }

  .saved-card-card,
  .billing-state,
  .receipt-list {
    padding: 14px;
  }

  .legal-actions,
  .billing-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .legal-actions .secondary-button,
  .billing-actions .secondary-button,
  .billing-actions .ghost-button {
    width: 100%;
  }

  .upload-grid {
    grid-template-columns: 1fr;
  }

  .upload-tile {
    min-height: 260px;
  }

  .history-grid {
    display: flex;
    grid-template-columns: none;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }

  .history-item {
    flex: 0 0 min(250px, 78vw);
    scroll-snap-align: start;
  }

  .billing-state dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 520px) {
  .top-actions {
    gap: 8px;
  }

  .ghost-button {
    min-width: 44px;
    padding: 0 10px;
  }

  .language-button {
    width: 48px;
    padding: 0;
  }

  .language-button strong,
  .language-button em {
    display: none;
  }

  .language-menu {
    right: 0;
    width: calc(100vw - 28px);
    max-height: calc(100vh - 88px);
  }

  .signal-strip {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 48px 14px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-metrics span {
    width: 100%;
  }

  .saved-card-mini article {
    padding: 12px;
  }

  .saved-card-mini strong {
    font-size: 24px;
  }

  .consent-line {
    font-size: 12px;
  }

  .billing-state > strong {
    font-size: 28px;
  }

  .receipt-list li {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .business-visual {
    min-height: 260px;
    clip-path: polygon(18px 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
  }

  .final-cta::before {
    font-size: 58px;
  }

  .modal {
    grid-template-rows: 54px minmax(0, 1fr);
  }

  .modal-actions {
    gap: 6px;
    padding: 8px;
  }

  .modal-actions button {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 13px;
  }

  #zoomLabel {
    min-width: 48px;
  }

  .lightbox-stage img {
    max-width: calc(100vw - 18px);
    max-height: calc(100vh - 78px);
  }
}

:root {
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

@media (hover: none), (pointer: coarse) {
  .bot-link,
  .dashboard-entry,
  .telegram-fallback,
  .primary-button,
  .secondary-button,
  .ghost-button,
  .text-button,
  .download-button,
  .side-tab,
  .language-button,
  .language-option,
  .modal-actions button,
  .dialog-close {
    min-height: 44px;
  }

  .upload-tile.has-image .replace-badge,
  .upload-tile.has-image .open-badge {
    opacity: 1;
    transform: none;
  }

  .telegram-fallback:hover,
  .dashboard-entry:hover,
  .primary-button:hover,
  .secondary-button:hover,
  .ghost-button:hover,
  .text-button:hover,
  .download-button:hover,
  .package:hover::before,
  .showcase-grid button:hover img {
    transform: none;
  }
}

@media (max-width: 860px) {
  .topbar {
    min-height: calc(64px + var(--safe-top));
    height: auto;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 8px;
    padding: calc(8px + var(--safe-top)) 12px 8px;
  }

  .brand {
    width: 74px;
    height: 48px;
  }

  .brand img {
    width: 72px;
    height: 48px;
  }

  .top-actions {
    min-width: 0;
    justify-self: end;
    gap: 8px;
  }

  .topbar .login-slot {
    min-width: 0;
    max-width: min(160px, calc(100vw - 244px));
  }

  .bot-link {
    min-height: 44px;
  }

  .dashboard-entry {
    min-height: 54px;
    font-size: 16px;
  }

  .topbar .login-slot > *,
  .topbar .login-slot iframe {
    max-width: 100% !important;
  }

  .language-button {
    min-width: 46px;
    min-height: 44px;
  }

  .language-flag-img {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .language-menu {
    position: fixed;
    top: calc(64px + var(--safe-top));
    left: 12px;
    right: 12px;
    width: auto;
    max-height: calc(100svh - 84px - var(--safe-top));
  }

  .language-option {
    min-height: 48px;
    grid-template-columns: 32px 1fr auto;
  }

  .site-footer {
    align-items: center;
    justify-content: center;
    padding: 22px 14px calc(24px + var(--safe-bottom));
  }

  .footer-legal {
    width: min(520px, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-legal a,
  .legal-tabs a {
    min-height: 40px;
  }

  .legal-main {
    width: min(100% - 24px, 760px);
    padding: 38px 0 58px;
  }

  .legal-hero {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
  }

  .legal-hero h1 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .legal-hero p:not(.eyebrow) {
    font-size: 15px;
  }

  .legal-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: visible;
    background: #070809;
  }

  .hero-stage {
    position: relative;
    order: 2;
    width: 100%;
    height: clamp(300px, 52svh, 500px);
    border-top: 1px solid rgba(255, 255, 255, .1);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .hero-compare {
    position: absolute;
    inset: 0;
  }

  .compare-img {
    object-position: center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(4, 5, 6, .12) 0%, rgba(4, 5, 6, .18) 50%, rgba(4, 5, 6, .86) 100%),
      linear-gradient(90deg, rgba(4, 5, 6, .44), transparent 62%);
  }

  .hero-content {
    order: 1;
    width: 100%;
    padding: 24px 14px 20px;
    background:
      linear-gradient(180deg, rgba(7, 8, 9, .98), #070809 74%),
      #070809;
    pointer-events: auto;
  }

  .hero-content::before {
    left: 14px;
    top: 20px;
    width: 62px;
  }

  .hero-content h1 {
    max-width: 760px;
    margin-bottom: 12px;
    padding-top: 18px;
    font-size: clamp(38px, 8.8vw, 52px);
    line-height: .9;
  }

  .hero-lead {
    max-width: 640px;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.42;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-actions .login-slot,
  .hero-actions .telegram-fallback,
  .hero-actions .secondary-button {
    width: 100%;
    min-height: 48px;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
  }

  .hero-metrics span {
    min-width: 0;
    width: auto;
    padding: 10px 9px;
  }

  .hero-metrics strong {
    font-size: 14px;
  }

  .hero-metrics em {
    font-size: 10px;
    line-height: 1.2;
  }

  .wheel-reference {
    top: 12px;
    right: 12px;
    bottom: auto;
    width: min(224px, calc(100vw - 24px));
    grid-template-columns: 58px 1fr;
    gap: 10px;
    padding: 8px;
  }

  .wheel-reference img {
    width: 58px;
  }

  .wheel-reference span {
    font-size: 12px;
  }

  .compare-label {
    top: auto;
    bottom: 14px;
    min-width: 70px;
    padding: 7px 9px;
    font-size: 10px;
  }

  .compare-handle {
    width: 68px;
  }

  .compare-handle span {
    width: 50px;
    height: 50px;
  }

  .section {
    padding: 48px 14px;
  }

  .pricing-section {
    gap: 22px;
  }

  .landing-packages {
    display: flex;
    gap: 10px;
    margin: 0 -14px;
    padding: 0 14px 10px;
    overflow-x: auto;
    scroll-padding: 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .landing-packages .package {
    flex: 0 0 min(272px, 78vw);
    min-height: 132px;
    scroll-snap-align: start;
  }

  .landing-packages .package.popular {
    transform: none;
  }

  .packages,
  .workspace .packages {
    grid-template-columns: 1fr;
  }

  .package {
    min-height: 112px;
    padding: 13px 14px;
    gap: 10px;
  }

  .package-main {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 14px;
    padding-right: 0;
  }

  .package-credits strong,
  .landing-packages .package .package-credits strong {
    font-size: 38px;
  }

  .package-price {
    justify-items: end;
    text-align: right;
  }

  .package.popular .package-price,
  .package.bulk .package-price {
    padding-top: 28px;
  }

  .package-price strong,
  .landing-packages .package .package-price strong {
    font-size: 26px;
  }

  .package-credits span,
  .package-price span {
    color: rgba(245, 247, 248, .88);
    font-size: 12px;
  }

  .package-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .package-actions .primary-button,
  .package-actions .secondary-button,
  .package .primary-button {
    width: auto;
    min-width: 112px;
    min-height: 36px;
    padding: 0 16px;
    font-size: 13px;
  }

  .showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .showcase-grid button {
    min-height: 190px;
  }

  .process-section article {
    min-height: 0;
    padding: 18px;
  }

  .final-cta {
    min-height: 310px;
  }

  .final-cta .login-slot,
  .final-cta .telegram-fallback {
    width: min(360px, 100%);
    min-height: 48px;
  }

  .cabinet {
    display: block;
    width: 100%;
    max-width: 100vw;
    min-height: calc(100svh - 64px);
    overflow-x: hidden;
    padding-bottom: 0;
  }

  .sidebar {
    position: static;
    left: 0;
    right: 0;
    bottom: auto;
    top: auto;
    z-index: 100;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 8px 10px;
    border-right: 0;
    border-top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    background: rgba(9, 10, 11, .94);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .34);
    backdrop-filter: blur(18px);
  }

  .profile {
    display: none;
  }

  .side-tab,
  .side-tab.subtle {
    grid-column: auto;
    min-height: 52px;
    justify-content: center;
    margin: 0;
    padding: 0 6px;
    font-size: 12px;
    line-height: 1.12;
    text-align: center;
    white-space: normal;
    clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  }

  .workspace {
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    overflow-x: hidden;
    padding: 18px 12px 34px;
  }

  .section-head {
    width: 100%;
    min-width: 0;
    align-items: stretch;
    gap: 12px;
  }

  .section-head > div,
  .panel,
  .purchase-grid,
  .billing-summary,
  .upload-grid,
  .result-zone,
  .history,
  .tryon-action,
  .progress {
    min-width: 0;
    max-width: 100%;
  }

  .section-head h2,
  .section-head h3,
  .notice,
  .subhead p {
    overflow-wrap: anywhere;
  }

  .section-head .primary-button {
    width: 100%;
    min-height: 46px;
  }

  .section-head .text-button {
    width: auto;
    min-width: 118px;
    min-height: 42px;
    align-self: flex-start;
    padding: 0 18px;
  }

  .purchase-grid,
  .billing-summary {
    gap: 14px;
  }

  .saved-card-card,
  .billing-state,
  .receipt-list,
  .history,
  .progress {
    padding: 14px;
  }

  .tryon-action {
    width: 100%;
    margin-top: 14px;
  }

  .tryon-apply-button {
    min-height: 54px;
    font-size: 16px;
  }

  .upload-grid {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .upload-tile {
    width: 100%;
    max-width: 100%;
    min-height: auto;
    aspect-ratio: 1.45 / 1;
  }

  .upload-tile img {
    inset: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
  }

  .replace-badge,
  .open-badge {
    bottom: 10px;
    min-height: 36px;
    padding: 8px 12px;
    opacity: 0;
    transform: translateY(5px);
  }

  .upload-tile.has-image .replace-badge,
  .upload-tile.has-image .open-badge {
    opacity: 1;
    transform: none;
  }

  .history {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-top: 26px;
  }

  .history .section-head.compact {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .history .section-head.compact .text-button {
    width: auto;
    min-height: 38px;
  }

  .history-grid {
    display: grid;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-auto-flow: column;
    grid-auto-columns: minmax(132px, 42vw);
    grid-template-columns: none;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-padding: 2px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .history-item {
    flex: none;
    min-width: 0;
    min-height: 176px;
    scroll-snap-align: start;
  }

  .history-item.empty {
    min-height: 176px;
  }

  .history-row {
    padding: 9px;
  }

  .modal {
    grid-template-rows: minmax(0, 1fr) calc(58px + var(--safe-bottom));
  }

  .modal-actions {
    grid-row: 2;
    justify-content: center;
    gap: 8px;
    padding: 8px 10px calc(8px + var(--safe-bottom));
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-bottom: 0;
  }

  .modal-actions button {
    min-width: 44px;
    height: 44px;
  }

  .lightbox-stage {
    grid-row: 1;
    touch-action: none;
  }

  .lightbox-stage img {
    max-width: calc(100vw - 20px);
    max-height: calc(100svh - 86px - var(--safe-bottom));
  }

  .offer-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100svh - 24px);
  }

  .offer-dialog form {
    max-height: calc(100svh - 24px);
    padding: 18px;
  }

  .toast {
    left: 12px;
    right: 12px;
    bottom: calc(14px + var(--safe-bottom));
    max-width: none;
  }
}

@media (max-width: 520px) {
  .topbar {
    min-height: calc(60px + var(--safe-top));
    grid-template-columns: 64px minmax(0, 1fr);
    padding: calc(6px + var(--safe-top)) 10px 6px;
  }

  .brand {
    width: 64px;
    height: 46px;
  }

  .brand img {
    width: 62px;
    height: 46px;
  }

  .top-actions {
    gap: 6px;
  }

  .bot-link {
    padding: 0 9px;
    font-size: 12px;
  }

  .topbar .login-slot {
    max-width: min(128px, calc(100vw - 224px));
  }

  .topbar .telegram-fallback {
    min-width: 0;
    max-width: 100%;
    padding: 0 10px;
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .language-button {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .language-menu {
    top: calc(60px + var(--safe-top));
    left: 10px;
    right: 10px;
  }

  .legal-tabs {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .legal-tabs a {
    width: 100%;
    justify-content: flex-start;
  }

  .legal-document pre {
    padding: 18px;
    font-size: 14px;
  }

  .hero-stage {
    height: clamp(290px, 48svh, 410px);
  }

  .hero-content {
    padding: 20px 12px 16px;
  }

  .hero-content::before {
    left: 12px;
  }

  .hero-content h1 {
    margin-bottom: 10px;
    font-size: clamp(31px, 10.2vw, 39px);
  }

  .hero-lead {
    margin-bottom: 14px;
    font-size: 15px;
  }

  .hero-metrics {
    display: none;
  }

  .wheel-reference {
    top: 10px;
    right: 10px;
    width: min(176px, calc(100vw - 20px));
    grid-template-columns: 48px 1fr;
    gap: 8px;
    padding: 7px;
  }

  .wheel-reference img {
    width: 48px;
  }

  .wheel-reference span {
    font-size: 11px;
  }

  .compare-label {
    bottom: 12px;
    min-width: 62px;
    padding: 6px 8px;
  }

  .compare-handle span {
    width: 46px;
    height: 46px;
  }

  .section {
    padding: 42px 12px;
  }

  .landing-packages {
    margin: 0 -12px;
    padding: 0 12px 10px;
    scroll-padding: 12px;
  }

  .landing-packages .package {
    flex-basis: min(250px, 76vw);
  }

  .package {
    min-height: 104px;
    padding: 12px;
  }

  .package-credits strong,
  .landing-packages .package .package-credits strong {
    font-size: 34px;
  }

  .package-price strong,
  .landing-packages .package .package-price strong {
    font-size: 24px;
  }

  .package-credits span,
  .package-price span {
    font-size: 11px;
  }

  .package-actions .primary-button,
  .package-actions .secondary-button,
  .package .primary-button {
    min-width: 98px;
    min-height: 34px;
    padding: 0 14px;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .showcase-grid button {
    min-height: 220px;
  }

  .process-section {
    gap: 12px;
  }

  .final-cta {
    min-height: 270px;
  }

  .final-cta h2 {
    font-size: 28px;
  }

  .sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    top: auto;
    padding: 8px;
  }

  .side-tab,
  .side-tab.subtle {
    min-height: 42px;
    padding: 0 8px;
    font-size: 12px;
    white-space: nowrap;
  }

  .workspace {
    padding: 16px 10px 30px;
  }

  .workspace h2 {
    font-size: 28px;
  }

  .saved-card-card,
  .billing-state,
  .receipt-list,
  .history,
  .progress {
    padding: 12px;
  }

  .upload-tile {
    aspect-ratio: 1.5 / 1;
  }

  .upload-empty strong {
    font-size: 20px;
  }

  .history-grid {
    grid-auto-columns: minmax(128px, 62vw);
  }

  .history-title {
    align-items: center;
  }

  .history .section-head h3,
  .history-title span {
    font-size: 13px;
  }

  .modal {
    grid-template-rows: minmax(0, 1fr) calc(56px + var(--safe-bottom));
  }

  .modal-actions {
    gap: 6px;
    padding: 7px 8px calc(7px + var(--safe-bottom));
  }

  .modal-actions button {
    min-width: 42px;
    height: 42px;
    padding: 0 8px;
  }

  #zoomLabel {
    min-width: 48px;
  }

  .lightbox-stage img {
    max-height: calc(100svh - 78px - var(--safe-bottom));
  }
}
