:root {
  color-scheme: dark;
  --bg: #0d1117;
  --panel: rgba(29, 32, 39, 0.94);
  --panel-border: rgba(111, 168, 255, 0.24);
  --text: #edf2ff;
  --muted: #a8b2ca;
  --accent: #6fa8ff;
  --accent-2: #ff5c8a;
  --accent-3: #63d2b0;
  --accent-soft: rgba(111, 168, 255, 0.14);
  --line: rgba(255, 255, 255, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background:
    radial-gradient(circle at top, rgba(111, 168, 255, 0.18), transparent 34%),
    linear-gradient(180deg, #0f141d 0%, var(--bg) 58%, #080b11 100%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--accent);
}

main,
.site-header,
.site-footer {
  width: min(1080px, calc(100vw - 32px));
  margin: 0 auto;
}

main {
  padding: 24px 0 56px;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--panel-border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #0b1220;
}

.site-nav a.button.primary {
  color: #0b1220;
}

.hero,
.panel {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.hero {
  padding: clamp(24px, 5vw, 48px);
}

.panel {
  padding: 24px;
}

.eyebrow {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h1 {
  margin-top: 16px;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

h3 {
  font-size: 1.1rem;
}

p,
li {
  color: var(--muted);
}

.lead {
  max-width: 62ch;
  font-size: 1.08rem;
}

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

section {
  margin-top: 28px;
}

.section-title {
  margin-bottom: 14px;
}

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

.screens {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.screens figure {
  margin: 0;
  text-align: center;
}

.screens img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.screens figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 600;
}

.card {
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.card p {
  margin: 8px 0 0;
}

.price {
  margin: 10px 0 4px;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
}

.price small {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
}

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

.fine {
  font-size: 0.9rem;
}

.prose {
  max-width: 78ch;
}

.prose h2 {
  margin-top: 32px;
  margin-bottom: 8px;
}

.prose h3 {
  margin-top: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  border: 1px solid var(--line);
}

th,
td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--line);
}

th {
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

td {
  color: var(--muted);
}

code {
  font-size: 0.9em;
  color: var(--text);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

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

.center-screen {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  text-align: center;
}

.spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto 18px;
  border: 4px solid var(--accent-soft);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 720px) {
  .site-nav .hide-mobile {
    display: none;
  }

  table,
  tbody,
  tr,
  td {
    display: block;
  }

  thead {
    display: none;
  }

  td::before {
    content: attr(data-label);
    display: block;
    color: var(--accent);
    font-size: 0.75rem;
    text-transform: uppercase;
  }
}
