/* Bidora home page. Fonts are self-hosted: no third-party requests. */
@font-face { font-family: "Archivo"; src: url("/fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/mono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
:root {
  --paper: #f5f5f1;
  --white: #ffffff;
  --ink: #18221f;
  --muted: #747b76;
  --line: #dfe2db;
  --green: #2f8460;
  --green-dark: #276f50;
  --green-light: #e5eee8;
  --lime: #d7ed78;
  --red: #b94b3d;
  --red-light: #f8eae6;
  --amber: #a77524;
  --amber-light: #f4eedf;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --sans: "Inter", system-ui, sans-serif;
  --display: "Archivo", "Inter", system-ui, sans-serif;
  --max: 1240px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.container {
  width: min(var(--max), calc(100% - 80px));
  margin: 0 auto;
}

.mono {
  font-family: var(--mono);
  letter-spacing: -.035em;
}

.topbar {
  height: 68px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245,245,241,.96);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 29px;
  height: 29px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #59615b;
  font-size: 13px;
  font-weight: 550;
}

.nav-links a:hover { color: var(--green); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 19px;
}

.early-access {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .04em;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 8px;
}

.early-access::before {
  content: '';
  width: 7px;
  height: 7px;
  background: #5c9a6f;
  border-radius: 50%;
}

.nav-cta {
  background: var(--green);
  color: white;
  padding: 11px 17px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 3px;
  transition: .2s;
}

.nav-cta:hover { background: var(--green-dark); }

.mobile-menu {
  display: none;
  background: none;
  border: 0;
  font-size: 23px;
}

/* BOARD */

.hero {
  padding: 48px 0 65px;
}

.hero-top {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 20px;
  margin-bottom: 29px;
}

.hero-heading {
  max-width: 740px;
}

.hero-heading h1 {
  font-family: var(--display);
  font-size: clamp(36px, 4.3vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 750;
  margin: 0 0 14px;
}

.hero-heading h1 span { color: var(--green); }

.hero-heading p {
  font-size: 15px;
  line-height: 1.7;
  color: #666f69;
  max-width: 570px;
  margin: 0;
}

.hero-meta {
  text-align: right;
  padding-bottom: 5px;
}

.hero-meta .meta-number {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--green);
  margin-bottom: 5px;
}

.hero-meta .meta-caption {
  font-size: 11px;
  color: var(--muted);
}

.board {
  border: 1px solid #d6dbd2;
  background: var(--white);
  box-shadow: 0 8px 32px rgba(24,34,31,.045);
}

.board-header {
  background: #246b50;
  color: white;
  padding: 19px 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.board-title {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.3px;
}

.board-subtitle {
  font-family: var(--mono);
  font-size: 10px;
  color: #d6e6dc;
  margin-top: 5px;
}

.live-indicator {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .05em;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d6e6dc;
  white-space: nowrap;
}

.live-indicator i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
}

.filters {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 16px;
  align-items: end;
  padding: 21px 23px;
  border-bottom: 1px solid var(--line);
}

.filter-field label {
  display: block;
  color: #777e77;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .045em;
  margin-bottom: 9px;
  text-transform: uppercase;
}

.filter-field select,
.filter-field input {
  width: 100%;
  height: 43px;
  padding: 0 13px;
  background: #fafbf9;
  border: 1px solid #d9ded7;
  border-radius: 2px;
  color: var(--ink);
  font-size: 13px;
  outline: none;
}

.filter-field select:focus,
.filter-field input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(36,107,80,.08);
}

.filter-field input::placeholder { color: #a5aaa4; }

.filter-button {
  height: 43px;
  padding: 0 24px;
  background: var(--green);
  border: 1px solid var(--green);
  color: white;
  font-size: 12px;
  font-weight: 650;
  border-radius: 2px;
  white-space: nowrap;
  transition: .2s;
}

.filter-button:hover { background: var(--green-dark); }

.filter-help {
  grid-column: 1 / -1;
  color: #8a908a;
  font-size: 11px;
  margin-top: -5px;
}

.table-wrap { width: 100%; }

.contract-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.contract-table th {
  text-align: left;
  padding: 13px 15px;
  background: #fafbf9;
  border-bottom: 1px solid var(--line);
  color: #7b827c;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 9px;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.contract-table td {
  padding: 15px;
  border-bottom: 1px solid #eceee9;
  vertical-align: middle;
}

.contract-table tr:last-child td { border-bottom: 0; }

.contract-table tbody tr { transition: background .15s; }
.contract-table tbody tr:hover { background: #f9fbf8; }

.col-days { width: 95px; }
.col-contract { width: 29%; }
.col-agency { width: 22%; }
.col-holder { width: 23%; }
.col-value { width: 105px; }
.col-status { width: 105px; }

.days {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

.days small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  color: #8b928c;
  margin-top: 3px;
}

.contract-name {
  font-size: 12px;
  line-height: 1.5;
  font-weight: 650;
}

.record-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 10px;
  color: var(--green);
}

.record-link:hover { text-decoration: underline; }

.agency, .holder {
  color: #606962;
  font-size: 11px;
  line-height: 1.55;
}

.value {
  font-family: var(--mono);
  font-size: 12px;
  white-space: nowrap;
  font-weight: 500;
}

.status {
  display: inline-block;
  padding: 6px 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .02em;
  white-space: nowrap;
  border-radius: 2px;
}

.status.soon { background: var(--red-light); color: var(--red); }
.status.plan { background: var(--amber-light); color: var(--amber); }
.status.watch { background: #edf0ed; color: #66766b; }

.board-footer {
  padding: 18px 23px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: #fafbf9;
}

.board-count {
  font-size: 12px;
  color: #626b64;
}

.board-count strong {
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 500;
}

.board-source {
  color: #929991;
  font-size: 10px;
  text-align: right;
}

.board-source a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 17px;
  padding: 15px 23px;
  border-top: 1px solid #eceee9;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #777e77;
}

.legend-item .status { padding: 4px 6px; }

.board-note {
  font-size: 10px;
  color: #898f89;
  margin-left: auto;
}

.empty-state {
  padding: 35px;
  text-align: center;
  color: var(--muted);
}

.mobile-card { display: none; }

/* SECTION SYSTEM */

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

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 45px;
  align-items: end;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 750;
}

.section-description {
  color: #69716b;
  font-size: 14px;
  line-height: 1.8;
  max-width: 470px;
  margin: 0;
}

.section-kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* EXPLANATION */

.timeline {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid #cfd5cc;
}

.timeline-item {
  padding: 24px 25px 0 0;
  min-height: 172px;
  position: relative;
  border-right: 1px solid #e0e3dc;
}

.timeline-item:not(:first-child) { padding-left: 25px; }
.timeline-item:last-child { border-right: 0; }

.timeline-date {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--green);
  margin-bottom: 19px;
}

.timeline-item h3 {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: -.5px;
  margin: 0 0 9px;
}

