:root {
  --bg: #0b1626;
  --bg-alt: #122033;
  --card: #152a42;
  --text: #e8eef6;
  --muted: #9aadc4;
  --accent: #c9a227;
  --accent-hover: #ddb83a;
  --line: rgba(255, 255, 255, 0.08);
  --radius: 12px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.wrap {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(11, 22, 38, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.brand:hover {
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 8px;
  background: linear-gradient(145deg, #1e4a7a, #0f2744);
  border: 1px solid var(--line);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  font-size: 0.92rem;
}

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

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

.hero {
  padding: 3.5rem 0 2.5rem;
  background:
    radial-gradient(ellipse 70% 50% at 80% 0%, rgba(201, 162, 39, 0.12), transparent),
    radial-gradient(ellipse 50% 40% at 10% 20%, rgba(40, 100, 180, 0.15), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  font-weight: 700;
}

.lede {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 38rem;
  margin: 0 0 1.5rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #1a1405;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #1a1405;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--muted);
  color: var(--text);
}

.fine {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 36rem;
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
}

.card-title {
  margin: 0 0 0.85rem;
  font-size: 1rem;
}

.check-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.check-list li {
  margin-bottom: 0.45rem;
}

.card-note {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.section {
  padding: 3rem 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 1.25rem;
  font-size: 1.45rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.feature-grid article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
}

.feature-grid h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.steps {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.steps li {
  margin-bottom: 0.55rem;
}

.steps strong {
  color: var(--text);
}

.download-panel {
  max-width: 40rem;
}

.download-list {
  color: var(--muted);
  padding-left: 1.2rem;
}

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

.plain-list {
  color: var(--muted);
  padding-left: 1.2rem;
  max-width: 40rem;
}

.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner a {
  color: var(--muted);
}

.footer-inner a:hover {
  color: var(--text);
}

/* Legal pages */
.legal {
  padding: 2.5rem 0 3.5rem;
}

.legal h1 {
  font-size: 1.75rem;
}

.legal h2 {
  font-size: 1.1rem;
  margin-top: 1.75rem;
}

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

.legal .meta {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 800px) {
  .hero-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }
}
