:root {
  color-scheme: light;
  --paper: #f1eee3;
  --paper-deep: #dfe5e2;
  --ink: #152b3c;
  --ink-soft: #455a67;
  --atlas-blue: #275f7c;
  --atlas-deep: #19485f;
  --ochre: #b16717;
  --signal-red: #813d2f;
  --line: #bec5bd;
  --white: #fcfbf6;
  --serif: "Literata", serif;
  --sans: "Onest", sans-serif;
  --mono: "Datatype", "SFMono-Regular", Menlo, monospace;
}
@font-face { font-family: "Literata"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("./Literata-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("./Literata-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("./Onest-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("./Onest-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Datatype"; font-style: normal; font-weight: 100 900; font-stretch: 50% 150%; font-display: swap; src: url("./Datatype-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Datatype"; font-style: normal; font-weight: 100 900; font-stretch: 50% 150%; font-display: swap; src: url("./Datatype-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); }
button, input, textarea, select { font: inherit; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #813d2f; outline-offset: 3px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 20; padding: 10px 16px; background: var(--ink); color: white; }
.skip-link:focus { top: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.content-width { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.topbar { height: 76px; max-width: 1440px; margin: auto; padding: 0 5.5%; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(21,43,60,.15); position: relative; z-index: 2; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { display: inline-flex; align-items: center; gap: 3px; height: 21px; transform: skew(-22deg); }
.brand-mark i { display: block; width: 5px; height: 21px; background: var(--atlas-blue); border-radius: 5px; }
.brand-mark i:nth-child(2) { height: 14px; background: var(--ochre); }
.brand-mark i:nth-child(3) { height: 9px; background: var(--signal-red); }
.brand-name { font: 600 25px/1 var(--serif); letter-spacing: -.04em; }
.brand-period { color: var(--signal-red); }
.topbar nav { display: flex; align-items: center; gap: 34px; }
.topbar nav a { color: var(--ink-soft); font-size: 13px; text-decoration: none; }
.topbar nav a:hover, .library-meta a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.topbar-note { display: flex; gap: 9px; align-items: center; color: var(--ink-soft); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.live-dot, .source-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--atlas-blue); flex: 0 0 auto; }
.hero { min-height: 610px; position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(360px, 1fr) minmax(420px, .94fr); align-items: center; gap: clamp(30px, 6vw, 100px); padding: 84px max(7.5%, calc((100vw - 1260px)/2)); }
.hero::before { content: ""; position: absolute; width: 54vw; height: 54vw; max-width: 710px; max-height: 710px; background: repeating-radial-gradient(ellipse at center, transparent 0 22px, rgba(39,95,124,.16) 23px 24px, transparent 25px 39px); border-radius: 50%; right: -25vw; top: -22vw; pointer-events: none; }
.hero-copy { position: relative; z-index: 1; padding-block: 16px 45px; }
.eyebrow, .step-kicker, .topbar-note, .result-meta, .role-fact dt, .status-chip { font-family: var(--mono); font-variation-settings: "wdth" 105; }
.eyebrow, .step-kicker { margin: 0 0 18px; color: var(--atlas-deep); font-size: 11px; font-weight: 700; letter-spacing: .16em; line-height: 1.3; text-transform: uppercase; }
.eyebrow-rule { display: inline-block; width: 26px; height: 1px; background: var(--signal-red); vertical-align: middle; margin: 0 10px 3px 0; }
.hero h1 { margin: 0; font: 400 clamp(56px, 6.4vw, 88px)/.99 var(--serif); letter-spacing: -.064em; }
.hero h1 em { color: var(--atlas-blue); font-weight: 400; }
.hero-intro { max-width: 425px; margin: 27px 0 0; color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.hero-evidence { display: flex; gap: 13px; align-items: flex-start; border-top: 1px solid var(--line); max-width: 410px; margin-top: 33px; padding-top: 16px; }
.hero-evidence p { margin: 0; color: #50636b; font-size: 12px; line-height: 1.6; }
.hero-evidence strong { color: var(--ink); font-weight: 650; }
.evidence-symbol { color: var(--ochre); font: 27px/1 var(--serif); }
.hero-ornament { position: absolute; bottom: -165px; left: 38%; height: 340px; width: 1px; background: rgba(39,95,124,.2); transform: rotate(40deg); }
.intake-sheet { z-index: 1; position: relative; background: var(--white); border: 1px solid #ced0c9; border-top: 4px solid var(--ochre); padding: 26px clamp(24px, 3vw, 42px) 28px; box-shadow: 8px 10px 0 rgba(21,43,60,.055); max-width: 560px; }
.intake-sheet::before { content: ""; position: absolute; inset: 8px -8px -8px 8px; border: 1px solid rgba(177,103,23,.28); pointer-events: none; z-index: -1; }
.sheet-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.step-kicker { margin-bottom: 8px; color: var(--signal-red); }
.step-kicker span, .eyebrow span { opacity: .7; padding-inline: 5px; }
.sheet-heading h2, .section-heading h2, .open-section h2 { margin: 0; font: 400 31px/1.15 var(--serif); letter-spacing: -.035em; }
.sheet-seal { display: grid; border-style: dashed; place-content: center; width: 47px; height: 47px; border: 1px solid var(--atlas-blue); border-radius: 50%; text-align: center; color: var(--atlas-deep); font: 600 8px/1.05 var(--sans); letter-spacing: .06em; transform: rotate(9deg); }
.source-example { display: flex; align-items: center; gap: 9px; margin: 20px 0 19px; padding: 9px 11px; background: #e6edef; color: #2e556b; font-size: 11px; line-height: 1.4; }
.source-dot { width: 7px; height: 7px; }
.field-label, .form-field label, .catalogue-tools label { display: block; margin-bottom: 8px; color: var(--ink); font-size: 13px; font-weight: 650; }
textarea, input, select { color: var(--ink); background: #fff; border: 1px solid #9caeb2; border-radius: 0; }
textarea { display: block; width: 100%; min-height: 108px; padding: 13px 14px; resize: vertical; line-height: 1.55; }
input, select { min-height: 46px; padding: 10px 12px; }
.field-help { margin: 7px 0 0; color: #52666f; font-size: 11px; line-height: 1.45; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; margin-top: 19px; }
.button { min-height: 46px; display: inline-flex; gap: 25px; align-items: center; justify-content: space-between; padding: 0 17px; border: 1px solid transparent; text-decoration: none; cursor: pointer; font-size: 13px; font-weight: 650; transition: background .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--atlas-deep); color: white; }
.button-primary:hover { background: #1c536d; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #101f2b; }
.button-outline { background: transparent; border-color: var(--atlas-deep); color: var(--atlas-deep); }
.button-outline:hover { background: #e6edef; }
.microcopy { color: #52616b; font-size: 10px; }
.status-line { min-height: 20px; margin-top: 9px; color: #813d2f; font-size: 12px; }
.status-error { color: #813d2f; font-weight: 650; }
.status-line:empty { min-height: 0; margin: 0; }
.results-section { padding-block: 76px 85px; scroll-margin-top: 30px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 34px; margin-bottom: 31px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.heading-note { max-width: 390px; margin: 0 0 2px; color: var(--ink-soft); font-size: 13px; line-height: 1.65; }
.result-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.result-card { position: relative; padding: 24px 25px; background: var(--white); border: 1px solid #cbd2ce; display: flex; flex-direction: column; min-height: 260px; }
.result-card.is-top { border-top: 3px solid var(--ochre); padding-top: 22px; }
.result-meta { display: flex; justify-content: space-between; gap: 12px; color: #526873; font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.result-card h3 { margin: 16px 0 9px; font: 400 23px/1.18 var(--serif); letter-spacing: -.02em; }
.result-card p { margin: 0; color: #4f636d; font-size: 13px; line-height: 1.6; }
.match-evidence { display: block; margin-top: 13px !important; padding-left: 11px; border-left: 2px solid #8fadb5; color: #2f5762 !important; font-size: 11px !important; }
.result-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 20px; }
.result-actions a, .result-actions button, .text-link { padding: 0; border: 0; color: var(--atlas-deep); background: none; font-size: 12px; font-weight: 650; text-decoration: none; cursor: pointer; }
.result-actions button:hover { text-decoration: underline; text-underline-offset: 4px; }
.matching-disclosure { max-width: 760px; margin: 17px 0 0; color: #5b6b72; font-size: 11px; }
.no-results { grid-column: 1/-1; padding: 25px; border: 1px dashed #8ba5ad; background: #f5f4ed; }
.no-results h3 { margin: 0 0 6px; font: 23px var(--serif); }
.no-results p { margin: 0; color: var(--ink-soft); }
.role-section { background: var(--ink); color: #f6f5ec; padding-block: 66px 72px; }
.role-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 9%; align-items: center; }
.eyebrow-light { color: #abc9d0; }
.role-copy h2 { margin: 0 0 18px; font: 400 clamp(36px,4vw,52px)/1.04 var(--serif); letter-spacing: -.035em; }
.role-copy > p:not(.eyebrow) { max-width: 440px; margin: 0 0 17px; color: #cad8da; font-size: 14px; line-height: 1.75; }
.text-link-light { display: inline-block; color: #c7dce0; }
.role-facts { border-top: 1px solid rgba(238,241,231,.34); }
.role-fact { padding: 16px 0; border-bottom: 1px solid rgba(238,241,231,.28); display: grid; grid-template-columns: 145px 1fr; gap: 18px; }
.role-fact dt { color: #abc9d0; font-size: 11px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.role-fact dd { margin: 0; color: #fffdf5; font-size: 13px; }
.role-fact dd strong { color: #efc274; }
.plan-section { padding-block: 74px 82px; scroll-margin-top: 30px; }
.plan-form { max-width: 910px; background: var(--white); border: 1px solid #c8cfcc; padding: clamp(22px,4vw,38px); }
.form-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 21px 24px; }
.form-field input, .form-field textarea, .form-field select { width: 100%; }
.form-field-wide { grid-column: 1/-1; }
.consent-line { display: flex; align-items: flex-start; gap: 11px; max-width: 760px; margin-top: 21px; color: #4b616b; font-size: 12px; }
.consent-line input { width: 18px; height: 18px; min-height: 18px; margin: 1px 0 0; accent-color: var(--atlas-deep); flex: 0 0 auto; }
.saved-plan { margin-top: 24px; padding: 24px; background: #e5ece8; border-left: 4px solid var(--atlas-blue); }
.saved-plan h3 { margin: 0 0 7px; font: 26px var(--serif); }
.saved-plan p { max-width: 720px; margin: 8px 0; color: #365462; font-size: 13px; }
.code-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 13px; margin-top: 16px; background: white; border: 1px solid #c7d4d2; }
.code-row code { overflow-wrap: anywhere; color: var(--ink); font: 600 14px ui-monospace, SFMono-Regular, Menlo, monospace; }
.small-button { background: transparent; color: var(--atlas-deep); border: 1px solid #97aeb5; padding: 7px 10px; cursor: pointer; font-size: 12px; }
.catalogue-section { padding-block: 72px 76px; background: #e0e5dd; scroll-margin-top: 20px; }
.section-heading-library { align-items: end; }
.library-meta { text-align: right; }
.library-meta p { margin: 0 0 5px; color: #455a67; font-size: 12px; }
.library-meta a { color: var(--atlas-deep); font-size: 12px; font-weight: 650; text-decoration: none; }
.catalogue-tools { display: grid; grid-template-columns: minmax(200px,1fr) minmax(160px,245px); gap: 8px 18px; align-items: end; margin: 22px 0; max-width: 760px; }
.catalogue-tools > label:first-child { grid-column: 1/-1; margin-bottom: -4px; }
.search-wrap { position: relative; }
.search-wrap > span { position: absolute; left: 12px; top: 6px; color: var(--atlas-deep); font-size: 25px; }
.search-wrap input { width: 100%; padding-left: 40px; }
.catalogue-tools select { width: 100%; }
.catalogue-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid #bfc9c7; }
.catalogue-entry { display: flex; flex-direction: column; padding: 17px 18px 20px 0; margin-right: 18px; border-bottom: 1px solid #bfc9c7; min-height: 163px; }
.catalogue-entry .result-meta { font-size: 9px; }
.catalogue-entry h3 { margin: 10px 0 7px; font: 400 19px/1.2 var(--serif); }
.catalogue-entry p { margin: 0; color: #52666d; font-size: 11px; line-height: 1.55; }
.catalogue-entry a { margin-top: auto; padding-top: 12px; color: var(--atlas-deep); text-decoration: none; font-size: 11px; font-weight: 650; }
.catalogue-entry a:hover { text-decoration: underline; }
.source-caveat { max-width: 750px; margin: 19px 0 0; color: #52656c; font-size: 11px; }
.open-section { padding-block: 52px 58px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.open-section .eyebrow { margin-bottom: 8px; }
.open-section h2 { font-size: 28px; }
.open-form { display: grid; grid-template-columns: minmax(220px,380px) auto; gap: 12px; flex: 1; max-width: 550px; }
.open-form input { width: 100%; }
.open-form .status-line { grid-column: 1/-1; }
.footer { border-top: 1px solid var(--line); background: #eae7dc; }
.footer-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand-footer .brand-name { font-size: 21px; }
.footer p { margin: 0; color: #52616b; font-size: 10px; line-height: 1.5; }
.back-top { color: var(--atlas-deep); font-size: 11px; text-decoration: none; }
dialog { width: min(860px,calc(100% - 24px)); max-height: 85vh; overflow-y: auto; border: 1px solid #bec9c7; padding: clamp(22px,4vw,40px); color: var(--ink); background: var(--white); box-shadow: 0 22px 80px rgba(21,43,60,.3); }
dialog::backdrop { background: rgba(21,43,60,.64); }
.dialog-close { position: absolute; right: 11px; top: 7px; border: 0; color: var(--ink); background: none; cursor: pointer; font-size: 30px; }
.dialog-heading { display: flex; justify-content: space-between; gap: 20px; padding-right: 35px; }
.dialog-heading h2 { margin: 0; font: 400 33px/1.1 var(--serif); }
.dialog-heading .status-chip { align-self: flex-start; }
.status-chip { display: inline-flex; padding: 5px 9px; background: #dce9e9; color: #19485f; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.plan-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-block: 23px; }
.plan-detail-grid section { border-top: 1px solid #c4cecc; padding-top: 13px; }
.plan-detail-grid h3, .notes-area h3 { margin: 0 0 7px; font: 20px var(--serif); }
.plan-detail-grid p { margin: 0; color: #4b616b; font-size: 13px; }
.plan-detail-grid a { color: var(--atlas-deep); font-size: 12px; }
.notes-area { margin-top: 22px; border-top: 1px solid #c4cecc; padding-top: 18px; }
.note-list { display: grid; gap: 7px; max-height: 170px; overflow: auto; margin: 12px 0; }
.note-item { display: flex; justify-content: space-between; gap: 15px; padding: 9px 11px; background: #e6edef; color: #365462; font-size: 12px; }
.note-item time { flex: 0 0 auto; color: #69767c; font-size: 10px; }
.note-form { display: grid; grid-template-columns: minmax(0,1fr) 145px auto; align-items: end; gap: 10px; }
.note-form label { display: block; margin-bottom: 5px; font-size: 11px; font-weight: 650; }
.note-form textarea, .note-form select { width: 100%; }
.plan-dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
@media (max-width: 900px) {
  .topbar { padding-inline: 4%; }
  .topbar nav { gap: 17px; }
  .hero { padding-inline: 5.5%; gap: 28px; grid-template-columns: minmax(270px,.9fr) minmax(360px,1fr); }
  .hero h1 { font-size: clamp(55px,7vw,73px); }
  .catalogue-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .content-width { width: min(100% - 36px, 560px); }
  .topbar { height: 66px; padding-inline: 18px; }
  .topbar nav { display: none; }
  .topbar-note { font-size: 10px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; padding: 19px 18px 34px; gap: 14px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(43px,11.5vw,54px); }
  .hero-intro { margin-top: 12px; font-size: 12px; line-height: 1.45; }
  .hero-evidence { margin-top: 10px; padding-top: 8px; }
  .hero-evidence p { font-size: 10px; }
  .intake-sheet { padding: 15px 15px; margin-inline: 2px; }
  .hero::before { width: 100vw; height: 100vw; max-width: 500px; max-height: 500px; top: -40vw; right: -48vw; }
  .sheet-heading h2 { font-size: 23px; }
  .source-example { margin: 8px 0; padding: 6px 8px; font-size: 10px; }
  .intake-sheet .field-label { margin-bottom: 4px; }
  .intake-sheet textarea { height: 78px; min-height: 78px; padding: 8px 10px; font-size: 13px; }
  .intake-sheet .field-help { margin-top: 3px; font-size: 10px; }
  .intake-sheet .form-actions { margin-top: 9px; }
  .intake-sheet .button { min-height: 42px; }
  .results-section, .plan-section { padding-block: 54px; }
  .section-heading { display: block; margin-bottom: 21px; }
  .heading-note { margin-top: 15px; }
  .result-list { grid-template-columns: 1fr; }
  .result-card { min-height: 230px; padding: 20px; }
  .role-section { padding-block: 50px; }
  .role-inner { grid-template-columns: 1fr; gap: 27px; }
  .role-fact { grid-template-columns: 110px 1fr; gap: 10px; }
  .role-fact dd { font-size: 12px; }
  .form-grid { grid-template-columns: 1fr; gap: 17px; }
  .form-field-wide { grid-column: auto; }
  .form-actions { align-items: flex-start; flex-direction: column; gap: 8px; }
  .catalogue-section { padding-block: 50px; }
  .section-heading-library { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
  .library-meta { text-align: left; }
  .catalogue-tools { grid-template-columns: 1fr; }
  .catalogue-tools > label:first-child { grid-column: auto; }
  .catalogue-list { grid-template-columns: 1fr; }
  .catalogue-entry { min-height: auto; padding-right: 0; margin-right: 0; padding-block: 16px; }
  .catalogue-entry a { padding-top: 14px; }
  .open-section { display: block; padding-block: 44px; }
  .open-form { grid-template-columns: minmax(0,1fr) auto; margin-top: 20px; }
  .footer-inner { padding-block: 18px; min-height: auto; flex-wrap: wrap; }
  .footer p { order: 3; width: 100%; }
  .plan-detail-grid { grid-template-columns: 1fr; gap: 15px; }
  .note-form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  body * { visibility: hidden !important; }
  dialog[open], dialog[open] * { visibility: visible !important; }
  dialog[open] { position: absolute; inset: 0; width: 100%; max-width: none; max-height: none; overflow: visible; margin: 0; padding: 0; border: 0; box-shadow: none; }
  .dialog-close, .plan-dialog-actions, .note-form { display: none !important; }
  .plan-detail-grid { grid-template-columns: 1fr 1fr; }
  .note-list { max-height: none; overflow: visible; }
  a { color: #19485f; }
}