.timeline-item p {
  font-size: 12px;
  line-height: 1.7;
  color: #747c75;
  margin: 0;
  max-width: 290px;
}

.disclaimer {
  padding: 14px 17px;
  margin-top: 24px;
  border-left: 2px solid #a6b9a7;
  background: #edf0e9;
  color: #667068;
  font-size: 11px;
  line-height: 1.65;
}

/* EMAIL */

.email-section {
  background: #e9ede6;
}

.email-layout {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 65px;
  align-items: center;
}

.email-copy .section-title { margin-bottom: 17px; }

.email-copy p {
  color: #6d766e;
  font-size: 13px;
  line-height: 1.8;
  max-width: 360px;
}

.email-copy .mono-line {
  margin-top: 27px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--green);
}

.email-card {
  background: white;
  border: 1px solid #d9ded6;
  box-shadow: 0 14px 38px rgba(31,46,35,.06);
}

.email-card-top {
  padding: 19px 24px;
  border-bottom: 1px solid #e8ebe5;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.email-logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.email-date {
  font-family: var(--mono);
  color: #858d85;
  font-size: 10px;
}

.email-body { padding: 24px; }

.email-greeting {
  font-size: 12px;
  color: #687169;
  line-height: 1.7;
  margin-bottom: 21px;
}

.email-bid {
  border: 1px solid #e1e5de;
  margin-bottom: 13px;
}

.email-bid-head {
  padding: 14px 16px;
  background: #fafbf9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.email-bid-title {
  font-size: 13px;
  font-weight: 700;
}

.fit-score {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--green);
  font-weight: 500;
  white-space: nowrap;
}

.fit-score small {
  font-size: 9px;
  color: #8a918b;
}

.email-bid-content {
  padding: 13px 16px 15px;
}

.bid-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--mono);
  color: #828b83;
  font-size: 9px;
  margin-bottom: 11px;
}

.email-bid-content p {
  font-size: 11px;
  line-height: 1.6;
  color: #667067;
  margin: 0;
}

.flag {
  color: #a34438;
  background: #f8ece8;
  padding: 7px 9px;
  margin-top: 11px;
  font-size: 10px;
  display: inline-block;
}

.email-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #e8ebe5;
  padding: 15px 24px;
  font-family: var(--mono);
  font-size: 9px;
  color: #929990;
}

/* CALCULATOR */

.calculator {
  display: grid;
  grid-template-columns: 1fr .9fr;
  border: 1px solid #d8ddd5;
  background: white;
}

.calc-inputs {
  padding: 34px;
}

.calc-inputs h3 {
  font-family: var(--display);
  font-size: 19px;
  margin: 0 0 25px;
  letter-spacing: -.5px;
}

.calc-field { margin-bottom: 23px; }

.calc-field label {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 12px;
}

.calc-field label span {
  font-family: var(--mono);
  color: var(--green);
}

.calc-field input[type=range] {
  width: 100%;
  accent-color: var(--green);
}

.calc-hints {
  display: flex;
  justify-content: space-between;
  color: #929991;
  font-family: var(--mono);
  font-size: 9px;
  margin-top: 7px;
}

.calc-result {
  background: #246b50;
  color: white;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-result-label {
  color: #b1c1b5;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .04em;
}

.calc-number {
  font-family: var(--display);
  font-size: clamp(35px, 5vw, 53px);
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 19px 0 7px;
}

.calc-result p {
  color: #b5c0b7;
  font-size: 11px;
  line-height: 1.7;
  margin: 0;
}

.calc-breakdown {
  border-top: 1px solid #435149;
  margin-top: 28px;
  padding-top: 18px;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #b5c0b7;
  font-size: 11px;
  margin-bottom: 12px;
}

.calc-row strong {
  color: white;
  font-family: var(--mono);
  font-weight: 400;
}

.calc-footnote {
  font-size: 10px;
  color: #929991;
  line-height: 1.65;
  margin-top: 15px;
}

/* TRUST */

.trust-section { background: #f0f1ec; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #d9ded6;
  border-bottom: 1px solid #d9ded6;
}

.trust-item {
  padding: 25px 21px 26px 0;
  border-right: 1px solid #d9ded6;
}

.trust-item:not(:first-child) { padding-left: 21px; }
.trust-item:last-child { border-right: 0; }

.trust-item h3 {
  font-family: var(--display);
  font-size: 15px;
  margin: 0 0 9px;
}

.trust-item p {
  color: #737c74;
  font-size: 11px;
  line-height: 1.7;
  margin: 0;
}

.source-links {
  margin-top: 27px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.source-links a {
  color: var(--green);
  font-family: var(--mono);
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* PRICING */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #d8ddd5;
  background: white;
}

.price-card {
  padding: 26px 22px;
  border-right: 1px solid #e4e7e1;
  display: flex;
  flex-direction: column;
  min-height: 330px;
}

.price-card:last-child { border-right: 0; }

.price-card.recommended {
  background: #edf2eb;
  box-shadow: inset 0 3px 0 var(--green);
}

.price-name {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 750;
}

.price-tag {
  margin-top: 19px;
  font-family: var(--display);
  font-size: 31px;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.price-tag span {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  color: #7a837b;
  letter-spacing: 0;
}

.price-billing {
  color: #858d85;
  font-size: 10px;
  margin-top: 4px;
}

.price-description {
  color: #747d75;
  font-size: 11px;
  line-height: 1.7;
  min-height: 47px;
  margin: 18px 0;
}

.price-features {
  list-style: none;
  padding: 15px 0 0;
  margin: 0;
  border-top: 1px solid #e6e9e3;
}

.price-features li {
  font-size: 11px;
  color: #59635b;
  padding: 7px 0;
  line-height: 1.45;
}

.price-features li::before {
  content: '✓';
  color: var(--green);
  margin-right: 8px;
}

.price-button {
  display: block;
  text-align: center;
  border: 1px solid #cfd6cf;
  padding: 11px;
  font-size: 11px;
  font-weight: 650;
  margin-top: auto;
  transition: .2s;
}

.price-button:hover {
  background: var(--green);
  border-color: var(--green);
  color: white;
}

.recommended .price-button {
  background: var(--green);
  color: white;
  border-color: var(--green);
}

.recommended .price-button:hover { background: var(--green-dark); }

.teams-note {
  margin-top: 19px;
  color: #788078;
  font-size: 11px;
  line-height: 1.7;
}

/* SIGNUP */

.signup-section {
  background: #246b50;
  color: white;
}

.signup-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 75px;
  align-items: start;
}

.signup-copy h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 38px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 18px;
}

.signup-copy h2 span { color: var(--lime); }

.signup-copy p {
  color: #b2bfb5;
  line-height: 1.8;
  font-size: 13px;
  max-width: 360px;
}

.signup-copy .signup-detail {
  border-top: 1px solid #46544b;
  margin-top: 32px;
  padding-top: 20px;
  font-family: var(--mono);
  color: #a7b9a9;
  font-size: 10px;
}

.signup-form {
  background: #f9faf7;
  color: var(--ink);
  padding: 30px;
}

.form-title {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -.5px;
  margin-bottom: 6px;
}

.form-subtitle {
  font-size: 11px;
  color: #7b837b;
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px 14px;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  display: block;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 9px;
  color: #717a72;
  margin-bottom: 8px;
}

.form-group input,
.form-group select {
  width: 100%;
  height: 41px;
  border: 1px solid #dce1d9;
  background: white;
  padding: 0 11px;
  font-size: 12px;
  color: var(--ink);
  border-radius: 2px;
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--green);
}

