@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root,
[data-theme="light"] {
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --surface-bg: #f4f7fb;
  --surface-bg-elevated: rgba(255, 255, 255, 0.78);
  --surface-panel: #ffffff;
  --surface-muted: #eef3fb;
  --surface-dark: #0f172a;
  --surface-dark-soft: #1d2b42;
  --text-primary: #0f172a;
  --text-secondary: #52647d;
  --text-muted: #7587a2;
  --brand-primary: #0f172a;
  --brand-accent: #2563eb;
  --brand-accent-strong: #1d4ed8;
  --brand-accent-soft: rgba(37, 99, 235, 0.12);
  --brand-glow: rgba(59, 130, 246, 0.22);
  --success-bg: #ecfdf5;
  --success-border: #86efac;
  --warning-bg: #fff8df;
  --warning-border: #f8d06c;
  --danger-bg: #fff1f2;
  --danger-border: #fda4af;
  --divider: rgba(15, 23, 42, 0.09);
  --divider-strong: rgba(15, 23, 42, 0.16);
  --focus-ring: rgba(37, 99, 235, 0.34);
  --nav-bg: rgba(244, 247, 251, 0.82);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-xl: 42px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 88px;
  --shadow-card: 0 28px 70px -42px rgba(15, 23, 42, 0.28), 0 12px 28px -18px rgba(15, 23, 42, 0.16);
  --shadow-lift: 0 40px 90px -48px rgba(15, 23, 42, 0.34), 0 22px 44px -28px rgba(15, 23, 42, 0.2);
  --shadow-outline: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  --motion-fast: 160ms;
  --motion-base: 280ms;
  --motion-slow: 560ms;
  --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --surface-bg: #07111f;
  --surface-bg-elevated: rgba(15, 23, 42, 0.78);
  --surface-panel: rgba(12, 19, 34, 0.92);
  --surface-muted: #0e1728;
  --surface-dark: #f8fafc;
  --surface-dark-soft: #d8e1f1;
  --text-primary: #f8fafc;
  --text-secondary: #b5c1d3;
  --text-muted: #93a3bb;
  --brand-primary: #f8fafc;
  --brand-accent: #7cb7ff;
  --brand-accent-strong: #a8ceff;
  --brand-accent-soft: rgba(124, 183, 255, 0.15);
  --brand-glow: rgba(124, 183, 255, 0.25);
  --success-bg: rgba(16, 185, 129, 0.12);
  --success-border: rgba(16, 185, 129, 0.38);
  --warning-bg: rgba(245, 158, 11, 0.14);
  --warning-border: rgba(245, 158, 11, 0.34);
  --danger-bg: rgba(239, 68, 68, 0.14);
  --danger-border: rgba(248, 113, 113, 0.34);
  --divider: rgba(148, 163, 184, 0.16);
  --divider-strong: rgba(148, 163, 184, 0.28);
  --focus-ring: rgba(124, 183, 255, 0.42);
  --nav-bg: rgba(7, 17, 31, 0.82);
  --shadow-card: 0 28px 80px -42px rgba(2, 8, 23, 0.9), 0 14px 36px -24px rgba(2, 8, 23, 0.75);
  --shadow-lift: 0 48px 110px -48px rgba(2, 8, 23, 0.96), 0 28px 46px -26px rgba(2, 8, 23, 0.82);
  --shadow-outline: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--surface-bg);
  color-scheme: light;
  overscroll-behavior-y: none;
}

html[data-theme="dark"] {
  background: #111b2c;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, var(--brand-accent-soft), transparent 32%),
    radial-gradient(circle at 85% 8%, rgba(15, 23, 42, 0.06), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.46), transparent 24%),
    var(--surface-bg);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

