/* Layout for the aurapath.health pages (landing, Trust Center, Privacy Policy, Terms). Built on industry.css and aurapath.css. */
html, body { margin: 0; background: var(--color-bg); }
body { color: var(--color-text); font: 15px/1.5 var(--font-body); }
a { color: var(--color-accent-700); }
a:hover { color: var(--color-accent-800); }
button { font-family: var(--font-body); color: var(--color-text); }
[hidden] { display: none !important; }

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 32px; }
.muted { color: var(--color-neutral-700); }
.faint { color: var(--color-neutral-600); }
.icon { flex: none; display: block; }

/* — header — */
.site-header { position: sticky; top: 0; z-index: 6; background: color-mix(in srgb, var(--color-bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--color-divider); }
.site-header .wrap { height: 60px; display: flex; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
/* The AuraPath mark: a moss disc ringed in terracotta, with a brass dot. */
.brand-mark { width: 22px; height: 22px; border: 1px solid var(--color-accent); border-radius: 50%; background: var(--color-text); display: grid; place-items: center; flex: none; }
.brand-mark::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent-2); }
.brand-name { font: 600 20px/1 var(--font-heading); white-space: nowrap; }
.header-rule { width: 1px; height: 20px; background: var(--color-divider); flex: none; }
.header-label { font: 500 15px/1 var(--font-body); color: var(--color-neutral-700); white-space: nowrap; text-decoration: none; }
a.header-label:hover { color: var(--color-text); }
.header-spacer { flex: 1; }
.header-link { font: 14px var(--font-body); white-space: nowrap; }
.header-btn { height: 38px; white-space: nowrap; gap: 8px; }

/* — hero — */
.hero { padding-top: 56px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 32px; }
.hero-text { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.eyebrow { font: 500 13px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--color-accent-700); }
.hero h1 { margin: 0; font: 600 56px/1 var(--font-heading); letter-spacing: normal; text-wrap: balance; }
.lede { margin: 0; font: 17px/1.55 var(--font-body); color: var(--color-neutral-700); text-wrap: pretty; }
.updated { font: 13px var(--font-body); color: var(--color-neutral-600); }

.section-head { display: flex; flex-direction: column; gap: 8px; max-width: 620px; }
.section-head h2 { margin: 0; font: 600 36px/1 var(--font-heading); letter-spacing: normal; }
.section-head p { margin: 0; color: var(--color-neutral-700); text-wrap: pretty; }

/* — footer — */
.site-footer { border-top: 1px solid var(--color-divider); }
.site-footer .wrap { padding-top: 24px; padding-bottom: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--color-neutral-700); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--color-neutral-700); }
.footer-links a:hover, .footer-links a[aria-current="page"] { color: var(--color-accent-700); }

/* The design system makes .dialog transparent; give it a surface so it reads over the backdrop. */
.dialog { background: var(--color-surface); }

/* — legal documents (Privacy Policy, Terms) — */
.doc { padding-top: 8px; padding-bottom: 88px; display: flex; gap: 48px; align-items: flex-start; }
.toc { flex: 0 0 220px; position: sticky; top: 84px; display: flex; flex-direction: column; gap: 2px; }
.toc-title { font: 500 12px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--color-neutral-600); padding: 0 12px 10px; }
.toc a { display: block; padding: 8px 12px; border-left: 2px solid transparent; color: var(--color-text); text-decoration: none; font-size: 14px; }
.toc a:hover { background: var(--color-accent-100); color: var(--color-text); }
.toc a.active { border-left-color: var(--color-accent); background: var(--color-accent-100); color: var(--color-accent-900); }
.doc-body { flex: 1; min-width: 0; max-width: 720px; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; margin-bottom: 40px; font-size: 14px; color: var(--color-neutral-700); }
.notice svg { margin-top: 2px; }
.doc-body section { scroll-margin-top: 84px; padding-top: 28px; border-top: 1px solid var(--color-divider); margin-top: 28px; }
.doc-body section:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.doc-body h2 { font: 600 28px/1.1 var(--font-heading); letter-spacing: normal; margin: 0 0 14px; }
.doc-body p, .doc-body li { color: var(--color-neutral-800); text-wrap: pretty; }
.doc-body ul { margin: 0 0 var(--space-3); padding-left: 20px; }
.doc-body li + li { margin-top: 6px; }

@media (max-width: 860px) {
  .doc { flex-direction: column; gap: 24px; }
  .toc { display: none; }
}

@media (max-width: 640px) {
  .wrap { padding-inline: 16px; }
  .site-header .wrap { gap: 10px; }
  .header-rule, .header-label, .header-link { display: none; }
  .hero { padding-top: 36px; padding-bottom: 28px; gap: 24px; }
  .hero h1 { font-size: 40px; }
  .section-head h2 { font-size: 30px; }
}
