:root {
  --bg: #060a11;
  --bg-alt: #090c18;
  --surface: #0d1520;
  --surface-raised: #101a28;
  --card: #0a1018;
  --text: #e8edf5;
  --text-strong: #f0f4ff;
  --muted: #8ba0bd;
  --muted-soft: #6b7a93;
  --border: #1e2d42;
  --border-strong: #293a55;
  --accent: #4f9eff;
  --accent-strong: #1e6afa;
  --accent-soft: rgba(79, 158, 255, 0.14);
  --warning: #ffb15c;
  --success: #22c55e;
  --danger: #ff6b7a;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100%;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(140deg, rgba(79, 158, 255, 0.16) 0%, transparent 34%),
    linear-gradient(220deg, rgba(255, 177, 92, 0.12) 0%, transparent 32%),
    linear-gradient(135deg, #060a11 0%, #071426 48%, #0d1520 100%);
}

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

img {
  display: block;
  max-width: 100%;
}

.page {
  width: 100%;
  min-height: 100vh;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
  will-change: opacity, transform;
}

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

.wrap {
  width: min(100% - 44px, var(--max));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 76px;
  width: min(100% - 84px, var(--max));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(139, 160, 189, 0.08);
  background: rgba(6, 10, 17, 0.54);
  backdrop-filter: blur(14px);
  transition:
    min-height 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    backdrop-filter 220ms ease;
}

.nav::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: 76px;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background: rgba(6, 10, 17, 0.82);
  border-bottom: 1px solid rgba(139, 160, 189, 0.16);
  backdrop-filter: blur(18px);
  transition: opacity 220ms ease;
}

.site-scrolled .nav,
.nav:hover {
  min-height: 62px;
  border-color: rgba(139, 160, 189, 0.16);
  background: rgba(6, 10, 17, 0.78);
  backdrop-filter: blur(18px);
}

.site-scrolled .nav::before,
.nav:hover::before {
  opacity: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  color: var(--text-strong);
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.home-nav .brand {
  gap: 0;
}

.home-nav .brand img {
  width: 0;
  height: 24px;
  opacity: 0;
  transform: scale(0.45);
  transition:
    width 220ms ease,
    opacity 220ms ease,
    transform 220ms ease,
    margin-right 220ms ease;
}

.site-scrolled .home-nav .brand {
  gap: 9px;
}

.site-scrolled .home-nav .brand img {
  width: 24px;
  opacity: 1;
  transform: scale(1);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 0 16px;
  border: 1px solid var(--border-strong);
  font-weight: 800;
  color: var(--text-strong);
  background: rgba(13, 21, 32, 0.68);
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: white;
}

.hero {
  min-height: min(620px, calc(100vh - 174px));
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-content: center;
  gap: 14px;
  padding: 16px 0 34px;
}

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

.hero-mark {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 10px;
  filter: drop-shadow(0 18px 28px rgba(79, 158, 255, 0.22));
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.site-scrolled .hero-mark {
  opacity: 0;
  transform: translateY(-12px) scale(0.42);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(79, 158, 255, 0.32);
  padding: 0 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.kicker img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

h1 {
  margin: 14px 0 0;
  max-width: 820px;
  color: var(--text-strong);
  font-size: 60px;
  line-height: 1;
  letter-spacing: 0;
}

.lead {
  margin: 16px 0 0;
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.store-pill {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 11px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  background: rgba(13, 21, 32, 0.54);
}

.preview {
  position: relative;
  overflow: hidden;
  justify-self: center;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 10px;
  width: min(100%, 480px);
  background:
    linear-gradient(145deg, rgba(16, 26, 40, 0.98), rgba(13, 26, 46, 0.92)),
    var(--surface);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.main-sticker {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.preview-label {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.preview-phrase {
  margin: 5px 0 0;
  color: var(--text-strong);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
}

.wave {
  height: 82px;
  display: none;
  grid-template-columns: repeat(9, 1fr);
  align-items: center;
  gap: 8px;
  margin: 22px 0;
}

.bar {
  border-radius: 8px;
  background: var(--accent);
}

.bar:nth-child(2n) {
  background: var(--warning);
}

.mini-grid {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mini {
  min-height: 92px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 10px 8px;
  background: var(--card);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.mini img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.stats,
.feature-grid,
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat,
.feature,
.module-card,
.road-card,
.legal-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(13, 21, 32, 0.78);
}

.stat {
  padding: 18px;
  text-align: center;
}

.stat strong {
  display: block;
  color: var(--text-strong);
  font-size: 28px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.section {
  padding: 62px 0;
}

section[id] {
  scroll-margin-top: 86px;
}

.section-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 790px;
  margin-bottom: 24px;
}

.section-head.centered {
  align-items: center;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(79, 158, 255, 0.32);
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
}

.section-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

h2 {
  margin: 0;
  color: var(--text-strong);
  font-size: 42px;
  line-height: 1.1;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.feature,
.module-card {
  padding: 18px;
  text-align: center;
}

.feature img,
.module-card img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin: 0 auto 13px;
}

h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: 18px;
}

.feature p,
.module-card p,
.road-card p,
.legal-card p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(79, 158, 255, 0.32);
  border-radius: 8px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(79, 158, 255, 0.14), rgba(255, 177, 92, 0.08));
}

.band p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.band img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.language-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  align-items: stretch;
}

.language-group {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  background: rgba(13, 21, 32, 0.78);
}

.language-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.language-list span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--text-strong);
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(79, 158, 255, 0.14), rgba(13, 21, 32, 0.9));
}

.language-list.warm span {
  border-color: rgba(255, 177, 92, 0.42);
  background: linear-gradient(135deg, rgba(255, 177, 92, 0.16), rgba(13, 21, 32, 0.9));
}

.roadmap {
  display: grid;
  gap: 12px;
}

.road-item {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 12px;
}

.dot {
  width: 13px;
  height: 13px;
  margin-top: 23px;
  border-radius: 999px;
  background: var(--accent);
}

.road-item:first-child .dot {
  background: var(--success);
}

.road-card,
.legal-card {
  padding: 18px;
}

.status {
  display: block;
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.road-item:first-child .status {
  color: var(--success);
}

.footer {
  border-top: 1px solid rgba(139, 160, 189, 0.2);
  padding: 28px 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

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

.simple-main {
  padding: 54px 0 70px;
}

.simple-head {
  max-width: 800px;
  margin-bottom: 28px;
}

.simple-head h1 {
  font-size: 58px;
}

.legal-grid {
  display: grid;
  gap: 12px;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 14px;
  align-items: start;
}

.support-form {
  display: grid;
  gap: 16px;
}

.support-help {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--text-strong);
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--text);
  background: rgba(6, 10, 17, 0.62);
  font: inherit;
  outline: none;
}

.field textarea {
  min-height: 170px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 158, 255, 0.14);
}

