:root {
  color-scheme: dark;
  --bg: #030303;
  --bg-top: #030303;
  --surface: #121214;
  --surface-elevated: #1a1a1c;
  --text: #fdfdfd;
  --muted: #9c9c9c;
  --accent: #fdfdfd;
  --accent-dark: #e6e6e6;
  --accent-glow: rgba(253, 253, 253, 0.12);
  --border: rgba(255, 255, 255, 0.08);
  --ok: #3fb950;
  --ok-bg: rgba(63, 185, 80, 0.14);
  --error: #f85149;
  --error-bg: rgba(248, 81, 73, 0.14);
  --info: #c8c8c8;
  --info-bg: rgba(255, 255, 255, 0.06);
  --shadow: none;
  --input-bg: #0a0a0a;
  --navy: #202c55;
  --navy-bright: #435e9f;
  --veil-left: max(0px, calc((100vw - 1120px) / 2 - 24px));
  --veil-width: min(600px, calc(100vw - 48px));
  --veil-inset: 24px;
}

* {
  box-sizing: border-box;
}

@view-transition {
  navigation: auto;
}

::view-transition {
  background: #030303;
}

:root::view-transition-old(root),
:root::view-transition-new(root),
:root::view-transition-group(litetj-banner),
:root::view-transition-old(litetj-banner),
:root::view-transition-new(litetj-banner),
:root::view-transition-group(litetj-header),
:root::view-transition-old(litetj-header),
:root::view-transition-new(litetj-header),
:root::view-transition-group(litetj-footer),
:root::view-transition-old(litetj-footer),
:root::view-transition-new(litetj-footer),
:root::view-transition-group(litetj-veil),
:root::view-transition-old(litetj-veil),
:root::view-transition-new(litetj-veil),
:root::view-transition-group(litetj-home-copy),
:root::view-transition-group(litetj-buy-copy) {
  animation: none;
}

:root::view-transition-old(litetj-home-copy),
:root::view-transition-old(litetj-buy-copy) {
  mix-blend-mode: normal;
  animation: litetj-fade-out 0.4s ease both;
}

:root::view-transition-new(litetj-home-copy),
:root::view-transition-new(litetj-buy-copy) {
  mix-blend-mode: normal;
  animation: litetj-fade-in 0.4s ease both;
}

@keyframes litetj-fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes litetj-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  min-height: 100vh;
}

a {
  color: var(--text);
  text-decoration: none;
}

a:hover {
  color: #ffffff;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  background: #030303;
  position: sticky;
  top: 0;
  z-index: 10;
  view-transition-name: litetj-header;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  height: 74px;
  padding: 26px 0 10px;
}

.brand {
  justify-self: start;
  font-size: 1.96rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
  text-decoration: none;
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-download,
.nav-buy {
  height: 32px;
  padding: 0 14px;
  font-size: 0.88rem;
  line-height: 1;
}

.nav a.nav-download,
.nav a.nav-download[aria-current="page"] {
  color: #ffffff;
  background: transparent;
  border-color: #ffffff;
}

.nav a.nav-download:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
}

.nav a.nav-buy,
.nav a.nav-buy[aria-current="page"] {
  color: #111111;
  background: #fdfdfd;
  border-color: transparent;
}

.nav a.nav-buy:hover {
  color: #111111;
  background: #ffffff;
  border-color: transparent;
}

.nav a {
  color: var(--muted);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  font-size: 0.92rem;
  align-items: center;
}

.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
  min-width: 0;
}

