/* Local system fonts and static assets only. */
:root {
  color-scheme: light dark;
  --background: #e7edf5;
  --surface: #ffffff;
  --surface-soft: #e4ecf8;
  --ink: #152238;
  --muted: #4d5e75;
  --accent: #285cab;
  --border: #c9d4e6;
  --shadow: 0 18px 48px rgba(21, 34, 56, .055);
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: #111a29;
    --surface: #192539;
    --surface-soft: #22334d;
    --ink: #f1f5fa;
    --muted: #b7c7da;
    --accent: #99c1f6;
    --border: #3c516b;
    --shadow: none;
  }
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; background: var(--background); color: var(--ink); font: 1rem/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--accent); text-underline-offset: .2em; text-decoration-thickness: .08em; }
a:hover { text-decoration-thickness: .14em; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 3px; }
.skip-link { position: absolute; left: 1rem; top: -10rem; background: var(--surface); color: var(--ink); padding: .8rem 1rem; border: 2px solid var(--accent); z-index: 20; }
.skip-link:focus { top: 1rem; }
.shell { width: min(100% - 2.5rem, 70rem); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--border); }
.header-inner { min-height: 5.5rem; display: flex; gap: 1rem 2rem; justify-content: space-between; align-items: center; flex-wrap: wrap; padding-block: .75rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; color: var(--ink); text-decoration: none; font-weight: 750; font-size: 1.12rem; letter-spacing: -.025em; min-height: 44px; }
.brand-mark { background: var(--accent); color: var(--surface); width: 2.65rem; height: 2.65rem; display: grid; place-items: center; border-radius: .8rem; font-size: .85rem; font-weight: 800; letter-spacing: -.03em; }
nav { display: flex; gap: .4rem 1.5rem; flex-wrap: wrap; }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; color: var(--muted); }
nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; }
main { padding-block: 4.5rem 5rem; }
.hero { max-width: 48rem; margin-bottom: 3.5rem; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .13em; font-size: .78rem; font-weight: 750; margin: 0 0 1rem; }
h1 { font-size: clamp(2.3rem, 7vw, 4.3rem); line-height: 1.09; letter-spacing: -.055em; margin: 0 0 1.4rem; font-weight: 750; }
h2 { font-size: clamp(1.4rem, 3.5vw, 1.9rem); line-height: 1.2; letter-spacing: -.035em; margin: 0 0 .9rem; }
h3 { font-size: 1.15rem; line-height: 1.35; margin: 0 0 .6rem; }
p { margin: 0 0 1.1rem; }
.lead { color: var(--muted); font-size: 1.2rem; line-height: 1.6; max-width: 40rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem; }
.card { border: 1px solid var(--border); border-radius: 1.4rem; background: var(--surface); box-shadow: var(--shadow); padding: clamp(1.4rem, 4vw, 2.1rem); }
.app-card { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.app-card h2, .app-card p { margin: 0; }
.app-card .card-link { margin-top: auto; padding-top: .5rem; }
.app-icon { width: 5.5rem; height: 5.5rem; border-radius: 1.2rem; display: block; }
.directory-mark { width: 5.5rem; height: 5.5rem; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 1.2rem; font-size: 2.1rem; font-weight: 650; background: var(--surface-soft); color: var(--ink); }
.tag { display: inline-block; padding: .2rem .75rem; border-radius: 5rem; background: var(--surface-soft); color: var(--ink); font-size: .82rem; font-weight: 650; }
.card-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }
.arrow { padding-left: .45rem; }
.note-panel { background: var(--surface-soft); padding: 1.6rem 1.8rem; border-radius: 1.2rem; margin-top: 2rem; }
.note-panel p:last-child, .card p:last-child { margin-bottom: 0; }
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.6rem; }
.prose h3 { margin-top: 1.9rem; }
.prose ul { margin: 0 0 1.5rem; padding-left: 1.4rem; }
.prose li { padding-left: .25rem; margin-block: .4rem; }
.app-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, .72fr); gap: 3rem; align-items: center; margin-bottom: 3.6rem; }
.app-hero .app-icon { margin-bottom: 1.7rem; width: 6rem; height: 6rem; }
.app-hero .hero { margin-bottom: 0; }
.example { padding: 2rem; background: var(--surface); border: 1px solid var(--border); border-radius: 1.7rem; box-shadow: var(--shadow); }
.example dl { margin: 1.5rem 0; }
.example dl div { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.15rem; border-bottom: 1px solid var(--border); }
.example dt { color: var(--muted); }
.example dd { margin: 0; font-size: 1.7rem; line-height: 1.2; font-variant-numeric: tabular-nums; font-weight: 650; }
.example .total dt { font-weight: 650; color: var(--ink); }
.example .total dd { color: var(--accent); }
.example .total { border-bottom: 0; }
.example .tag { margin-top: .2rem; }
.feature-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-block: 2rem 3rem; }
.feature-list .card { padding: 1.5rem; }
.site-footer { border-top: 1px solid var(--border); padding-block: 1.8rem; color: var(--muted); font-size: .92rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.site-footer p { margin: 0; }
.footer-links { display: flex; gap: .5rem 1.5rem; flex-wrap: wrap; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 48rem) { main { padding-block: 3rem 3.5rem; } .app-hero { grid-template-columns: 1fr; gap: 2rem; } .feature-list { grid-template-columns: 1fr; } }
@media (max-width: 36rem) { .shell { width: min(100% - 2rem, 70rem); } .app-grid { grid-template-columns: 1fr; } .hero { margin-bottom: 2.4rem; } .header-inner { gap: .5rem 1rem; } nav { gap: .25rem 1.1rem; } .example { padding: 1.5rem; } }
