:root {
  --bg: #ffffff;
  --text: #000000;
  --muted: #666666;
  --border: #e5e5e5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
}

a {
  color: inherit;
}

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar,
.footer {
  border-bottom: 1px solid var(--border);
}

.footer {
  border-top: 1px solid var(--border);
  border-bottom: 0;
}

.topbar-inner,
.footer-inner,
.page-wrap {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar-inner,
.footer-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nav a,
.footer-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav a.active,
.nav a:hover,
.footer-links a:hover {
  color: var(--text);
}

.page-wrap {
  flex: 1;
  padding: 40px 0 56px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero-meta {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.intro {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.cta-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.page-links {
  margin-top: 24px;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text);
}

.button-link.primary {
  background: #000;
  color: #fff;
  border-color: #000;
}

.button-link.secondary {
  background: #fff;
}

.button-link:hover {
  opacity: 0.9;
}

.article {
  margin-top: 36px;
}

.article section {
  padding: 0 0 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.article section:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.article h2 {
  margin: 0 0 14px;
  font-size: 1.08rem;
  line-height: 1.3;
}

.article p {
  margin: 0 0 12px;
  color: #222222;
  font-size: 0.98rem;
  line-height: 1.75;
}

.article p:last-child {
  margin-bottom: 0;
}

.support-shell {
  max-width: 560px;
  margin: 0 auto;
  padding-top: 8px;
}

.support-hero {
  text-align: center;
  margin-bottom: 40px;
}

.support-hero p {
  margin: 14px auto 0;
  max-width: 340px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.support-grid {
  display: grid;
  gap: 20px;
}

.support-card {
  border: 1px solid var(--border);
  padding: 28px 24px;
  text-align: center;
}

.support-card h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}

.support-card p {
  margin: 10px auto 0;
  max-width: 320px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.support-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
}

.support-link:hover {
  background: #fafafa;
}

.footer-inner {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .topbar-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  .page-wrap {
    padding-top: 28px;
  }
}

@media print {
  .topbar,
  .footer,
  .cta-row {
    display: none !important;
  }

  .page-wrap {
    width: 100%;
    padding: 0;
  }
}