.header-login {
  color: var(--muted);
  font-size: 0.92rem;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.header-login:hover {
  color: var(--text);
}

.btn-pill {
  background: #fdfdfd;
  color: #111111;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 0.92rem;
  font-weight: 600;
}

.btn-pill:hover {
  background: #ffffff;
  color: #111111;
}

.btn-pill.btn-ghost {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn-pill.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.header-auth {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  min-width: 0;
}

.header-auth a:not(.btn) {
  color: var(--muted);
}

.header-auth a:not(.btn):hover {
  color: var(--text);
}

.header-account {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 0;
  line-height: 1.15;
}

.header-user {
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-license {
  color: #9c9c9c;
  font-size: 0.75rem;
  font-weight: 400;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.login-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.45);
}

.login-overlay.open {
  display: flex;
}

.login-panel {
  width: min(560px, 100%);
  margin: 0;
}

.btn-sm {
  height: 32px;
  padding: 0 14px;
  font-size: 0.88rem;
  line-height: 1;
}

.hero {
  padding: 36px 0 8px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
}

.hero p {
  margin: 0;
  color: var(--muted);
  max-width: 680px;
}

.mission {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
}

.banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.banner-photo {
  position: fixed;
  top: 74px;
  right: 0;
  height: calc(100dvh - 74px - 48px);
  width: auto;
  max-width: none;
  z-index: 0;
  view-transition-name: litetj-banner;
}

.banner-photo,
.page-veil img,
.banner-copy {
  opacity: 0;
}

body.banner-ready .banner-photo,
body.banner-ready .page-veil img,
body.banner-ready .banner-copy {
  opacity: 1;
}

.banner-copy {
  position: absolute;
  left: calc(var(--veil-left) + var(--veil-inset));
  top: 0;
  bottom: auto;
  width: calc(var(--veil-width) - 2 * var(--veil-inset));
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 56px 0 0;
  color: #fff;
  z-index: 1;
  view-transition-name: litetj-home-copy;
}

.banner-copy .mission-title,
.banner-copy .mission-line,
.banner-copy .mission-lead {
  color: #fff;
}

.mission-title {
  margin: 0;
  font-size: clamp(1.7rem, 2.45vw, 2.35rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.mission-line {
  display: block;
}

.mission-line-strong {
  font-weight: 760;
  letter-spacing: -0.055em;
}

.mission-line-italic {
  font-style: italic;
  font-weight: 500;
}

.mission-lead {
  margin: 28px 0 0;
  max-width: 100%;
  color: #b5b5b5;
  font-size: 1.02rem;
  line-height: 1.55;
}

.mission-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 48px;
}

.mission-story {
  margin: 56px 0 0;
  max-width: 100%;
  color: #fdfdfd;
  font-size: 1.02rem;
  line-height: 1.55;
}

.mission-features {
  margin-top: 56px;
  max-width: 100%;
}

.mission-feature + .mission-feature {
  margin-top: 28px;
}

.mission-feature h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.mission-feature p {
  margin: 0;
  color: #b5b5b5;
  font-size: 0.98rem;
  line-height: 1.55;
}

.mission-actions .btn {
  height: 44px;
  box-sizing: border-box;
}

a.btn.mission-buy {
  align-self: flex-start;
  margin-top: 0;
  padding: 3px 3px 3px 16px;
  gap: 8px;
}

.buy-smile {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}

.story {
  width: min(1120px, calc(100% - 64px));
  margin: 56px auto 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 36px;
}

.story h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.story p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 52px;
}

.value-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  padding: 26px 22px 24px;
}

.value-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #2a2a2e;
  color: #d0d0d0;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.value-card h2 {
  margin: 2px 0 6px;
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  text-align: center;
  gap: 18px;
  margin: 64px 0 28px;
}

