/* Vector public build. Shared styles supply behavior-dependent layout and states. */
:root {
  --vector-content: 58rem;
  --vector-gutter: clamp(.75rem, 3vw, 1.75rem);
  --vector-panel-padding: clamp(.875rem, 2.7vw, 1.5rem);
  --vector-display-font: Georgia, "Times New Roman", serif;
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

:root[data-theme="dark"],
:root:not([data-theme]) {
  color-scheme: dark;
  --bg-main: #101923;
  --bg-grad-end: #0e161f;
  --bg-card: #172330;
  --bg-card-soft: #1d2c3b;
  --bg-surface: #172330;
  --border-soft: #304252;
  --surface-border-strong: #667e92;
  --text-main: #e9eff5;
  --text-muted: #aebccb;
  --accent-primary: #b1cadd;
  --accent-success: #a3d2bc;
  --accent-info: #a8c9ed;
  --accent-mint: var(--accent-success);
  --warning: #e2c48c;
  --vector-highlight: #223748;
  --vector-pro: #1d3040;
  --vector-hero-start: #26394a;
  --vector-hero-end: #1a2938;
  --vector-primary-start: #c3d9e8;
  --vector-primary-end: #a7c2d7;
  --vector-primary-hover: #cee3f1;
  --vector-primary-active: #9ab9cf;
  --button-primary-text: #142434;
  --shadow-soft: 0 4px 14px #050a1426;
  --shadow-card: 0 12px 30px #050a1440;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg-main: #f5f1e9;
  --bg-grad-end: #f0eae0;
  --bg-card: #fffdf8;
  --bg-card-soft: #f3ece1;
  --bg-surface: #fffdf8;
  --border-soft: #ddd3c5;
  --surface-border-strong: #8a7b6c;
  --text-main: #142434;
  --text-muted: #625950;
  --accent-primary: #69503d;
  --accent-success: #315c4a;
  --accent-info: #3c576d;
  --accent-mint: var(--accent-success);
  --warning: #754e29;
  --vector-highlight: #efe4d5;
  --vector-pro: #e9eef0;
  --vector-hero-start: #fffaf1;
  --vector-hero-end: #eee4d5;
  --vector-primary-start: #614c3e;
  --vector-primary-end: #46352b;
  --vector-primary-hover: #503d32;
  --vector-primary-active: #3c2d25;
  --button-primary-text: #fffaf2;
  --shadow-soft: 0 4px 14px #4b35200b;
  --shadow-card: 0 12px 30px #4b352012;
}

/* Retain shared tokens for the existing light/dark switch and alternate theme. */
:root:is([data-theme="light"], [data-theme="dark"]),
:root:not([data-theme]) {
  background-color: var(--bg-main);
  --bg-gradient: linear-gradient(180deg, var(--bg-main), var(--bg-grad-end));
  --cabinet-page-bg: var(--bg-gradient);
  --brand: var(--accent-primary);
  --gold: var(--accent-primary);
  --brand-glow: transparent;
  --gold-glow: transparent;
  --focus: var(--accent-primary);
  --nav-active-bg: var(--vector-highlight);
  --nav-active-icon-filter: none;
  --button-primary-bg: linear-gradient(180deg, var(--vector-primary-start), var(--vector-primary-end));
  --button-primary-hover-bg: var(--vector-primary-hover);
  --button-primary-border: transparent;
  --button-primary-shadow: 0 3px 8px #0003, inset 0 1px #fff3;
  --button-primary-shadow-hover: var(--button-primary-shadow);
  --button-primary-shadow-pressed: none;
  --pro-card-bg: var(--vector-pro);
  --pro-card-border: var(--border-soft);
  --pro-card-shadow: var(--shadow-soft);
  --pro-card-shadow-hover: var(--shadow-card);
  --pro-card-pill-color: var(--accent-primary);
  --pro-card-pill-bg: var(--vector-highlight);
  --pro-card-pill-border: var(--border-soft);
  --pro-card-price: var(--text-main);
  --pro-card-price-glow: transparent;
  --pro-card-title: var(--text-main);
  --pro-card-text: var(--text-muted);
  --pro-card-note: var(--text-muted);
  --pro-card-accent: var(--accent-primary);
  --pro-card-save: var(--text-muted);
}

.app-shell {
  --cabinet-content-max-width: var(--vector-content);
  width: min(100%, calc(var(--vector-content) + 2 * var(--vector-gutter)));
  max-width: none;
  padding-inline: var(--vector-gutter);
  gap: .625rem;
}
/* Cabinet screens scroll with the page and must leave room for the sticky header. */
.app-shell:has(> .vector-account) { height: auto; }
body:not(.hide-bottom-nav) .app-shell { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px)); }
body.hide-bottom-nav .app-shell { padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); }

