:root {
  --paper: #f4efe3;
  --paper-deep: #e8dfcf;
  --ink: #171815;
  --muted: #6d6a61;
  --accent: #e7431a;
  --line: rgba(23, 24, 21, 0.18);
}
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); }
body { margin: 0; font-family: Georgia, "Times New Roman", serif; background-image: radial-gradient(rgba(23,24,21,.045) .65px, transparent .65px); background-size: 5px 5px; }
.page-shell { width: min(1320px, calc(100% - 40px)); margin: 0 auto; padding-bottom: 80px; }
.masthead { min-height: 86px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--ink); }
.wordmark { color: inherit; text-decoration: none; font: 800 22px/1 Impact, Haettenschweiler, sans-serif; letter-spacing: .18em; }
.issue, .eyebrow, .section-heading p, .hero-note, .metric span, .sample-head, small, .unknown-grid span { font-family: "Trebuchet MS", Verdana, sans-serif; text-transform: uppercase; letter-spacing: .12em; }
.issue { font-size: 11px; }
.account-strip { display: flex; align-items: center; gap: 18px; }
.account-strip form { margin: 0; }
.text-action { border: 0; border-bottom: 1px solid currentColor; padding: 3px 0; color: var(--ink); background: transparent; font: 700 10px/1.2 "Trebuchet MS", Verdana, sans-serif; text-transform: uppercase; letter-spacing: .12em; cursor: pointer; }
.text-action:hover { color: var(--accent); }
.hero { display: grid; grid-template-columns: 1fr 240px; gap: 60px; align-items: end; padding: 86px 0 64px; }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 700; margin: 0 0 24px; }
h1 { font-size: clamp(52px, 7vw, 108px); line-height: .91; letter-spacing: -.055em; margin: 0; font-weight: 500; }
h1 em { font-weight: 400; color: var(--muted); }
.hero-note { border-top: 1px solid var(--ink); padding-top: 18px; font-size: 10px; line-height: 1.7; }
.hero-note time { color: var(--muted); }
.status-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); margin-right: 7px; box-shadow: 0 0 0 5px rgba(231,67,26,.12); }
.folio { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink); }
.folio article { min-height: 176px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--ink); }
.folio article:last-child { border: 0; }
.folio strong { font-size: 72px; font-weight: 400; letter-spacing: -.06em; }
.folio span { font-family: "Trebuchet MS", sans-serif; font-size: 13px; }
.folio .accent { background: var(--accent); color: #fff9ef; }
.readiness, .sample { display: grid; grid-template-columns: minmax(230px, .65fr) 1.35fr; gap: 70px; padding: 110px 0; }
.section-heading p { color: var(--accent); font-size: 11px; margin: 0 0 25px; }
.section-heading h2 { font-size: clamp(38px, 4vw, 64px); line-height: .98; letter-spacing: -.04em; font-weight: 400; margin: 0; max-width: 560px; }
.metric { display: grid; grid-template-columns: minmax(190px, 1fr) 2fr 54px; align-items: center; gap: 22px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.metric-copy h3 { margin: 0 0 5px; font-size: 17px; }
.metric-copy span { color: var(--muted); font-size: 9px; }
.rule { height: 3px; background: var(--line); overflow: hidden; }
.rule i { display: block; width: var(--coverage); height: 100%; background: var(--accent); animation: draw .8s ease-out both; }
.metric b { font-size: 22px; font-weight: 400; text-align: right; }
.unknowns { background: var(--ink); color: var(--paper); margin-inline: calc((100vw - 100%) / -2); padding: 90px max(20px, calc((100vw - min(1320px, calc(100% - 40px))) / 2)); }
.unknowns .section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: start; }
.inverse h2 { max-width: 760px; }
.unknown-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 70px; border-top: 1px solid rgba(244,239,227,.35); }
.unknown-grid div { padding: 25px 18px 42px 0; border-right: 1px solid rgba(244,239,227,.2); }
.unknown-grid span { display: block; color: #d18c78; font-size: 9px; margin-bottom: 45px; }
.unknown-grid strong { font-size: 24px; font-weight: 400; }
.unknown-note { max-width: 650px; margin: 42px 0 0 auto; color: #bdb7ab; font-size: 18px; line-height: 1.5; }
.sample-table { border-top: 2px solid var(--ink); }
.sample-row { display: grid; grid-template-columns: 1.45fr 1fr .7fr; gap: 25px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.sample-row > span { min-width: 0; }
.sample-row strong, .sample-row small { display: block; }
.sample-row strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 17px; }
.sample-row small { color: var(--muted); font-size: 8px; margin-bottom: 5px; }
.sample-head { font-size: 9px; color: var(--muted); }
.chips i { display: inline-block; font: normal 9px/1 "Trebuchet MS", sans-serif; text-transform: uppercase; border: 1px solid var(--line); padding: 7px; margin: 2px; }
.state-card { min-height: calc(100vh - 170px); display: flex; flex-direction: column; justify-content: center; max-width: 920px; }
.state-card h1 { margin-bottom: 35px; }
.state-card > p:not(.eyebrow) { max-width: 650px; font-size: 22px; line-height: 1.5; color: var(--muted); }
.state-card time { font-family: "Trebuchet MS", sans-serif; font-size: 12px; }
.danger .eyebrow { color: #a52d12; }
.plain-state { font-size: 20px; color: var(--muted); }
.login-page { min-height: 100vh; background-image: none; }
.login-shell { width: min(440px, calc(100% - 32px)); min-height: 100vh; margin: 0 auto; display: grid; grid-template-rows: auto 1fr; }
.login-masthead { border: 0; }
.login-card { align-self: center; margin-bottom: 14vh; padding-top: 28px; border-top: 1px solid var(--ink); }
.login-card h1 { margin: 0 0 44px; font-size: clamp(48px, 10vw, 68px); font-weight: 400; letter-spacing: -.045em; }
.form-error { margin: -18px 0 28px; padding-left: 13px; border-left: 3px solid var(--accent); color: #8c2a12; font: 14px/1.45 "Trebuchet MS", Verdana, sans-serif; }
.field { margin-bottom: 27px; }
.field label { display: block; margin-bottom: 9px; color: var(--muted); font: 700 10px/1 "Trebuchet MS", Verdana, sans-serif; text-transform: uppercase; letter-spacing: .13em; }
.field input { width: 100%; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 13px 2px; color: var(--ink); background: transparent; font: 20px/1.2 Georgia, "Times New Roman", serif; }
.field input:focus { outline: 3px solid rgba(231,67,26,.22); outline-offset: 4px; border-color: var(--accent); }
.primary-action { width: 100%; margin-top: 14px; border: 1px solid var(--ink); padding: 18px 20px; color: var(--paper); background: var(--ink); font: 700 12px/1 "Trebuchet MS", Verdana, sans-serif; text-transform: uppercase; letter-spacing: .12em; cursor: pointer; transition: background-color .18s ease, border-color .18s ease; }
.primary-action:hover { border-color: var(--accent); background: var(--accent); }
.primary-action:focus-visible, .text-action:focus-visible { outline: 3px solid rgba(231,67,26,.35); outline-offset: 4px; }
@keyframes draw { from { width: 0; } }
@media (prefers-reduced-motion: reduce) { .rule i { animation: none; } .primary-action { transition: none; } }
@media (max-width: 800px) {
  .page-shell { width: min(100% - 24px, 680px); }
  .hero { grid-template-columns: 1fr; padding-top: 55px; }
  .folio { grid-template-columns: 1fr 1fr; }
  .folio article:nth-child(2) { border-right: 0; }
  .folio article:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
  .readiness, .sample { grid-template-columns: 1fr; gap: 45px; padding: 75px 0; }
  .unknowns .section-heading { display: block; }
  .unknown-grid { grid-template-columns: 1fr 1fr; }
  .metric { grid-template-columns: 1fr 45px; }
  .metric .rule { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 500px) {
  .issue { display: none; }
  h1 { font-size: 49px; }
  .folio strong { font-size: 54px; }
  .unknown-grid, .folio { grid-template-columns: 1fr; }
  .folio article { border-right: 0; border-bottom: 1px solid var(--ink); }
  .sample-row { grid-template-columns: 1fr; gap: 8px; }
  .sample-head { display: none; }
  .login-shell { width: calc(100% - 28px); }
  .login-card { margin-bottom: 10vh; }
}
