:root {
  color-scheme: dark;
  --bg: #080a0f;
  --ink: #f7f4ec;
  --muted: #b8bdc7;
  --soft: #858c9b;
  --line: rgba(255, 255, 255, 0.12);
  --panel: rgba(18, 21, 28, 0.84);
  --panel-strong: rgba(23, 27, 36, 0.96);
  --gold: #f0bb55;
  --gold-2: #ffe2a1;
  --blue: #6da8ff;
  --green: #69d7a3;
  --red: #ff8a7a;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(240, 187, 85, 0.12), transparent 26rem),
    linear-gradient(225deg, rgba(109, 168, 255, 0.12), transparent 30rem),
    linear-gradient(180deg, #080a0f 0%, #10141d 46%, #080a0f 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 70%);
}

a {
  color: inherit;
}

.shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 15, 0.82);
  backdrop-filter: blur(18px);
}

.topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand,
.nav,
.language,
.actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  box-shadow: 0 12px 34px rgba(240, 187, 85, 0.18);
}

.brand strong {
  display: block;
  font-size: 18px;
  letter-spacing: 0.01em;
}

.brand span span {
  display: block;
  margin-top: 2px;
  color: var(--soft);
  font-size: 13px;
}

.nav,
.language,
.actions {
  flex-wrap: wrap;
  gap: 10px;
}

.nav a,
.button,
.language button {
  min-height: 42px;
  border-radius: 8px;
  font: inherit;
  font-weight: 750;
}

.nav a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  text-decoration: none;
}

.nav a,
.button.secondary,
.language button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
}

.language button {
  cursor: pointer;
  padding: 0 12px;
}

.language button[aria-pressed="true"] {
  border-color: rgba(240, 187, 85, 0.78);
  background: rgba(240, 187, 85, 0.15);
}

.button.primary {
  border: 0;
  color: #1d1405;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 18px 46px rgba(240, 187, 85, 0.22);
}

main {
  padding: 54px 0 42px;
}

.hero {
  min-height: calc(100vh - 132px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  gap: 24px;
  align-items: center;
}

.hero.compact {
  min-height: auto;
  align-items: stretch;
}

.panel,
.card,
.device,
.legal-card,
.notice {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-copy,
.side-panel,
.section,
.legal-card,
.notice {
  padding: clamp(24px, 4vw, 44px);
}

.side-panel {
  background: var(--panel-strong);
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.95;
  letter-spacing: 0;
}

.page-title {
  max-width: 15ch;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.lead {
  max-width: 62ch;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.actions {
  margin-top: 28px;
}

.device {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)),
    var(--panel-strong);
}

.device-screen {
  height: 100%;
  min-height: 512px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(109, 168, 255, 0.16), transparent 42%),
    #0d1119;
}

.status-row,
.feature-row,
.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.status-pill,
.mini-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 10px;
  color: var(--green);
  background: rgba(105, 215, 163, 0.12);
  border: 1px solid rgba(105, 215, 163, 0.25);
  font-size: 12px;
  font-weight: 800;
}

.screen-logo {
  display: grid;
  place-items: center;
  gap: 14px;
  text-align: center;
}

.screen-logo img {
  width: min(180px, 46vw);
  height: auto;
  border-radius: 24px;
}

.screen-logo strong {
  font-size: clamp(32px, 7vw, 56px);
}

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

.feature-row span,
.meta-row span,
.list li,
.card p,
.legal-card p,
.legal-card li,
.notice p,
.footer {
  color: var(--muted);
  line-height: 1.62;
}

.feature-row span,
.meta-row span {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  text-align: center;
  font-size: 13px;
}

.section {
  margin-top: 28px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
}

.section-header p {
  max-width: 58ch;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

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

.card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.045);
}

.card.accent {
  border-left: 4px solid var(--gold);
}

.card.blue {
  border-left: 4px solid var(--blue);
}

.card.green {
  border-left: 4px solid var(--green);
}

.card.red {
  border-left: 4px solid var(--red);
}

.list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.steps {
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 54px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #1d1405;
  background: var(--gold);
  font-weight: 850;
}

.legal-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.legal-aside {
  position: sticky;
  top: 96px;
}

.legal-card {
  background: rgba(247, 244, 236, 0.055);
}

.legal-card + .legal-card {
  margin-top: 16px;
}

.legal-card h2 {
  font-size: 24px;
}

.legal-card ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.legal-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notice {
  background: linear-gradient(135deg, rgba(240, 187, 85, 0.13), rgba(109, 168, 255, 0.08));
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .topbar,
  .hero,
  .grid,
  .grid.two,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .topbar {
    display: grid;
    padding: 14px 0;
  }

  .section-header {
    display: block;
  }

  .legal-aside {
    position: static;
  }

  .device {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 24px, 1160px);
  }

  main {
    padding-top: 32px;
  }

  h1 {
    font-size: clamp(40px, 15vw, 58px);
  }

  .nav a,
  .button {
    width: 100%;
  }

  .nav,
  .actions {
    align-items: stretch;
  }

  .feature-row {
    grid-template-columns: 1fr;
  }
}