.stat-value {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-label {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: #fdfdfd;
  color: #111111;
}

.btn-primary:hover {
  background: #ffffff;
  color: #111111;
  text-decoration: none;
}

.btn-secondary {
  background: var(--surface-elevated);
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  background: #262c36;
  border-color: #484f58;
  color: var(--text);
  text-decoration: none;
}

.card {
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  box-shadow: none;
  padding: 24px;
  margin: 24px 0 48px;
}

.login-panel.card {
  margin: 0;
}

.card h2 {
  margin-top: 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

input,
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  color: var(--text);
  background: var(--input-bg);
}

input::placeholder,
textarea::placeholder {
  color: #6e7681;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

textarea {
  min-height: 120px;
  resize: vertical;
  font-family: Consolas, "Cascadia Mono", monospace;
}

.field {
  margin-bottom: 16px;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  color: var(--text);
}

.checkbox input {
  width: auto;
  margin-top: 4px;
  accent-color: var(--accent);
}

.muted {
  color: var(--muted);
  font-size: 0.92rem;
}

.alert {
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
  border: 1px solid transparent;
}

.alert-ok {
  background: var(--ok-bg);
  color: var(--ok);
  border-color: rgba(63, 185, 80, 0.28);
}

.alert-error {
  background: var(--error-bg);
  color: var(--error);
  border-color: rgba(248, 81, 73, 0.28);
}

.alert-info {
  background: var(--info-bg);
  color: var(--info);
  border-color: rgba(88, 166, 255, 0.28);
}

.plan-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  cursor: pointer;
  background: var(--input-bg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.plan-card:hover {
  border-color: #484f58;
}

.plan-card.selected {
  border-color: #fdfdfd;
  box-shadow: 0 0 0 1px #fdfdfd;
  background: #161616;
}

.plan-card input {
  display: none;
}

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 12;
  height: 48px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  background: #030303;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.9rem;
  view-transition-name: litetj-footer;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-bottom: 8px;
}

.hidden {
  display: none !important;
}

.mono {
  font-family: Consolas, "Cascadia Mono", monospace;
  word-break: break-all;
}

html:has(body[data-page="home"]),
body[data-page="home"] {
  scrollbar-width: none;
}

html:has(body[data-page="home"])::-webkit-scrollbar,
body[data-page="home"]::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

body[data-page="home"] {
  min-height: 100vh;
  min-height: 100dvh;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

body[data-page="home"] main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 16px 0 40px;
}

body[data-page="home"] .banner {
  flex: 1 1 auto;
  min-height: calc(100dvh - 74px - 16px - 40px - 48px);
  overflow: visible;
}

body[data-page="home"] .banner-copy {
  position: relative;
  left: auto;
  width: calc(var(--veil-width) - 2 * var(--veil-inset));
  margin-left: calc(var(--veil-left) + var(--veil-inset));
  padding-bottom: 24px;
  z-index: 2;
}

.page-veil {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  clip-path: inset(74px calc(100vw - var(--veil-left) - var(--veil-width)) 48px var(--veil-left));
  view-transition-name: litetj-veil;
}

.page-veil img {
  position: fixed;
  top: 74px;
  right: 0;
  height: calc(100dvh - 74px - 48px);
  width: auto;
  max-width: none;
  filter: blur(18px);
  transform: translateZ(0);
}

.page-veil::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
}

body[data-page="support"] {
  background: #000;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
}

body[data-page="support"] .site-header,
body[data-page="support"] .site-footer,
body[data-page="instruction"],
body[data-page="instruction"] .site-header,
body[data-page="instruction"] .site-footer {
  background: #000;
}

body[data-page="instruction"] {
  height: 100dvh;
  overflow: hidden;
}

.support-page {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  padding: 48px 0 88px;
}

.support-demo {
  display: block;
  width: min(860px, 100%);
  height: auto;
  margin: 0 0 36px;
  background: #000;
}

.support-page h1 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(1.7rem, 2.45vw, 2.35rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.support-entry {
  margin: 0 0 28px;
}

.support-entry a {
  color: #fff;
  font-size: 1.05rem;
}

.support-entry a:hover {
  color: #fff;
  text-decoration: underline;
}

.support-page p {
  margin: 0 0 16px;
  color: #d8d8d8;
  font-size: 1.02rem;
  line-height: 1.6;
}

.guide-page {
  height: calc(100dvh - 74px - 48px);
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  column-gap: 56px;
  align-items: stretch;
  padding: 22px 0 12px;
}

.guide-tabs {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  margin: 0;
  padding: 0;
  min-height: 0;
  overflow: auto;
}

.guide-tabs button {
  appearance: none;
  background: transparent;
  border: 0;
  margin: 0;
  padding: 8px 8px 8px 0;
  color: #8a8a8a;
  font: inherit;
  font-size: 0.98rem;
  line-height: 1.35;
  text-align: left;
  writing-mode: horizontal-tb;
  cursor: pointer;
}

.guide-tabs button:hover,
.guide-tabs button[aria-selected="true"] {
  color: #fff;
}

.guide-tabs button:focus-visible {
  outline: 1px solid #5a5a5a;
  outline-offset: 2px;
}

.guide-body {
  min-height: 0;
  overflow: auto;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: #6a6a6a transparent;
}

.guide-body::-webkit-scrollbar {
  width: 8px;
}

.guide-body::-webkit-scrollbar-thumb {
  background: #6a6a6a;
  border-radius: 8px;
}

.guide-shot {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 12px 0 20px;
}

.guide-panel h1 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(1.5rem, 2.1vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.guide-panel h2 {
  margin: 26px 0 12px;
  color: #fff;
  font-size: 1.12rem;
  font-weight: 500;
}

.guide-panel p,
.guide-panel li {
  color: #d4d4d4;
  font-size: 1.02rem;
  line-height: 1.65;
}

.guide-panel p {
  margin: 0 0 14px;
}

.guide-panel ul,
.guide-panel ol {
  margin: 0 0 16px;
  padding-left: 1.25em;
}

.guide-panel li {
  margin: 0 0 8px;
}

.guide-panel li:last-child {
  margin-bottom: 0;
}

.guide-context {
  margin: 8px 0 18px;
  padding: 14px 16px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #c8c8c8;
  font-family: Consolas, "Cascadia Mono", "Segoe UI", monospace;
  font-size: 0.82rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

body[data-page="buy"],
body[data-page="paid"],
body[data-page="download"],
body[data-page="feedback"],
body[data-page="contacts"] {
  height: 100vh;
  height: 100dvh;
  padding-bottom: 48px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

body[data-page="buy"] main,
body[data-page="paid"] main,
body[data-page="download"] main,
body[data-page="feedback"] main,
body[data-page="contacts"] main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 16px 0 40px;
}

body[data-page="buy"] .banner,
body[data-page="paid"] .banner,
body[data-page="download"] .banner,
body[data-page="feedback"] .banner,
body[data-page="contacts"] .banner {
  flex: 1 1 auto;
  min-height: 0;
  overflow: visible;
}

body[data-page="buy"] .buy-foreground,
body[data-page="paid"] .buy-foreground,
body[data-page="download"] .buy-foreground,
body[data-page="feedback"] .buy-foreground,
body[data-page="contacts"] .buy-foreground {
  position: absolute;
  z-index: 2;
  left: calc(var(--veil-left) + var(--veil-inset));
  top: 0;
  width: calc(var(--veil-width) - 2 * var(--veil-inset));
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 56px 0 24px;
  overflow: hidden;
  view-transition-name: litetj-buy-copy;
  transition: opacity 0.4s ease;
}

.buy-foreground.is-fading {
  opacity: 0;
}

body[data-page="buy"] .buy-foreground h1,
body[data-page="paid"] .buy-foreground h1,
body[data-page="download"] .buy-foreground h1,
body[data-page="feedback"] .buy-foreground h1,
body[data-page="contacts"] .buy-foreground h1 {
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(1.7rem, 2.45vw, 2.35rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 500;
  text-align: left;
}

body[data-page="buy"] .buy-panel,
body[data-page="paid"] .buy-panel,
body[data-page="download"] .buy-panel,
body[data-page="feedback"] .buy-panel,
body[data-page="contacts"] .buy-panel {
  width: 100%;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.buy-note {
  margin: 12px 0 28px;
  color: #fff;
  font-size: 1.05rem;
}

.buy-foreground:has(.buy-note) h1 {
  margin-bottom: 0;
}

.purchase-list {
  max-height: calc(10 * 1.5em + 9 * 10px + 2px);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #6a6a6a transparent;
}

.purchase-list::-webkit-scrollbar {
  width: 8px;
}

.purchase-list::-webkit-scrollbar-thumb {
  background: #6a6a6a;
  border-radius: 8px;
}

.purchase-line {
  margin: 0 0 10px;
  line-height: 1.5;
  color: #fdfdfd;
}

.purchase-line:last-child {
  margin-bottom: 0;
}

.buy-download {
  margin-top: 20px;
}

.installer-file {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  color: #fdfdfd;
  text-decoration: none;
}

.installer-file:hover {
  color: #ffffff;
  text-decoration: none;
}

.installer-name {
  font-weight: 600;
}

.installer-meta {
  color: #b5b5b5;
  font-size: 0.95rem;
  font-weight: 400;
}

.feedback-body {
  width: 100%;
  min-height: 140px;
  resize: vertical;
}

.feedback-topic.is-empty {
  color: #6e7681;
}

.feedback-pow {
  height: 16px;
  display: flex;
  align-items: center;
  margin: -8px 0 8px;
}

.feedback-pow[hidden] {
  display: none;
}

.feedback-pow-track {
  height: 4px;
  width: 100%;
  background: #1e1e1e;
  overflow: hidden;
}

.feedback-pow-fill {
  height: 100%;
  width: 0;
  background: #8a8a8a;
}

.download-note {
  margin: 28px 0 0;
  max-width: 640px;
  color: #b5b5b5;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
}

.panel-text {
  margin: 0 0 12px;
  color: #fdfdfd;
  line-height: 1.5;
}

.panel-text:last-child {
  margin-bottom: 0;
}

body[data-page="buy"] .buy-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

body[data-page="buy"] .buy-alert {
  flex: 1;
  min-width: 0;
}

body[data-page="buy"] .buy-alert .alert {
  margin: 0;
  padding: 8px 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html[data-auth="1"] #buy-email-field {
  display: none;
}

body[data-page="home"] .site-footer,
body[data-page="buy"] .site-footer,
body[data-page="paid"] .site-footer,
body[data-page="download"] .site-footer,
body[data-page="feedback"] .site-footer,
body[data-page="support"] .site-footer,
body[data-page="instruction"] .site-footer,
body[data-page="contacts"] .site-footer {
  margin-top: 0;
  padding: 0;
}

@media (max-width: 900px) {
  .value-grid,
  .stat-strip,
  .story {
    grid-template-columns: 1fr;
  }

  .banner-copy {
    padding-top: 24px;
  }

  body[data-page="buy"] .buy-foreground,
  body[data-page="paid"] .buy-foreground,
  body[data-page="download"] .buy-foreground,
  body[data-page="feedback"] .buy-foreground,
  body[data-page="contacts"] .buy-foreground {
    padding-top: 24px;
  }

  .stat-strip {
    grid-template-columns: 1fr 1fr;
    margin-top: 40px;
  }

}

@media (max-width: 760px) {
  .container,
  .mission {
    width: min(1120px, calc(100% - 32px));
  }

  .header-inner {
    display: flex;
    flex-wrap: wrap;
    height: auto;
    min-height: 74px;
    padding-top: 18px;
  }

  :root {
    --veil-left: 0px;
    --veil-width: min(100vw, 560px);
    --veil-inset: 16px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 10px 16px;
  }

  .header-right {
    margin-left: auto;
  }

  body[data-page="instruction"] {
    height: auto;
    min-height: 100dvh;
    overflow: auto;
  }

  .guide-page {
    height: auto;
    min-height: calc(100dvh - 140px - 48px);
    grid-template-columns: minmax(148px, 42%) minmax(0, 1fr);
    column-gap: 20px;
    padding-bottom: 24px;
  }
}