body.landing-page {
  background-color: #111b2c;
  background:
    radial-gradient(circle at 50% -8%, rgba(186, 197, 215, 0.78), transparent 34%),
    radial-gradient(circle at 52% 22%, rgba(124, 183, 255, 0.18), transparent 18%),
    linear-gradient(180deg, #667284 0%, #111b2c 100%);
}

[data-theme="light"] body.landing-page,
body.landing-page[data-theme="light"] {
  background-color: #edf2f9;
  background:
    radial-gradient(circle at 18% -4%, rgba(148, 197, 255, 0.26), transparent 30%),
    radial-gradient(circle at 82% 0%, rgba(255, 255, 255, 0.72), transparent 28%),
    linear-gradient(180deg, #edf4ff 0%, #d9e4f5 50%, #edf2f9 100%);
}

a {
  color: var(--brand-accent);
  text-decoration: none;
}

img,
svg {
  display: block;
}

button,
input,
select {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  color: var(--text-primary);
  font-weight: 750;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.08;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.25;
}

p {
  color: var(--text-secondary);
}

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

.text-micro {
  font-size: 0.79rem;
  color: var(--text-muted);
}

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 16px;
  border-radius: calc(var(--radius-md) + 4px);
  border: 1px solid var(--divider);
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card), var(--shadow-outline);
}

.site-header--landing {
  width: min(1180px, calc(100% - 40px));
  margin-top: 20px;
  padding: 14px 18px;
  background: rgba(20, 30, 46, 0.92);
  border-color: rgba(148, 163, 184, 0.14);
  box-shadow:
    0 24px 60px -34px rgba(2, 8, 23, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-header--landing .brand-title,
.site-header--landing .brand-subtitle,
.site-header--landing .brand,
.site-header--landing .site-nav a,
.site-header--landing .resources-toggle,
.site-header--landing .lang-btn,
.site-header--landing .theme-btn,
.site-header--landing .mobile-menu-btn {
  color: #f8fafc;
}

.site-header--landing .brand-subtitle {
  display: none;
}

.site-header--landing .brand-mark {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 65%),
    linear-gradient(135deg, rgba(124, 183, 255, 0.2), rgba(255, 255, 255, 0.04));
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.site-header--landing .brand-mark svg {
  fill: #7cb7ff;
}

.site-header--landing .resources-toggle,
.site-header--landing .lang-switcher,
.site-header--landing .theme-toggle,
.site-header--landing .mobile-menu-btn {
  background: rgba(7, 13, 26, 0.56);
  border-color: rgba(148, 163, 184, 0.14);
}

.site-header--landing .resources-panel {
  background: rgba(15, 23, 42, 0.96);
  border-color: rgba(148, 163, 184, 0.18);
}

.site-header--landing .resources-menu.menu-open .resources-toggle,
.site-header--landing .lang-btn.active,
.site-header--landing .theme-btn:focus-visible,
.site-header--landing .lang-btn:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .site-header--landing {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow:
    0 24px 60px -34px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .site-header--landing .brand-title,
[data-theme="light"] .site-header--landing .brand-subtitle,
[data-theme="light"] .site-header--landing .brand,
[data-theme="light"] .site-header--landing .site-nav a,
[data-theme="light"] .site-header--landing .resources-toggle,
[data-theme="light"] .site-header--landing .lang-btn,
[data-theme="light"] .site-header--landing .theme-btn,
[data-theme="light"] .site-header--landing .mobile-menu-btn {
  color: #0f172a;
}

[data-theme="light"] .site-header--landing .brand-mark {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), transparent 65%),
    linear-gradient(135deg, rgba(191, 219, 254, 0.48), rgba(255, 255, 255, 0.28));
  border-color: rgba(148, 163, 184, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

[data-theme="light"] .site-header--landing .brand-mark svg {
  fill: #2563eb;
}

[data-theme="light"] .site-header--landing .resources-toggle,
[data-theme="light"] .site-header--landing .lang-switcher,
[data-theme="light"] .site-header--landing .theme-toggle,
[data-theme="light"] .site-header--landing .mobile-menu-btn {
  background: rgba(244, 247, 251, 0.92);
  border-color: rgba(148, 163, 184, 0.24);
}

[data-theme="light"] .site-header--landing .resources-panel {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(148, 163, 184, 0.24);
}

[data-theme="light"] .site-header--landing .resources-menu.menu-open .resources-toggle,
[data-theme="light"] .site-header--landing .lang-btn.active,
[data-theme="light"] .site-header--landing .theme-btn:focus-visible,
[data-theme="light"] .site-header--landing .lang-btn:focus-visible {
  background: rgba(37, 99, 235, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text-primary);
  min-width: 0;
}

.brand:hover {
  color: var(--text-primary);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), transparent 65%),
    linear-gradient(135deg, var(--brand-accent-soft), rgba(15, 23, 42, 0.06));
  border: 1px solid var(--divider);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36);
  flex-shrink: 0;
}

