/* TempoBid — static site styles. No third-party requests. */
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader.woff") format("woff");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-italic.woff") format("woff");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3.woff") format("woff");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-italic.woff") format("woff");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #141c22;
  --ink-soft: #3c4a54;
  --muted: #5c6a74;
  --paper: #f2eee5;
  --paper-2: #e7e1d5;
  --paper-3: #fffdf8;
  --line: #d4cdc0;
  --line-strong: #c3b9a8;
  --copper: #8f3f1c;
  --copper-deep: #6e2f14;
  --gold: #c9a05a;
  --gold-dim: #a07a3a;
  --forest: #173833;
  --forest-hover: #0f2a26;
  --danger: #8f3f1c;
  --focus: #1c4a45;
  --shadow: 0 1px 2px rgba(20, 28, 34, 0.06), 0 12px 32px rgba(20, 28, 34, 0.08);
  --radius: 6px;
  --header-h: 4.25rem;
  --measure: 40rem;
  --wrap: 72rem;
  --font-serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-display: "Instrument Serif", "Newsreader", Georgia, serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--copper); text-decoration-color: rgba(143, 63, 28, 0.35); text-underline-offset: 0.15em; }
a:hover { color: var(--copper-deep); text-decoration-color: currentColor; }
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius);
}
.skip:focus { top: 0.75rem; }

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(201, 160, 90, 0.55);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  min-width: max-content;
}
.brand:hover { color: var(--ink); }
.brand-mark { width: 1.85rem; height: 1.85rem; flex: 0 0 auto; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 550;
  letter-spacing: 0.01em;
}
.nav a:hover { color: var(--ink); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--forest);
  color: #f6f1e8 !important;
  text-decoration: none !important;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
}
.nav-cta:hover { background: var(--forest-hover); color: #fff !important; }

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.05rem;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

/* Hero */
.hero {
  padding: 4.5rem 0 3.75rem;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
  margin: 0 0 1.15rem;
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 6.4vw, 4.35rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 1.25rem;
  max-width: 16ch;
}
.hero-lead {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 38rem;
  margin: 0 0 1.85rem;
}
.signup {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 34rem;
}
.signup label.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.signup input[type="email"] {
  flex: 1 1 16rem;
  font: inherit;
  font-size: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line-strong);
  background: var(--paper-3);
  color: var(--ink);
  border-radius: var(--radius);
  min-height: 3rem;
  height: 3rem;
  max-height: 3rem;
}
.signup input[type="email"]:focus {
  outline: 2px solid var(--focus);
  outline-offset: 0;
  border-color: var(--focus);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.2;
  padding: 0.8rem 1.15rem;
  min-height: 3rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  background: var(--forest);
  color: #f6f1e8;
  transition: background 0.15s var(--ease), transform 0.15s var(--ease);
}
.btn:hover { background: var(--forest-hover); color: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-secondary:hover { background: var(--paper-2); color: var(--ink); }
.btn-copper {
  background: var(--copper);
  color: #fffaf4;
}
.btn-copper:hover { background: var(--copper-deep); color: #fff; }
.btn[disabled], .btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.form-note, .placeholder-note {
  margin: 0.7rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 36rem;
}
.form-status {
  margin: 0.7rem 0 0;
  font-size: 0.92rem;
  color: var(--forest);
  min-height: 1.3em;
}
.form-status[data-kind="pending"] { color: var(--copper-deep); }

/* Stats */
.stats {
  background: var(--ink);
  color: #edebE4;
  padding: 2.25rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
}
.stat-value {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 0.45rem;
}
.stat-value .unit {
  font-size: 0.55em;
  letter-spacing: 0;
  color: var(--gold);
}
.stat-label {
  margin: 0;
  font-size: 0.9rem;
  color: #c6c0b4;
  line-height: 1.45;
  max-width: 22rem;
}
.stats-source {
  margin: 1.35rem 0 0;
  font-size: 0.78rem;
  color: #9aa3a8;
  max-width: 54rem;
}

/* Sections */
section.block { padding: 4.25rem 0; }
section.block + section.block { border-top: 1px solid var(--line); }
.section-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
  font-weight: 700;
}
.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 0.85rem;
}
.section-lead {
  margin: 0 0 2.25rem;
  color: var(--ink-soft);
  max-width: 44rem;
  font-size: 1.08rem;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li {
  padding-top: 1rem;
  border-top: 1px solid var(--gold);
}
.step-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--gold-dim);
  display: block;
  margin-bottom: 0.55rem;
}
.steps h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 550;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}
.steps p { margin: 0; color: var(--ink-soft); }

/* Sample brief */
.sample { background: var(--paper-2); }
.brief {
  background: var(--paper-3);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 3vw, 2.35rem);
}
.brief-masthead {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 1.25rem;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 0.55rem 0 0.5rem;
  margin: 0 0 1.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-soft);
}
.brief h3 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
  font-weight: 550;
}
.brief-points {
  margin: 0 0 1.5rem;
  padding: 0 0 0 1.15rem;
}
.brief-points li { margin: 0 0 0.55rem; }
.brief-points li:last-child { margin: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 0.85rem; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 40rem;
}
.award-table { table-layout: fixed; }
.col-contractor { width: 22%; }
.col-agency { width: 22%; }
.col-state { width: 4.5rem; }
.col-work { width: auto; }
.col-amount { width: 7.5rem; }
th, td {
  text-align: left;
  padding: 0.55rem 0.85rem 0.55rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; padding-right: 0; white-space: nowrap; }