.app-header {
  padding: .375rem .375rem .5rem;
  border-bottom: 1px solid var(--border-soft);
  border-radius: 0;
  background: var(--bg-main);
}

.top-brand { gap: .5rem; min-width: 0; flex: 0 1 11rem; }
.top-brand .vector-wordmark { display: block; width: 100%; max-width: 11rem; height: auto; }
.top-brand .vector-wordmark--light { display: none; }
:root[data-theme="light"] .top-brand .vector-wordmark { display: none; }
:root[data-theme="light"] .top-brand .vector-wordmark--light { display: block; }
.top-brand__icon { width: 32px; height: 32px; border-radius: 8px; flex: none; }
.top-brand__text { font-size: clamp(.95rem, 2.3vw, 1.125rem); font-weight: 750; letter-spacing: -.025em; }
.header-actions { align-items: center; gap: .375rem; }

.header-help {
  min-height: 44px;
  border: 1px solid var(--border-soft);
  background: var(--bg-card);
  color: var(--text-main);
  box-shadow: none;
}

.header-help { border-radius: var(--radius-sm); }
.header-help.vector-auth__open { width: auto; padding-inline: .5rem; font-size: .8rem; }
.screen-host { gap: .75rem; padding: .125rem 3px 1rem; }
:root[data-theme] .screen-host { scrollbar-color: var(--surface-border-strong) transparent; }
.screen-host .screen { row-gap: .75rem; }
body.cabinet-active { --cabinet-content-max-width: var(--vector-content); }

.cabinet-page { gap: .875rem; padding: .25rem 0 1rem; }
.cabinet-heading h1,
.cabinet-heading .home-status-card__eyebrow,
.hero-title {
  color: var(--text-main);
  font: 400 clamp(1.55rem, 4.25vw, 2.3rem)/1.12 var(--vector-display-font);
  letter-spacing: -.025em;
  text-wrap: balance;
}

.surface-card--full,
.screen-host > .surface-card { flex-shrink: 0; }
.screen-host :is(.surface-card, .glass-card),
.cabinet-page .surface-card {
  padding: var(--vector-panel-padding);
  border-color: var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-soft);
}

.screen-host :is(.surface-card, .glass-card)::before { content: none; }
:root[data-theme] .screen-host .screen > .surface-card--gold:not(.account-level-frame) {
  border-inline-start: 3px solid var(--accent-primary);
}
.hero-subtitle { max-width: 65ch; color: var(--text-muted); }

.cabinet-home .cabinet-subscription {
  display: grid;
  justify-items: start;
  gap: .625rem;
  padding: clamp(1rem, 4.2vw, 2.5rem);
  border: 1px solid var(--border-soft);
  border-inline-start: 3px solid var(--accent-primary);
  border-radius: var(--radius-xl);
  background: linear-gradient(115deg, var(--vector-hero-start, var(--bg-card)), var(--vector-hero-end, var(--bg-card-soft)));
  box-shadow: var(--shadow-card);
}

.cabinet-home .cabinet-subscription :is(h1, h2) {
  max-width: 23ch;
  margin: 0;
  color: var(--text-main);
  font: 400 clamp(1.95rem, 6vw, 3.75rem)/1.02 var(--vector-display-font);
  letter-spacing: -.04em;
  text-wrap: balance;
}

.cabinet-home .cabinet-primary { width: auto; margin-top: .35rem; }
.cabinet-home .cabinet-subscription__secondary { margin-top: 0; }

.vector-subscription-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
  width: 100%;
  margin: .3rem 0;
}

.vector-subscription-summary > div {
  min-width: 0;
  padding: .7rem .75rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}

