:root {
    --bg: #111111;
    --surface: #181818;
    --surface-soft: #151515;
    --text: #e8e4dc;
    --muted: #888888;
    --border: rgba(255, 255, 255, 0.09);
    --accent: #d9ff78;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font-family: 'DM Sans', sans-serif; }
a { color: inherit; }

.content-shell { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 48px 0 80px; }
.breadcrumb { display: flex; gap: 9px; color: var(--muted); font-family: 'DM Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.content-hero { max-width: 900px; padding: 54px 0 64px; }
.eyebrow, .card-number { color: var(--muted); font-family: 'DM Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.content-hero h1 { max-width: 860px; margin: 12px 0 22px; color: #f4f1ea; font-family: 'EB Garamond', serif; font-size: clamp(52px, 8vw, 92px); font-weight: 400; line-height: .94; letter-spacing: -.035em; }
.lede { max-width: 690px; margin: 0; color: #aaa69f; font-size: 17px; font-weight: 300; line-height: 1.8; }

.content-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; }
.content-index { position: sticky; top: 28px; display: grid; gap: 0; border-top: 1px solid var(--border); }
.content-index a { padding: 13px 0; border-bottom: 1px solid var(--border); color: var(--muted); font-size: 12px; text-decoration: none; transition: color .2s, padding-left .2s; }
.content-index a:hover { padding-left: 6px; color: var(--text); }
.content-card { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.prose { padding: clamp(26px, 5vw, 58px); }
.prose section + section { margin-top: 44px; padding-top: 44px; border-top: 1px solid var(--border); }
.prose h2, .support-card h2 { margin: 0 0 12px; color: #f4f1ea; font-family: 'EB Garamond', serif; font-size: 32px; font-weight: 400; }
.prose p, .support-card p { margin: 0; color: #aaa69f; font-size: 14px; line-height: 1.9; }
.prose a, .support-card a, .content-footer a { color: var(--text); text-underline-offset: 4px; }

.support-hero { padding-bottom: 52px; }
.primary-action { display: inline-flex; margin-top: 30px; padding: 11px 17px; border: 1px solid rgba(255,255,255,.25); border-radius: 5px; color: var(--text); font-size: 13px; text-decoration: none; transition: border-color .2s, background .2s; }
.primary-action:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.04); }
.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.support-card { min-height: 290px; padding: 28px; }
.support-card h2 { margin-top: 34px; }
.support-card .note { margin-top: 18px; color: var(--accent); font-family: 'DM Mono', monospace; font-size: 11px; }
.content-footer { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }

@media (max-width: 820px) {
    .content-shell { width: min(100% - 32px, 680px); padding-top: 32px; }
    .content-hero { padding: 42px 0 48px; }
    .content-grid { grid-template-columns: 1fr; }
    .content-index { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .content-index a { padding-right: 10px; }
    .support-grid { grid-template-columns: 1fr; }
    .support-card { min-height: 0; }
}

@media (max-width: 460px) {
    .content-shell { width: calc(100% - 24px); }
    .content-hero h1 { font-size: 48px; }
    .content-index { grid-template-columns: 1fr; }
    .prose { padding: 24px 20px; }
}