.brief-why {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.brief-source {
  margin: 1.15rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Pricing */
.billing-toggle {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.2rem;
  background: var(--paper-3);
  margin: 0 0 1.75rem;
  gap: 0.15rem;
}
.billing-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.billing-toggle label {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.billing-toggle input:checked + label {
  background: var(--ink);
  color: var(--paper);
}
.billing-toggle input:focus-visible + label {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  align-items: stretch;
}
.plan {
  background: var(--paper-3);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 1.45rem 1.15rem 1.3rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.plan-featured {
  border-color: var(--ink);
  box-shadow: var(--shadow);
  position: relative;
}
.plan-badge {
  position: absolute;
  top: 0;
  right: 1rem;
  transform: translateY(-50%);
  background: var(--copper);
  color: #fffaf4;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
}
.plan h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 550;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}
.plan-price {
  font-family: var(--font-serif);
  font-size: 2rem;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0.4rem 0 0.2rem;
}
.plan-price .period {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0;
  font-weight: 500;
}
.plan-alt {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 0.9rem;
  min-height: 1.3em;
}
.plan ul {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  flex: 1;
}
.plan li {
  position: relative;
  padding: 0.28rem 0 0.28rem 1.1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.5rem;
  height: 1px;
  background: var(--gold);
}
.plan .btn { width: 100%; }
.refund-line {
  margin: 1.5rem auto 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 40rem;
}
.placeholder-note {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 44rem;
}
.stripe-note {
  margin: 0.35rem auto 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

/* FAQ */
.faq-list { margin: 0; }
.faq-list details {
  border-top: 1px solid var(--line);
  padding: 0.2rem 0;
}
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  padding: 1rem 1.75rem 1rem 0;
  position: relative;
  letter-spacing: -0.015em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-dim);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.35rem;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p {
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
  max-width: 42rem;
}

/* Closing signup */
.closing {
  background: var(--ink);
  color: #edebE4;
  padding: 4.25rem 0;
}
.closing .section-kicker { color: var(--gold); }
.closing h2 { color: #fff; }
.closing .section-lead { color: #c6c0b4; }
.closing .signup input[type="email"] {
  background: #1c262d;
  border-color: #3a4650;
  color: #fff;
}
.closing .form-note { color: #9aa3a8; }
.closing .form-status { color: var(--gold); }

/* Footer */
.site-footer {
  background: #0e1519;
  color: #b7b3aa;
  padding: 2.5rem 0 2rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer h2 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8b9398;
  margin: 0 0 0.7rem;
  font-weight: 700;
}
.site-footer p, .site-footer li { margin: 0 0 0.45rem; line-height: 1.5; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer a { color: #e6e0d4; text-decoration-color: rgba(230, 224, 212, 0.25); }
.disclaimer {
  border-top: 1px solid #2a3338;
  padding-top: 1.15rem;
  font-size: 0.82rem;
  color: #8b9398;
  max-width: 54rem;
}
.copyright { margin: 0.85rem 0 0; font-size: 0.8rem; color: #6d757a; }

/* Legal pages */
.legal { padding: 3.25rem 0 4.5rem; }
.legal-body { max-width: 42rem; }
.legal-body h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.4rem;
}
.legal-meta { color: var(--muted); margin: 0 0 2rem; font-size: 0.95rem; }
.legal-body h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 550;
  margin: 2rem 0 0.6rem;
  letter-spacing: -0.02em;
}
.legal-body p, .legal-body li { color: var(--ink-soft); }
.legal-body ul { padding-left: 1.2rem; }

/* Responsive */
@media (max-width: 960px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .steps, .stats-grid, .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 1.4rem; }
  .hero { padding-top: 3rem; }
}
@media (max-width: 720px) {
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1.25rem 1.1rem;
    gap: 0.85rem;
  }
  .nav.is-open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .plans { grid-template-columns: 1fr; }
  .wrap { width: min(var(--wrap), calc(100% - 1.75rem)); }
  .hero h1 { max-width: none; }
  .signup { flex-direction: column; align-items: stretch; }
  .signup .btn, .signup input[type="email"] { width: 100%; flex: 0 0 auto; }
  .eyebrow { letter-spacing: 0.1em; }
  .table-wrap { overflow: visible; }
  .award-table { min-width: 0; table-layout: auto; }
  .award-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .award-table, .award-table tbody, .award-table tr, .award-table td { display: block; width: 100%; }
  .award-table tr { padding: 0.95rem 0; border-bottom: 1px solid var(--line); }
  .award-table td { padding: 0.2rem 0; border-bottom: 0; }
  .award-table td.num { text-align: left; font-weight: 650; }
  .award-table td[data-label="Contractor"] { font-weight: 650; font-size: 1.02rem; padding-top: 0; }
  .award-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 0.05rem;
  }
  .award-table td[data-label="Contractor"]::before { content: none; }
  .footer-grid { gap: 1.5rem; }
}