.brand-mark svg {
  width: 22px;
  height: 22px;
  fill: var(--brand-accent);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-title {
  font-size: 1rem;
  font-weight: 760;
  color: var(--text-primary);
}

.brand-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--divider);
  background: var(--surface-panel);
  color: var(--text-primary);
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  color: var(--text-secondary);
  font-weight: 600;
  transition: color var(--motion-fast) linear;
}

.header-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.resources-menu {
  position: relative;
}

.resources-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--divider);
  border-radius: 14px;
  background: var(--surface-panel);
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-outline);
  transition:
    color var(--motion-fast) linear,
    background-color var(--motion-fast) linear,
    border-color var(--motion-fast) linear,
    transform var(--motion-base) var(--ease-standard);
}

.resources-menu.menu-open .resources-toggle {
  color: var(--text-primary);
  background: var(--surface-bg);
}

.resources-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform var(--motion-base) var(--ease-standard);
}

.resources-menu.menu-open .resources-toggle svg {
  transform: rotate(180deg);
}

.resources-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  display: grid;
  gap: 8px;
  min-width: 180px;
  padding: 12px;
  border: 1px solid var(--divider);
  border-radius: 18px;
  background: var(--surface-panel);
  box-shadow: var(--shadow-card);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity var(--motion-base) var(--ease-standard),
    transform var(--motion-base) var(--ease-standard);
}

.resources-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
}

.resources-menu.menu-open .resources-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-switcher,
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--divider);
  border-radius: 14px;
  background: var(--surface-panel);
  box-shadow: var(--shadow-outline);
}

.lang-btn,
.theme-btn {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: 10px;
  padding: 8px 11px;
  font-size: 0.78rem;
  font-weight: 700;
  transition:
    transform var(--motion-base) var(--ease-standard),
    background-color var(--motion-fast) linear,
    color var(--motion-fast) linear;
}

.theme-btn {
  padding-inline: 10px;
}

.theme-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.lang-btn.active,
.theme-btn:focus-visible,
.lang-btn:focus-visible {
  color: var(--text-primary);
  background: var(--surface-bg);
}

.lang-btn:active,
.theme-btn:active {
  transform: translateY(1px);
}

.site-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: var(--space-8) 0 var(--space-9);
  flex: 1;
}

.site-main--landing {
  width: min(1280px, calc(100% - 40px));
  padding-top: 56px;
  padding-bottom: 42px;
  display: flex;
  flex-direction: column;
}

.hero-fold-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

@media (min-width: 1040px) {
  .hero-fold-wrapper {
    min-height: calc(100svh - 140px);
  }
}

.landing-hero {
  position: relative;
  display: grid;
  gap: 44px;
  padding: 36px 40px 0;
  border-radius: 36px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background:
    radial-gradient(circle at 72% 18%, rgba(124, 183, 255, 0.28), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 20%),
    linear-gradient(180deg, rgba(20, 30, 46, 0.88), rgba(13, 22, 37, 0.98));
  box-shadow:
    0 36px 90px -42px rgba(2, 8, 23, 0.88),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

[data-theme="light"] .landing-hero {
  border-color: rgba(148, 163, 184, 0.22);
  background:
    radial-gradient(circle at 72% 18%, rgba(96, 165, 250, 0.22), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0) 22%),
    linear-gradient(180deg, rgba(240, 246, 255, 0.98), rgba(225, 235, 248, 0.98));
  box-shadow:
    0 34px 90px -46px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.landing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 24%);
}

@media (min-width: 1040px) {
  .landing-hero {
    grid-template-columns: minmax(0, 1.14fr) minmax(320px, 0.86fr);
    align-items: center;
    padding-bottom: 28px;
  }

  .landing-steps {
    margin-top: clamp(72px, 10vh, 148px);
  }
}

