:root {
  color-scheme: light dark;
  --bg: #f8fafc;
  --bg-top: #ffffff;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #5b6573;
  --border: #e2e8f0;
  --primary: #2563eb;
  --accent: #0ea5e9;
  --shadow-soft: rgb(15 23 42 / 7%);
  --shadow-hover: rgb(15 23 42 / 10%);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, var(--bg-top) 0, var(--bg) 240px),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}

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

code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
  padding: 0.1em 0.4em;
  border-radius: 5px;
  background: rgb(15 23 42 / 6%);
  border: 1px solid var(--border);
}

.page {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0;
}

.hero {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 28px;
}

.mark {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  border-radius: 18px;
  display: block;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
}

.lead {
  margin: 12px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.card {
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition:
    border-color 140ms ease,
    transform 140ms ease,
    box-shadow 140ms ease;
}

.card:hover {
  border-color: var(--primary);
  box-shadow: 0 14px 32px var(--shadow-hover);
  transform: translateY(-2px);
}

.card span {
  display: block;
  font-weight: 800;
  font-size: 1.08rem;
}

.card small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.document {
  max-width: 760px;
  margin-top: 36px;
  margin-bottom: 36px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 18px 44px var(--shadow-soft);
}

.back {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  margin-bottom: 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
}

.back::before {
  content: "\2190";
  margin-right: 8px;
  color: var(--primary);
}

.updated {
  margin: 10px 0 30px;
  color: var(--muted);
  font-size: 0.92rem;
}

h2 {
  margin: 28px 0 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 1.05rem;
  line-height: 1.35;
}

p {
  margin: 0 0 14px;
}

ul {
  margin: 0 0 16px 20px;
  padding: 0;
}

li {
  margin-bottom: 8px;
}

.provider-info {
  margin-top: 32px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.provider-info h3 {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1020;
    --bg-top: #11182b;
    --surface: #131a2e;
    --text: #e6eaf2;
    --muted: #a3adbf;
    --border: #243049;
    --primary: #60a5fa;
    --accent: #38bdf8;
    --shadow-soft: rgb(0 0 0 / 24%);
    --shadow-hover: rgb(0 0 0 / 30%);
  }
}

@media (max-width: 620px) {
  .page {
    width: min(100% - 24px, 920px);
    padding: 32px 0;
  }

  .hero {
    align-items: flex-start;
    gap: 14px;
  }

  .mark {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .document {
    margin-top: 18px;
    margin-bottom: 18px;
    padding: 22px;
    border-radius: 12px;
  }
}
