/* Automated Empire — consolidated directory styles.
   Section 1: base layer (formerly /style.css, bytes preserved).
   Section 2: brand layer (formerly /brand-refresh.css, bytes preserved;
   its @import of /fonts.css is discharged by the direct /css/fonts.css
   link that now precedes this sheet — same cascade position).
   Section 3: Break-Even components (Visual Elevation, Site 13).
   Cascade order matches the former link order exactly. */
fieldset{border:0;padding:0;margin:0 0 24px}legend{font-weight:750;margin-bottom:16px}.check-item{display:flex;align-items:flex-start;gap:14px;padding:15px 0;border-bottom:1px solid #ccd3ca}.check-item input{width:20px;height:20px;flex:0 0 20px;margin-top:4px}.check-item small{display:block;font-weight:400;font-size:14px;margin-top:4px}[data-planner-actions]{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}[hidden]{display:none!important}html{overflow-wrap:anywhere}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}.secondary{background:transparent;color:var(--brand);border:1px solid currentColor}button:disabled{opacity:.55;cursor:not-allowed}details{padding:16px 0;border-bottom:1px solid #ccd3ca}summary{font-weight:700;cursor:pointer}details p{margin-bottom:0}.print-note{display:none}@media print{header,footer,.skip,.actions,form>button,details{display:none!important}main,.prose{max-width:none;margin:0;padding:0}.tool{break-inside:avoid}body,output{background:white!important;color:black!important}h1{font-size:28px!important}.print-note{display:block}input,textarea{border:1px solid #888}}:root{--ink:#172f33;--paper:#f7f5ed;--muted:#526568}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.65 system-ui,sans-serif}a{color:var(--brand);text-underline-offset:4px}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #ba7417;outline-offset:4px}.skip{position:absolute;top:-80px}.skip:focus{top:0;background:white;padding:10px;z-index:2}header,footer,main{max-width:1140px;margin:auto;padding:26px 30px}header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ccd3ca;gap:20px}nav{display:flex;gap:22px;flex-wrap:wrap}.brand{font-weight:800;font-size:22px;text-decoration:none;letter-spacing:-.7px}.hero{padding:65px 0 45px;max-width:890px}.eyebrow{font-size:12px;font-weight:750;letter-spacing:2px;color:var(--brand)}h1{font-size:clamp(36px,6vw,72px);line-height:1.07;letter-spacing:-2px;margin:20px 0 24px}h2{line-height:1.2;letter-spacing:-.7px}h3{line-height:1.25}.lead{font-size:21px;max-width:750px;color:var(--muted)}.button,button{display:inline-block;background:var(--brand);color:white;padding:13px 22px;border:0;border-radius:8px;font:inherit;font-weight:650;text-decoration:none;cursor:pointer}.cards{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;margin:30px 0 55px}.card{padding:28px;border:1px solid #ccd3ca;border-radius:12px;background:white;text-decoration:none;color:var(--ink)}.card span{color:var(--brand);font-weight:700}.card p{color:var(--muted)}.prose{max-width:800px;margin:40px auto 65px}.prose h1{font-size:clamp(34px,5vw,52px)}.prose h2{margin-top:38px}.prose p,.prose li{max-width:75ch}.tool{background:white;border:1px solid #ccd3ca;border-radius:14px;padding:28px;margin:30px 0}.fields{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:0 0 24px}label{font-size:14px;font-weight:650}input,textarea{display:block;width:100%;font:inherit;font-size:16px;padding:12px;border:1px solid #acbcb5;border-radius:6px;margin-top:6px;color:var(--ink);background:#fdfefb}textarea{min-height:200px}output{display:block;padding:20px;background:#edf2e6;border-radius:8px;white-space:pre-wrap;margin-top:22px;font-weight:650}.note{font-size:14px;color:var(--muted)}.breadcrumbs{font-size:14px}.sources{font-size:14px;border-top:1px solid #ccd3ca;margin-top:35px;padding-top:20px}footer{border-top:1px solid #ccd3ca;padding-top:30px;padding-bottom:45px;font-size:14px}footer nav{margin:20px 0}.facts{display:flex;gap:30px;flex-wrap:wrap;padding:22px 0;border-block:1px solid #ccd3ca;font-size:14px}@media(max-width:650px){header{align-items:flex-start;flex-direction:column}header,footer,main{padding:22px}.hero{padding:38px 0}.cards,.fields{grid-template-columns:1fr}.tool{padding:20px}nav{gap:16px}h1{letter-spacing:-1px}}

/* Automated Empire visual layer over the pinned live publisher source. */
:root {
  --ae-ink: #1e293b;
  --ae-muted: #475569;
  --ae-paper: #f7f9fc;
  --ae-surface: #ffffff;
  --ae-line: #d8e1ec;
  --ae-tint: #fff2e6;
  --ae-shadow: 0 18px 44px -30px #24344b70;
}

body {
  --brand: #c2410c !important;
  background: var(--ae-paper);
  color: var(--ae-ink);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
}

h1, h2, h3 { font-family: "IBM Plex Sans", system-ui, sans-serif; letter-spacing: -0.025em; }
h1 { line-height: 1.12; }
h2 { line-height: 1.2; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid #c2410c;
  outline-offset: 4px;
}
header { border-bottom-color: var(--ae-line); padding-block: 22px; }
header .brand { color: var(--ae-ink); font-weight: 700; font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem); }
header nav a, footer nav a { font-weight: 650; }

