/* Arrowhead Bids: shared styles */
:root {
  --blue: #0a3161;
  --blue-deep: #071f40;
  --blue-soft: #dfe7f2;
  --red: #b31942;
  --red-deep: #8f1234;
  --white: #ffffff;
  --paper: #f2f4f7;
  --ink: #132036;
  --steel: #56657c;
  --rule: #d3dae4;
  --rule-strong: #aab6c6;
  --focus: #b31942;
  --radius: 4px;
  --wrap: 1160px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Overpass", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.mono { font-family: "Overpass Mono", ui-monospace, monospace; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* type scale (1.25) */
h1, h2, h3, h4 { font-family: "Overpass", sans-serif; color: var(--ink); margin: 0; line-height: 1.08; letter-spacing: -0.015em; }
h1 { font-size: clamp(42px, 6.2vw, 76px); font-weight: 900; }
h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; }
h3 { font-size: 23px; font-weight: 800; line-height: 1.2; letter-spacing: -0.005em; }
h4 { font-size: 18px; font-weight: 800; line-height: 1.3; }
p { margin: 0 0 16px; }
.lede { font-size: 21px; line-height: 1.5; color: var(--steel); max-width: 34em; }

/* ---------- stripe bands (the flag, used sparingly) ---------- */
.stripes {
  height: 10px;
  background: repeating-linear-gradient(90deg, var(--red) 0 46px, var(--white) 46px 54px);
  border-bottom: 3px solid var(--blue);
}

/* ---------- header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 40; }
.site-header .bar { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name { font-weight: 900; font-size: 22px; letter-spacing: -0.01em; line-height: 1; }
.brand-name span { color: var(--red); }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 16px; padding: 6px 0; border-bottom: 3px solid transparent; }
.nav a:hover { color: var(--blue); border-bottom-color: var(--rule-strong); }
.nav a[aria-current="page"] { border-bottom-color: var(--red); }
.menu-btn { display: none; background: none; border: 2px solid var(--ink); border-radius: var(--radius); font: inherit; font-weight: 800; font-size: 15px; padding: 7px 12px; color: var(--ink); cursor: pointer; }
@media (max-width: 960px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; border-bottom: 3px solid var(--blue); padding: 6px 28px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 18px; }
  .nav a[aria-current="page"] { color: var(--red); border-bottom-color: var(--rule); }
  .site-header .header-cta { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 800; font-size: 17px; line-height: 1.2;
  padding: 15px 24px 13px; border-radius: var(--radius);
  text-decoration: none; cursor: pointer; border: 2px solid var(--red);
  background: var(--red); color: var(--white);
}
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); color: var(--white); }
.btn.blue { background: var(--blue); border-color: var(--blue); }
.btn.blue:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn.line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.line:hover { background: var(--ink); color: var(--white); }
.btn.small { padding: 10px 16px 8px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section.white { background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section.blue { background: var(--blue); color: var(--white); }
.section.blue h2, .section.blue h3 { color: var(--white); }
.section.blue p { color: #c9d6ea; }
.head { max-width: 760px; margin-bottom: 44px; }
.head p { color: var(--steel); font-size: 19px; margin: 14px 0 0; }
.section.blue .head p { color: #c9d6ea; }
@media (max-width: 760px) { .section { padding: 60px 0; } body { font-size: 17px; } .wrap { padding: 0 18px; } }

/* page hero for inner pages */
.page-hero { background: var(--white); border-bottom: 1px solid var(--rule); padding: 64px 0 56px; }
.page-hero h1 { font-size: clamp(38px, 5vw, 60px); max-width: 16em; }
.page-hero .lede { margin-top: 18px; }

/* ---------- home hero ---------- */
.hero { background: var(--white); border-bottom: 1px solid var(--rule); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero h1 { max-width: 9.5em; }
.hero .lede { margin: 24px 0 34px; }
.hero-note { margin: 18px 0 0; font-size: 15.5px; color: var(--steel); }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 44px; padding-top: 52px; padding-bottom: 60px; } }

