/* Shutoff Labs site styles. No external fonts, no frameworks. Palette carried over from the brand kit. */
:root {
  --charcoal: #1E2329;
  --cream: #FBF6EE;
  --ember: #E4572E;
  --ember-deep: #B9401C;
  --volt: #FFC83D;
  --steel: #2E5A88;
  --mist: #E9E4DA;
  --white: #FFFFFF;
  --muted: #4A5059;
  --radius: 12px;
  --max: 70rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--cream);
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--steel); text-underline-offset: 0.15em; }
a:hover { color: var(--charcoal); }
:focus-visible { outline: 3px solid var(--steel); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible { outline-color: var(--volt); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--charcoal); color: var(--white); padding: 0.6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; color: var(--white); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4.5rem 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); }
.eyebrow { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ember-deep); margin-bottom: 0.5rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 44rem; }

/* Header */
.site-header { background: var(--charcoal); color: var(--cream); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; padding-top: 0.9rem; padding-bottom: 0.9rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--cream); text-decoration: none; font-weight: 700; font-size: 1.3rem; }
.brand:hover { color: var(--cream); }
.brand-name span { color: var(--volt); }
.brand img { width: 36px; height: 36px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; }
.nav a { color: var(--cream); text-decoration: none; font-size: 0.98rem; padding: 0.35rem 0; display: inline-block; }
.nav a:hover { color: var(--volt); text-decoration: underline; }

/* Hero */
.hero { background: var(--charcoal); color: var(--cream); padding: 4rem 0 5rem; }
.hero .eyebrow { color: var(--volt); }
.hero .lead { color: #D9D4CB; }
.hero h1 span { color: var(--volt); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.btn {
  display: inline-block; padding: 0.8rem 1.3rem; border-radius: 999px; font-weight: 700;
  text-decoration: none; border: 2px solid transparent; line-height: 1.2;
}
.btn-primary { background: var(--volt); color: var(--charcoal); }
.btn-primary:hover { background: #FFD76E; color: var(--charcoal); }
.btn-ghost { border-color: var(--cream); color: var(--cream); }
.btn-ghost:hover { background: var(--cream); color: var(--charcoal); }
.hero-points { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; color: #D9D4CB; font-size: 0.98rem; }
.hero-points li::before { content: "\2713\00a0"; color: var(--volt); font-weight: 700; }

/* Cards */
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin-top: 2rem; }
.card { background: var(--white); border: 1px solid var(--mist); border-radius: var(--radius); padding: 1.5rem; border-top: 4px solid var(--ember); }
.section-alt .card { background: var(--cream); }
.card p:last-child { margin-bottom: 0; }

/* Kit */
.badge { display: inline-block; background: var(--volt); color: var(--charcoal); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.3rem 0.75rem; border-radius: 999px; }
.kit-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.kit-head h2 { margin: 0; }
.status-box { border: 2px dashed var(--ember-deep); border-radius: var(--radius); padding: 1rem 1.25rem; background: #FFF4E5; margin: 1.5rem 0; }
.status-box p:last-child { margin-bottom: 0; }
.table-wrap { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--mist); border-radius: var(--radius); background: var(--white); }
table { border-collapse: collapse; width: 100%; min-width: 34rem; }
caption { text-align: left; font-weight: 700; padding: 0.9rem 1rem 0.3rem; }
th, td { text-align: left; vertical-align: top; padding: 0.7rem 1rem; border-top: 1px solid var(--mist); }
thead th { background: var(--mist); border-top: 0; font-size: 0.95rem; }
td:first-child { white-space: nowrap; font-weight: 700; }
.two-col { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.checklist { padding-left: 1.2rem; }
.checklist li { margin-bottom: 0.4rem; }
.small { font-size: 0.92rem; color: var(--muted); }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); margin-top: 2rem; }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--mist); border-radius: var(--radius); padding: 1.5rem; position: relative; }
.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--charcoal); color: var(--volt); font-weight: 800; margin-bottom: 0.75rem; }

/* Compliance */
.dark { background: var(--charcoal); color: var(--cream); }
.dark a { color: var(--volt); }
.dark .eyebrow { color: var(--volt); }
.dark .lead { color: #D9D4CB; }
.dark .card { background: #2A3038; border-color: #3A414B; border-top-color: var(--volt); color: var(--cream); }

/* Form */
.form-card { background: var(--white); border: 1px solid var(--mist); border-radius: var(--radius); padding: 1.5rem; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-weight: 700; font-size: 1.1rem; margin-bottom: 1rem; padding: 0; }
.field { margin-bottom: 1rem; }
label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.hint { font-weight: 400; color: var(--muted); font-size: 0.9rem; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; padding: 0.65rem 0.75rem; border: 1px solid #8A8F96; border-radius: 8px; background: var(--white); color: var(--charcoal);
}
textarea { min-height: 8rem; resize: vertical; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 0.35rem; width: 1.1rem; height: 1.1rem; flex: none; }
fieldset[disabled] input, fieldset[disabled] select, fieldset[disabled] textarea { background: #F3F1EC; cursor: not-allowed; }
button { font: inherit; }
button[disabled] { background: #C9C4BA; color: var(--charcoal); border: 0; padding: 0.8rem 1.3rem; border-radius: 999px; font-weight: 700; cursor: not-allowed; }
.not-live { background: #FFF4E5; border-left: 5px solid var(--ember-deep); padding: 0.9rem 1rem; border-radius: 8px; margin-bottom: 1.25rem; }

/* Footer */
.site-footer { background: var(--charcoal); color: #D9D4CB; padding: 3rem 0 2rem; font-size: 0.95rem; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--volt); }
.footer-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.35rem; }
.footer-legal { border-top: 1px solid #3A414B; margin-top: 2rem; padding-top: 1.25rem; font-size: 0.88rem; }

/* Legal page */
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.25rem; font-size: 1.5rem; }
.draft-banner { background: #FFF4E5; border: 2px dashed var(--ember-deep); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 2rem; }

@media (max-width: 40rem) {
  .section { padding: 3rem 0; }
  .hero { padding: 2.5rem 0 3.5rem; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; }
}
@media print {
  .site-header nav, .btn-row, .skip-link { display: none; }
  body { background: #fff; }
}
.dark .small, .small.on-dark { color: #D9D4CB; }
.hero { position: relative; }
.pipe { height: 40px; margin-top: 3rem; background: url("/assets/pipe.svg") center / auto 40px no-repeat, linear-gradient(#3A414B, #3A414B) 0 22px / 100% 10px no-repeat; opacity: 0.9; }
.footer-legal:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.btn-row + p { margin-top: 1.5rem; }
