/* BidReady — federal proposal writing.
   Restrained on purpose: the audience is contracting officers' vendors and small
   business owners, not a startup crowd. Credibility here comes from typography,
   spacing and plain claims, not from decoration. */

:root {
  --navy: #0f2b45;
  --navy-soft: #1c3f5f;
  --ink: #16212b;
  --muted: #5a6b7a;
  --line: #dde4ea;
  --paper: #fbfaf8;
  --paper-alt: #f2f5f8;
  --accent: #9a6b28;
  --white: #ffffff;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 760px; }

/* ---- header ---- */
header {
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 248, 0.94);
  backdrop-filter: saturate(180%) blur(8px);
  position: sticky; top: 0; z-index: 20;
}
.bar { display: flex; align-items: center; justify-content: space-between;
       padding: 18px 0; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px;
         text-decoration: none; color: var(--navy); }
.mark {
  width: 30px; height: 30px; border-radius: 5px; flex: 0 0 30px;
  background: var(--navy); color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 14px; letter-spacing: -0.5px;
}
.brand b { font-size: 19px; letter-spacing: -0.3px; font-weight: 650; }
.brand span { color: var(--muted); font-weight: 400; font-size: 19px; }
nav { display: flex; gap: 26px; align-items: center; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav a:hover { color: var(--navy); }
nav a.cta {
  background: var(--navy); color: #fff; padding: 9px 17px;
  border-radius: 5px; font-weight: 550;
}
nav a.cta:hover { background: var(--navy-soft); color: #fff; }

/* ---- type ---- */
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; color: var(--navy);
             font-weight: 600; letter-spacing: -0.4px; line-height: 1.2; }
h1 { font-size: 47px; }
h2 { font-size: 31px; margin-bottom: 14px; }
h3 { font-size: 20px; margin-bottom: 8px; letter-spacing: -0.2px; }
p { margin-bottom: 15px; }
.lead { font-size: 20px; color: var(--muted); line-height: 1.55; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 1.6px; font-size: 12px;
  color: var(--accent); font-weight: 700; margin-bottom: 14px;
}
a { color: var(--navy); }

/* ---- sections ---- */
section { padding: 78px 0; border-bottom: 1px solid var(--line); }
section.alt { background: var(--paper-alt); }
.hero { padding: 96px 0 84px; }
.hero h1 { max-width: 15ch; }
.hero .lead { max-width: 58ch; margin-top: 20px; }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 13px 26px; border-radius: 5px;
  text-decoration: none; font-weight: 600; font-size: 16px;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-soft); }
.btn-ghost { border: 1px solid var(--line); color: var(--navy); background: var(--white); }
.btn-ghost:hover { border-color: var(--navy); }

/* ---- grids ---- */
.grid { display: grid; gap: 26px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 7px; padding: 26px;
}
.card p:last-child { margin-bottom: 0; }

/* numbered process */
ol.steps { list-style: none; counter-reset: s; }
ol.steps li {
  counter-increment: s; position: relative; padding-left: 56px;
  margin-bottom: 30px;
}
ol.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 15px;
}
ol.steps li p:last-child { margin-bottom: 0; }

/* ---- table ---- */
table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 16px; }
th, td { text-align: left; padding: 13px 15px; border-bottom: 1px solid var(--line); }
th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.9px;
     color: var(--muted); font-weight: 700; }
td.price { font-weight: 650; color: var(--navy); white-space: nowrap; }

/* ---- callout ---- */
.callout {
  border-left: 3px solid var(--accent); background: var(--white);
  padding: 22px 26px; border-radius: 0 7px 7px 0; margin: 26px 0;
}
.callout h3 { color: var(--accent); font-size: 17px; }
.plainlist { list-style: none; }
.plainlist li { padding: 9px 0 9px 28px; position: relative;
                border-bottom: 1px solid var(--line); }
.plainlist li:last-child { border-bottom: 0; }
.plainlist li::before {
  content: "—"; position: absolute; left: 0; color: var(--accent); font-weight: 700;
}

/* ---- footer ---- */
footer { background: var(--navy); color: #c6d3de; padding: 52px 0 34px; font-size: 15px; }
footer a { color: #e8eef4; text-decoration: none; }
footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 34px; }
.foot-grid h4 { color: #fff; font-size: 13px; text-transform: uppercase;
                letter-spacing: 1.2px; margin-bottom: 13px; font-weight: 700; }
.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: 8px; }
.fineprint {
  margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 13px; color: #93a7b8; line-height: 1.6;
}

/* ---- legal pages ---- */
.legal { padding: 62px 0 84px; }
.legal h1 { font-size: 36px; margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 15px; margin-bottom: 34px; }
.legal h2 { font-size: 21px; margin: 34px 0 10px; }
.legal p, .legal li { color: #2c3a47; }
.legal ul, .legal ol { margin: 0 0 15px 22px; }
.legal li { margin-bottom: 7px; }

/* ---- responsive ---- */
@media (max-width: 860px) {
  h1 { font-size: 35px; }
  h2 { font-size: 26px; }
  .g2, .g3, .foot-grid { grid-template-columns: 1fr; }
  nav { gap: 16px; }
  nav a.hide-sm { display: none; }
  section { padding: 56px 0; }
  .hero { padding: 64px 0 56px; }
  body { font-size: 16px; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #11171d; --paper-alt: #161d25; --white: #182029;
    --ink: #e4eaf0; --muted: #9aabbb; --line: #2a3540;
    --navy: #a9c6e0; --navy-soft: #c2d8ee; --accent: #d3a45f;
  }
  header { background: rgba(17, 23, 29, 0.94); }
  nav a.cta, .btn-primary { background: #2b5a86; color: #fff; }
  nav a.cta:hover, .btn-primary:hover { background: #366ea1; }
  ol.steps li::before { background: #2b5a86; }
  footer { background: #0c1218; }
}