@media (min-width: 1040px) and (max-height: 940px) {
  .site-main--landing {
    padding-top: 24px;
  }

  .landing-hero {
    gap: 24px;
    padding: 22px 28px 18px;
  }

  .section-kicker--dark {
    margin-bottom: 8px;
  }

  .landing-hero-title {
    max-width: 11.4ch;
    font-size: clamp(2.6rem, 3.95vw, 4.1rem);
    margin-bottom: 12px;
  }

  html[lang="uk"] .landing-hero-copy {
    padding-top: 6px;
  }

  html[lang="uk"] .landing-hero-title {
    max-width: 11.8ch;
    font-size: clamp(2.4rem, 3.55vw, 3.85rem);
  }

  .landing-hero-sub {
    max-width: 33rem;
    font-size: 0.98rem;
    line-height: 1.46;
    margin-bottom: 18px;
  }

  html[lang="uk"] .landing-hero-sub {
    max-width: 31rem;
    font-size: 0.94rem;
    line-height: 1.4;
    margin-bottom: 16px;
  }

  .button-group--landing {
    gap: 10px;
  }

  .landing-hero-visual {
    width: min(100%, 446px);
  }
}



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

.landing-hero-copy {
  max-width: 36rem;
  z-index: 2;
}

.landing-hero-title {
  max-width: 10.6ch;
  font-size: clamp(3.4rem, 5.2vw, 5.4rem);
  line-height: 1.02;
  color: #f8fafc;
  text-wrap: pretty;
  margin-bottom: 18px;
}

[data-theme="light"] .landing-hero-title {
  color: #10213a;
}

html[lang="uk"] .landing-hero-title {
  max-width: 11.6ch;
  font-size: clamp(3rem, 4.7vw, 4.9rem);
  line-height: 1.04;
}

@media (min-width: 1040px) {
  html[lang="uk"] .landing-hero-copy {
    padding-top: 32px;
  }
}

.landing-hero-sub {
  max-width: 31rem;
  color: rgba(226, 232, 240, 0.88);
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

[data-theme="light"] .landing-hero-sub {
  color: rgba(51, 65, 85, 0.88);
}

html[lang="uk"] .landing-hero-sub {
  max-width: 29rem;
  font-size: 1.06rem;
  line-height: 1.5;
  margin-bottom: 26px;
}

.section-kicker--dark {
  margin-bottom: 14px;
  background: rgba(124, 183, 255, 0.16);
  color: #d9e8ff;
}

[data-theme="light"] .section-kicker--dark {
  background: rgba(37, 99, 235, 0.1);
  color: #2458b8;
}

.button-group--landing {
  margin-top: 0;
  gap: 16px;
  position: relative;
  z-index: 3;
}

.landing-hero .button-primary {
  background: linear-gradient(135deg, #f8fafc, #d8e4f8);
  color: #0b1628;
  box-shadow: 0 20px 40px -22px rgba(2, 8, 23, 0.5);
}

.button-secondary--dark {
  background: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  border-color: rgba(148, 163, 184, 0.16);
}

.landing-hero .button-secondary--dark {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(148, 163, 184, 0.2);
}

[data-theme="light"] .landing-hero .button-secondary--dark {
  color: #10213a;
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(148, 163, 184, 0.24);
}

.landing-hero-visual {
  width: min(100%, 520px);
  aspect-ratio: 1 / 1;
  min-height: 0;
  justify-self: end;
  pointer-events: none;
}

.landing-hero-glow {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: 540px;
  height: 540px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(124, 131, 255, 0.42), transparent 70%);
  filter: blur(48px);
}

[data-theme="light"] .landing-hero-glow {
  background: radial-gradient(circle, rgba(96, 165, 250, 0.28), transparent 68%);
}

.landing-device {
  position: absolute;
  inset: 6% 4% 10% 18%;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    0 20px 60px -32px rgba(2, 8, 23, 0.72),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

[data-theme="light"] .landing-device {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.12), rgba(255, 255, 255, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.74),
    0 24px 48px -32px rgba(37, 99, 235, 0.28);
}

.landing-device::before {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
    linear-gradient(180deg, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.06));
}