.vector-subscription-summary dt, .vector-subscription-summary small { color: var(--text-muted); font-size: .78rem; }
.vector-subscription-summary dd { margin: .2rem 0 0; font-weight: 750; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.vector-subscription-summary small { display: block; margin-top: .15rem; font-weight: 500; }
.vector-subscription-summary .is-active::before { content: ""; display: inline-block; width: .45rem; height: .45rem; margin-inline-end: .35rem; border-radius: 50%; background: currentColor; vertical-align: .12em; }
.cabinet-home .cabinet-subscription__secondary .btn { padding-inline: .75rem; }

.vector-home-plans {
  align-self: center;
  justify-self: stretch;
  padding: .75rem .875rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}

.vector-home-plans__term { margin: 0; color: var(--text-muted); font-size: .8rem; }
.vector-home-plans dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .625rem; margin: .55rem 0 0; }
.vector-home-plans dt { color: var(--accent-primary); font-size: .8rem; font-weight: 700; }
.vector-home-plans dd { display: grid; margin: 0; color: var(--text-muted); font-size: .75rem; }
.vector-home-plans dd strong { color: var(--text-main); font-size: 1rem; font-variant-numeric: tabular-nums; }

.vector-device-content { display: grid; gap: .75rem; }
.vector-device-content--empty {
  padding: var(--vector-panel-padding);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}
.vector-device-content--empty .cabinet-empty { padding: 0; }
.cabinet-bonuses .cabinet-referral-actions { gap: .5rem; }
.cabinet-bonuses .cabinet-referral-actions .btn {
  width: 100%;
  padding-inline: .65rem;
  color: var(--text-muted);
  font-size: .82rem;
}
.cabinet-profile { gap: 0; }
.vector-help-group > h3 {
  margin: 0 0 .15rem;
  color: var(--text-main);
  font: 400 1.3rem/1.2 var(--vector-display-font);
}
.vector-help-groups { display: grid; gap: 1rem; }
.vector-help-group { display: grid; gap: .55rem; }
.vector-help-group + .vector-help-group { padding-top: 1rem; border-top: 1px solid var(--border-soft); }

:root[data-theme] .btn:not(.btn--danger) {
  min-height: 44px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-shadow: none;
}

:root[data-theme] .btn--primary {
  background: var(--button-primary-bg);
  border-color: var(--button-primary-border);
  color: var(--button-primary-text);
  box-shadow: var(--button-primary-shadow);
}

:root[data-theme] .btn--primary::before,
:root[data-theme] .btn--primary::after { content: none; }
:root[data-theme] .btn.btn--primary:active {
  background: var(--vector-primary-active, var(--button-primary-hover-bg));
  transform: none;
  box-shadow: none;
}

:root[data-theme] :is(.btn--outline, .btn--secondary, .btn--glass, .btn--sage, .topic-btn, .platform-card) {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-main);
  box-shadow: none;
}

:root[data-theme] :is(.topic-btn, .platform-card, .btn:not(.btn--danger)) :is(.ui-icon, .platform-svg) {
  filter: none;
}

@media (hover: hover) {
  :root[data-theme] .btn--primary:not(:disabled):hover {
    background: var(--button-primary-hover-bg);
    transform: none;
    box-shadow: var(--button-primary-shadow-hover);
  }

  :root[data-theme] :is(.btn--outline, .btn--secondary, .btn--glass, .btn--sage, .topic-btn, .platform-card):not(:disabled):hover {
    background: var(--bg-card-soft);
    border-color: var(--surface-border-strong);
    color: var(--text-main);
    transform: none;
  }
}

.app-shell :is(button, a, summary, input, select):focus-visible,
.vector-auth :is(button, a, input):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.vector-plans { display: grid; gap: clamp(1rem, 3vw, 1.5rem); }
.vector-plan { min-width: 0; display: grid; gap: .65rem; align-content: start; scroll-margin-block-start: .75rem; }
.vector-tariffs__jump {
  display: none;
  align-items: center;
  gap: .5rem;
  width: fit-content;
  min-height: 44px;
  margin-bottom: .75rem;
  padding-inline: .75rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-card-soft);
  color: var(--accent-primary);
  font-size: .85rem;
  font-weight: 750;
  text-decoration: none;
}
.vector-plan__heading { min-width: 0; }
.vector-plan__title {
  margin: 0;
  color: var(--text-main);
  font: 400 1.45rem/1.2 var(--vector-display-font);
}
.vector-plan__heading p,
.vector-tariffs__note { color: var(--text-muted); font-size: .85rem; }
.vector-plan__heading p { margin: .25rem 0 0; }
.vector-plan--pro .vector-plan__title { color: var(--accent-primary); }
.vector-plan__offers { display: grid; gap: .55rem; }
.tariff-intro__cta { color: var(--text-muted); font-weight: 500; }
.screen-host .screen > .surface-card:has(.tariff-section-title) { background: var(--bg-card); }