/* notice stack: the signature element */
.notices { position: relative; min-height: 540px; }
.notice {
  position: absolute; width: min(100%, 440px); background: var(--white);
  border: 1px solid var(--rule-strong); border-radius: 3px;
  box-shadow: 0 1px 0 var(--rule), 0 16px 36px -18px rgba(10, 49, 97, 0.45);
  font-size: 15px;
}
.notice:nth-child(1) { top: 0; right: 0; transform: rotate(2.2deg); }
.notice:nth-child(2) { top: 150px; left: 0; transform: rotate(-1.6deg); }
.notice:nth-child(3) { top: 312px; right: 18px; transform: rotate(0.8deg); z-index: 2; }
.notice-top { display: flex; align-items: stretch; border-bottom: 2px solid var(--blue); }
.canton { width: 54px; flex: none; background: var(--blue); display: grid; place-items: center; }
.canton svg { width: 34px; height: 22px; }
.notice-kind { padding: 9px 14px 7px; font-weight: 800; font-size: 13.5px; color: var(--blue); letter-spacing: 0.01em; align-self: center; }
.notice-body { padding: 14px 16px 16px; }
.notice-title { font-weight: 800; font-size: 18px; line-height: 1.25; margin: 0 0 10px; color: var(--ink); }
.notice dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 14px; margin: 0; font-size: 14px; }
.notice dt { color: var(--steel); }
.notice dd { margin: 0; font-family: "Overpass Mono", monospace; font-size: 13px; color: var(--ink); padding-top: 1px; }
.stamp {
  position: absolute; right: 14px; bottom: 14px; transform: rotate(-7deg);
  border: 2.5px solid var(--red); color: var(--red); border-radius: 3px;
  font-weight: 900; font-size: 13px; line-height: 1.15; padding: 6px 9px 4px; text-align: center; background: rgba(255,255,255,0.86);
}
.stamp b { display: block; font-size: 22px; }
.notice:nth-child(3) .stamp { animation: stamp 0.5s 0.6s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes stamp { from { opacity: 0; transform: rotate(-7deg) scale(1.9); } to { opacity: 1; transform: rotate(-7deg) scale(1); } }
@media (max-width: 980px) { .notices { min-height: 0; display: grid; gap: 14px; } .notice { position: relative; inset: auto !important; transform: none !important; width: 100%; } .notice:nth-child(1) { display: none; } }

/* coverage strip */
.coverage-strip { background: var(--blue); color: var(--white); }
.coverage-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.cov { padding: 26px 22px 22px; border-left: 1px solid rgba(255,255,255,0.18); }
.cov:first-child { border-left: none; padding-left: 0; }
.cov strong { display: block; font-size: 40px; font-weight: 900; line-height: 1; }
.cov span { color: #c9d6ea; font-size: 15.5px; }
@media (max-width: 760px) { .coverage-strip .wrap { grid-template-columns: 1fr 1fr; } .cov:nth-child(3) { border-left: none; padding-left: 0; } .cov { border-top: 1px solid rgba(255,255,255,0.18); } .cov:nth-child(-n+2) { border-top: none; } }

/* steps (a real sequence) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; }
.step { padding: 0 32px 0 0; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--rule); }
.step-num { font-weight: 900; font-size: 64px; line-height: 0.9; color: var(--red); display: block; margin-bottom: 18px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--steel); font-size: 17px; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 34px; } .step, .step + .step { padding: 0; border: none; } }

/* trades */
.trades { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 3px solid var(--ink); }
.trade { padding: 20px 22px 18px 0; border-bottom: 1px solid var(--rule); }
.trade h4 { margin-bottom: 4px; }
.trade p { margin: 0; font-size: 16px; color: var(--steel); }
@media (max-width: 860px) { .trades { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .trades { grid-template-columns: 1fr; } }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--white); border: 1px solid var(--rule-strong); border-radius: var(--radius); padding: 30px 28px 28px; display: flex; flex-direction: column; }
.plan h3 { font-size: 26px; }
.plan .for { color: var(--steel); font-size: 16px; margin: 6px 0 18px; min-height: 3.2em; }
.price { font-weight: 900; font-size: 52px; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.price small { font-size: 18px; font-weight: 700; color: var(--steel); letter-spacing: 0; }
.plan ul { list-style: none; margin: 22px 0 26px; padding: 0; flex: 1; }
.plan li { padding: 9px 0 7px 28px; border-top: 1px solid var(--rule); font-size: 16.5px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 3px; top: 15px; width: 13px; height: 8px; border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg); }
.plan .btn { width: 100%; }
.plan.featured { border: 3px solid var(--blue); position: relative; box-shadow: 0 22px 44px -26px rgba(10,49,97,0.55); }
.plan.featured .flag { position: absolute; top: -15px; left: 26px; background: var(--red); color: var(--white); font-weight: 800; font-size: 14px; padding: 5px 12px 3px; border-radius: 3px; }
.plan.featured h3 { color: var(--blue); }
.plans-note { margin: 24px 0 0; color: var(--steel); font-size: 16px; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 560px; } .plan .for { min-height: 0; } }

/* comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--white); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 16px; }
.compare th, .compare td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
.compare thead th { background: var(--blue); color: var(--white); font-weight: 800; }
.compare thead th.pro { background: var(--red); }
.compare tbody th { font-weight: 700; color: var(--ink); width: 34%; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: none; }
.yes { color: var(--blue); font-weight: 800; }
.no { color: var(--rule-strong); }

/* terms */
.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.term h3 { margin-bottom: 10px; font-size: 22px; }
.term p { margin: 0; font-size: 17px; }
.term .bar { width: 44px; height: 6px; background: var(--red); margin-bottom: 18px; }
@media (max-width: 860px) { .terms { grid-template-columns: 1fr; gap: 30px; } }

/* two-column prose */
.split { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: start; }
.split .head { margin-bottom: 0; }
.prose p { font-size: 18px; max-width: 40em; }
.prose h3 { margin: 28px 0 10px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 26px; } }

