:root {
  color-scheme: dark light;
  --shell: 1200px;
  --header-height: 72px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark theme (default) */
:root,
:root[data-theme="dark"] {
  --ink: #f4f2fb;
  --ink-secondary: #b9b7c8;
  --ink-muted: #858498;
  --night: #0d1020;
  --night-raised: #14182b;
  --night-text: #f4f2fb;
  --night-text-pure: #ffffff;
  --night-muted: #b9b7c8;
  --night-scrolled: #0b0e1b;
  --surface: #14182b;
  --surface-muted: #0f1220;
  --surface-tint: #1d2035;
  --feature-card-bg: linear-gradient(155deg, #1c1f35 0%, #131622 100%);
  --feature-card-border: rgba(108, 62, 239, 0.22);
  --feature-card-border-top: rgba(140, 102, 245, 0.45);
  --feature-icon-gradient-from: #2d1e6e;
  --feature-icon-gradient-to: #1e2858;
  --feature-icon-border: rgba(108, 62, 239, 0.38);
  --feature-icon-stroke: #a78bfa;
  --line: #2a2d41;
  --line-dark: #2a2d41;
  --feature-icon-bg: #1f1a35;
  --brand: #6c3eef;
  --brand-hover: #5c31dc;
  --brand-active: #4f28c4;
  --brand-light: #8c66f5;
  --focus: #9677f5;
  --stage-bg: #080a11;
  --stage-border: #2c3043;
  --preview-image-border: #8c66f5;
  --carousel-control-bg: rgba(12, 14, 27, 0.82);
  --carousel-control-hover: rgba(27, 31, 53, 0.96);
  --carousel-control-text: #ffffff;
  --carousel-footer-bg: rgba(9, 11, 23, 0.86);
  --carousel-dot: rgba(255, 255, 255, 0.48);
  --carousel-dot-active: #a78bfa;
  --pricing-bg: #101324;
  --price-card-bg: linear-gradient(155deg, #1a1e33 0%, #131625 100%);
  --price-card-border: #30354d;
  --price-card-highlight: rgba(108, 62, 239, 0.12);
  --price-card-soft: #bbb9ca;
  --price-check-bg: rgba(140, 102, 245, 0.14);
  --stage-text: #c6c5d2;
  --stage-text-muted: #858498;
  --caption-bg: #111421;
  --caption-text: #eeecf5;
  --footer-bg: #090b15;
  --footer-border: #202337;
  --footer-text: #c6c4d1;
  --footer-text-strong: #ffffff;
  --footer-text-muted: #8e8d9e;
  --footer-link: #aaa8b7;
  --footer-year: #858493;
  --toast-bg: #1b1e2d;
  --toast-text: #ffffff;
  --button-quiet-border: #35394f;
  --button-quiet-border-hover: #4a4f69;
  --meta-text: #9897a9;
  --status-text: #d8d3e8;
  --hover-highlight: #bdaaf8;
}

/* Light theme */
:root[data-theme="light"] {
  --ink: #171823;
  --ink-secondary: #515466;
  --ink-muted: #6e7182;
  --night: #ffffff;
  --night-raised: #f8f9fa;
  --night-text: #171823;
  --night-text-pure: #171823;
  --night-muted: #515466;
  --night-scrolled: #fafbfc;
  --surface: #ffffff;
  --surface-muted: #f5f4f8;
  --surface-tint: #eeecf5;
  --feature-card-bg: #ffffff;
  --feature-card-border: #e8e5f3;
  --feature-card-border-top: rgba(108, 62, 239, 0.3);
  --feature-icon-gradient-from: #ede8ff;
  --feature-icon-gradient-to: #e0d9ff;
  --feature-icon-border: rgba(108, 62, 239, 0.15);
  --feature-icon-stroke: var(--brand);
  --line: #dedce7;
  --line-dark: #e4e2ed;
  --feature-icon-bg: #f0ebff;
  --brand: #6c3eef;
  --brand-hover: #5c31dc;
  --brand-active: #4f28c4;
  --brand-light: #8c66f5;
  --focus: #9677f5;
  --stage-bg: #f8f9fb;
  --stage-border: #e4e2ed;
  --preview-image-border: #6c3eef;
  --carousel-control-bg: rgba(29, 30, 42, 0.78);
  --carousel-control-hover: rgba(23, 24, 35, 0.94);
  --carousel-control-text: #ffffff;
  --carousel-footer-bg: rgba(255, 255, 255, 0.9);
  --carousel-dot: rgba(23, 24, 35, 0.28);
  --carousel-dot-active: #6c3eef;
  --pricing-bg: #f5f4f8;
  --price-card-bg: #ffffff;
  --price-card-border: #dedbe9;
  --price-card-highlight: rgba(108, 62, 239, 0.07);
  --price-card-soft: #606375;
  --price-check-bg: rgba(108, 62, 239, 0.09);
  --stage-text: #515466;
  --stage-text-muted: #6e7182;
  --caption-bg: #ffffff;
  --caption-text: #171823;
  --footer-bg: #f5f4f8;
  --footer-border: #dedce7;
  --footer-text: #515466;
  --footer-text-strong: #171823;
  --footer-text-muted: #6e7182;
  --footer-link: #515466;
  --footer-year: #6e7182;
  --toast-bg: #171823;
  --toast-text: #ffffff;
  --button-quiet-border: #c7c4d4;
  --button-quiet-border-hover: #b5b1c6;
  --meta-text: #6e7182;
  --status-text: #515466;
  --hover-highlight: #6c3eef;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--surface);
  font-family: "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
p,
figure,
dl,
dd {
  margin: 0;
}

h1,
h2 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #ffffff;
  background: var(--brand);
  border-radius: var(--radius-md);
  transform: translateY(-150%);
  transition: transform 160ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  left: 0;
  min-height: var(--header-height);
  color: var(--night-text);
  background: var(--night);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.site-header.is-scrolled {
  background: var(--night-scrolled);
  border-bottom-color: var(--line-dark);
}

.header-inner {
  position: relative;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand {
  min-height: 48px;
  flex: 0 0 auto;
  font-size: 17px;
  font-weight: 700;
}

.brand img,
.footer-brand img,
.product-stage__bar img {
  border-radius: var(--radius-sm);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.site-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 14px;
  color: var(--night-muted);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  transition: color 160ms ease, background-color 160ms ease;
}

.site-nav a:hover {
  color: var(--night-text-pure);
  background: var(--night-raised);
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.theme-toggle {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--night-text);
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.theme-toggle:hover {
  background: var(--night-raised);
}

.theme-toggle svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Show sun icon in dark mode, moon icon in light mode */
.theme-toggle__dark {
  display: none;
}

[data-theme="light"] .theme-toggle__light {
  display: none;
}

[data-theme="light"] .theme-toggle__dark {
  display: block;
}

.header-download {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #ffffff;
  background: var(--brand);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  transition: background-color 160ms ease, transform 160ms ease;
}

.header-download:hover {
  background: var(--brand-hover);
}

.header-download:active {
  background: var(--brand-active);
  transform: translateY(1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  color: var(--night-text);
  background: transparent;
  border: 0;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.menu-toggle:hover {
  background: var(--night-raised);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-toggle__close,
.menu-toggle[aria-expanded="true"] .menu-toggle__open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__close {
  display: block;
}

.hero {
  min-height: auto;
  overflow: visible;
  padding: calc(var(--header-height) + 108px) 0 80px;
  color: var(--night-text);
  background:
    radial-gradient(ellipse 900px 600px at 8% 30%, rgba(108, 62, 239, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse 600px 400px at 90% 70%, rgba(59, 91, 219, 0.07) 0%, transparent 60%),
    var(--night);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  align-items: center;
  gap: 80px 80px;
  width: min(calc(100% - 48px), 1060px);
  min-width: 0;
  margin-inline: auto;
}

/* ── Left: large app icon ── */
.hero-app-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.hero-app-icon img {
  width: 260px;
  height: 260px;
  border-radius: 32px;
  filter:
    drop-shadow(0 0 12px rgba(72, 100, 225, 0.62))
    drop-shadow(0 0 30px rgba(108, 62, 239, 0.32))
    drop-shadow(0 0 64px rgba(72, 100, 225, 0.14))
    drop-shadow(0 10px 20px rgba(0, 0, 0, 0.42));
}

/* ── Right: copy ── */
.hero-copy {
  max-width: 600px;
  min-width: 0;
}

/* ── Full-width preview below ── */
.product-stage {
  grid-column: 1 / -1;
  position: relative;
  width: 100%;
  padding: 0;
  background: var(--stage-bg);
  border: 2px solid var(--preview-image-border);
  border-radius: var(--radius-lg);
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.38),
    0 6px 16px rgba(0, 0, 0, 0.24);
}

.product-stage > img {
  width: 100%;
  max-height: none;
  height: auto;
  object-fit: contain;
  object-position: top center;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  display: block;
}

.product-stage figcaption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 7px 10px;
  color: var(--caption-text);
  background: var(--caption-bg);
  border-radius: var(--radius-sm);
  font-size: 12px;
}

.hero h1 {
  max-width: 780px;
  font-size: 48px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-lead {
  max-width: 560px;
  margin-top: 20px;
  color: var(--night-muted);
  font-size: 19px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
}

/* Version badge wrapper */
.hero-btn-wrap {
  position: relative;
  display: inline-flex;
}

.version-badge {
  position: absolute;
  top: -10px;
  right: -6px;
  z-index: 1;
  padding: 2px 8px;
  background: #22c55e;
  border-radius: 20px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  pointer-events: none;
}

.hero-meta {
  display: none;
}

.release-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--status-text);
  font-size: 14px;
  font-weight: 600;
}

.release-status__dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--brand-light);
  border-radius: 50%;
}

.hero h1 {
  max-width: 780px;
  font-size: 48px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-lead {
  max-width: 650px;
  margin-top: 24px;
  color: var(--night-muted);
  font-size: 20px;
  line-height: 1.75;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--night-text);
  font-size: 15px;
  font-weight: 500;
}

.hero-features svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--brand-light);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button--primary {
  color: #ffffff;
  background: #3b63db;
  border: 1px solid #3b63db;
}

.button--primary:hover {
  background: #2f53c4;
  border-color: #2f53c4;
}

.button--primary:active,
.button--quiet:active {
  transform: translateY(1px);
}

.button--large {
  min-height: 56px;
  padding: 0 28px;
  font-size: 17px;
  box-shadow: 0 4px 18px rgba(59, 99, 219, 0.35);
}

.button--large:hover {
  box-shadow: 0 6px 26px rgba(59, 99, 219, 0.5);
}

.button--quiet {
  color: var(--night-text);
  background: transparent;
  border: 1px solid var(--button-quiet-border);
}

.button--quiet:hover {
  background: var(--night-raised);
  border-color: var(--button-quiet-border-hover);
}

.hero-meta {
  margin-top: 14px;
  color: var(--meta-text);
  font-size: 13px;
}

.product-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0;
  background: var(--stage-bg);
  border: 2px solid var(--preview-image-border);
  border-radius: var(--radius-lg);
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.38),
    0 6px 16px rgba(0, 0, 0, 0.24);
}

.product-stage__bar {
  display: flex;
  height: 38px;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 10px;
  color: var(--stage-text);
  font-size: 12px;
}

.product-stage__bar span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.product-stage__version {
  color: var(--stage-text-muted);
}

.product-stage > img {
  width: 100%;
  aspect-ratio: 1848 / 1089;
  object-fit: cover;
  object-position: top left;
  border: 0;
  border-radius: var(--radius-lg);
}

.product-stage figcaption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 7px 10px;
  color: var(--caption-text);
  background: var(--caption-bg);
  border-radius: var(--radius-sm);
  font-size: 12px;
}

/* ─── Software preview carousel ─── */

/* When product-stage IS the carousel, remove its own frame — slides carry the styling */
.product-stage.carousel {
  padding: 20px 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.carousel {
  overflow: hidden;
  isolation: isolate;
}

.carousel__viewport {
  position: relative;
  overflow: visible;
  padding: 20px 0;
  /* Softly fade all four edges of the peek viewport */
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0%, black 10%, black 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right,  transparent 0%, black 10%, black 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-composite: intersect;
}

.carousel__viewport:focus-visible {
  outline-offset: -5px;
}

.carousel__track {
  display: flex;
  gap: 20px;
  width: 100%;
  transition: transform 520ms var(--ease-out);
  will-change: transform;
}

.carousel__slide {
  position: relative;
  flex: 0 0 82%;
  width: 82%;
  aspect-ratio: 1848 / 1089;
  background: var(--stage-bg);
  border: 1px solid var(--stage-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 8px 24px rgba(0, 0, 0, 0.35);
  transform: scale(0.96);
  opacity: 0.55;
  transition:
    transform 520ms var(--ease-out),
    opacity 520ms ease;
}

.carousel__slide[aria-hidden="false"] {
  transform: scale(1);
  opacity: 1;
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.carousel__arrow {
  position: static;
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  color: var(--brand);
  background: transparent;
  border: 1.5px solid rgba(108, 62, 239, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.carousel__arrow:hover {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
  transform: scale(1.08);
}

.carousel__arrow:active {
  transform: scale(0.92);
  transition-duration: 60ms;
}

/* Dark-mode variant */
:root[data-theme="dark"] .carousel__arrow {
  color: #a78bfa;
  border-color: rgba(167, 139, 250, 0.32);
}

:root[data-theme="dark"] .carousel__arrow:hover {
  color: #fff;
  background: #6c3eef;
  border-color: #6c3eef;
}

.carousel__arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── Controls row: ← ● ● ● → ─── */
.carousel__controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.product-stage .carousel__footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 0 2px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.product-stage .carousel__caption {
  display: none;
}

.carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.carousel__dots button {
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.carousel__dots button::before {
  display: block;
  width: 6px;
  height: 6px;
  margin: auto;
  background: rgba(108, 62, 239, 0.28);
  border-radius: 999px;
  content: "";
  transition:
    width 200ms ease,
    background-color 200ms ease;
}

.carousel__dots button[aria-current="true"]::before {
  width: 20px;
  background: var(--brand);
}

:root[data-theme="dark"] .carousel__dots button::before {
  background: rgba(167, 139, 250, 0.3);
}

:root[data-theme="dark"] .carousel__dots button[aria-current="true"]::before {
  background: #a78bfa;
}

.carousel__counter {
  display: none;
}

/* ─── Features Section ─── */

.features-section {
  padding: 104px 0;
  background: var(--night);
}

.section-heading--center {
  text-align: center;
  margin-bottom: 60px;
}

.section-heading--center p {
  max-width: 540px;
  margin-inline: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px 28px;
  background: var(--feature-card-bg);
  border: 1px solid var(--feature-card-border);
  border-top-color: var(--feature-card-border-top);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 4px 20px rgba(0, 0, 0, 0.28),
    0 1px 4px rgba(0, 0, 0, 0.2);
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.feature-card:hover {
  border-color: rgba(108, 62, 239, 0.5);
  border-top-color: rgba(140, 102, 245, 0.75);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 32px rgba(108, 62, 239, 0.2),
    0 2px 8px rgba(0, 0, 0, 0.35);
  transform: translateY(-3px) scale(1.03);
}

.feature-card__icon {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--feature-icon-gradient-from) 0%, var(--feature-icon-gradient-to) 100%);
  border: 1px solid var(--feature-icon-border);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 10px rgba(108, 62, 239, 0.18);
}

.feature-card__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--feature-icon-stroke);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.feature-card p {
  margin: 0;
  color: var(--ink-secondary);
  font-size: 14px;
  line-height: 1.7;
}

/* ─── Pricing Section ─── */

.pricing-section {
  padding: 88px 0;
  background: var(--pricing-bg);
  border-top: 1px solid var(--line-dark);
}

.section-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--brand-light);
  font-size: 14px;
  font-weight: 750;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: min(100%, 760px);
  margin-inline: auto;
}

.pricing-empty {
  grid-column: 1 / -1;
  padding: 32px 0;
  font-size: 14px;
  color: var(--ink-muted);
  text-align: center;
}

.price-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 360px;
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
  background: var(--price-card-bg);
  border: 1px solid var(--price-card-border);
  border-radius: var(--radius-lg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 8px 28px rgba(0, 0, 0, 0.1);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.price-card:hover {
  border-color: rgba(140, 102, 245, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 34px rgba(35, 26, 69, 0.16);
  transform: translateY(-3px);
}

.price-card--primary {
  background:
    linear-gradient(180deg, var(--price-card-highlight), transparent 46%),
    var(--price-card-bg);
  border-color: rgba(140, 102, 245, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 34px rgba(67, 46, 133, 0.2);
}

.price-card__header {
  display: flex;
  min-height: 60px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.price-card__eyebrow {
  display: block;
  margin-bottom: 3px;
  color: var(--price-card-soft);
  font-size: 12px;
  font-weight: 700;
}

.price-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
}

.price-card__tag {
  flex: 0 0 auto;
  padding: 4px 8px;
  color: #ffffff;
  background: var(--brand);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 750;
}

.price-card__tag--quiet {
  color: var(--brand-light);
  background: var(--price-check-bg);
  box-shadow: inset 0 0 0 1px var(--price-card-border);
}

.price-card__price {
  display: flex;
  height: 68px;
  align-items: baseline;
  margin-top: 18px;
  color: var(--ink);
  line-height: 1;
}

.price-card__price span {
  margin-right: 5px;
  color: var(--brand-light);
  font-size: 22px;
  font-weight: 750;
}

.price-card__price strong {
  font-size: 56px;
  font-weight: 780;
  letter-spacing: 0;
}

.price-card__price--text strong {
  align-self: center;
  font-size: 34px;
}

.price-card__summary {
  min-height: 52px;
  margin-top: 14px;
  color: var(--ink-secondary);
  font-size: 14px;
  line-height: 1.75;
}

.price-card__features {
  display: grid;
  gap: 12px;
  margin: 22px 0 28px;
  padding: 20px 0 0;
  border-top: 1px solid var(--price-card-border);
  list-style: none;
}

.price-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-secondary);
  font-size: 14px;
}

.price-card__features svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  padding: 4px;
  color: var(--brand-light);
  background: var(--price-check-bg);
  border-radius: 50%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.price-card .button {
  min-height: 48px;
  margin-top: auto;
}

/* ─── Skeleton loading for pricing cards ─── */
.price-card--skeleton {
  pointer-events: none;
}

.skeleton {
  background: var(--price-card-border);
  border-radius: 4px;
  opacity: 0.5;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

@keyframes skeleton-pulse {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 0.65; }
}

.skeleton--header {
  width: 60%;
  height: 24px;
  margin-bottom: 16px;
}

.skeleton--price {
  width: 40%;
  height: 48px;
  margin-bottom: 12px;
}

.skeleton--text {
  width: 100%;
  height: 14px;
  margin-bottom: 8px;
}

.skeleton--button {
  width: 100%;
  height: 48px;
  margin-top: auto;
}

/* ─── Price card dynamic elements ─── */
.price-card__price-block {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.price-card__period {
  font-size: 13px;
  color: var(--ink-muted);
  font-weight: 500;
}

.price-card__gift {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  margin-bottom: 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand-light);
  background: var(--price-check-bg);
  border: 1px solid var(--price-card-border);
  border-radius: 6px;
}

.price-card__gift svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── Pricing note ─── */
.pricing-note {
  display: flex;
  max-width: 760px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 30px auto 0;
  color: var(--ink-muted);
  font-size: 13px;
  text-align: center;
}

.pricing-note svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── Download Section ─── */

.download-section {
  padding: 112px 0;
  background: var(--surface);
}

.download-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 96px;
}

.download-copy h2,
.section-heading h2 {
  font-size: 42px;
  line-height: 1.18;
  letter-spacing: 0;
}

.download-copy p,
.section-heading p {
  max-width: 560px;
  margin-top: 18px;
  color: var(--ink-secondary);
  font-size: 17px;
}

.download-release {
  padding: 32px;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.platform-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}

.platform-heading > svg {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.6;
}

.platform-heading strong,
.platform-heading span {
  display: block;
}

.platform-heading strong {
  font-size: 20px;
}

.platform-heading span {
  margin-top: 2px;
  color: var(--ink-muted);
  font-size: 14px;
}

.release-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.release-details div {
  padding: 18px 16px;
}

.release-details div:first-child {
  padding-left: 0;
}

.release-details div + div {
  border-left: 1px solid var(--line);
}

.release-details dt {
  color: var(--ink-muted);
  font-size: 13px;
}

.release-details dd {
  margin-top: 3px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.button--full {
  width: 100%;
}

.requirements-section {
  padding: 104px 0;
  background: var(--surface-muted);
}

.requirements-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 96px;
}

.requirements-list {
  border-top: 1px solid var(--line);
}

.requirements-list > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.requirements-list dt {
  color: var(--ink-muted);
  font-size: 14px;
}

.requirements-list dd {
  font-weight: 700;
}

.help-section {
  padding: 104px 0 112px;
  color: var(--night-text);
  background: var(--night);
}

.help-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 96px;
}

.section-heading--dark p {
  color: var(--night-muted);
}

.faq-list {
  border-top: 1px solid var(--line-dark);
}

.faq-list details {
  border-bottom: 1px solid var(--line-dark);
}

.faq-list summary {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--night-text);
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 650;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:hover {
  color: var(--hover-highlight);
}

.faq-list summary svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 200ms var(--ease-out);
}

.faq-list details[open] summary svg {
  transform: rotate(180deg);
}

.faq-list details p {
  max-width: 680px;
  padding: 0 44px 24px 0;
  color: var(--night-muted);
}

.site-footer {
  padding: 20px 0;
  color: var(--footer-text);
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
}

.footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-inner p {
  margin: 0;
  font-size: 13px;
  color: var(--footer-text-muted);
}

.footer-inner a {
  color: var(--footer-link);
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-inner a:hover {
  color: var(--footer-text-strong);
}

.footer-brand span {
  margin-top: 1px;
  color: var(--footer-text-muted);
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 8px;
}

.footer-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 10px;
  color: var(--footer-link);
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--footer-text-strong);
}

