:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --text: #101828;
  --muted: #5f6b7a;
  --line: #e6eaf0;
  --accent: #2563eb;
  --accent-soft: #eef4ff;
  --warning-bg: #fff6d8;
  --warning-text: #5e4700;
  --max: 980px;
  --radius: 20px;
  --shadow: 0 10px 28px rgba(16, 24, 40, 0.05);
}

* {
  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;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

a {
  color: inherit;
}

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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #12284e 0%, #173c74 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.brand-mark span {
  font-size: 20px;
}

.brand-copy strong {
  display: block;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.brand-copy small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}

.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}

.nav a:hover,
.nav a:focus-visible {
  background: var(--accent-soft);
  color: var(--text);
  outline: none;
}

.hero,
.card,
.legal-section,
.footer-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero {
  padding: 34px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--muted);
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
}

.hero h1,
.page-header h1 {
  margin: 18px 0 12px;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.8rem);
}

.page-header h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
}

.hero p,
.page-header p,
.card p,
.legal-section p,
.legal-section li {
  color: var(--muted);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--line);
}

.button.primary {
  background: var(--accent);
  color: white;
  border-color: transparent;
}

.button.secondary {
  color: var(--text);
  background: var(--surface);
}

.hero-side {
  display: grid;
  gap: 14px;
}

.card {
  padding: 22px;
}

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

.card h2,
.legal-section h2,
.legal-section h3 {
  margin: 0 0 10px;
  letter-spacing: -0.03em;
}

.card h2 {
  font-size: 1.15rem;
}

.page-header,
.legal-section,
.footer-card {
  padding: 28px;
}

.page-header {
  margin-bottom: 22px;
}

.page-header .eyebrow {
  margin-bottom: 6px;
}

.legal-section + .legal-section,
.footer-card {
  margin-top: 18px;
}

.legal-section ul {
  padding-left: 20px;
}

.legal-section li + li {
  margin-top: 8px;
}

.info-list {
  display: grid;
  gap: 12px;
}

.info-item {
  padding: 14px 16px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.value {
  font-weight: 600;
}

.placeholder-note {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--warning-bg);
  color: var(--warning-text);
  line-height: 1.55;
}

.kicker {
  color: var(--text);
  font-weight: 700;
}

.footer-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

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

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.94em;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 2px 6px;
}

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

  .footer-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 20px), var(--max));
    padding-top: 16px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .page-header,
  .legal-section,
  .footer-card {
    padding: 22px;
  }
}
