/* ── IdentAPI Landing Page ── */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }

:root {
  /* Backgrounds */
  --bg: #09090b;
  --bg-card: #0f0f12;
  --bg-muted: #18181b;
  --bg-elevated: #1c1c20;

  /* Foregrounds */
  --fg: #fafafa;
  --fg-muted: #a1a1aa;
  --fg-dimmed: #71717a;

  /* Borders */
  --border: #27272a;
  --border-bright: #3f3f46;

  /* Accent (green) */
  --accent: #22c55e;
  --accent-hover: #16a34a;
  --accent-subtle: rgba(34, 197, 94, 0.1);
  --accent-glow: rgba(34, 197, 94, 0.08);

  /* Semantic */
  --red: #ef4444;
  --blue: #3b82f6;

  /* Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;

  /* Layout */
  --container-max: 1120px;
  --container-pad: 1.5rem;

  /* Font */
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "SF Mono", SFMono-Regular, ui-monospace, "Cascadia Code", Menlo, monospace;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ── Utilities ── */
.container {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--container-pad);
  box-sizing: border-box;
}

.container--narrow { max-width: 720px; }

.section { padding: 5rem 0; }

@media (min-width: 768px) {
  .section { padding: 6rem 0; }
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-top: 0.75rem;
}

.section__header p {
  color: var(--fg-muted);
  margin-top: 0.5rem;
  font-size: 1.05rem;
}

@media (min-width: 768px) {
  .section__header h2 { font-size: 2.25rem; }
}

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.badge--green { background: var(--accent-subtle); color: var(--accent); }
.badge--muted { background: var(--bg-muted); color: var(--fg-muted); border: 1px solid var(--border); }

