/* Forward Fix Consulting — one stylesheet, no framework. */
:root {
  --ink: #1d2433;
  --ink-soft: #4a5468;
  --paper: #fbfaf7;
  --card: #ffffff;
  --line: #e4e1d8;
  --brand: #1f4e79;      /* steady navy */
  --brand-dark: #163a5b;
  --accent: #e07a2f;     /* warm orange */
  --accent-soft: #fdf1e7;
  --alt: #f2f0ea;
  --ok: #2f7d4f;
  --radius: 12px;
  --wrap: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--ink); background: var(--paper); }
img { max-width: 100%; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 1.4em; }
h2:first-child, .card h2 { margin-top: 0; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 10; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }
.fine { font-size: .9rem; color: var(--ink-soft); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--accent); margin-bottom: .6em; }
.card-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--ink-soft); }

/* Header */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); text-decoration: none; font-size: 1.1rem; }
.brand-sub { font-weight: 500; color: var(--ink-soft); }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--brand); color: #fff; font-size: .85rem; letter-spacing: .02em; }
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav a { text-decoration: none; color: var(--ink); font-size: .95rem; }
.site-nav a[aria-current="page"] { color: var(--brand); font-weight: 700; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: inherit; }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; padding: 14px 22px; border-radius: 10px; border: 2px solid var(--accent); cursor: pointer; font: 700 1rem var(--font); min-height: 48px; }
.btn:hover { background: #c96a24; border-color: #c96a24; color: #fff; }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-ghost:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-small { padding: 8px 14px; min-height: 0; font-size: .9rem; color: #fff !important; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.center .actions, .actions.center { justify-content: center; }

/* Sections */
.hero { padding: 64px 0 48px; background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); }
.hero-small { padding: 48px 0 24px; }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.hero-card, .card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.band { padding: 48px 0; }
.band-alt { background: var(--alt); }
.cta-band { background: var(--brand); color: #fff; }
.cta-band h2 { color: #fff; margin-top: 0; }
.cta-band p { color: #dfe7f0; }
.cta-band .btn-ghost { color: #fff; border-color: #fff; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--brand); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-3 .card h3 { margin-top: 0; }

/* Lists */
.buckets { list-style: none; counter-reset: b; padding: 0; margin: 12px 0 0; }
.buckets li { counter-increment: b; display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.buckets li::before { content: counter(b); grid-row: span 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; }
.buckets span { color: var(--ink-soft); font-size: .95rem; }
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 28px; margin-bottom: .55em; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 6px; border-left: 3px solid var(--ok); border-bottom: 3px solid var(--ok); transform: rotate(-45deg); }
.steps { list-style: none; counter-reset: s; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 10px; }
.agenda { padding-left: 1.2em; }

/* Tables */
.price-table, .bucket-table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.price-table th, .price-table td, .bucket-table th, .bucket-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { background: var(--alt); font-size: .9rem; }
.bucket-table th { width: 110px; color: var(--accent); }

/* Start page */
.link-stack { display: grid; gap: 12px; margin-top: 24px; text-align: left; }
.link-card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; text-decoration: none; color: var(--ink); }
.link-card:hover { border-color: var(--brand); }
.link-card strong { display: block; font-size: 1.1rem; color: var(--brand); }
.link-card span { color: var(--ink-soft); font-size: .95rem; }

/* FAQ, prose */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: .8em 0 0; }
.prose ul { padding-left: 1.2em; }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 24px; }
.draft-note { background: #fff4d6; border: 1px solid #e8cf7a; padding: 10px 14px; border-radius: 8px; font-weight: 700; }

/* Forms */
.form label { display: block; font-weight: 600; margin-bottom: 14px; font-size: .95rem; }
.form input:not([type=checkbox]), .form textarea, .assessment textarea { display: block; width: 100%; margin-top: 6px; padding: 12px; font: inherit; border: 1px solid #c9c5b9; border-radius: 8px; background: #fff; }
.form .check { display: flex; gap: 10px; font-weight: 400; align-items: flex-start; }
.form .check input { margin-top: 5px; }
.hp { position: absolute !important; left: -9999px !important; }
.form-status { font-weight: 600; margin-top: 10px; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: #b3261e; }

/* Assessment */
.progress { height: 8px; background: var(--alt); border-radius: 99px; overflow: hidden; }
.progress-bar { height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.progress-text { font-size: .9rem; color: var(--ink-soft); margin: 8px 0 18px; }
.q { border: 0; padding: 0; margin: 0; }
.q legend { font-size: 1.35rem; font-weight: 700; margin-bottom: 16px; line-height: 1.3; }
.opt { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; cursor: pointer; min-height: 52px; }
.opt:hover { border-color: var(--brand); }
.opt input { width: 20px; height: 20px; accent-color: var(--brand); flex: none; }
.opt:has(input:checked) { border-color: var(--brand); background: #eef4fa; }
.nav-row { display: flex; justify-content: space-between; margin-top: 20px; }
.q-error { color: #b3261e; font-weight: 600; min-height: 1.5em; }
.result h2 { margin-top: 0; }
.result-card { background: var(--card); border: 2px solid var(--brand); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.score { font-size: 2.6rem; font-weight: 800; color: var(--brand); line-height: 1; }
.score small { font-size: 1rem; color: var(--ink-soft); font-weight: 600; }
.result dl { display: grid; grid-template-columns: 170px 1fr; gap: 8px 16px; margin: 16px 0 0; }
.result dt { font-weight: 700; color: var(--ink-soft); }
.result dd { margin: 0; }

/* Footer */
.site-footer { background: #151b27; color: #c9d1dd; padding: 48px 0 24px; font-size: .95rem; }
.site-footer a { color: #e7edf5; display: block; text-decoration: none; margin-bottom: 6px; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand { color: #fff; }
.footer-h { color: #fff; font-weight: 700; }
.footer-legal { border-top: 1px solid #2a3344; margin-top: 32px; padding-top: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .85rem; }
.footer-legal a { display: inline; }

/* Mobile */
@media (max-width: 900px) {
  .hero-grid, .two-col, .grid-3, .footer-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .menu-btn { display: block; }
  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--card); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); gap: 4px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 0; }
  .result dl { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; text-align: center; }
  .hero { padding: 40px 0 32px; }
}