.form-group input::placeholder { color: #a5aca4; }

.checkline {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 20px 0;
  font-size: 11px;
  color: #59635b;
  line-height: 1.55;
}

.checkline input {
  accent-color: var(--green);
  margin-top: 2px;
  flex-shrink: 0;
}

.submit-button {
  width: 100%;
  border: 0;
  background: var(--green);
  color: white;
  padding: 14px;
  font-size: 12px;
  font-weight: 650;
  transition: .2s;
}

.submit-button:hover { background: var(--green-dark); }

.form-legal {
  text-align: center;
  font-size: 9px;
  color: #929a91;
  margin-top: 13px;
}

.form-message {
  display: none;
  padding: 12px;
  margin-top: 14px;
  background: #e5eee8;
  color: var(--green-dark);
  font-size: 11px;
  line-height: 1.6;
}

/* FAQ */

.faq-list {
  border-top: 1px solid #d8ddd5;
  max-width: 850px;
}

.faq-item { border-bottom: 1px solid #d8ddd5; }

.faq-question {
  width: 100%;
  border: 0;
  background: none;
  padding: 21px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
}

.faq-symbol {
  font-size: 20px;
  font-weight: 400;
  color: var(--green);
  transition: transform .2s;
}

.faq-answer {
  display: none;
  color: #707970;
  font-size: 12px;
  line-height: 1.8;
  max-width: 700px;
  padding: 0 30px 22px 0;
}

.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-symbol { transform: rotate(45deg); }

/* FOOTER */

.footer {
  border-top: 1px solid var(--line);
  padding: 35px 0;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.footer-note {
  color: #818981;
  font-size: 10px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 21px;
  color: #69716a;
  font-size: 11px;
}

.footer-links a:hover { color: var(--green); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid #e0e3dc;
  margin-top: 24px;
  padding-top: 18px;
  color: #939a92;
  font-size: 10px;
}

/* RESPONSIVE */

@media(max-width: 950px) {
  .container { width: calc(100% - 48px); }
  .nav-links { gap: 17px; }
  .hero-heading h1 { font-size: 43px; }
  .contract-table th, .contract-table td { padding: 12px 9px; }
  .contract-name { font-size: 11px; }
  .agency, .holder { font-size: 10px; }
  .col-days { width: 78px; }
  .col-value { width: 85px; }
  .col-status { width: 88px; }
  .pricing-grid { grid-template-columns: repeat(2,1fr); }
  .price-card:nth-child(2) { border-right: 0; }
  .price-card:nth-child(-n+2) { border-bottom: 1px solid #e4e7e1; }
  .email-layout, .signup-layout { gap: 35px; }
}

@media(max-width: 650px) {
  .container { width: calc(100% - 36px); }
  .topbar { height: 60px; }
  .brand { font-size: 22px; }
  .brand-mark { width: 26px; height: 26px; }
  .nav-links { display: none; }
  .nav-right { gap: 11px; }
  .early-access { font-size: 9px; }
  .nav-cta { padding: 10px 12px; font-size: 10px; }
  .mobile-menu { display: none; }

  .hero { padding: 35px 0 45px; }
  .hero-top { grid-template-columns: 1fr; gap: 15px; }
  .hero-heading h1 {
    font-size: 39px;
    letter-spacing: -0.02em;
    max-width: 440px;
  }
  .hero-heading p { font-size: 13px; }
  .hero-meta { text-align: left; }
  .board-header { padding: 16px; }
  .filters {
    grid-template-columns: 1fr;
    padding: 17px;
    gap: 13px;
  }
  .filter-button { width: 100%; }
  .filter-help { grid-column: auto; }

  .table-wrap { display: none; }
  .mobile-card {
    display: block;
    border-bottom: 1px solid #e8ebe5;
    padding: 17px;
  }
  .mobile-card:last-child { border-bottom: 0; }
  .mobile-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 9px;
  }
  .mobile-card .contract-name { font-size: 13px; }
  .mobile-card .days { font-size: 12px; }
  .mobile-card-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 13px;
  }
  .mobile-card-details b {
    display: block;
    color: #919990;
    font-family: var(--mono);
    font-size: 9px;
    text-transform: uppercase;
    margin-bottom: 4px;
  }
  .mobile-card-details span {
    display: block;
    color: #5e685f;
    font-size: 10px;
    line-height: 1.5;
  }
  .board-footer {
    padding: 15px;
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
  .board-source { text-align: left; }
  .legend { padding: 13px 15px; gap: 10px; }
  .board-note { width: 100%; margin: 3px 0 0; }

  .section { padding: 65px 0; }
  .section-head { grid-template-columns: 1fr; gap: 17px; margin-bottom: 31px; }
  .section-title { font-size: 34px; }
  .section-description { font-size: 12px; }

  .timeline { grid-template-columns: 1fr; }
  .timeline-item, .timeline-item:not(:first-child) {
    border-right: 0;
    border-bottom: 1px solid #dfe3dc;
    padding: 20px 0;
    min-height: auto;
  }
  .timeline-item:last-child { border-bottom: 0; }
  .timeline-date { margin-bottom: 10px; }

  .email-layout, .signup-layout { grid-template-columns: 1fr; gap: 30px; }
  .email-copy .section-title { font-size: 34px; }
  .email-card-top, .email-bottom { padding: 15px; }
  .email-body { padding: 15px; }
  .email-bid-head { padding: 12px; }
  .email-bid-content { padding: 12px; }
  .email-bid-title { font-size: 11px; }
  .fit-score { font-size: 12px; }

  .calculator { grid-template-columns: 1fr; }
  .calc-inputs, .calc-result { padding: 24px; }
  .calc-number { font-size: 44px; }

  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item, .trust-item:not(:first-child) {
    padding: 19px 13px 19px 0;
    border-right: 1px solid #d9ded6;
    border-bottom: 1px solid #d9ded6;
  }
  .trust-item:nth-child(even) { padding-left: 13px; border-right: 0; }
  .trust-item:nth-last-child(-n+2) { border-bottom: 0; }

  .pricing-grid { grid-template-columns: 1fr; }
  .price-card, .price-card:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid #e4e7e1;
    min-height: 0;
    padding: 24px;
  }
  .price-card:last-child { border-bottom: 0; }
  .price-description { min-height: 0; }
  .price-button { margin-top: 23px; }

  .signup-form { padding: 22px 17px; }
  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .form-group.full { grid-column: auto; }

  .footer-main { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
  .footer-links { flex-wrap: wrap; }
}

@media(max-width: 375px) {
  .container { width: calc(100% - 28px); }
  .hero-heading h1 { font-size: 35px; }
  .nav-cta { font-size: 9px; padding: 9px; }
  .brand { font-size: 20px; }
  .email-bid-head { align-items: flex-start; }
  .calc-number { font-size: 38px; }
}

/* ---- Live board, sign-up wiring ---- */
[hidden] { display: none !important; }
h1.board-title { margin: 0; }
.board.is-loading .table-wrap, .board.is-loading #mobileRows { opacity: .45; transition: opacity .2s; }
.filter-help.is-error { color: var(--red); }
.mobile-card-details .wide { grid-column: 1 / -1; }
.board-cta { display: flex; align-items: center; justify-content: space-between; gap: 14px 20px; flex-wrap: wrap; padding: 18px 23px; border-top: 1px solid var(--line); background: var(--green-light); }
.board-cta p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink); }
a.filter-button { display: inline-flex; align-items: center; color: #fff; text-decoration: none; }
.form-group .error { display: block; margin-top: 6px; font-size: 12px; color: var(--red); }
.form-group .error:empty { display: none; }
.form-group.has-error input, .form-group.has-error select { border-color: var(--red); }
.form-group .hint { text-transform: none; letter-spacing: 0; color: #a5aca4; }
.form-error { margin: 12px 0 0; padding: 10px 12px; background: var(--red-light); color: var(--red); font-size: 13px; }
.form-legal a { color: inherit; }
.size-note { font-size: 13px; color: var(--green); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }


/* ---- Simple pages: thanks, privacy, terms, 404. Same left edge as the header. ---- */
.page { width: min(var(--max), calc(100% - 80px)); margin: 0 auto; padding: 56px 0 88px; font-size: 15px; line-height: 1.7; }
.page > * { max-width: 720px; }
.page h1 { margin: 0 0 14px; font-family: var(--display); font-size: clamp(28px, 3.4vw, 38px); font-weight: 750; line-height: 1.12; letter-spacing: -0.02em; }
.page h2 { margin: 36px 0 8px; font-family: var(--display); font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.page h3 { margin: 24px 0 6px; font-family: var(--display); font-size: 17px; font-weight: 700; line-height: 1.3; }
.page p, .page ul { margin: 0 0 14px; }
.page ul { padding-left: 20px; }
.page a { color: var(--green); }
.page .lead { font-size: 16px; color: #4d5752; }
.page .muted, .muted { color: var(--muted); }
.draft-banner { margin-bottom: 28px; padding: 12px 16px; background: var(--amber-light); border: 1px solid #e6d9b8; color: #6b4d17; font-size: 14px; }
.page .card { padding: 26px; background: var(--white); border: 1px solid #d6dbd2; box-shadow: 0 8px 32px rgba(24,34,31,.045); }
.page .card h2 { margin-top: 0; }
.answers { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 20px; }
.answers input { position: absolute; opacity: 0; pointer-events: none; }
.answers label { min-width: 88px; padding: 10px 18px; text-align: center; background: #fafbf9; border: 1px solid #d9ded7; border-radius: 2px; font-weight: 600; cursor: pointer; }
.answers input:checked + label { background: var(--green); border-color: var(--green); color: #fff; }
.answers input:focus-visible + label { outline: 2px solid var(--green); outline-offset: 2px; }
.page .field label { display: block; margin-bottom: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .045em; text-transform: uppercase; color: #777e77; }
.page .field .hint { text-transform: none; letter-spacing: 0; color: #a5aca4; }
.page textarea { width: 100%; min-height: 96px; padding: 10px 13px; background: #fafbf9; border: 1px solid #d9ded7; border-radius: 2px; color: var(--ink); font: inherit; font-size: 14px; resize: vertical; }
.page textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 2px rgba(36,107,80,.08); }
.form-foot { margin-top: 16px; }
.btn-primary { display: inline-flex; align-items: center; height: 43px; padding: 0 24px; background: var(--green); border: 1px solid var(--green); border-radius: 2px; color: #fff !important; font: inherit; font-size: 13px; font-weight: 650; text-decoration: none; cursor: pointer; }
.btn-primary:hover { background: var(--green-dark); }
.btn-primary:disabled { opacity: .6; cursor: default; }
.done { display: none; }
.is-done .ask { display: none; }
.is-done .done { display: block; }
.skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
fieldset { min-width: 0; }
@media (max-width: 650px) { .page { width: calc(100% - 36px); padding: 36px 0 64px; } .page .card { padding: 20px; } }


/* ---- Top of the home page: centered text, then the form and a sample digest side by side ---- */
.intro { padding: 76px 0 88px; }
.intro-text { max-width: 900px; margin: 0 auto; text-align: center; }
.intro-text h1 { margin: 0 0 22px; font-family: var(--display); font-size: clamp(36px, 5.2vw, 64px); font-weight: 750; line-height: 1.04; letter-spacing: -0.025em; }
.intro-text p { max-width: 700px; margin: 0 auto; font-size: 17px; line-height: 1.65; color: #4d5752; }
.intro-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 60px; align-items: stretch; }
.intro-boxes .signup-form { margin: 0; background: var(--white); border: 1px solid #d6dbd2; box-shadow: 0 8px 32px rgba(24,34,31,.045); }
.intro-boxes .form-title { margin: 0; }
.digest { display: flex; flex-direction: column; padding: 30px; background: var(--white); border: 1px solid #d6dbd2; box-shadow: 0 8px 32px rgba(24,34,31,.045); }
.digest-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.digest-head span:first-child { display: block; margin-bottom: 4px; font-size: 12.5px; color: var(--muted); }
.digest-head strong { font-family: var(--display); font-size: 18px; font-weight: 700; }
.digest-tag { padding: 4px 8px; background: var(--paper); border: 1px solid var(--line); font-family: var(--mono); font-size: 10px; color: var(--muted); white-space: nowrap; }
.d-bid { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.d-fit { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 52px; height: 52px; background: #246b50; color: #fff; border-radius: 3px; }
.d-fit strong { font-family: var(--display); font-size: 19px; line-height: 1; }
.d-fit span { margin-top: 3px; font-family: var(--mono); font-size: 9px; color: #d6e6dc; }
.d-title { display: block; font-size: 14.5px; font-weight: 650; }
.d-meta { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.d-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 8px; }
.d-chip { padding: 3px 9px; border-radius: 2px; font-size: 11.5px; font-weight: 600; }
.d-set { background: var(--green-light); color: var(--green-dark); }
.d-flag { background: var(--red-light); color: var(--red); }
.d-why { display: block; font-size: 13px; line-height: 1.5; color: #4d5752; }
.digest-note { margin: auto 0 0; padding-top: 20px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.board-title { margin: 0; }

/* ---- Footer ---- */
.footer { padding: 60px 0 28px; background: var(--white); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 32px; }
.footer-about p { max-width: 360px; margin: 12px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.footer-about p a { color: var(--green); }
.footer-col h3 { margin: 4px 0 16px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.footer-col a { display: block; margin-bottom: 11px; font-size: 14px; color: var(--ink); text-decoration: none; }
.footer-col a:hover { color: var(--green); }
.footer .footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }

@media (max-width: 900px) {
  .intro-boxes { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 650px) {
  .intro { padding: 40px 0 52px; }
  .intro-text p { font-size: 15px; }
  .intro-boxes { margin-top: 32px; }
  .digest { padding: 20px 17px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- Tighter vertical spacing (2026-11-25) ---- */
.section { padding: 64px 0; }
.section-head { margin-bottom: 32px; }
.intro { padding: 56px 0 48px; }
.intro-boxes { margin-top: 40px; }
.hero { padding: 0 0 56px; }
@media (max-width: 650px) {
  .section { padding: 44px 0; }
  .intro { padding: 36px 0 36px; }
  .intro-boxes { margin-top: 28px; }
  .hero { padding: 0 0 40px; }
}


/* ---- Logo ---- */
.brand svg.logo { display: block; height: 26px; width: auto; }
.footer-brand svg.logo { display: block; height: 24px; width: auto; }
@media (max-width: 650px) { .brand svg.logo { height: 22px; } }


/* ---- One-step search at the top ---- */
.search { display: grid; grid-template-columns: 1.3fr 1fr auto; max-width: 860px; margin: 34px auto 0; background: var(--white); border: 1px solid #d6dbd2; box-shadow: 0 8px 32px rgba(24,34,31,.06); text-align: left; }
.search-field { display: block; padding: 12px 18px; border-right: 1px solid var(--line); cursor: text; }
.search-field span { display: block; margin-bottom: 4px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.search-field select, .search-field input { width: 100%; padding: 2px 0; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); outline: none; }
.search-field:focus-within { box-shadow: inset 0 -2px 0 var(--green); }
.search-button { padding: 0 28px; border: 0; background: var(--green); color: #fff; font: inherit; font-size: 15px; font-weight: 650; cursor: pointer; }
.search-button:hover { background: var(--green-dark); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.chips button { padding: 6px 13px; border: 1px solid #d6dbd2; border-radius: 999px; background: var(--white); color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; }
.chips button:hover, .chips button[aria-pressed="true"] { border-color: var(--green); color: var(--green); }
.search-msg { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.search-msg.is-error { color: var(--red); }
.intro-live { max-width: 760px; margin: 22px auto 0; font-size: 16px; line-height: 1.5; text-align: center; color: var(--ink); }
.intro-live strong { color: var(--green); }
.signup-block .intro-boxes { margin-top: 0; }
@media (max-width: 700px) {
  .search { grid-template-columns: 1fr; }
  .search-field { border-right: 0; border-bottom: 1px solid var(--line); }
  .search-button { padding: 15px; }
}

/* ---- One left edge for every section: heading, then its line of text, then full-width content ---- */
.section-head { grid-template-columns: 1fr; gap: 12px; align-items: start; margin-bottom: 32px; }
.section-description { max-width: 640px; font-size: 15px; line-height: 1.7; }
.faq-list { max-width: none; }
@media (max-width: 650px) { .section-head { margin-bottom: 26px; } .section-description { font-size: 14px; } }


/* ---- Search toggles and the line that explains the board ---- */
.search-toggles { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 14px; font-size: 14px; color: var(--ink); }
.search-toggles label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.search-toggles input { width: 16px; height: 16px; accent-color: var(--green); }
.search-toggles span { color: var(--muted); }
.search-field input:disabled { color: var(--muted); }
.board-explain { max-width: 760px; margin: 0 0 16px; font-size: 15px; line-height: 1.6; color: #4d5752; }


/* ---- "i" tips on the board's columns ---- */
.tip { position: relative; display: inline-flex; vertical-align: middle; margin-left: 6px; }
.tip-btn { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; padding: 0; border: 1px solid #b9c2bb; border-radius: 50%; background: var(--white); color: var(--muted); font: 600 10px/1 var(--sans); letter-spacing: 0; text-transform: none; cursor: help; }
.tip-btn:hover, .tip-btn:focus-visible { border-color: var(--green); color: var(--green); outline: none; }
.tip-text { position: absolute; top: calc(100% + 8px); left: -10px; z-index: 30; width: 250px; padding: 10px 12px; background: var(--ink); color: #fff; font: 400 12.5px/1.5 var(--sans); letter-spacing: 0; text-transform: none; white-space: normal; text-align: left; box-shadow: 0 8px 24px rgba(0,0,0,.15); opacity: 0; visibility: hidden; transition: opacity .15s; pointer-events: none; }
.tip:hover .tip-text, .tip:focus-within .tip-text { opacity: 1; visibility: visible; }
.tip.right .tip-text { left: auto; right: -10px; }
@media (max-width: 650px) { .tip-text { width: 220px; } }
.mobile-card-details b { display: flex; align-items: center; }
/* Phone cards: the i sits right after its label, and its tip keeps its own type. */
.mobile-card-details b { display: flex; align-items: center; gap: 0; }
.mobile-card-details .tip { display: inline-flex; margin-left: 5px; }
.mobile-card-details .tip-btn { width: 13px; height: 13px; font-size: 9px; }
.mobile-card-details .tip-text { display: block; color: #fff; font-size: 12.5px; line-height: 1.5; text-transform: none; font-family: var(--sans); }

/* Board headers: label and its i always stay on one line. */
.contract-table th { white-space: nowrap; }
/* Wide enough for each label plus its i (measured at 700 to 1440px). */
.col-days { width: 122px; }
.col-value { width: 122px; }
@media (max-width: 950px) {
  .col-days { width: 112px; }
  .col-value { width: 112px; }
}
/* Tablets: the table gets too tight below 820px, so use the cards there too. */
@media (max-width: 820px) {
  .table-wrap { display: none; }
  .mobile-card { display: block; border-bottom: 1px solid #e8ebe5; padding: 17px; }
  .mobile-card:last-child { border-bottom: 0; }
  .mobile-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 9px; }
  .mobile-card .contract-name { font-size: 13px; }
  .mobile-card .days { font-size: 12px; }
  .mobile-card-details { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 13px; }
  .mobile-card-details b { color: #919990; font-family: var(--mono); font-size: 9px; text-transform: uppercase; margin-bottom: 4px; }
  .mobile-card-details span:not(.tip):not(.tip-text) { display: block; color: #5e685f; font-size: 10px; line-height: 1.5; }
}

/* ---- Phone pass (2026-11-25): readable type, tappable targets, no zoom on inputs ---- */
.tip-btn { position: relative; }
.tip-btn::after { content: ""; position: absolute; inset: -10px; }
@media (max-width: 820px) {
  .board-footer { padding: 17px; }
  .mobile-card .contract-name { font-size: 15px; }
  .mobile-card .days { font-size: 13px; }
  .mobile-card .record-link { display: inline-block; padding: 8px 0; font-size: 13px; }
  .mobile-card-details b { font-size: 11px; letter-spacing: .04em; }
  .mobile-card-details span:not(.tip):not(.tip-text) { font-size: 13px; }
  .status { font-size: 11px; }
}
@media (max-width: 650px) {
  input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea { font-size: 16px; }
  .early-access { display: none; }
  .nav-cta { font-size: 13px; padding: 10px 14px; }
  .trust-grid { grid-template-columns: 1fr; }
  .section-title br { display: none; }
  .footer-col a { padding: 7px 0; margin-bottom: 2px; }
  .source-links a, .board-source a { display: inline-block; padding: 8px 0; }
  .search-toggles label { padding: 6px 0; }
  input[type=range] { height: 28px; }
}
@media (max-width: 650px) {
  .form-group input, .form-group select, .page textarea, .search-field select, .search-field input { font-size: 16px; }
  .mono-line { font-size: 11px; }
  .brand { padding: 9px 0; }
}
@media (max-width: 650px) { .email-copy .mono-line { font-size: 11px; } }
@media (max-width: 650px) { .search-toggles span { display: none; } }

/* ---- One type scale at every width: 11px floor on labels, 13-14px on reading text ---- */
.early-access, .board-subtitle, .live-indicator, .board-source, .board-note, .legend-item, .search-field span, .digest-tag,
.email-date, .email-bottom span, .mono-line, .email-copy .mono-line, .calc-hints span, .calc-result-label, .price-billing,
.timeline-date, .footer-col h3, .form-group label, .form-group .hint, .bid-meta span, .fit-score small, .d-fit span,
.contract-table th, .contract-table .status, .status, .days small { font-size: 11px; }
.contract-table .record-link { font-size: 12px; }
.form-subtitle, .form-legal, .checkline span, .calc-footnote, .calc-result p, .disclaimer, .teams-note, .flag, .email-bid-title, .board-count { font-size: 13px; }
.trust-item p, .email-bid-content p, .price-features li, .price-description, .timeline-item p, .email-greeting,
.calc-row span, .calc-row strong, .price-button, .faq-answer, .source-links a { font-size: 14px; }
.d-chip { font-size: 12px; }
/* One button size: 14px on page buttons, 13px in the header */
.filter-button, .submit-button, .price-button, .btn { font-size: 14px; }
.nav-cta { font-size: 13px; }
.contract-table .contract-name { font-size: 13px; }
.board-note { font-size: 12px; }
/* Even line breaks in big headings, so no word sits alone on the last line */
.intro h1, .section-title, .page h1 { text-wrap: balance; }
.contract-table .agency, .contract-table .holder { font-size: 11px; }
/* The Military bases chip is a link to /military, styled like the trade chips */
.chips a { padding: 6px 13px; border: 1px solid #d6dbd2; border-radius: 999px; background: var(--white); color: var(--ink); font-size: 13px; text-decoration: none; }
.chips a:hover, .chips a[aria-current="page"] { border-color: var(--green); color: var(--green); }
/* Pen logo (2026-11-25): mark plus BIDORA, 4.6:1 */
.brand svg.logo { height: 34px; }
.footer-brand svg.logo { height: 30px; }
.email-logo img { display: block; height: 18px; width: auto; }
@media (max-width: 650px) { .brand svg.logo { height: 28px; } }

/* ---- Bid page (2026-11-26): plain-English page for one solicitation ---- */
.bid-page > * { max-width: none; }
.bid-page > p, .bid-page > h1, .bid-page > ul, .bid-page > ol, .bid-page > dl, .bid-page > h2 { max-width: 760px; }
.bid-kicker { margin: 0 0 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .045em; text-transform: uppercase; color: var(--green); }
.bid-meta-line { color: #4d5752; font-size: 14px; }
.bid-closed { padding: 10px 14px; background: #f9eeda; border: 1px solid #ecd9b0; font-size: 14px; }
.small { font-size: 13px; }
.src { margin-left: 4px; font-family: var(--mono); font-size: 11px; color: var(--muted); overflow-wrap: anywhere; }
.bid-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0; }
.bid-col { padding: 22px; border: 1px solid #d6dbd2; background: var(--white); }
.bid-col h2 { margin: 0 0 12px; font-size: 16px; }
.bid-col.raw { background: #f6f6f2; }
.bid-col.raw .raw-text { font-family: var(--mono); font-size: 12px; line-height: 1.65; color: #5d655f; }
.bid-col.ours { border-color: var(--green); }
.bid-quick, .bid-facts { margin: 0; }
.bid-quick div, .bid-facts div { padding: 10px 0; border-top: 1px solid var(--line); }
.bid-quick dt, .bid-facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: .045em; text-transform: uppercase; color: #777e77; }
.bid-quick dd, .bid-facts dd { margin: 4px 0 0; font-size: 14px; }
.bid-fit { margin: 0 0 8px; }
.fit-head { display: flex; gap: 18px; align-items: center; margin-bottom: 14px; }
.fit-head h2 { margin: 0; font-size: 18px; }
.fit-head p { margin: 4px 0 0; }
.fit-num { flex: none; display: flex; align-items: baseline; gap: 2px; padding: 10px 14px; background: var(--green-light); color: var(--green); }
.fit-num strong { font-family: var(--display); font-size: 34px; line-height: 1; }
.fit-num span { font-size: 13px; }
.fit-reasons { list-style: none; padding: 0; margin: 0 0 12px; }
.fit-reasons li { display: flex; gap: 10px; padding: 6px 0; font-size: 14px; border-top: 1px solid var(--line); }
.fit-reasons b { flex: none; width: 34px; font-family: var(--mono); font-size: 13px; }
.fit-reasons .plus b { color: var(--green); }
.fit-reasons .minus b { color: #a4472f; }
.bid-flags { list-style: none; padding: 0 !important; }
.bid-flags li { margin: 0 0 10px; padding: 14px 16px; background: var(--white); border: 1px solid #d6dbd2; border-left: 3px solid #c9772f; }
.bid-flags strong { display: block; font-size: 14px; }
.bid-flags span:not(.src) { display: block; margin-top: 4px; font-size: 14px; color: #4d5752; }
.bid-list li { margin-bottom: 8px; font-size: 14px; }
.bid-cta { margin: 36px 0 20px; }
.bid-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-primary.btn-ghost { background: transparent; color: var(--green) !important; }
.btn-primary.btn-ghost:hover { background: var(--green-light); }
@media (max-width: 760px) { .bid-compare { grid-template-columns: 1fr; } .fit-head { align-items: flex-start; } }

/* ---- Bid brief page (2026-11-26) ---- */
.brief-page > * { max-width: 760px; }
.brief-parts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 30px; }
.brief-parts div { padding: 18px 20px; background: var(--white); border: 1px solid #d6dbd2; }
.brief-parts h2 { margin: 0 0 6px; font-size: 16px; }
.brief-parts p { margin: 0; font-size: 14px; color: #4d5752; }
.brief-order { margin-bottom: 36px; }
.brief-order h2 { margin-top: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.page .field { margin-bottom: 14px; }
.page .field input { width: 100%; height: 41px; padding: 0 11px; background: #fafbf9; border: 1px solid #d9ded7; border-radius: 2px; color: var(--ink); font: inherit; font-size: 14px; }
.page .field input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 2px rgba(36,107,80,.08); }
.page .field input::placeholder { color: #a5aca4; }
.form-msg { margin: 10px 0 0; font-size: 14px; color: var(--green); min-height: 1em; }
.brief-sample { font-size: 14px; }
.brief-sample h2 { margin-top: 0; font-size: 22px; }
.brief-sample h3 { margin: 28px 0 8px; font-family: var(--display); font-size: 18px; }
.brief-sample h4 { margin: 20px 0 6px; font-size: 15px; }
.brief-table { width: 100%; overflow-x: auto; margin: 0 0 16px; }
.brief-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.brief-table th, .brief-table td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.brief-table th { background: #f6f6f2; font-family: var(--mono); font-size: 11px; letter-spacing: .03em; text-transform: uppercase; color: #5d655f; }
@media (max-width: 650px) {
  .brief-parts, .form-row { grid-template-columns: 1fr; gap: 10px; }
  .page .field input { font-size: 16px; }
  .brief-table table { min-width: 560px; }
}
.email-copy .text-link { color: var(--green); font-weight: 600; }
.form-group .field-help { display: block; margin-top: 6px; font-size: 12px; line-height: 1.45; color: var(--muted); }

/* ---- Military base pages (2026-11-26) ---- */
.base-page > * { max-width: 900px; }
.base-page h2 .count { margin-left: 6px; padding: 2px 8px; background: var(--green-light); color: var(--green); font-family: var(--mono); font-size: 12px; vertical-align: middle; }
.base-page .bid-kicker a { color: var(--green); text-decoration: none; }
.base-table { width: 100%; margin: 6px 0 12px; overflow-x: auto; }
.base-table table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid #d6dbd2; font-size: 14px; }
.base-table th { padding: 10px 12px; background: #f6f6f2; border-bottom: 1px solid var(--line); text-align: left; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .045em; text-transform: uppercase; color: #5d655f; white-space: nowrap; }
.base-table td { padding: 11px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.base-table .num { text-align: right; white-space: nowrap; }
.base-table td a { color: var(--ink); font-weight: 600; text-decoration: none; }
.base-table td a:hover { color: var(--green); text-decoration: underline; }
.base-table .num a { color: var(--green); }
.base-table .sub { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.base-other { font-size: 14px; }
.base-other a { color: var(--green); }
@media (max-width: 650px) {
  .base-table:not(.hub) table, .base-table:not(.hub) tbody, .base-table:not(.hub) tr, .base-table:not(.hub) td { display: block; }
  .base-table:not(.hub) thead { display: none; }
  .base-table:not(.hub) table { border: 0; background: none; }
  .base-table:not(.hub) tr { margin-bottom: 10px; padding: 12px 14px; background: var(--white); border: 1px solid #d6dbd2; }
  .base-table:not(.hub) td { padding: 2px 0; border: 0; text-align: left; }
  .base-table:not(.hub) td.what { margin-bottom: 6px; }
  .base-table:not(.hub) td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-size: 12px; }
  .base-table.hub table { min-width: 560px; }
}
.base-table:not(.hub) table { table-layout: fixed; }
.base-table:not(.hub) th:nth-child(1) { width: 44%; }
.base-table:not(.hub) th:nth-child(2) { width: 30%; }
.base-table:not(.hub) th:nth-child(3) { width: 14%; }
.base-table:not(.hub) th:nth-child(4) { width: 12%; }
.base-table td:last-child { white-space: nowrap; }
@media (max-width: 650px) { .base-table:not(.hub) table { table-layout: auto; } }

/* ---- State and local bids feed (2026-11-26) ---- */
.feed-page .base-table:not(.hub) th:nth-child(1) { width: 56%; }
.feed-page .base-table:not(.hub) th:nth-child(2) { width: 32%; }
.feed-page .base-table:not(.hub) th:nth-child(3) { width: 12%; }
.feed-tools { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; margin: 18px 0 6px; }
.feed-search { flex: 1 1 320px; }
.feed-search span { display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .045em; text-transform: uppercase; color: #777e77; }
.feed-search input { width: 100%; height: 41px; padding: 0 11px; background: var(--white); border: 1px solid #d9ded7; border-radius: 2px; color: var(--ink); font: inherit; font-size: 14px; }
.feed-search input:focus { outline: none; border-color: var(--green); }
.feed-levels { display: inline-flex; border: 1px solid #d6dbd2; background: var(--white); }
.feed-levels button { height: 39px; padding: 0 16px; border: 0; background: none; color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; }
.feed-levels button + button { border-left: 1px solid #d6dbd2; }
.feed-levels button.on { background: var(--green); color: var(--white); }
.feed-cat[hidden], .feed-cat tr[hidden] { display: none !important; }
@media (max-width: 650px) { .feed-search input { font-size: 16px; } .feed-levels { width: 100%; } .feed-levels button { flex: 1; } }
.feed-page .base-table.hubs th:nth-child(1) { width: 52%; }
.feed-page .base-table.hubs th:nth-child(2), .feed-page .base-table.hubs th:nth-child(3), .feed-page .base-table.hubs th:nth-child(4) { width: 16%; }

/* Mobile bottom bar: quick jumps to the main sections */
.mnav { display: none; }
@media (max-width: 650px) {
  .mnav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--white); border-top: 1px solid var(--line); padding: 4px 2px calc(4px + env(safe-area-inset-bottom)); }
  .mnav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 50px; color: var(--muted); font-family: var(--sans); font-size: 10.5px; font-weight: 600; line-height: 1.1; text-decoration: none; white-space: nowrap; }
  .mnav svg { width: 22px; height: 22px; }
  .mnav a.on, .mnav a:active { color: var(--green); }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  body:has(input:focus, textarea:focus, select:focus) .mnav { display: none; }
}

/* Desk card: monthly/yearly switch and the no-card trial link */
.bill-toggle { display: inline-flex; margin-top: 8px; border: 1px solid #cfd6cf; border-radius: 999px; padding: 2px; gap: 2px; }
.bill-toggle button { border: 0; background: none; border-radius: 999px; padding: 5px 10px; font: 600 10.5px var(--sans); color: var(--muted); cursor: pointer; }
.bill-toggle button.on { background: var(--green-light); color: var(--green-dark); }
.trial-alt { display: block; text-align: center; margin-top: 9px; font-size: 11px; font-weight: 600; color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.trial-alt:hover { color: var(--green-dark); }
/* Keep every pricing button on one line: cards without the no-card link get the same space below the button */
.trial-alt { line-height: 16px; }
@media (min-width: 651px) { .price-card > .price-button:last-child { margin-bottom: 25px; } }

/* Phones: trust boxes stack in one column, so no left indent on every other box */
@media (max-width: 650px) {
  .trust-grid .trust-item { padding: 19px 0; border-right: 0; border-bottom: 1px solid #d9ded6; }
  .trust-grid .trust-item:last-child { border-bottom: 0; }
}

/* AUTO-RENEWAL TERMS AND CONSENT (pricing cards) */
.trial-form { margin-top: auto; padding-top: 16px; display: flex; flex-direction: column; }
.trial-form .price-button { width: 100%; margin-top: 12px; background: transparent; color: var(--ink); font-family: var(--sans); cursor: pointer; }
.trial-form .price-button:hover { background: var(--green); color: white; }
.recommended .trial-form .price-button { background: var(--green); color: white; }
.recommended .trial-form .price-button:hover { background: var(--green-dark); }
.trial-form .trial-alt { width: 100%; border: 0; background: none; padding: 0; font-family: var(--sans); cursor: pointer; }
.renewal-terms { border-top: 1px solid #dde2da; padding-top: 12px; font-size: 12.5px; line-height: 1.5; color: #3f4943; }
.renewal-terms p { margin: 0 0 6px; font-weight: 700; color: var(--ink); }
.renewal-terms ul { margin: 0; padding-left: 16px; }
.renewal-terms li { margin-bottom: 5px; }
.renewal-terms [hidden], .renewal-agree [hidden], .price-card .price-billing[hidden] { display: none; }
.renewal-agree { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px; font-size: 12.5px; line-height: 1.5; color: var(--ink); font-weight: 600; cursor: pointer; }
.renewal-agree input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--green); }
.trial-legal { margin: 8px 0 0; font-size: 11.5px; line-height: 1.5; color: #5f6861; text-align: center; }
.trial-legal a { text-decoration: underline; }
.price-card .price-billing { font-size: 12.5px; color: #5f6861; }
@media (min-width: 651px) { .price-card > .price-button:last-child { margin-bottom: 68px; } }

/* COOKIE BANNER: site colours */
#cc-main { --cc-font-family: var(--sans); --cc-btn-primary-bg: #2f8460; --cc-btn-primary-border-color: #2f8460; --cc-btn-primary-hover-bg: #276f50; --cc-btn-primary-hover-border-color: #276f50; --cc-toggle-on-bg: #2f8460; --cc-z-index: 2147483000; }
#cc-main a { text-decoration: underline; }

/* Policy tables */
.page .table-wrap { overflow-x: auto; margin: 0 0 14px; }
.page .table-wrap table { width: 100%; min-width: 520px; border-collapse: collapse; background: var(--white); font-size: 13px; line-height: 1.5; }
.page .table-wrap th, .page .table-wrap td { border: 1px solid #d6dbd2; padding: 8px 10px; text-align: left; vertical-align: top; }
.page .table-wrap th { background: #edf2eb; }
.page h2[id], .page h3[id] { scroll-margin-top: 90px; }

/* Phones: comfortable tap targets on the pricing switch and the no-card link; bases hub as cards */
@media (max-width: 650px) {
  .bill-toggle button { padding: 9px 14px; font-size: 12px; }
  .trial-alt, .trial-form .trial-alt { padding: 10px 0; margin-top: 2px; font-size: 12px; }
  .base-table.hub table, .base-table.hub tbody { display: block; min-width: 0; border: 0; background: none; }
  .base-table.hub thead { display: none; }
  .base-table.hub tr { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; margin-bottom: 10px; padding: 12px 14px; background: var(--white); border: 1px solid #d6dbd2; }
  .base-table.hub td { padding: 0; border: 0; text-align: left; }
  .base-table.hub td:first-child { grid-column: 1 / -1; margin-bottom: 4px; }
  .base-table.hub td.num { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 14px; }
  .base-table.hub td.num::before { content: attr(data-label); color: var(--muted); font-size: 12px; }
  .base-table.hub td.num a { padding: 2px 6px; }
}

/* Phones: sample-brief tables as cards (no sideways scrolling); bigger answer circles on the thanks page */
@media (max-width: 650px) {
  .brief-table { overflow-x: visible; }
  .brief-table table, .brief-table tbody, .brief-table tr, .brief-table td { display: block; width: auto; min-width: 0; }
  .brief-table table { border: 0; background: none; }
  .brief-table thead { display: none; }
  .brief-table tr { margin-bottom: 8px; padding: 10px 12px; background: var(--white); border: 1px solid #d6dbd2; }
  .brief-table td { padding: 2px 0; border: 0; }
  .brief-table table:has(th:nth-child(5)) td:nth-child(1) { float: left; margin-right: 8px; font-weight: 700; color: var(--green); }
  .brief-table table:has(th:nth-child(5)) td:nth-child(2) { font-weight: 600; margin-bottom: 4px; }
  .brief-table table:has(th:nth-child(5)) td:nth-child(3)::before { content: "Where it's stated: "; color: var(--muted); }
  .brief-table table:has(th:nth-child(5)) td:nth-child(4)::before { content: "Goes in: "; color: var(--muted); }
  .brief-table table:has(th:nth-child(5)) td:nth-child(5) { display: none; }
  .brief-table table:not(:has(th:nth-child(4))) td:nth-child(1) { font-weight: 600; }
  .brief-table table:not(:has(th:nth-child(4))) td:nth-child(2)::before { content: "Length: "; color: var(--muted); }
  input[type=radio] { width: 20px; height: 20px; vertical-align: middle; }
  input[type=radio] + label { display: inline-block; padding: 8px 12px 8px 4px; }
}

/* Phones: base-page card titles and hub base names are tap targets, give them room */
@media (max-width: 650px) {
  .base-table td.what a, .base-table.hub td:first-child a { display: block; padding: 6px 0 4px; }
  .base-table .sub { margin-top: 0; }
}
@media (max-width: 650px) {
  .base-table.hub tr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .base-table.hub td.num .muted { padding: 2px 6px; }
}
@media (max-width: 650px) {
  .base-table.hub td.num::before { flex: 1 1 auto; min-width: 0; line-height: 1.3; white-space: normal; }
  .base-table.hub td.num > * { flex: none; }
}