.vector-offer {
  display: grid;
  align-content: start;
  gap: .3rem;
  min-width: 0;
  padding: clamp(.8rem, 2.5vw, 1.15rem);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--bg-card-soft);
  color: var(--text-main);
  font: inherit;
  text-align: start;
  cursor: pointer;
}

.vector-plan--pro .vector-offer { background: var(--vector-pro, var(--bg-card-soft)); }
.vector-offer--annual { border-color: var(--accent-primary); }
.vector-offer--annual .vector-offer__price strong { color: var(--vp-link); }
.vector-plan--standard .vector-offer--annual { background: var(--vector-highlight, var(--bg-card-soft)); }
.vector-offer__header { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .55rem; }
.vector-offer__term { font-size: .95rem; font-weight: 750; }
.vector-offer__badge {
  padding: .1rem .4rem;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--accent-primary);
  font-size: .72rem;
  font-weight: 700;
}
.vector-offer__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 .3rem;
  margin-top: .12rem;
  font-variant-numeric: tabular-nums;
}
.vector-offer__price strong { font-size: clamp(1.6rem, 3vw, 2.15rem); line-height: 1.12; letter-spacing: -.035em; }
.vector-offer__price > span,
.vector-offer__total { color: var(--vp-muted); font-size: .9rem; font-weight: 500; }
.vector-offer__cta {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: auto;
  padding-top: .5rem;
  color: var(--vp-link);
  font-size: .9rem;
  font-weight: 650;
}
.vector-tariffs__note { margin: .875rem 0 0; }
.checkout-order-summary { border-color: var(--border-soft); background: var(--bg-card-soft); }
.vector-order { margin-top: .75rem; }
.vector-order__total {
  display: grid;
  grid-column: 1 / -1;
  gap: .25rem;
  margin-bottom: .35rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--border-soft);
}
.vector-order__total > span, .vector-order__total > p { margin: 0; color: var(--text-muted); font-size: .9rem; }
.vector-order__total > strong { font-size: clamp(1.85rem, 5vw, 2.6rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.vector-order > .payment-summary__row { display: grid; gap: .2rem; align-content: start; }
.install-guide-card .install-guide-section { border-color: var(--border-soft); background: var(--bg-card-soft); }

@media (hover: hover) {
  .vector-offer:hover { border-color: var(--accent-primary); box-shadow: var(--shadow-soft); }
}

.vector-offer:active { background: var(--vector-highlight, var(--bg-card)); }

.cabinet-theme__swatch--light { background: #f5f1e9; }
.cabinet-theme__swatch--dark { background: #101923; }
.support-panel .support-panel__sheet { border-color: var(--border-soft); background: var(--bg-card); }
.vector-auth > .vector-auth__card { border-radius: var(--radius-lg); background: var(--bg-card); box-shadow: var(--shadow-card); }

@media (min-width: 46rem) {
  .cabinet-home .cabinet-subscription--comparison {
    grid-template-columns: minmax(0, 1fr) minmax(14rem, .62fr);
    column-gap: clamp(1rem, 4vw, 3rem);
  }
  .cabinet-subscription--comparison > :not(.vector-home-plans) { grid-column: 1; }
  .vector-home-plans { grid-column: 2; grid-row: 1 / span 3; }
  .vector-subscription-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .vector-plan--standard .vector-plan__offers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vector-plan--pro { grid-template-columns: minmax(0, 1fr) minmax(0, 1.95fr); align-items: center; }
}

@media (width < 46rem) {
  .screen-host .screen { display: grid; grid-template-columns: minmax(0, 1fr); }
  .vector-tariffs__jump { display: inline-flex; }
}

@media (max-width: 22rem) {
  .cabinet-home .cabinet-primary { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .app-shell :is(.app-header, button, .bottom-nav),
  .vector-auth button { animation: none; transition: none; }
}

/* Vector supports its own providers only. */
.auth-provider-slot--google,
[data-action="auth_google_login"],
[data-action="auth_channel_max"] {
  display: none !important;
}

/* Vector graphite surfaces and orange navigation. */
:root {
  --vector-orange: #ff853d;
  --vector-orange-fill: #ff853d;
  --vector-control-track: linear-gradient(180deg, #171718, #29292a 72%, #242425);
  --vector-control-active: linear-gradient(180deg, #d92e00, #ff4b03 43%, #ff5208);
  --vector-control-carbon: radial-gradient(ellipse at 32% 20%, #ffffff12, #00000047),
    repeating-conic-gradient(#2c2c2e 0% 25%, #18181a 0% 50%) 0 0 / 4px 4px;
  --vector-grain: repeating-linear-gradient(117deg, #ffffff06 0 1px, transparent 1px 5px);
  --vector-display-font: inherit;
}
:root[data-theme="dark"], :root:not([data-theme]) {
  --vp-bg: #191A1C;
  --vp-surface: #242629;
  --vp-raised: #303236;
  --vp-text: #F4F3EF;
  --vp-muted: #C1C2C4;
  --vp-link: #FF9D64;
  --vp-divider: #414449;
  --vp-control-border: #787D84;
  --vp-focus: #FFD2A8;
  --vp-success: #91D8B0;
  --vp-error: #FFADA7;
}
:root[data-theme="light"] {
  --vp-bg: #F4F1EB;
  --vp-surface: #FFFFFF;
  --vp-raised: #F8F6F2;
  --vp-text: #1B1D20;
  --vp-muted: #50545A;
  --vp-link: #A43D00;
  --vp-divider: #D8D4CD;
  --vp-control-border: #77736D;
  --vp-focus: #903600;
  --vp-success: #18633B;
  --vp-error: #9F2824;
}
:root[data-theme], :root:not([data-theme]) {
  --vp-accent: var(--vector-orange);
  --vp-on-accent: #1A1511;
  --bg-main: var(--vp-bg);
  --bg-grad-end: var(--vp-bg);
  --bg-card: var(--vp-surface);
  --bg-card-soft: var(--vp-raised);
  --bg-surface: var(--vp-surface);
  --border-soft: var(--vp-divider);
  --surface-border-strong: var(--vp-control-border);
  --text-main: var(--vp-text);
  --text-muted: var(--vp-muted);
  --accent-primary: var(--vp-link);
  --accent-success: var(--vp-success);
  --vector-highlight: var(--vp-raised);
  --vector-pro: var(--vp-raised);
  --vector-hero-start: var(--vp-surface);
  --vector-hero-end: var(--vp-raised);
  --vector-primary-start: var(--vp-accent);
  --vector-primary-end: var(--vp-accent);
  --button-primary-text: var(--vp-on-accent);
  --vector-primary-hover: #FF9D64;
  --vector-primary-active: #F37930;
  --shadow-card: none;
  --vector-content: 1120px;
}
body { background: var(--vector-grain), linear-gradient(145deg, var(--bg-main), var(--bg-grad-end)); }
.app-shell { --vector-nav-gap: 5.75rem; }
body:not(.hide-bottom-nav) .app-shell { padding-bottom: calc(var(--vector-nav-gap) + env(safe-area-inset-bottom, 0px)); }
.cabinet-subscription, .vector-plan, .surface-card, .support-panel__sheet,
.vector-auth > .vector-auth__card, .vector-account {
  border-color: var(--border-soft);
  box-shadow: var(--shadow-card);
}
.bottom-nav {
  --vector-nav-item-size: clamp(44px, 12vw, 52px);
  --vector-nav-icon-padding: clamp(6px, 1.6vw, 9px);
  --vector-nav-expand: 220ms cubic-bezier(.25, .75, .25, 1);
  left: 50%;
  right: auto;
  bottom: max(.45rem, env(safe-area-inset-bottom, 0px));
  width: min(27rem, calc(100% - 10px));
  max-width: none;
  height: auto;
  justify-content: center;
  gap: clamp(4px, 1vw, 8px);
  padding: 5px;
  transform: translateX(-50%);
  border: 1px solid #25262a;
  border-radius: 999px;
  background: #08090b;
  box-shadow: 0 8px 24px #0006;
}
.bottom-nav .nav-item {
  flex: 0 0 var(--vector-nav-item-size);
  width: var(--vector-nav-item-size);
  min-width: 0;
  height: var(--vector-nav-item-size);
  flex-direction: row;
  justify-content: flex-start;
  gap: 0;
  padding: 0;
  border-radius: 999px;
  color: #b7bbc1;
  background: #25262a;
  box-shadow: none;
  transition: flex-grow var(--vector-nav-expand), background-color .15s ease, color .15s ease;
}
.bottom-nav .nav-item__icon {
  box-sizing: content-box;
  flex: none;
  width: 18px;
  height: 18px;
  padding: var(--vector-nav-icon-padding);
  margin-inline-start: calc((var(--vector-nav-item-size) - 18px) / 2 - var(--vector-nav-icon-padding));
  margin-inline-end: clamp(4px, 1.4vw, 10px);
  border-radius: 50%;
  color: #b7bbc1;
  filter: none;
  transition: margin-inline-start var(--vector-nav-expand), background-color .15s ease, color .15s ease;
}
.bottom-nav .nav-item__label {
  flex: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-4px);
  font-size: clamp(.6875rem, 3.2vw, .875rem);
  font-weight: 650;
  letter-spacing: 0;
  white-space: nowrap;
  transition: opacity .12s ease, transform var(--vector-nav-expand), visibility 0s .12s;
}
.bottom-nav .nav-item.active {
  flex-grow: 1;
  color: #f2f2f3;
  background: #111215;
  box-shadow: inset 0 0 0 1px #24252a;
}
.bottom-nav .nav-item.active .nav-item__icon {
  margin-inline-start: clamp(4px, 1.3vw, 8px);
  background: var(--vector-orange-fill);
  color: var(--vp-on-accent);
  filter: none;
}
.bottom-nav .nav-item.active .nav-item__label {
  color: inherit;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: .08s, 0s, 0s;
}
@media (hover: hover) {
  .bottom-nav .nav-item:not(.active):hover { background-color: #303136; }
}
.bottom-nav .nav-item:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.bottom-nav .nav-item:is(:hover, :active) { transform: none; }
.screen-host .screen, .screen-host .fade-in { animation: none; }

/* The pressed position selects the dark theme. */
:root .header-theme-toggle.theme-toggle-demo {
  --switch-width: clamp(64px, 18vw, 72px);
  --switch-thumb: 36px;
  box-sizing: border-box;
  width: var(--switch-width);
  height: 44px;
  flex: 0 0 var(--switch-width);
  border: 2px solid #131314;
  border-radius: 999px;
  background: var(--vector-control-track);
  box-shadow: inset 0 3px 6px #0009, 0 1px 2px #0004;
}
:root .header-theme-toggle.theme-toggle-demo::before {
  content: "";
  inset: 0;
  width: auto;
  height: auto;
  border-radius: inherit;
  background: var(--vector-control-active);
  box-shadow: inset 0 2px 6px #841d0055;
  opacity: 0;
  transition: opacity 160ms ease;
}
:root .header-theme-toggle.theme-toggle-demo.is-dark::before { opacity: 1; }
:root .header-theme-toggle.theme-toggle-demo .theme-toggle-demo__thumb {
  box-sizing: border-box;
  top: 2px;
  left: 2px;
  width: var(--switch-thumb);
  height: var(--switch-thumb);
  border: 1px solid #151517;
  border-radius: 50%;
  background: var(--vector-control-carbon);
  box-shadow: inset 0 0 0 1px #ffffff12, inset 0 -3px 5px #0007, 0 1px 2px #0009;
  transition: left 170ms cubic-bezier(.2, .8, .2, 1);
}
:root .header-theme-toggle.theme-toggle-demo.is-dark .theme-toggle-demo__thumb {
  left: calc(100% - var(--switch-thumb) - 2px);
}
.header-theme-toggle .theme-toggle-demo__icon { display: none; }

.vector-home-facts {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .65rem;
  margin: 0;
}
.vector-home-facts article {
  min-width: 0;
  padding: clamp(.85rem,2vw,1.3rem);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}
.vector-home-facts strong {
  display: block;
  line-height: 1.24;
  font-size: clamp(1.05rem,2vw,1.35rem);
  color: var(--text-main);
}
.vector-home-facts p { margin: .55rem 0 0; color: var(--text-muted); line-height: 1.45; }
@media (max-width: 35rem) { .vector-home-facts { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .bottom-nav .nav-item, .theme-toggle-demo *, .theme-toggle-demo::before,
  .install-guide-cta-pulse {
    animation: none !important;
    transition: none !important;
  }
}

@font-face {
  font-family: Inter;
  src: url(/assets/vector-fonts/inter-cyrillic.woff2) format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Inter;
  src: url(/assets/vector-fonts/inter-latin.woff2) format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
body { font: 400 1rem/1.5 Inter, system-ui, sans-serif; }
:root { scroll-padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px)); }
:root[data-theme] :focus-visible { outline: 3px solid var(--vp-focus); outline-offset: 3px; }
.app-shell { --vector-gutter: 16px; }
.app-header button { min-width: 44px; min-height: 44px; }
:is(.vector-guest-home, .vector-account) h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.125;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.vector-guest-home h2 { margin: 0 0 16px; font-size: 1.5rem; line-height: 1.2; }
.vector-guest-home h3 { margin: 0; font-size: 1.25rem; line-height: 1.25; }
.vector-guest-home { display: grid; gap: 24px; }
.vector-hero, .vector-home-section article, .vector-home-guide {
  padding: clamp(16px, 4vw, 48px);
  border: 1px solid var(--vp-divider);
  border-radius: 16px;
  background: var(--vp-surface);
}
.vector-hero {
  padding-block: clamp(32px, 6vw, 64px);
  background-image: radial-gradient(ellipse at 98% 0%, rgb(32 191 165 / 14%), transparent 58%);
}
:root[data-theme="light"] .vector-hero {
  background-image: radial-gradient(ellipse at 98% 0%, rgb(20 119 102 / 9%), transparent 58%);
}
.vector-hero p, .vector-home-section p { color: var(--vp-muted); }
.vector-hero > p { max-width: 48ch; }
.vector-hero .vector-home-facts { margin: 20px 0 16px; }
.vector-hero .vector-home-facts article:first-child { border-color: var(--vp-link); }
.vector-hero .vector-home-facts article:first-child strong { font-size: clamp(1.3rem, 3vw, 2rem); color: var(--vp-link); }
.vector-home-actions, .vector-home-guide { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.vector-home-actions .vector-primary { font-weight: 600; }
.vector-home-actions .vector-action:not(.vector-primary) { background: var(--vp-raised); color: var(--vp-text); }
.vector-home-actions .vector-action, .vector-home-guide .vector-action { margin: 0; }
.vector-home-guide { justify-content: space-between; }
.vector-home-guide h2, .vector-home-guide p { margin: 0; }
.vector-home-grid { display: grid; gap: 12px; }
.vector-home-grid article, .vector-home-facts article { padding: clamp(16px, 3vw, 24px); }
.vector-home-facts strong, .vector-offer__price { font-variant-numeric: tabular-nums; }
.vector-offer__term { display: block; }
.vector-offer__price strong { font-size: 1.75rem; line-height: 1.15; }
.vector-docs { padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); }
body:not(.hide-bottom-nav) .vector-docs { padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px)); }
.vector-docs nav { display: flex; max-width: 1120px; margin-inline: auto; flex-wrap: wrap; gap: 4px 16px; justify-content: center; }
.vector-docs a { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 768px) {
  .app-shell { --vector-gutter: 24px; }
  .vector-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1100px) {
  .app-shell { --vector-gutter: 32px; }
  :is(.vector-guest-home, .vector-account) h1 { font-size: 3rem; line-height: 1.0833; }
  .vector-guest-home h2 { font-size: 2rem; }
  .vector-home-grid { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto !important; }
  :is(.vector-guest-home, .vector-account, .vector-auth, .bottom-nav, .header-theme-toggle) * {
    animation: none !important;
    transition: none !important;
  }
}