.footer-inner > p {
  color: var(--footer-year);
  font-size: 12px;
  white-space: nowrap;
}

.download-status {
  position: fixed;
  z-index: 80;
  right: 24px;
  bottom: 24px;
  max-width: calc(100vw - 48px);
  padding: 12px 16px;
  color: var(--toast-text);
  background: var(--toast-bg);
  border-radius: var(--radius-md);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms var(--ease-out);
}

.download-status.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.button.is-unavailable,
.button.is-unavailable:hover,
.button.is-unavailable:active {
  opacity: 0.58;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
    gap: 56px;
  }

  .hero h1 {
    font-size: 44px;
    white-space: normal;
  }

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

  .price-card {
    padding: 26px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-height: 68px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 48px);
  }

  .hero-inner {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
    gap: 48px;
  }

  .hero-app-icon {
    width: auto;
    height: auto;
    border-radius: 0;
    padding: 0;
  }

  .hero-app-icon img {
    width: 200px;
    height: 200px;
  }

  .hero h1 {
    font-size: 42px;
    white-space: normal;
  }

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

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

  .pricing-grid {
    gap: 16px;
  }

  .price-card {
    padding: 22px;
  }

  .download-inner,
  .requirements-inner,
  .help-inner {
    gap: 56px;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-inner > p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) and (orientation: portrait) {
  .hero {
    padding-bottom: 64px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    width: min(calc(100% - 40px), 680px);
    gap: 36px;
    text-align: center;
    justify-items: center;
  }

  .hero-app-icon img {
    width: 180px;
    height: 180px;
  }

  .hero-copy {
    width: 100%;
    max-width: 640px;
  }

  .hero h1 {
    font-size: 42px;
    white-space: normal;
  }

  .hero-lead {
    max-width: 620px;
  }

  .hero-actions {
    justify-content: center;
  }

  .product-stage {
    padding: 0;
  }

  .download-inner,
  .requirements-inner,
  .help-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features-section,
  .pricing-section,
  .download-section,
  .requirements-section,
  .help-section {
    padding: 88px 0;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    padding: 8px 16px 16px;
    background: var(--night-scrolled);
    border-bottom: 1px solid var(--line-dark);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav a {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
    padding-inline: 12px;
  }

  .menu-toggle {
    display: grid;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 40px) 0 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    min-width: 0;
    text-align: center;
    justify-items: center;
  }

  .hero-copy {
    width: 100%;
    min-width: 0;
  }

  .hero-app-icon {
    width: auto;
    height: auto;
    border-radius: 0;
    padding: 0;
  }

  .hero-app-icon img {
    width: 138px;
    height: 138px;
    border-radius: 20px;
  }

  .hero h1 {
    font-size: 40px;
    line-height: 1.2;
    white-space: normal;
  }

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

  .hero-actions {
    justify-content: center;
  }

  .features-section,
  .pricing-section,
  .download-section,
  .requirements-section,
  .help-section {
    padding: 80px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .price-card {
    min-height: 0;
    padding: 26px;
  }

  .price-card__summary {
    min-height: 0;
  }

  .feature-card {
    padding: 24px 22px;
  }

  .download-inner,
  .requirements-inner,
  .help-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .download-copy h2,
  .section-heading h2 {
    font-size: 34px;
  }

  .download-release {
    padding: 24px;
  }

  .release-details {
    grid-template-columns: 1fr;
  }

  .release-details div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
  }

  .release-details div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .release-details dd {
    margin-top: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-links {
    flex-wrap: wrap;
    margin-inline: -10px;
  }

  .footer-inner > p {
    grid-column: auto;
  }
}

@media (max-width: 440px) {
  .header-inner {
    gap: 8px;
  }

  .header-right,
  .hero-copy,
  .hero h1,
  .hero-lead,
  .product-stage.carousel {
    min-width: 0;
    max-width: 100%;
  }

  .brand span {
    font-size: 15px;
  }

  .hero h1 {
    font-size: 36px;
    overflow-wrap: anywhere;
  }

  .hero-app-icon {
    width: auto;
    height: auto;
    border-radius: 0;
    padding: 0;
  }

  .hero-app-icon img {
    width: 114px;
    height: 114px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
  }

  .product-stage {
    padding: 0;
  }

  .carousel__arrow {
    width: 34px;
    height: 34px;
  }

  .product-stage .carousel__footer {
    padding: 12px 0 2px;
  }

  .product-stage .carousel__caption {
    display: none;
  }

  .carousel__dots {
    gap: 2px;
  }

  .carousel__dots button {
    width: 24px;
  }

  .carousel__counter {
    right: 16px;
    font-size: 10px;
  }

  .price-card {
    padding: 22px;
  }

  .pricing-note {
    align-items: flex-start;
    text-align: left;
  }

  .feature-card {
    padding: 20px 18px;
  }

  .faq-list summary {
    min-height: 78px;
    font-size: 16px;
  }
}

@media (max-height: 560px) and (orientation: landscape) {
  .hero {
    padding-top: calc(var(--header-height) + 36px);
  }

  .hero-intro {
    grid-template-columns: 150px 1fr;
    gap: 32px;
    text-align: left;
  }

  .app-mark img {
    width: 104px;
    height: 104px;
    border-radius: 18px;
  }

  .release-status,
  .hero-actions {
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: 34px;
  }

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

  .hero-actions {
    margin-top: 20px;
  }
}

@media (max-width: 860px) and (orientation: landscape) {
  .hero {
    padding-top: calc(var(--header-height) + 36px);
  }

  .hero-inner {
    grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
    width: min(calc(100% - 40px), 960px);
    gap: 32px;
  }

  .hero-app-icon img {
    width: 180px;
    height: 180px;
    border-radius: 24px;
  }

  .hero h1 {
    font-size: 36px;
    white-space: normal;
  }

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

  .hero-actions {
    margin-top: 20px;
  }
}

@media (hover: none), (pointer: coarse) {
  .feature-card:hover,
  .price-card:hover {
    transform: none;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .carousel__track {
    transition: none;
  }
}