.landing-device-screen {
  position: absolute;
  inset: auto 24px 24px 24px;
  height: 110px;
  border-radius: 0 0 18px 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .landing-device-screen {
  background: rgba(37, 99, 235, 0.14);
}

.landing-hero .hero-card {
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(8, 15, 28, 0.92));
  box-shadow:
    0 26px 56px -36px rgba(2, 8, 23, 0.84),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

[data-theme="light"] .landing-hero .hero-card {
  border-color: rgba(148, 163, 184, 0.2);
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(232, 240, 250, 0.92));
  box-shadow:
    0 22px 50px -34px rgba(15, 23, 42, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.landing-hero .hero-card--preview {
  left: 6%;
  top: 10%;
  width: min(306px, 72%);
  padding: 14px 16px 12px;
  border-radius: 22px;
}

.landing-hero .hero-card--labels {
  right: 5%;
  bottom: 7%;
  width: min(262px, 58%);
  padding: 13px 15px;
  border-radius: 20px;
}

.landing-hero .hero-card--trash {
  left: 22%;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #f8fafc;
  font-size: 0.8rem;
  font-weight: 700;
}

.landing-hero .hero-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.landing-hero .hero-card-dot,
.landing-hero .hero-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #6ea8ff;
  box-shadow: 0 0 0 8px rgba(110, 168, 255, 0.16);
  flex-shrink: 0;
}

.landing-hero .hero-card-label,
.landing-hero .hero-card--trash span:last-child {
  color: #f8fafc;
  font-weight: 700;
}

[data-theme="light"] .landing-hero .hero-card-label,
[data-theme="light"] .landing-hero .hero-card--trash span:last-child {
  color: #10213a;
}

.landing-hero .hero-card-note {
  color: rgba(226, 232, 240, 0.82);
  font-size: 0.76rem;
  line-height: 1.45;
  margin: 0;
}

[data-theme="light"] .landing-hero .hero-card-note {
  color: rgba(51, 65, 85, 0.82);
}

.landing-hero .hero-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.landing-hero .hero-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(7, 13, 26, 0.6);
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.75rem;
  font-weight: 650;
}

[data-theme="light"] .landing-hero .hero-tag {
  background: rgba(15, 23, 42, 0.06);
  color: #334155;
}

.landing-steps {
  display: grid;
  width: 100%;
  gap: 18px;
  scroll-margin-top: 160px;
  margin-top: 28px;
}

.landing-steps-heading {
  max-width: 40rem;
  scroll-margin-top: 160px;
}

.landing-steps-heading h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.14;
  color: #f8fafc;
}

[data-theme="light"] .landing-steps-heading h2 {
  color: #10213a;
}

.landing-steps-grid {
  display: grid;
  width: 100%;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.hero-section {
  display: grid;
  gap: var(--space-6);
  padding: clamp(30px, 5vw, 54px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--divider);
  background:
    radial-gradient(circle at top right, var(--brand-glow), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), transparent 22%),
    var(--surface-bg-elevated);
  box-shadow: var(--shadow-lift), var(--shadow-outline);
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 48%);
}

@media (min-width: 920px) {
  .hero-section {
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.78fr);
    align-items: center;
  }
}

.hero-copy-block,
.content-card,
.section-shell,
.page-card {
  position: relative;
  z-index: 1;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--brand-accent-soft);
  color: var(--brand-accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.hero-title {
  max-width: 13.5ch;
  font-size: clamp(2.7rem, 4.6vw, 4.9rem);
  text-wrap: balance;
  margin-bottom: 18px;
}

.hero-sub {
  max-width: 35rem;
  font-size: 1rem;
  margin-bottom: 22px;
}

.hero-helper {
  max-width: 34rem;
  margin-top: 12px;
  color: var(--text-muted);
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2px;
}

.button-group--stack {
  flex-direction: column;
  align-items: stretch;
}

.button-group--stack .button {
  width: 100%;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform var(--motion-base) var(--ease-standard),
    box-shadow var(--motion-base) var(--ease-standard),
    background-color var(--motion-fast) linear,
    border-color var(--motion-fast) linear,
    color var(--motion-fast) linear;
}

.button:active {
  transform: translateY(0);
}

.button-primary {
  color: #f8fafc;
  background: linear-gradient(135deg, var(--brand-primary), var(--surface-dark-soft));
  box-shadow: 0 18px 34px -22px rgba(15, 23, 42, 0.45);
}

[data-theme="dark"] .button-primary {
  color: #08111d;
}

.button-secondary {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.26);
  border-color: var(--divider);
  backdrop-filter: blur(14px);
}

