:root {
  --ds-bg: #0d1117;
  --ds-surface: #10141a;
  --ds-surface-low: #181c22;
  --ds-surface-mid: #1c2026;
  --ds-surface-high: #262a31;
  --ds-surface-max: #31353c;
  --ds-field: #090c10;

  --ds-border: #2f3947;
  --ds-border-strong: #45556b;
  --ds-outline: #98aac3;

  --ds-text: #dfe2eb;
  --ds-text-muted: #c1c6d6;
  --ds-text-subtle: #8b90a0;

  --ds-primary: #1877f2;
  --ds-primary-strong: #2d87f7;
  --ds-success: #80d9a6;
  --ds-warning: #ffc98b;

  --ds-space-1: 4px;
  --ds-space-2: 8px;
  --ds-space-3: 12px;
  --ds-space-4: 16px;
  --ds-space-5: 24px;
  --ds-space-6: 32px;
  --ds-space-7: 48px;

  --ds-font: "Inter", "Segoe UI", sans-serif;
  --site-max: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--ds-font);
  background: var(--ds-bg);
  color: var(--ds-text);
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13, 17, 23, 0.96);
  border-bottom: 1px solid var(--ds-border);
}

.site-header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--ds-space-2);
}

.site-nav a {
  font-size: 13px;
  color: var(--ds-text-muted);
  padding: 9px 10px;
  border: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.site-nav a:hover {
  color: var(--ds-text);
  background: var(--ds-surface-low);
  border-color: var(--ds-border);
}

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

.site-nav a.button-primary,
.site-nav a.button-primary:hover {
  color: #ffffff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ds-space-2);
  border: 1px solid var(--ds-border-strong);
  background: transparent;
  color: var(--ds-text);
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: background-color 0.15s ease, border-color 0.15s ease, filter 0.15s ease;
}

.button:focus-visible,
.site-nav a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ds-primary);
  outline-offset: 2px;
}

.button-primary {
  background: var(--ds-primary);
  border-color: var(--ds-primary);
  color: #fff;
}

.button-primary:hover {
  filter: brightness(1.12);
}

.button-secondary:hover {
  background: var(--ds-surface-low);
  border-color: var(--ds-outline);
}

.page-main {
  padding: var(--ds-space-7) 0;
  display: grid;
  gap: var(--ds-space-5);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--ds-space-6);
  align-items: stretch;
  border: 1px solid var(--ds-border);
  background: var(--ds-surface);
  padding: var(--ds-space-6);
}