/* ── Button ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font);
  white-space: nowrap;
}

.btn--primary { background: var(--accent); color: #000; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--outline { background: transparent; color: var(--fg); border: 1px solid var(--border); }
.btn--outline:hover { border-color: var(--border-bright); background: var(--bg-muted); }
.btn--lg { padding: 0.75rem 2rem; font-size: 1rem; }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.btn--full { width: 100%; }

.btn svg { width: 1rem; height: 1rem; }

/* ── Card ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}

/* ── Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.nav.is-scrolled { border-bottom-color: var(--border); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.025em;
}

.nav__logo svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav__links {
  display: none;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.875rem;
  color: var(--fg-muted);
  transition: color 0.15s;
}

.nav__links a:hover { color: var(--fg); }

.nav__actions { display: none; }

@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__actions { display: flex; }
  .nav__hamburger { display: none; }
}

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--fg);
  border-radius: 1px;
  transition: all 0.2s;
}

.nav__hamburger.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__hamburger.is-active span:nth-child(2) { opacity: 0; }
.nav__hamburger.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 3.5rem 0 0 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  z-index: 99;
  flex-direction: column;
  gap: 0.25rem;
}

.nav__mobile.is-open { display: flex; }

.nav__mobile a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border);
}

.nav__mobile a:hover { color: var(--fg); }

.nav__mobile a.btn--primary,
.nav__mobile a.btn--primary:hover { margin-top: 1rem; color: #000; }

/* ── Hero ── */
.hero {
  padding: 4rem 0 3rem;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero { padding: 6rem 0 4rem; }
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.hero__badge { margin-bottom: 1.5rem; }

.hero__title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.hero__highlight { color: var(--accent); }

@media (min-width: 768px) {
  .hero__title { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .hero__title { font-size: 3.25rem; }
}

.hero__sub {
  margin-top: 1.25rem;
  color: var(--fg-muted);
  font-size: 1.1rem;
  max-width: 520px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (max-width: 767px) {
  .hero__actions,
  .cta-section__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .btn,
  .cta-section__actions .btn {
    width: 100%;
    text-align: center;
    white-space: normal;
  }
}

.hero__code {
  min-width: 0;
  overflow: hidden;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--fg-muted);
}

.hero__trust-item svg {
  width: 1rem;
  height: 1rem;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

/* ── Code Block ── */
.code-block {
  background: #0c0c0e;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  font-size: 0.8125rem;
  min-width: 0;
  max-width: 100%;
}

.code-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 1rem;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
}

.code-block__dots {
  display: flex;
  gap: 6px;
}

.code-block__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.code-block__dots span:nth-child(1) { background: #ef4444; }
.code-block__dots span:nth-child(2) { background: #eab308; }
.code-block__dots span:nth-child(3) { background: #22c55e; }

.code-block__title {
  font-size: 0.75rem;
  color: var(--fg-dimmed);
  font-family: var(--font-mono);
}

.code-block__body {
  padding: 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  line-height: 1.65;
  font-family: var(--font-mono);
  color: var(--fg-muted);
  max-width: 100%;
  width: 100%;
  display: block;
}

@media (max-width: 767px) {
  .code-block {
    font-size: 0.6875rem;
    max-width: calc(100vw - 3rem);
  }
  .code-block__body {
    padding: 0.75rem;
  }
  .hero__code .code-block {
    max-width: 100%;
  }
}

.code-block__body code { font-family: inherit; }

/* Syntax colors */
.t-cmd { color: #c4b5fd; }
.t-flag { color: #93c5fd; }
.t-str { color: #86efac; }
.t-url { color: #fde68a; }
.t-key { color: #7dd3fc; }
.t-val { color: #86efac; }
.t-num { color: #fca5a5; }
.t-comment { color: var(--fg-dimmed); }
.t-bracket { color: var(--fg-dimmed); }

.code-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: none;
  border: 1px solid var(--border);
  color: var(--fg-dimmed);
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.15s;
}

.code-copy-btn:hover { color: var(--fg); border-color: var(--border-bright); }
.code-copy-btn svg { width: 0.875rem; height: 0.875rem; }

/* ── Social Proof Bar ── */
.proof {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.proof__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.proof__item {
  text-align: center;
  white-space: nowrap;
}

.proof__item strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
}

.proof__item span {
  font-size: 0.8125rem;
  color: var(--fg-dimmed);
}

.proof__divider {
  width: 1px;
  height: 2rem;
  background: var(--border);
}

@media (max-width: 639px) {
  .proof__inner { gap: 1.25rem; }
  .proof__divider { display: none; }
  .proof__item { flex: 1 1 40%; }
}

/* ── Steps ── */
.steps {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

.step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  position: relative;
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent-subtle);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.step__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.step__icon svg {
  width: 2rem;
  height: 2rem;
  stroke: var(--fg-muted);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.step__code {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  background: var(--accent-subtle);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-sm);
}

/* ── Features Grid ── */
.features-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: border-color 0.2s;
}

.feature-card:hover { border-color: var(--border-bright); }

.feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--bg-muted);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
}

.feature-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: var(--fg-muted);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.feature-card p {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ── Code Showcase (tabs) ── */
.code-showcase {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.code-tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: -1px;
  position: relative;
  z-index: 1;
}

.code-tab {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--fg-dimmed);
  background: transparent;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.15s;
}

.code-tab:hover { color: var(--fg-muted); }

.code-tab.is-active {
  color: var(--fg);
  background: #0c0c0e;
  border-color: var(--border);
}

.code-block--large {
  border-top-left-radius: 0;
}

.code-block--large .code-block__body {
  min-height: 280px;
}

/* ── Pricing ── */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
}

.toggle {
  position: relative;
  width: 3rem;
  height: 1.5rem;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.2s;
}

.toggle[aria-checked="true"] { background: var(--accent); border-color: var(--accent); }

.toggle__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1.125rem;
  height: 1.125rem;
  background: var(--fg);
  border-radius: 50%;
  transition: transform 0.2s;
}

.toggle[aria-checked="true"] .toggle__thumb {
  transform: translateX(1.5rem);
  background: #000;
}

.pricing-grid {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 640px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(4, 1fr); } }

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card--recommended {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow), 0 0 0 1px var(--accent);
}

.pricing-card__badge {
  position: absolute;
  top: -0.625rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #000;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.2rem 0.875rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.pricing-card__header { margin-bottom: 1.5rem; }

.pricing-card__header h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.pricing-card__amount {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pricing-card__period {
  font-size: 0.875rem;
  color: var(--fg-dimmed);
}

.pricing-card__header p {
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  color: var(--fg-dimmed);
}

.pricing-card__features {
  flex: 1;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--fg-muted);
}

.pricing-card__features li svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.pricing-card__features li .check { stroke: var(--accent); }
.pricing-card__features li .x-icon { stroke: var(--fg-dimmed); }

.pricing-card__features li.is-disabled {
  color: var(--fg-dimmed);
  opacity: 0.6;
}

/* ── Comparison Table ── */
.comparison-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 600px;
}

.comparison-table th,
.comparison-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--fg-muted);
  background: var(--bg-muted);
}

.comparison-table td { color: var(--fg-muted); }

.comparison-table tr:last-child td { border-bottom: none; }

.comparison-table .is-highlighted {
  color: var(--fg);
  background: rgba(34, 197, 94, 0.04);
}

.comparison-table .is-highlighted strong { color: var(--accent); }

.comparison-note {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--fg-dimmed);
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.icon-yes { color: var(--accent); }
.icon-no { color: var(--fg-dimmed); }

/* ── Trust Section ── */
.trust-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }

.trust-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  text-align: center;
}

.trust-card__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.trust-card__icon svg {
  width: 2rem;
  height: 2rem;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.trust-card p {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ── FAQ ── */
.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-item summary {
  padding: 1.25rem 0;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9375rem;
  transition: color 0.15s;
}

.faq-item summary:hover { color: var(--fg); }

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--fg-dimmed);
  font-weight: 300;
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] summary::after { content: "\2212"; }

.faq-item__a {
  padding-bottom: 1.25rem;
  color: var(--fg-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ── CTA Section ── */
.cta-section {
  text-align: center;
  padding: 5rem 0;
  position: relative;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .cta-section h2 { font-size: 2.25rem; }
}

.cta-section p {
  color: var(--fg-muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.cta-section__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 0;
}

.footer__inner {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer__inner { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

.footer__brand p {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--fg-dimmed);
  line-height: 1.6;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
}

.footer__logo svg {
  width: 1.125rem;
  height: 1.125rem;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer__col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.footer__col a {
  display: block;
  font-size: 0.8125rem;
  color: var(--fg-dimmed);
  padding: 0.25rem 0;
  transition: color 0.15s;
}

.footer__col a:hover { color: var(--fg); }

.footer__bottom {
  margin-top: 2.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}

.footer__bottom p {
  font-size: 0.75rem;
  color: var(--fg-dimmed);
  text-align: center;
}

/* ── Legal Pages ── */
.legal { padding: 4rem 0; }

.legal h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.legal h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal p,
.legal li {
  color: var(--fg-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.legal ul { padding-left: 1.5rem; list-style: disc; }

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

.text-muted { color: var(--fg-dimmed); }
.text-accent { color: var(--accent); }