.install-hint {
  margin-top: 18px;
  max-width: 42rem;
}

.microproof-pill,
.trust-pill,
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--divider);
  background: rgba(255, 255, 255, 0.3);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
}

.trust-pill svg,
.status-pill svg,
.microproof-pill svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  min-height: 360px;
  border-radius: calc(var(--radius-lg) + 6px);
  overflow: hidden;
}

.hero-illustration {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-visual-orb {
  position: absolute;
  right: 12%;
  top: 12%;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--brand-glow), transparent 70%);
  filter: blur(6px);
}

.hero-card {
  position: absolute;
  border: 1px solid var(--divider);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 28%),
    var(--surface-panel);
  box-shadow: var(--shadow-card), var(--shadow-outline);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-card--primary {
  top: 13%;
  left: 8%;
  width: min(270px, 70%);
  padding: 18px 18px 16px;
  border-radius: 24px;
}

.hero-card--secondary {
  right: 8%;
  bottom: 18%;
  width: min(240px, 62%);
  padding: 16px;
  border-radius: 22px;
}

.hero-card--status {
  left: 16%;
  bottom: 8%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.hero-card-dot,
.hero-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand-accent);
  box-shadow: 0 0 0 8px var(--brand-accent-soft);
  flex-shrink: 0;
}

.hero-card-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-card-lines {
  display: grid;
  gap: 10px;
}

.hero-card-lines span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.22);
}

.hero-card-lines span:nth-child(1) {
  width: 88%;
}

.hero-card-lines span:nth-child(2) {
  width: 64%;
}

.hero-card-lines span:nth-child(3) {
  width: 74%;
}

.hero-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--surface-bg);
  color: var(--text-secondary);
  font-size: 0.79rem;
  font-weight: 650;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.landing-steps .content-card--dark {
  height: 100%;
  padding: 58px 28px 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(10, 18, 30, 0.92));
  border-color: rgba(148, 163, 184, 0.14);
  box-shadow:
    0 20px 44px -34px rgba(2, 8, 23, 0.88),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

[data-theme="light"] .landing-steps .content-card--dark {
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(232, 240, 250, 0.96));
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow:
    0 18px 40px -30px rgba(15, 23, 42, 0.16),
    inset 0 1px 0 rgba(255,255,255,0.82);
}

.landing-steps .content-card--dark h3 {
  color: #f8fafc;
}

[data-theme="light"] .landing-steps .content-card--dark h3 {
  color: #10213a;
}

.landing-steps .content-card--dark p {
  color: rgba(226, 232, 240, 0.82);
}

[data-theme="light"] .landing-steps .content-card--dark p {
  color: rgba(51, 65, 85, 0.86);
}

.section-shell {
  margin-top: 58px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin-bottom: 12px;
}

.section-heading p {
  max-width: 60ch;
}

.section-grid,
.feature-grid,
.pain-grid,
.faq-preview-grid,
.help-grid,
.steps-grid,
.privacy-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 720px) {
  .pain-grid,
  .feature-grid,
  .faq-preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (min-width: 980px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .steps-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

.content-card,
.page-card {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--divider);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 26%),
    var(--surface-panel);
  box-shadow: var(--shadow-card), var(--shadow-outline);
}

.content-card--soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 24%), var(--surface-bg-elevated);
}

.content-card h3,
.page-card h3 {
  margin-bottom: 10px;
}

.metric-card {
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid var(--divider);
  background: var(--surface-muted);
}

.metric-card strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.step-card {
  position: relative;
  padding-top: 12px;
}

