:root {
  color-scheme: dark;
  --bg: #0b0f14;
  --panel: #151b23;
  --panel-2: #1e2530;
  --text: #f5f7fb;
  --muted: #aeb7c5;
  --line: rgba(255, 255, 255, 0.12);
  --gold: #f7c85f;
  --red: #e84654;
  --green: #31c48d;
  --blue: #5da8ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(11, 15, 20, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--red), var(--gold));
  color: #101010;
  font-size: 0.78rem;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small,
.eyebrow,
.lead,
.card p,
.split-section p,
.app-band p,
.site-footer {
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.nav a {
  padding: 9px 11px;
  border-radius: 6px;
  color: #dbe3ef;
  font-size: 0.94rem;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.65fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(54px, 8vw, 98px) clamp(18px, 6vw, 86px);
  background:
    radial-gradient(circle at 75% 20%, rgba(232, 70, 84, 0.2), transparent 30%),
    linear-gradient(135deg, rgba(247, 200, 95, 0.09), transparent 38%),
    var(--bg);
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.4rem, 7vw, 5.7rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 4vw, 3.2rem);
  line-height: 1.04;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.lead {
  max-width: 620px;
  font-size: 1.12rem;
  line-height: 1.6;
}

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

.button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 7px;
  font-weight: 800;
  font: inherit;
  cursor: pointer;
}

.button.primary {
  background: var(--gold);
  color: #17120a;
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.hero-panel,
.card,
.status-list,
.device {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(21, 27, 35, 0.92);
}

.hero-panel {
  padding: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.panel-top,
.balance-card,
.site-footer,
.split-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-top {
  margin-bottom: 16px;
  color: var(--muted);
}

.panel-top strong {
  color: var(--green);
}

.balance-card {
  align-items: flex-start;
  flex-direction: column;
  min-height: 150px;
  padding: 20px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(93, 168, 255, 0.18), transparent),
    linear-gradient(160deg, var(--panel-2), #0f141c);
}

.balance-card strong {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.quick-grid span {
  display: grid;
  min-height: 62px;
  place-items: center;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
  color: #dbe3ef;
  font-weight: 700;
}

.section,
.split-section {
  padding: clamp(46px, 7vw, 86px) clamp(18px, 6vw, 86px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

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

.card {
  min-height: 230px;
  padding: 20px;
  border-top: 4px solid var(--blue);
}

.card .tag {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #dbe3ef;
  font-size: 0.82rem;
  font-weight: 800;
}

.accent-red {
  border-top-color: var(--red);
}

.accent-gold {
  border-top-color: var(--gold);
}

.accent-green {
  border-top-color: var(--green);
}

.split-section {
  background: #10151c;
}

.split-section > div:first-child {
  max-width: 720px;
}

.status-list {
  display: grid;
  min-width: min(100%, 360px);
  padding: 12px;
  gap: 8px;
}

.status-list div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
}

.status-list span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
}

.app-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 28px;
  align-items: center;
}

.device {
  display: grid;
  width: 170px;
  height: 300px;
  justify-self: center;
  padding: 14px;
  border-radius: 24px;
  background: #07090d;
}

.device-screen {
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(150deg, var(--red), #141b26 50%, var(--gold));
  text-align: center;
}

.device-screen span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}

.device-screen strong,
.device-screen small {
  display: block;
}

.support-section {
  padding-bottom: 110px;
}

.test-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.support-open {
  margin-bottom: 8px;
}

.test-grid button {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.test-grid button:hover,
.test-grid button[data-state="copied"] {
  border-color: rgba(247, 200, 95, 0.8);
  background: rgba(247, 200, 95, 0.16);
}

.site-footer {
  flex-wrap: wrap;
  padding: 22px clamp(18px, 6vw, 86px);
  border-top: 1px solid var(--line);
  background: #07090d;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .hero,
  .app-band,
  .split-section {
    grid-template-columns: 1fr;
  }

  .split-section {
    display: grid;
  }

  .cards,
  .test-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .cards,
  .test-grid,
  .quick-grid {
    grid-template-columns: 1fr;
  }
}