.hero {
  border: 1px solid #f2c7ae;
  border-radius: 24px;
  background: radial-gradient(circle at 90% 5%, #ffe1c7, transparent 45%), linear-gradient(130deg, #fff9f4, #fff0e4);
  box-shadow: var(--ae-shadow);
}
.hero h1 { max-width: 13ch; }
.hero .lead { max-width: 53ch; }
.eyebrow { color: #9a3412; }
.lead { color: var(--ae-muted); }
.button, button:not(.secondary) { border-radius: 999px; box-shadow: 0 8px 18px -14px #351f16; }
.button:hover, button:not(.secondary):hover { background: #9a3412; }
.facts { border-color: var(--ae-line); gap: 12px; margin-block: 22px 50px; }
.facts span { border: 1px solid var(--ae-line); border-radius: 999px; background: var(--ae-surface); padding: 7px 13px; }
.cards { gap: 24px; }
.card {
  border-color: var(--ae-line);
  border-radius: 18px;
  background: var(--ae-surface);
  box-shadow: var(--ae-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.card:hover, .card:focus-visible { transform: translateY(-3px); box-shadow: 0 24px 50px -28px #24344b85; }
.card h2 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); }
.prose { max-width: 760px; }
.prose h2 { margin-top: 44px; }
.breadcrumbs { color: var(--ae-muted); }
.tool, output { border-color: var(--ae-line); border-radius: 18px; background: var(--ae-surface); box-shadow: var(--ae-shadow); }
input, textarea { border-color: #9aacc1; background: white; }
output { background: var(--ae-tint); }
.check-item, details, .sources, footer { border-color: var(--ae-line); }
footer { color: var(--ae-muted); }
footer strong { color: var(--ae-ink); }

@media (max-width: 650px) {
  header, footer, main { padding-inline: 18px; }
  header nav { gap: 12px 16px; }
  .hero { padding: 36px 24px; border-radius: 18px; }
  .hero h1 { max-width: none; }
  .card, .tool { padding: 22px; }
  .facts { margin-bottom: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .card { transition: none; }
  .card:hover, .card:focus-visible { transform: none; }
}

/* Design review 2026-10-21: keep anchored sections clear of the sticky header (S5.4). */
section[id], h2[id] { scroll-margin-top: 96px; }

/* ================================================================
   3 · "The Break-Even" components (Visual Elevation, Site 13)
   New selectors only; sections 1–2 above are the site's existing
   sheets, preserved in their original cascade order.
   ================================================================ */
.brand{display:inline-flex;align-items:center}
.brand-glyph{flex:0 0 auto;margin-right:10px}
.vh{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* Schematic (state gate: /, ROI guide, calculator initial state).
   Dimensionless axes; example figures live in the caption text. */
.schematic{margin:26px 0;padding:20px 22px;border:1px solid var(--ae-line);border-radius:14px;background:var(--ae-surface)}
.schematic svg{display:block;width:100%;max-width:520px;height:auto}
.schematic figcaption{margin-top:10px;font-size:14px;color:var(--ae-muted)}
.schem-axis{stroke:#94a3b8;stroke-width:1.5}
.schem-threshold{stroke:#1e293b;stroke-width:2.5;stroke-dasharray:7 5}
.schem-value{stroke:#c2410c;stroke-width:3}
.schem-cross{fill:#c2410c;stroke:#ffffff;stroke-width:1.5}
.schem-label{font:600 12.5px "IBM Plex Sans",system-ui,sans-serif;fill:#1e293b}
.schem-caption{font:500 12px "IBM Plex Sans",system-ui,sans-serif;fill:#64748b}

/* Calculation worksheet (the record) */
.worksheet{margin-top:26px;border:2px solid var(--ae-ink);border-radius:14px;background:var(--ae-surface);padding:22px}
.worksheet-head{display:flex;justify-content:space-between;align-items:baseline;gap:14px;flex-wrap:wrap;border-bottom:1px solid var(--ae-line);padding-bottom:12px;margin-bottom:16px}
.worksheet-title{font-size:20px;font-weight:750;letter-spacing:-.02em}
.worksheet-state{font-size:12.5px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:var(--brand)}
.worksheet .schematic{margin:0 0 6px;border:0;padding:6px 0 0;background:transparent}
.compartments{display:grid;gap:16px;margin-top:6px}
.compartment{border:1px solid var(--ae-line);border-radius:10px;padding:16px 18px}
.compartment h3{margin:0 0 10px;font-size:13px;letter-spacing:1.2px;text-transform:uppercase}
.compartment p{margin:0 0 8px}
.compartment p:last-child{margin-bottom:0}
.compartment .big{font-size:21px;font-weight:750}
.compartment-b{border:2px dashed #b45309;background:#fffbeb}
.compartment-b h3{color:#92400e}
.chain{font-weight:700;font-size:17px}
.erasure{font-weight:650}
.nopayback-banner{border:2px solid #991b1b;background:#fef2f2;color:#7f1d1d;border-radius:10px;padding:14px 18px;font-weight:750;margin-bottom:16px}
.nopayback-banner p{margin:0 0 4px}
.nopayback-banner p:last-child{margin-bottom:0}
.nopayback-banner .cause{font-weight:600;font-size:14.5px}
.chart-wrap{margin-top:18px}
.chart-wrap svg{display:block;width:100%;height:auto}
.chart-axis{stroke:#94a3b8;stroke-width:1.5}
.chart-grid{stroke:#e2e8f0;stroke-width:1}
.chart-threshold{stroke:#1e293b;stroke-width:2.5;stroke-dasharray:7 5}
.chart-value{stroke:#c2410c;stroke-width:3;fill:none}
.chart-value-cont{stroke:#c2410c;stroke-width:3;fill:none;opacity:.38;stroke-dasharray:2 6;stroke-linecap:round}
.chart-cross{fill:#c2410c;stroke:#ffffff;stroke-width:1.5}
.chart-label{font:600 12.5px "IBM Plex Sans",system-ui,sans-serif;fill:#1e293b}
.chart-tick{font:500 11.5px "IBM Plex Sans",system-ui,sans-serif;fill:#64748b}
.horizon-badge{display:inline-block;margin-top:10px;padding:3px 12px;border:1.5px solid var(--ae-ink);border-radius:999px;font-size:13px;font-weight:700}
.honesty{margin-top:10px;font-size:13.5px;color:var(--ae-muted)}
.worksheet .print-note{margin-top:16px}

/* Announcement capture (calculator page) */
.announce{margin:26px 0 0;padding:24px;border:1px solid var(--ae-line);border-radius:14px;background:var(--ae-surface)}
.announce h2{margin:0 0 8px;font-size:24px}
.announce form{margin-top:16px}
.field-error{color:#8b1e1e;font-weight:650;font-size:14.5px;margin:6px 0 0}
.consent-line{display:flex;gap:10px;align-items:flex-start;margin-top:14px;font-size:15px;font-weight:400;max-width:62ch}
.consent-line input{width:20px;height:20px;flex:0 0 20px;margin-top:3px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.preview-badge{display:inline-block;padding:3px 12px;border:1.5px dashed var(--brand);border-radius:999px;color:var(--brand);font-weight:700;font-size:13.5px}
.ref-line{font-size:19px}

@media (max-width:650px){
  .worksheet{padding:16px}
  .chart-label{font-size:13px}
}

/* Print: the record's own contract (Argon condition 5). The
   worksheet is the printed record; capture and schematic retire. */
@media print{
  .announce,[data-schematic]{display:none!important}
  .worksheet{border:2px solid #000;background:#fff;break-inside:avoid}
  .compartment{border-color:#000}
  .compartment-b{border:2px dashed #000;background:#fff}
  .compartment-b h3{color:#000}
  .nopayback-banner{border-color:#000;background:#fff;color:#000}
  .chart-threshold{stroke:#000}
  .chart-value,.chart-value-cont{stroke:#000;opacity:1;stroke-dasharray:none}
  .chart-cross{fill:#000}
  .horizon-badge{border-color:#000}
}