/* sample brief */
.brief { background: var(--white); border: 1px solid var(--rule-strong); border-radius: var(--radius); max-width: 760px; }
.brief-head { background: var(--blue); color: var(--white); padding: 18px 24px 14px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brief-head strong { font-size: 20px; font-weight: 900; }
.brief-head span { color: #c9d6ea; font-size: 15px; }
.brief-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; padding: 18px 24px; border-bottom: 1px solid var(--rule); }
.brief-row:last-child { border-bottom: none; }
.brief-row h4 { margin: 0 0 4px; }
.brief-row p { margin: 0; font-size: 15.5px; color: var(--steel); }
.verdict { font-weight: 900; font-size: 15px; padding: 5px 10px 3px; border-radius: 3px; align-self: start; white-space: nowrap; }
.verdict.go { background: var(--blue); color: var(--white); }
.verdict.maybe { background: var(--blue-soft); color: var(--blue); }
.verdict.pass { border: 2px solid var(--red); color: var(--red); }
.brief-row .meta { grid-column: 1 / -1; font-family: "Overpass Mono", monospace; font-size: 13px; color: var(--steel); }

/* coverage page */
.states { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0; border-top: 3px solid var(--ink); }
.states li { list-style: none; padding: 10px 0 8px; border-bottom: 1px solid var(--rule); font-weight: 700; font-size: 16.5px; display: flex; gap: 10px; align-items: baseline; }
.states li span { font-family: "Overpass Mono", monospace; font-size: 13px; color: var(--red); width: 26px; flex: none; }
ul.states { margin: 0; padding: 0; }
.group-title { margin: 44px 0 14px; }
.sources { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.source { background: var(--white); border: 1px solid var(--rule-strong); border-left: 6px solid var(--blue); border-radius: var(--radius); padding: 22px 24px; }
.source:nth-child(2n) { border-left-color: var(--red); }
.source h3 { font-size: 20px; margin-bottom: 6px; }
.source p { margin: 0; color: var(--steel); font-size: 16.5px; }
@media (max-width: 760px) { .sources { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; border-top: 3px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-weight: 800; font-size: 19px; padding: 18px 40px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 28px; font-weight: 400; color: var(--red); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0 0 20px; color: var(--steel); max-width: 44em; }

/* about */
.founder { display: grid; grid-template-columns: 120px 1fr; gap: 32px; background: var(--white); border: 1px solid var(--rule-strong); border-radius: var(--radius); padding: 32px; max-width: 860px; }
.founder .mark { width: 120px; height: 120px; }
.founder h3 { font-size: 26px; }
.founder .role { color: var(--red); font-weight: 800; margin: 4px 0 14px; }
.founder p { color: var(--steel); }
@media (max-width: 620px) { .founder { grid-template-columns: 1fr; padding: 24px; } .founder .mark { width: 76px; height: 76px; } }

/* contact / request builder */
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 18px; }
.field label { display: block; font-weight: 800; font-size: 15.5px; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--steel); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: var(--white);
  border: 2px solid var(--rule-strong); border-radius: var(--radius); padding: 12px 14px 10px;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.field textarea { min-height: 96px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.sendbox { background: var(--white); border: 1px solid var(--rule-strong); border-top: 6px solid var(--blue); border-radius: var(--radius); padding: 26px; position: sticky; top: 96px; }
.sendbox h3 { font-size: 21px; margin-bottom: 6px; }
.sendbox .hint { color: var(--steel); font-size: 15.5px; }
#preview { width: 100%; min-height: 240px; font-family: "Overpass Mono", monospace; font-size: 14px; line-height: 1.55; background: var(--paper); border: 1px solid var(--rule-strong); border-radius: var(--radius); padding: 14px; color: var(--ink); resize: vertical; }
.sendbox .btn-row { margin-top: 14px; }
.addr { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 15.5px; color: var(--steel); }
.addr a { font-weight: 800; font-size: 18px; }
.copy { font: inherit; font-size: 14px; font-weight: 800; background: none; border: 2px solid var(--rule-strong); border-radius: var(--radius); padding: 4px 10px 2px; cursor: pointer; margin-left: 8px; color: var(--ink); }
.copy:hover { border-color: var(--ink); }

/* closing CTA */
.closer { background: var(--blue); color: var(--white); }
.closer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-top: 64px; padding-bottom: 64px; }
.closer h2 { color: var(--white); max-width: 15em; }
.closer p { color: #c9d6ea; margin: 10px 0 0; }

/* a blue band followed by the blue closer gets a dividing rule */
.section.blue + .closer .wrap { border-top: 1px solid rgba(255,255,255,0.2); }

/* footer */
.site-footer { background: var(--blue-deep); color: #b9c7dc; font-size: 15.5px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding-top: 48px; padding-bottom: 40px; }
.site-footer h4 { color: var(--white); margin-bottom: 10px; font-size: 16px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.fine { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.14); padding-top: 18px; font-size: 14px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: var(--white); font-weight: 900; font-size: 21px; }
.footer-brand svg { width: 36px; height: 36px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; gap: 24px; } }