.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--brand-accent-soft), rgba(15, 23, 42, 0.08));
  box-shadow: var(--shadow-outline);
  color: var(--brand-accent);
}

.step-icon svg {
  width: 22px;
  height: 22px;
}

.page-hero {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--divider);
  background:
    radial-gradient(circle at top right, var(--brand-glow), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 26%),
    var(--surface-bg-elevated);
  box-shadow: var(--shadow-card), var(--shadow-outline);
}

.page-layout {
  display: grid;
  gap: 18px;
}

.notice-strip {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--warning-border);
  background: var(--warning-bg);
  color: var(--text-primary);
}

.privacy-item,
.faq-item,
.support-item {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--divider);
  background: var(--surface-panel);
}

.faq-item + .faq-item {
  margin-top: 14px;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.checklist li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  color: var(--text-secondary);
}

.checklist li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, var(--brand-accent) 0 35%, transparent 36%),
    rgba(37, 99, 235, 0.16);
}

.revoke-access-link {
  color: var(--text-primary);
  text-decoration: underline;
  font-weight: 650;
}

.final-cta {
  margin-top: var(--space-8);
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--divider);
  background:
    radial-gradient(circle at top right, var(--brand-glow), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 28%),
    var(--surface-panel);
  box-shadow: var(--shadow-card), var(--shadow-outline);
  color: var(--text-primary);
  overflow: hidden;
  position: relative;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: auto -14% -48% auto;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--brand-accent-soft), transparent 72%);
}

.final-cta h2,
.final-cta p,
.final-cta .button-secondary {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  color: var(--text-primary);
}

.final-cta p {
  color: var(--text-secondary);
}

.final-cta p {
  max-width: 54ch;
  margin: 12px 0 24px;
}

.final-cta .button-secondary {
  color: var(--text-primary);
  border-color: var(--divider);
  background: rgba(255, 255, 255, 0.28);
}

.button-tertiary {
  color: var(--text-secondary);
  background: transparent;
  border-color: transparent;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 28px;
  padding: 26px 0 12px;
  border-top: 1px solid var(--divider);
}