.eyebrow {
  color: var(--ds-text-subtle);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: var(--ds-space-2);
  font-size: clamp(38px, 6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.hero-copy {
  margin-top: var(--ds-space-4);
  color: var(--ds-text-muted);
  max-width: 60ch;
  font-size: 16px;
}

.hero-actions {
  margin-top: var(--ds-space-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-3);
}

.hero-note {
  margin-top: var(--ds-space-3);
  color: var(--ds-text-subtle);
  font-size: 12px;
}

.hero-panel {
  border: 1px solid var(--ds-border);
  background: var(--ds-surface);
  display: grid;
  grid-template-rows: auto 1fr;
  transition: border-color 0.22s ease, background-color 0.22s ease;
}

.panel-head {
  padding: var(--ds-space-4);
  border-bottom: 1px solid var(--ds-border);
  background: var(--ds-surface-low);
}

.panel-head h2 {
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.panel-head p {
  margin-top: 2px;
  color: var(--ds-text-muted);
  font-size: 13px;
}

.status-list {
  list-style: none;
  margin: 0;
  padding: var(--ds-space-4);
  display: grid;
  gap: var(--ds-space-3);
}

.status-list li {
  border: 1px solid var(--ds-border);
  background: var(--ds-surface-low);
  padding: var(--ds-space-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-3);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.status-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.status-copy {
  display: block;
  margin-top: 2px;
  color: var(--ds-text-muted);
  font-size: 12px;
}

.badge {
  display: inline-block;
  border: 1px solid var(--ds-border-strong);
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-success {
  color: var(--ds-success);
  border-color: #2f6b49;
}

.badge-warning {
  color: var(--ds-warning);
}

.badge-primary {
  color: var(--ds-primary);
  border-color: var(--ds-primary);
}

.section {
  border: 1px solid var(--ds-border);
  background: var(--ds-surface);
  padding: var(--ds-space-6);
  transition: border-color 0.24s ease, background-color 0.24s ease;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.section-head p {
  margin-top: var(--ds-space-2);
  color: var(--ds-text-muted);
  max-width: 58ch;
  font-size: 14px;
}

.card-grid {
  margin-top: var(--ds-space-4);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ds-space-3);
}

.card {
  border: 1px solid var(--ds-border);
  background: var(--ds-surface);
  transition: border-color 0.22s ease, transform 0.22s ease, background-color 0.22s ease;
}

.card-head {
  padding: var(--ds-space-4);
  border-bottom: 1px solid var(--ds-border);
  background: var(--ds-surface-low);
  transition: border-color 0.22s ease, background-color 0.22s ease;
}

.card-head h3 {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.card-body {
  padding: var(--ds-space-4);
}

.card-body p {
  color: var(--ds-text-muted);
  font-size: 14px;
}

.steps {
  margin-top: var(--ds-space-4);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--ds-space-3);
}

.step {
  border: 1px solid var(--ds-border);
  background: var(--ds-surface);
  padding: var(--ds-space-4);
  transition: border-color 0.22s ease, transform 0.22s ease, background-color 0.22s ease;
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  min-height: 26px;
  padding: 0 6px;
  border: 1px solid var(--ds-primary);
  color: var(--ds-primary);
  font-size: 12px;
  font-weight: 600;
}

.step h3 {
  margin-top: var(--ds-space-2);
  font-size: 16px;
}

.step p {
  margin-top: 4px;
  color: var(--ds-text-muted);
  font-size: 13px;
}

.faq-list {
  margin-top: var(--ds-space-4);
  display: grid;
  gap: var(--ds-space-3);
}

.faq-list details {
  border: 1px solid var(--ds-border);
  background: var(--ds-surface);
  transition: border-color 0.22s ease, transform 0.22s ease, background-color 0.22s ease;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: var(--ds-space-4);
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.faq-list details[open] summary {
  border-bottom-color: var(--ds-border);
  background: var(--ds-surface-low);
}

.faq-list p {
  padding: var(--ds-space-4);
  color: var(--ds-text-muted);
  font-size: 14px;
}

.project-section .project-card {
  margin-top: var(--ds-space-4);
}

.project-compare-grid {
  margin-top: var(--ds-space-4);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ds-space-3);
}

.project-compare-card .card-body p {
  font-size: 14px;
}

.project-link {
  color: var(--ds-primary);
  border-bottom: 1px solid var(--ds-primary);
}

.project-link:hover {
  filter: brightness(1.12);
}

.project-note {
  margin-top: var(--ds-space-2);
  color: var(--ds-text-subtle);
  font-size: 13px;
}

.cta {
  border: 1px solid var(--ds-border);
  background: var(--ds-surface);
  padding: var(--ds-space-6);
  text-align: center;
}

.cta h2 {
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.cta p {
  margin: var(--ds-space-3) auto 0;
  max-width: 60ch;
  color: var(--ds-text-muted);
}

.cta .hero-actions {
  justify-content: center;
  margin-top: var(--ds-space-5);
}

.site-footer {
  border-top: 1px solid var(--ds-border);
  padding: var(--ds-space-6) 0;
}

.site-footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--ds-space-4);
}

.site-footer h3 {
  font-size: 16px;
}

.site-footer p {
  margin-top: 4px;
  color: var(--ds-text-subtle);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: var(--ds-space-3);
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--ds-text-subtle);
  font-size: 13px;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.footer-links a:hover {
  color: var(--ds-text);
  border-bottom-color: var(--ds-text-subtle);
}

.privacy-main {
  padding: var(--ds-space-7) 0;
}

.privacy-stack {
  display: grid;
  gap: var(--ds-space-3);
  margin-top: var(--ds-space-5);
}

@media (hover: hover) and (pointer: fine) {
  .hero-panel:hover {
    border-color: var(--ds-border-strong);
    background: var(--ds-surface-low);
  }

  .status-list li:hover {
    border-color: var(--ds-border-strong);
    background: var(--ds-surface-mid);
    transform: translateY(-1px);
  }

  .section:hover {
    border-color: var(--ds-border-strong);
  }

  .card:hover,
  .step:hover,
  .faq-list details:hover {
    border-color: var(--ds-border-strong);
    background: var(--ds-surface-low);
    transform: translateY(-1px);
  }

  .card:hover .card-head {
    background: var(--ds-surface-mid);
    border-bottom-color: var(--ds-border-strong);
  }

  .step:hover .step-index {
    background: rgba(24, 119, 242, 0.14);
  }

  .faq-list details:hover summary {
    background: var(--ds-surface-low);
    border-bottom-color: var(--ds-border);
  }
}

@media (max-width: 1024px) {
  .project-compare-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 780px) {
  .site-shell {
    width: min(var(--site-max), calc(100% - 24px));
  }

  .site-header-inner {
    min-height: 64px;
  }

  .site-nav {
    gap: 6px;
    overflow-x: auto;
  }

  .site-nav .button {
    padding-inline: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: var(--ds-space-5);
  }

  .hero h1 {
    max-width: none;
  }

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

  .cta {
    padding: var(--ds-space-5);
    text-align: left;
  }

  .cta .hero-actions {
    justify-content: flex-start;
  }

  .site-footer-inner {
    flex-direction: column;
  }
}
