/* O'Donnell AI - operator's panel design system
   paper #F5F6F2 | ink #142E36 | steel #51616B | safety #C2490A | gauge #1F7A55 | line #D8DCD4 */

:root {
  --paper: #F5F6F2;
  --panel: #FDFDFB;
  --ink: #142E36;
  --steel: #51616B;
  --safety: #C2490A;
  --safety-press: #A83E07;
  --gauge: #1F7A55;
  --line: #D8DCD4;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Public Sans", -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .log-line { animation: none !important; opacity: 1 !important; }
}

body {
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--safety); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--safety);
  outline-offset: 3px;
}

/* ---- header ---- */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px; gap: 16px; flex-wrap: wrap;
}
.wordmark { font-family: var(--display); font-weight: 700; font-size: 1.6rem;
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; line-height: 1; }
.wordmark .dot { color: var(--safety); }
.wordmark-sub { font-family: var(--mono); font-size: 0.66rem; color: var(--steel);
  letter-spacing: 0.12em; display: block; margin-top: 4px; text-transform: uppercase; }
.site-nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.site-nav a { font-size: 0.92rem; font-weight: 600; text-decoration: none; }
.site-nav a.cta { background: var(--safety); color: #fff; padding: 9px 18px; border-radius: 2px; }
.site-nav a.cta:hover { background: var(--safety-press); color: #fff; }

/* ---- type ---- */
h1, h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.015em; line-height: 1.04; }
h1 { font-size: clamp(2.6rem, 6.5vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 18px; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.eyebrow { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--safety); display: block; margin-bottom: 14px; }
.lede { font-size: 1.2rem; color: var(--steel); max-width: 46em; }

section { padding: 72px 0; }
section + section { border-top: 1px solid var(--line); }

/* ---- hero ---- */
.hero { padding: 84px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px; align-items: start; }
.hero p.lede { margin: 22px 0 30px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; font-weight: 600; font-size: 1rem; padding: 13px 24px;
  border-radius: 2px; text-decoration: none; border: 1px solid var(--ink); }
.btn.primary { background: var(--safety); border-color: var(--safety); color: #fff; }
.btn.primary:hover { background: var(--safety-press); border-color: var(--safety-press); color: #fff; }
.btn.ghost:hover { border-color: var(--safety); }
.hero-note { font-family: var(--mono); font-size: 0.78rem; color: var(--steel); margin-top: 16px; }

/* ---- ops log panel (signature) ---- */
.log-panel { background: var(--ink); color: #E9EEE9; border-radius: 3px;
  padding: 22px 22px 18px; font-family: var(--mono); font-size: 0.82rem; line-height: 1.9; }
.log-title { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: #8FA6A0; border-bottom: 1px solid #2C4750; padding-bottom: 10px; margin-bottom: 12px; }
.log-line { display: flex; gap: 12px; opacity: 0; animation: logIn 0.4s ease forwards; }
.log-line:nth-child(2) { animation-delay: 0.15s; }
.log-line:nth-child(3) { animation-delay: 0.3s; }
.log-line:nth-child(4) { animation-delay: 0.45s; }
.log-line:nth-child(5) { animation-delay: 0.6s; }
.log-line:nth-child(6) { animation-delay: 0.75s; }
.log-time { color: #8FA6A0; flex-shrink: 0; }
.log-ok { color: #5CC996; flex-shrink: 0; }
@keyframes logIn { to { opacity: 1; } }
.log-foot { border-top: 1px solid #2C4750; margin-top: 12px; padding-top: 10px;
  font-size: 0.68rem; color: #8FA6A0; letter-spacing: 0.08em; }

/* ---- nameplates ---- */
.plates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plate { position: relative; background: var(--panel); border: 1px solid var(--ink);
  border-radius: 2px; padding: 26px 22px 20px; }
.plate::before, .plate::after,
.plate .rivet::before, .plate .rivet::after {
  content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%;
  background: var(--steel); opacity: 0.55;
}
.plate::before { top: 7px; left: 7px; }
.plate::after { top: 7px; right: 7px; }
.plate .rivet::before { bottom: 7px; left: 7px; }
.plate .rivet::after { bottom: 7px; right: 7px; }
.plate-value { font-family: var(--display); font-weight: 700; font-size: 2.9rem; line-height: 1; }
.plate-label { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--steel); margin-top: 10px; }

/* ---- service ladder ---- */
.ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.rung { background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--safety);
  border-radius: 2px; padding: 26px 24px; display: flex; flex-direction: column; }
.rung .tag { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em;
  color: var(--steel); margin-bottom: 12px; }
.rung h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.5rem; }
.rung .price { font-family: var(--mono); font-size: 0.95rem; margin: 6px 0 12px; color: var(--safety); font-weight: 500; }
.rung p { font-size: 0.98rem; color: var(--steel); flex-grow: 1; }
.rung a { display: inline-block; margin-top: 16px; font-weight: 600; font-size: 0.95rem; }

/* ---- schedule table ---- */
.schedule { width: 100%; border-collapse: collapse; background: var(--panel);
  border: 1px solid var(--line); font-size: 0.98rem; }
.schedule th { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; text-align: left; color: var(--steel);
  border-bottom: 1px solid var(--ink); padding: 12px 18px; }
.schedule td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.schedule tr:last-child td { border-bottom: none; }
.schedule td:first-child { font-family: var(--mono); font-size: 0.8rem; white-space: nowrap;
  color: var(--safety); font-weight: 500; }

/* ---- proof ---- */
.proof-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.proof-grid .lede { font-size: 1.05rem; }
.proof-grid p + p { margin-top: 14px; }

/* ---- link grids ---- */
.link-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 8px; }
.link-card { background: var(--panel); border: 1px solid var(--line); border-radius: 2px;
  padding: 18px 20px; text-decoration: none; display: block; }
.link-card:hover { border-color: var(--safety); color: var(--ink); }
.link-card .tag { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em;
  color: var(--steel); display: block; margin-bottom: 6px; text-transform: uppercase; }
.link-card strong { font-weight: 600; }

/* ---- faq ---- */
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 2px;
  padding: 0; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 20px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; font-family: var(--mono); color: var(--safety);
  margin-right: 12px; }
.faq details[open] summary::before { content: "-"; }
.faq details p { padding: 0 20px 18px 42px; color: var(--steel); }

/* ---- contact band ---- */
.contact-band { background: var(--ink); color: #E9EEE9; }
.contact-band h2, .contact-band a { color: #fff; }
.contact-band .lede { color: #B9C6C2; }
.contact-band .mono-row { font-family: var(--mono); font-size: 0.9rem; margin-top: 24px;
  display: flex; gap: 28px; flex-wrap: wrap; color: #B9C6C2; }
.contact-band .mono-row a { color: #E9EEE9; }

/* ---- spoke pages ---- */
.spoke-hero { padding: 64px 0 48px; }
.spoke-hero .lede { margin-top: 20px; }
.breadcrumbs { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--steel); margin-bottom: 22px; }
.breadcrumbs a { color: var(--steel); text-decoration: none; }
.breadcrumbs a:hover { color: var(--safety); }
.spoke-body { max-width: 720px; }
.spoke-body h2 { margin-top: 44px; }
.spoke-body p + p { margin-top: 14px; }
.spoke-body ul { margin: 14px 0 14px 22px; }
.spoke-body li { margin-bottom: 8px; }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 52px; font-size: 0.9rem; color: var(--steel); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 12px; color: var(--ink); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--steel); text-decoration: none; }
.site-footer a:hover { color: var(--safety); }
.footer-nap { font-family: var(--mono); font-size: 0.78rem; line-height: 2; }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .hero-grid, .proof-grid { grid-template-columns: 1fr; gap: 36px; }
  .plates, .ladder { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 52px 0; }
}
@media (max-width: 560px) {
  .link-grid, .footer-grid { grid-template-columns: 1fr; }
  body { font-size: 1rem; }
}

/* ---- conversion layer (audit rebuild 2026-07-11) ---- */
.site-header { position: sticky; top: 0; z-index: 40; }
.lead-form { max-width: 640px; margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.lead-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem;
  font-weight: 600; color: #B9C6C2; flex: 1; }
.lead-form input, .lead-form select, .lead-form textarea {
  font: inherit; padding: 11px 12px; border-radius: 2px; border: 1px solid #3E5A63;
  background: #0E2228; color: #E9EEE9; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: 2px solid var(--safety); outline-offset: 1px; }
.form-row { display: flex; gap: 14px; }
.lead-form .btn { align-self: flex-start; border: none; cursor: pointer; font-family: var(--body); }
.sticky-bar { display: none; }
@media (max-width: 700px) {
  .form-row { flex-direction: column; }
  .sticky-bar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
    background: var(--ink); padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    gap: 12px; }
  .sticky-bar .btn { flex: 1; text-align: center; }
  .sticky-bar .btn.ghost { border-color: #E9EEE9; color: #fff; }
  body { padding-bottom: 64px; }
}
@media (max-width: 560px) {
  .site-nav a:not(.cta) { display: none; }
}

/* proof strip on spoke pages */
.proof-strip { margin: 56px 0; }
.proof-strip .plate-value { font-size: 2.2rem; }
.proof-cred { font-size: 0.92rem; color: var(--steel); margin-top: 16px; max-width: 46em; }

/* related links */
.related { margin: 56px 0 8px; }
.related h2 { font-size: 1.4rem; }

/* what-happens-next steps */
ol.steps { list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 14px; }
ol.steps li { counter-increment: step; padding-left: 52px; position: relative; }
ol.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0;
  font-family: var(--mono); color: var(--safety); font-size: 0.95rem; border: 1px solid var(--line);
  border-radius: 2px; padding: 4px 8px; background: var(--panel); }
.contact-band ol.steps li::before { background: #0E2228; border-color: #3E5A63; }

/* product grid */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 28px; }
.product { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--safety);
  border-radius: 2px; padding: 24px; }
.product h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.4rem; }
.product .outcome { font-weight: 600; margin: 6px 0 10px; }
.product p { font-size: 0.95rem; color: var(--steel); }
@media (max-width: 700px) { .products { grid-template-columns: 1fr; } }

/* pricing columns */
.price-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.price-col { background: var(--panel); border: 1px solid var(--ink); border-radius: 2px; padding: 26px 24px; }
.price-col .amount { font-family: var(--display); font-weight: 700; font-size: 2rem; margin: 8px 0; }
.price-col ul { list-style: none; margin-top: 14px; }
.price-col li { padding-left: 22px; position: relative; margin-bottom: 10px; font-size: 0.95rem; color: var(--steel); }
.price-col li::before { content: "+"; position: absolute; left: 0; color: var(--safety); font-family: var(--mono); }
.terms-row { background: var(--panel); border: 1px solid var(--line); border-radius: 2px;
  padding: 18px 22px; margin-top: 20px; font-size: 0.95rem; color: var(--steel); }
@media (max-width: 900px) { .price-cols { grid-template-columns: 1fr; } }

/* about page photo slots */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0; }
.photo-slot { aspect-ratio: 4/3; background: var(--panel); border: 1px dashed var(--line); border-radius: 2px;
  display: flex; align-items: center; justify-content: center; font-family: var(--mono);
  font-size: 0.7rem; color: var(--steel); letter-spacing: 0.08em; text-transform: uppercase; text-align: center; padding: 12px; }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
@media (max-width: 700px) { .photo-grid { grid-template-columns: 1fr; } }
