/* Atlas: project-native paper, night evidence and lime retrieval. */
:root {
  color-scheme: light;
  --paper: #f1f0e9;
  --surface: #fbfaf5;
  --ink: #14211b;
  --muted: #626c67;
  --line: #d9dad2;
  --night: #12251e;
  --lime: #d5ee61;
  --coral: #f26d4f;
  --coral-text: #b04a33;
  --night-muted: #b7c8bd;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.6; }
h1, h2, h3, p { margin-top: 0; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid var(--coral-text); outline-offset: 5px; }
.evidence a:focus-visible { outline-color: var(--lime); }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 10; padding: 12px; background: var(--lime); }
.skip-link:focus { top: 12px; }
.site-header, main > section, .evidence-band { max-width: 1440px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 72px); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 3px; padding: 8px; border-radius: 11px; background: var(--lime); }
.brand-mark i { display: block; border-radius: 2px 2px 0 0; background: var(--night); }
.brand-mark i:nth-child(1) { height: 45%; }
.brand-mark i:nth-child(2) { height: 90%; }
.brand-mark i:nth-child(3) { height: 65%; }
.brand strong, .brand small { display: block; }
.brand strong { font: 700 24px/1.1 Georgia, serif; letter-spacing: -.02em; }
.brand small { margin-top: 5px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
nav { display: flex; gap: 24px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(32px, 5vw, 70px); padding-block: 64px; }
.hero > *, .local-run > *, .workflow-grid > *, .record-list > * { min-width: 0; }
.eyebrow { margin-bottom: 12px; color: var(--muted); font: 11px/1.5 ui-monospace, SFMono-Regular, monospace; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin-block: 22px; font: clamp(44px, 5vw, 72px)/1.03 Georgia, serif; letter-spacing: -.035em; }
h1 em, .section-heading em, .local-run h2 em { color: var(--coral-text); font-weight: 400; }
.intro { max-width: 600px; margin-bottom: 28px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.primary, .secondary { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 13px 19px; border: 1px solid var(--line); border-radius: 11px; text-decoration: none; font-size: 13px; font-weight: 700; }
.primary { background: var(--lime); border-color: var(--lime); }
.secondary { background: var(--surface); }
.primary:hover, .secondary:hover { border-color: var(--ink); }
.note { margin: 18px 0 0; color: var(--muted); font-size: 12px; }
.evidence { padding: clamp(24px, 3vw, 36px); border-radius: 20px; background: var(--night); color: var(--paper); box-shadow: 12px 14px 0 #d7decc; }
.evidence .eyebrow, .record-caption { color: var(--night-muted); }
.evidence h2 { margin: 18px 0 10px; font: 44px/1.08 Georgia, serif; letter-spacing: -.035em; }
.record-tagline { margin-bottom: 24px; font-size: 17px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; margin-block: 24px; border: 1px solid #3b5346; }
.facts > div { padding: 14px; }
.facts > div + div { border-left: 1px solid #3b5346; }
dt { color: var(--night-muted); font: 10px/1.5 ui-monospace, SFMono-Regular, monospace; text-transform: uppercase; }
dd { margin: 7px 0 0; font-size: 14px; }
.evidence-section { margin-top: 20px; padding-top: 18px; border-top: 1px solid #3b5346; }
.evidence-section p:last-child { margin-bottom: 0; font-size: 14px; }
.record-caption { margin: 24px 0 0; font: 11px/1.6 ui-monospace, SFMono-Regular, monospace; }
.evidence-band { display: flex; justify-content: space-between; gap: 20px; padding-block: 24px; border-block: 1px solid var(--line); font: 11px/1.5 ui-monospace, SFMono-Regular, monospace; text-transform: uppercase; }
.workflow, .records, .local-run { padding-block: 48px; border-bottom: 1px solid var(--line); }
.section-heading h2, .local-run h2 { margin-bottom: 16px; font: clamp(30px, 3vw, 43px)/1.15 Georgia, serif; letter-spacing: -.03em; }
.section-heading > p:last-child { max-width: 710px; color: var(--muted); }
.workflow-grid, .record-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
h3 { margin-bottom: 10px; font-size: 19px; letter-spacing: -.025em; }
.workflow-grid p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.record-list { padding: 0; list-style: none; }
.card { display: flex; flex-direction: column; height: 100%; padding: 24px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); text-decoration: none; }
.card:hover { border-color: var(--ink); }
.card strong { margin-bottom: 12px; font: 28px/1.2 Georgia, serif; }
.card > span:not(.eyebrow) { color: var(--muted); font-size: 13px; }
.card .record-link { margin-top: auto; padding-top: 24px; color: var(--ink) !important; }
.local-run { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.local-run p { color: var(--muted); font-size: 14px; }
.local-run p a { display: inline-block; min-height: 44px; padding-block: 10px; }
.run-command { align-self: start; padding: 26px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
pre { margin-block: 20px; white-space: pre-wrap; overflow-wrap: anywhere; font: 13px/1.7 ui-monospace, SFMono-Regular, monospace; }
/* Static records use the same list / evidence geometry as the local inspector. */
.record-page { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 48px; padding-block: 48px; }
.record-page h1 { font-size: clamp(40px, 4vw, 60px); overflow-wrap: anywhere; }
.record-page .evidence { box-shadow: none; }
.record-page .record-intro { color: var(--muted); }
.source-fields { margin: 0; }
.source-fields > div { padding-block: 16px; border-bottom: 1px solid #3b5346; }
.source-fields dd { overflow-wrap: anywhere; }
.source-fields dd small { display: block; margin-top: 5px; color: var(--night-muted); font-size: 12px; }
.record-boundary { margin-top: 28px; }
.record-boundary h3 { font: 25px/1.2 Georgia, serif; }
.record-boundary p { color: var(--night-muted); font-size: 14px; }
@media (max-width: 900px) {
  .hero { gap: 32px; padding-block: 44px; }
  .hero h1 { font-size: 48px; }
  .intro { font-size: 15px; }
  .workflow-grid, .record-list { gap: 16px; }
  .card { padding: 20px; }
  .local-run, .record-page { gap: 28px; }
}
@media (max-width: 700px) {
  .site-header { align-items: flex-start; flex-wrap: wrap; gap: 12px; padding-block: 18px; }
  nav { gap: 22px; }
  .hero, .local-run, .record-page { grid-template-columns: 1fr; }
  .hero { padding-block: 32px 44px; }
  .hero h1 { font-size: clamp(42px, 10vw, 54px); }
  .evidence { box-shadow: 6px 8px 0 #d7decc; }
  .evidence h2 { font-size: 36px; }
  .evidence-band { flex-direction: column; gap: 10px; }
  .workflow-grid, .record-list { grid-template-columns: 1fr; gap: 24px; }
  .workflow, .records, .local-run, .record-page { padding-block: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
