:root {
  color-scheme: light dark;
  --canvas: #f5f5f7;
  --canvas-strong: #ffffff;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --line: rgba(17, 24, 39, 0.08);
  --text: #10131a;
  --muted: #5f6b7a;
  --brand: #0a66ff;
  --brand-strong: #0047cc;
  --shadow: 0 28px 60px rgba(15, 23, 42, 0.10);
  --radius-xl: 32px;
  --radius-lg: 24px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #0d1117;
    --canvas-strong: #121821;
    --surface: rgba(18, 24, 33, 0.82);
    --surface-strong: rgba(18, 24, 33, 0.94);
    --line: rgba(255, 255, 255, 0.08);
    --text: #f5f7fb;
    --muted: #a7b0bd;
    --brand: #56a3ff;
    --brand-strong: #8bc0ff;
    --shadow: none;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top center, rgba(92, 154, 255, 0.18), transparent 28rem),
    radial-gradient(circle at left top, rgba(255, 255, 255, 0.5), transparent 20rem),
    linear-gradient(180deg, var(--canvas), color-mix(in srgb, var(--canvas) 88%, black));
}

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

a:hover {
  color: var(--brand-strong);
}

code {
  font-family: "SF Mono", "SFMono-Regular", ui-monospace, monospace;
  font-size: 0.95em;
}

.site-shell {
  width: min(1200px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 20px 0 56px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header {
  padding: 10px 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--brand), color-mix(in srgb, var(--brand) 70%, white));
  color: white;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 15px;
  letter-spacing: -0.01em;
}

.brand-copy span:last-child {
  color: var(--muted);
  font-size: 13px;
}

.nav-links,
.footer-links,
.actions,
.pill-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.nav-links a,
.footer-links a,
.back-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.hero,
.section,
.content-page {
  margin-top: 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.page-hero,
.card,
.notice-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.hero-copy {
  padding: clamp(28px, 5vw, 52px);
}

.hero-panel {
  padding: 18px;
  display: grid;
  gap: 16px;
}

.panel-card,
.mini-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-strong);
}

.panel-card {
  padding: 24px;
}

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

.mini-card {
  padding: 18px;
}

.mini-card p,
.eyebrow,
.kicker,
.meta-note,
.notice-title {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-card p {
  margin-bottom: 8px;
}

.mini-card strong {
  font-size: 15px;
  line-height: 1.35;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(40px, 7vw, 76px);
  line-height: 0.95;
  max-width: 12ch;
}

.page-hero h1,
.empty-card h1 {
  max-width: 16ch;
  font-size: clamp(34px, 6vw, 58px);
}

h2 {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.05;
}

h3 {
  font-size: 22px;
  line-height: 1.15;
}

.hero-lead,
.page-lead,
.card p,
.card li,
.notice-copy,
.panel-card li,
.detail-list li,
.stack-list li {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-lead,
.page-lead {
  max-width: 42rem;
  margin: 20px 0 0;
}

.pill {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 86%, transparent);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.actions {
  margin-top: 28px;
}

.button {
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid transparent;
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
}

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

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.feature-grid,
.info-grid,
.faq-grid,
.policy-grid {
  display: grid;
  gap: 18px;
}

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

.split-grid,
.info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

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

.card,
.page-hero,
.notice-card {
  padding: 28px;
}

.card-large {
  min-height: 100%;
}

.detail-list,
.stack-list {
  margin: 18px 0 0;
  padding-left: 20px;
}

.stack-list li + li,
.detail-list li + li {
  margin-top: 12px;
}

.contact-list {
  margin: 18px 0 0;
}

.contact-list div + div {
  margin-top: 18px;
}

.contact-list dt {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.contact-list dd {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
}

.placeholder {
  color: #bf4d19;
}

.notice-card {
  margin-bottom: 18px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 9%, var(--surface)), var(--surface));
}

.notice-title {
  margin-bottom: 8px;
}

.meta-note {
  margin-top: 16px;
}

.content-page {
  max-width: 980px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
}

.site-footer {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.empty-card {
  text-align: center;
  padding: 40px;
}

.empty-card .page-lead {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1024px) {
  .hero,
  .feature-grid,
  .split-grid,
  .info-grid,
  .faq-grid,
  .policy-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100vw - 20px, 720px);
    padding-bottom: 40px;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy,
  .hero-panel,
  .card,
  .page-hero,
  .notice-card {
    padding: 22px;
  }

  .hero-lead,
  .page-lead,
  .card p,
  .card li,
  .notice-copy,
  .panel-card li,
  .detail-list li,
  .stack-list li,
  .contact-list dd {
    font-size: 16px;
  }
}