.field input[type="file"] {
  padding: 10px;
}

.field .file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.file-picker {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px dashed rgba(79, 158, 255, 0.46);
  border-radius: 8px;
  padding: 14px;
  color: var(--text-strong);
  background:
    linear-gradient(135deg, rgba(79, 158, 255, 0.13), rgba(255, 177, 92, 0.07)),
    rgba(6, 10, 17, 0.54);
  cursor: pointer;
}

.file-picker:hover,
.file-input:focus + .file-picker {
  border-color: var(--accent);
  background:
    linear-gradient(135deg, rgba(79, 158, 255, 0.2), rgba(255, 177, 92, 0.1)),
    rgba(6, 10, 17, 0.68);
}

.file-picker-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: white;
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: 0 10px 22px rgba(30, 106, 250, 0.26);
}

.file-picker strong,
.file-picker small {
  display: block;
}

.file-picker strong {
  font-size: 14px;
}

.file-picker small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.file-summary {
  min-height: 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.field-meta,
.field-help,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.field-meta {
  text-align: right;
}

.form-status {
  min-height: 18px;
  color: var(--warning);
  font-weight: 800;
}

.form-status[data-state="success"] {
  color: var(--success);
}

.support-submit {
  min-height: 52px;
  width: 100%;
  gap: 10px;
  border: 0;
  font-size: 15px;
  box-shadow:
    0 16px 32px rgba(30, 106, 250, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.support-submit:hover {
  transform: translateY(-1px);
  box-shadow:
    0 20px 38px rgba(30, 106, 250, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.support-submit:active {
  transform: translateY(0);
}

.submit-icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 24px;
  }

  h1 {
    font-size: 56px;
  }

  h2,
  .simple-head h1 {
    font-size: 38px;
  }

  .feature-grid,
  .module-grid,
  .stats,
  .language-panel,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .preview {
    max-width: 520px;
  }

  .lead {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 28px, var(--max));
  }

  .nav {
    width: min(100% - 28px, var(--max));
    align-items: flex-start;
    flex-direction: column;
    padding: 16px;
  }

  .site-scrolled .nav,
  .nav:hover {
    min-height: 86px;
  }

  .nav::before {
    height: 112px;
  }

  section[id] {
    scroll-margin-top: 124px;
  }

  .hero {
    gap: 18px;
    padding-top: 14px;
    padding-bottom: 24px;
  }

  h1 {
    font-size: 36px;
    line-height: 1.05;
  }

  h2,
  .simple-head h1 {
    font-size: 30px;
  }

  .lead {
    font-size: 16px;
    line-height: 1.5;
  }

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

  .store-row {
    margin-top: 12px;
  }

  .store-pill {
    padding: 6px 8px;
    font-size: 11px;
  }

  .preview {
    display: none;
  }

  .hero-mark {
    width: 62px;
    height: 62px;
    margin-bottom: 10px;
  }

  .main-sticker {
    width: 54px;
    height: 54px;
  }

  .preview-phrase {
    font-size: 18px;
  }

  .wave,
  .mini-grid {
    display: none;
  }

  .band {
    align-items: flex-start;
    flex-direction: column;
    text-align: center;
  }

  .band img {
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