.site-footer--landing {
  width: min(1180px, calc(100% - 40px));
  margin-bottom: 16px;
  padding-top: 12px;
  border-top: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.site-footer--landing .footer-links a,
.site-footer--landing .text-micro {
  color: rgba(226, 232, 240, 0.82);
}

[data-theme="light"] .site-footer--landing .footer-links a,
[data-theme="light"] .site-footer--landing .text-micro {
  color: rgba(51, 65, 85, 0.88);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 18px;
}

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

.footer-links a {
  color: var(--text-secondary);
  font-weight: 600;
}

.footer-note {
  max-width: 52ch;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity var(--motion-slow) var(--ease-soft),
    transform var(--motion-slow) var(--ease-soft);
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

@media (max-width: 839px) {
  .site-header {
    width: min(1180px, calc(100% - 20px));
    padding: 12px 14px;
  }

  .site-header--landing {
    width: min(1180px, calc(100% - 20px));
    padding: 12px 14px;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    margin: 0;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid var(--divider);
    background: var(--surface-panel);
    box-shadow: var(--shadow-card);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .site-nav.nav-open {
    display: flex;
  }

  .site-nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px 24px;
  }

  .resources-menu {
    width: 100%;
    position: relative;
  }

  .resources-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .resources-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    z-index: 6;
    min-width: 0;
    margin-top: 10px;
    padding: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    display: grid;
    box-shadow: var(--shadow-card);
    border-radius: 16px;
    background: var(--surface-panel);
  }

  .resources-menu.menu-open .resources-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .header-controls {
    justify-content: space-between;
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid var(--divider);
  }

  .site-main {
    width: min(1180px, calc(100% - 20px));
    padding-top: var(--space-7);
  }

  .site-main--landing {
    width: min(1180px, calc(100% - 20px));
    padding-top: 24px;
    gap: 20px;
  }

  .landing-hero {
    gap: 28px;
    padding: 24px 18px 20px;
    border-radius: 28px;
  }

  .landing-hero-copy {
    max-width: none;
    text-align: center;
    display: grid;
    justify-items: center;
  }

  .landing-hero-title {
    max-width: none;
    font-size: clamp(2.35rem, 10.6vw, 3.5rem);
    margin-inline: auto;
    text-align: center;
    text-wrap: balance;
  }

  html[lang="uk"] .landing-hero-title {
    font-size: clamp(2.2rem, 9.8vw, 3.25rem);
    line-height: 1.06;
  }

  .landing-hero-sub {
    max-width: 25rem;
    margin-inline: auto;
    font-size: 0.94rem;
    margin-bottom: 24px;
    text-align: center;
    text-wrap: balance;
  }

  html[lang="uk"] .landing-hero-sub {
    font-size: 0.92rem;
    line-height: 1.48;
    margin-bottom: 22px;
  }

  .landing-hero-visual {
    width: min(100%, 360px);
    min-height: 220px;
    justify-self: center;
  }

  .landing-device {
    right: 10%;
    top: 24%;
    width: 136px;
    height: 112px;
  }

  .landing-hero .hero-card--preview {
    left: 0;
    width: 78%;
    padding: 12px 14px;
  }

  .landing-hero .hero-card--labels {
    right: 0;
    bottom: 14%;
    width: 60%;
  }

  .landing-hero .hero-card--trash {
    left: 10%;
    bottom: 2%;
  }

  .button-group--landing {
    flex-direction: column;
    width: 100%;
  }

  .button-group--landing .button {
    width: 100%;
    justify-content: center;
  }

  .landing-steps-heading {
    max-width: none;
    text-align: center;
  }

  .landing-steps-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .landing-steps {
    margin-top: 18px;
  }

  .hero-title {
    max-width: none;
  }

  .hero-visual {
    min-height: 300px;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .site-footer {
    width: min(1180px, calc(100% - 20px));
  }

  .site-footer .footer-links {
    justify-content: center;
    gap: 18px 24px;
  }

  .site-footer .footer-note,
  .site-footer .text-micro {
    max-width: 32ch;
    margin-inline: auto;
    text-align: center;
  }

  .site-footer--landing {
    width: min(1180px, calc(100% - 20px));
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .site-footer--landing .footer-links {
    width: 100%;
    justify-content: center;
    gap: 18px 24px;
  }

  .site-footer--landing .text-micro {
    max-width: 32ch;
    margin-inline: auto;
  }
}

@media (max-width: 639px) {
  .button-group {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-section,
  .page-hero,
  .content-card,
  .page-card {
    padding-inline: 20px;
  }

  .brand-subtitle {
    white-space: normal;
  }

  .landing-steps {
    grid-template-columns: 1fr;
  }

  .landing-steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (hover: hover) and (pointer: fine) {
  a:hover {
    text-decoration: none;
  }

  .site-header--landing .resources-panel a:hover,
  .site-header--landing .resources-toggle:hover,
  .site-header--landing .theme-btn:hover,
  .site-header--landing .lang-btn:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  [data-theme="light"] .site-header--landing .resources-panel a:hover,
  [data-theme="light"] .site-header--landing .resources-toggle:hover,
  [data-theme="light"] .site-header--landing .theme-btn:hover,
  [data-theme="light"] .site-header--landing .lang-btn:hover {
    background: rgba(37, 99, 235, 0.08);
  }

  .brand:hover {
    color: var(--text-primary);
  }

  .site-nav a:hover {
    color: var(--text-primary);
  }

  .resources-toggle:hover,
  .resources-panel a:hover {
    background: var(--surface-bg);
  }

  .theme-btn:hover,
  .lang-btn:hover {
    color: var(--text-primary);
    background: var(--surface-bg);
  }

  .button:hover {
    transform: translateY(-2px);
  }

  .button-secondary:hover {
    background: var(--surface-panel);
  }

  .landing-hero .button-primary:hover {
    background: linear-gradient(135deg, #ffffff, #e8effc);
  }

  .button-secondary--dark:hover {
    background: rgba(255, 255, 255, 0.16);
  }

  .button-tertiary:hover {
    color: var(--text-primary);
    background: transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
