/* Tenfours, 2026-10-22 redesign: dark cab, amber accent, warm paper ground. Fonts are self-hosted (CSP: no third
   parties). Archivo for display, Inter for text, JetBrains Mono for numbers. No government look. */
@font-face { font-family: "Archivo"; src: url("fonts/Archivo.woff2") format("woff2"); font-weight: 800 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/JetBrainsMono.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --night: #0E1116;        /* dark bands, buttons */
  --night-2: #171B22;      /* cards on dark */
  --night-line: #2B313C;
  --paper: #F6F5F1;        /* page ground */
  --paper-2: #ECEAE3;
  --white: #FFFFFF;
  --line: #E3E1DA;
  --ink: #0E1116;
  --body: #4A505C;         /* 7.4:1 on paper */
  --muted: #5B6170;        /* 5.9:1 on paper */
  --on-night: #F6F5F1;
  --on-night-2: #B9BEC7;   /* 9.6:1 on night */
  --on-night-3: #A3A9B5;
  --accent: #FFB81C;       /* amber; text on it is --night (11:1) */
  --ok: #7BE3A6;
  --display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); }

a { color: var(--ink); text-underline-offset: 2px; overflow-wrap: anywhere; }
a:hover { color: #3A3F4A; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { margin: 0 0 12px; line-height: 1.1; }
h1, h2 { font-family: var(--display); font-weight: 900; }
h3 { font-family: var(--display); font-weight: 800; }
h2 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.03em; }
h3 { font-size: 21px; letter-spacing: -0.01em; }
p { margin: 0 0 14px; }

.eyebrow { display: block; margin-bottom: 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.soon { font-family: var(--sans); font-weight: 600; font-size: 14px; color: var(--muted); }

/* Top bar: required on every page, wording fixed */
.topbar { margin: 0; padding: 8px 16px; background: var(--accent); color: var(--night); font-size: 15px; font-weight: 600; text-align: center; }

/* Header */
.site-header { background: var(--night); color: var(--on-night); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 72px; padding-top: 12px; padding-bottom: 12px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--on-night); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.wordmark:hover { color: var(--on-night); }
.badge { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; background: var(--accent); color: var(--night); font-family: var(--display); font-weight: 900; font-size: 14px; letter-spacing: -0.03em; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; font-size: 15px; font-weight: 500; }
.nav a { color: #C9CDD4; text-decoration: none; padding: 10px 0; }
.nav a:hover { color: var(--on-night); }
.nav .nav-links { display: none; }
.nav a.header-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 10px; background: var(--accent); color: var(--night); font-weight: 700; }
.nav a.header-cta:hover { background: #FFC94D; color: var(--night); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border: 0; border-radius: 12px; background: var(--night); color: var(--on-night);
  font: 700 16px/1.3 var(--sans); text-decoration: none; text-align: center; cursor: pointer;
}
.btn:hover { background: #262C36; color: var(--on-night); }
.btn-accent { background: var(--accent); color: var(--night); }
.btn-accent:hover { background: #FFC94D; color: var(--night); }
.btn-ghost { background: transparent; color: var(--on-night); border: 1px solid #3A414D; }
.btn-ghost:hover { background: var(--night-2); color: var(--on-night); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline:hover { background: var(--white); color: var(--ink); }
.btn-big { min-height: 56px; font-size: 17px; }
.btn-soon, .btn-soon:hover { background: transparent; color: var(--body); border: 1.5px dashed #9AA0AA; cursor: default; }
.on-night .btn-soon, .on-night .btn-soon:hover { color: #DADDE2; border-color: #3A414D; background: var(--night-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.manage { margin-top: 14px; font-size: 15px; }
.manage a { color: inherit; }
.btn svg { flex: none; }

/* Hero */
/* Photo under a gray scrim: solid enough on phones (text spans the photo), lighter on the right on wide screens. */
.hero {
  color: var(--on-night); padding: 48px 0 72px;
  background: linear-gradient(rgba(52, 56, 64, 0.82), rgba(52, 56, 64, 0.82)), url("img/hero.jpg") 30% center / cover no-repeat #343840;
}
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-copy { flex: 1 1 520px; min-width: 0; }
.pill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; padding: 8px 14px; border: 1px solid var(--night-line); border-radius: 999px; font-size: 14px; font-weight: 600; color: #DADDE2; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.dot-ok { background: #4ED38C; }
.hero h1 { font-size: clamp(44px, 8vw, 72px); line-height: 0.98; letter-spacing: -0.03em; margin-bottom: 24px; }
.lede { max-width: 560px; font-size: 19px; line-height: 1.55; color: var(--on-night-2); margin-bottom: 28px; }
.lede strong { color: var(--on-night); }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--on-night-3); }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }

.snapshot { flex: 1 1 360px; min-width: 0; max-width: 480px; background: var(--night-2); border: 1px solid var(--night-line); border-radius: 20px; padding: 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.snapshot-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.snapshot-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-night-3); }
.snapshot-dot { font-family: var(--mono); font-weight: 600; font-size: 17px; color: var(--on-night); }
.chip { padding: 6px 10px; border-radius: 8px; background: #22301F; color: var(--ok); font-size: 13px; font-weight: 600; white-space: nowrap; }
.rows { margin: 0 0 18px; padding: 0; list-style: none; border-top: 1px solid var(--night-line); }
.rows li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--night-line); font-size: 15px; color: #DADDE2; }
.rows li:last-child { border-bottom: 0; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ok); }
.status-due { color: var(--accent); }
.status-muted { color: var(--on-night-3); }
.snapshot .btn { width: 100%; min-height: 48px; background: var(--paper); color: var(--night); font-size: 15px; }
.snapshot .btn:hover { background: var(--white); }

/* Strip */
.strip { background: var(--accent); color: var(--night); padding: 18px 0; }
.strip ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 28px; margin: 0; padding: 0; list-style: none; font-family: var(--display); font-weight: 800; font-size: 17px; }

/* Sections */
.band { padding: 64px 0; }
.band-tight { padding-top: 0; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 18px; color: var(--body); margin: 0; }

.cards { display: grid; gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.card p { margin: 0; color: var(--body); line-height: 1.6; }
.icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 12px; background: var(--night); color: var(--accent); }

.panel { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 32px 20px; }
.panel-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.panel-head h2 { margin: 0; }
/* How it works: four highway signs on posts, the step text below. */
.highway { margin-bottom: 28px; }
.signs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 2vw, 24px); }
.sign { display: flex; flex-direction: column; align-items: center; }
.sign-face {
  position: relative; width: 100%; max-width: 170px; padding: 18px 4px; border: 3px solid var(--paper); border-radius: 12px;
  background: #407060; box-shadow: 0 0 0 3px #407060, 0 12px 26px rgba(14, 17, 22, 0.28);
  color: #FFFFFF; font-family: var(--mono); font-weight: 600; font-size: clamp(13px, 2.6vw, 30px); line-height: 1.1;
  letter-spacing: 0.03em; text-align: center; white-space: nowrap;
}
.sign-posts { display: flex; justify-content: center; gap: clamp(24px, 6vw, 70px); }
.sign-posts span { width: 7px; height: 30px; background: #8A929E; }

.steps { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.steps li { color: var(--body); font-size: 15px; }
.steps .num { display: block; margin-bottom: 6px; font-family: var(--mono); font-weight: 600; font-size: 14px; color: #407060; text-transform: uppercase; letter-spacing: 0.04em; }
.steps h3 { color: var(--ink); margin-bottom: 6px; }
.steps p { margin: 0; }

/* Prices: our fee and the government fee in separate columns (wording fixed) */
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.prices { width: 100%; border-collapse: collapse; font-size: 16px; }
.prices th, .prices td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.prices tbody tr:last-child th, .prices tbody tr:last-child td { border-bottom: 0; }
.prices thead th { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink); }
.prices tbody th { font-weight: 700; }
.prices td { font-family: var(--sans); }

.plans { display: grid; gap: 20px; margin-top: 28px; }
.plan { display: flex; flex-direction: column; gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px; scroll-margin-top: 16px; }
.plan h3 { margin: 0; font-size: 21px; }
.plan .sub { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); }
.price { font-family: var(--display); font-weight: 900; font-size: 52px; line-height: 1; letter-spacing: -0.03em; }
.price small { font-family: var(--sans); font-weight: 500; font-size: 15px; letter-spacing: 0; color: var(--muted); }
.plan ul { margin: 0; padding-left: 1.1em; color: #2E333C; font-size: 15px; }
.plan li { margin-bottom: 8px; }
.plan p { margin: 0; color: var(--body); font-size: 15px; }
.plan .btn-row, .plan > .btn { margin-top: auto; }
.plan-dark { background: var(--night); color: var(--on-night); border-color: var(--night); }
.plan-dark .sub, .plan-dark .price small { color: var(--on-night-3); }
.plan-dark p, .plan-dark ul { color: #DADDE2; }

/* Watch band */
.watch { background: var(--night); color: var(--on-night); padding: 72px 0; }
.watch .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.watch-copy { flex: 1 1 480px; min-width: 0; }
.watch .eyebrow { color: var(--accent); }
.watch-copy p { max-width: 540px; font-size: 18px; color: var(--on-night-2); }
.watch .terms-list { margin: 0 0 24px; padding-left: 1.1em; color: #DADDE2; font-size: 16px; }
.watch .terms-list li { margin-bottom: 6px; }
.watch .terms-list strong { color: var(--on-night); }
.alert { flex: 1 1 320px; min-width: 0; max-width: 420px; }
.alert-card { display: flex; flex-direction: column; gap: 14px; background: var(--night-2); border: 1px solid var(--night-line); border-radius: 20px; padding: 20px; }
.alert-from { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.alert-from .badge { width: 32px; height: 32px; font-size: 11px; }
.alert-from span:last-child { margin-left: auto; font-weight: 400; font-size: 13px; color: var(--on-night-3); }
.bubble { align-self: flex-start; max-width: 92%; background: #262C36; border-radius: 16px 16px 16px 4px; padding: 14px 16px; font-size: 15px; line-height: 1.5; }
.bubble-me { align-self: flex-end; background: var(--accent); color: var(--night); border-radius: 16px 16px 4px 16px; padding: 10px 16px; font-weight: 600; }

/* Record check */
.check .wrap { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; }
.check-copy { flex: 1 1 380px; min-width: 0; }
.check-copy > p { font-size: 18px; color: var(--body); }
.aside { padding: 20px; border-radius: 14px; background: var(--paper-2); font-size: 15px; color: #2E333C; }
.aside strong { display: block; font-family: var(--display); font-size: 16px; margin-bottom: 6px; }
.aside p { margin: 0; }
.check-form { flex: 1 1 420px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 28px 20px; box-shadow: 0 20px 60px rgba(14, 17, 22, 0.08); scroll-margin-top: 16px; }
.check-form label { display: block; font-size: 14px; font-weight: 700; margin: 16px 0 8px; }
.check-form label:first-child { margin-top: 0; }
.check-form input[type="text"], .check-form input[type="email"], .check-form input[type="tel"] {
  width: 100%; min-height: 52px; padding: 0 16px; font: 17px var(--sans); color: var(--ink);
  border: 1.5px solid #8C8A82; border-radius: 10px; background: #FBFAF7;
}
.check-form #dot { font-family: var(--mono); }
.optional { font-weight: 500; color: var(--muted); }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0; }
.consent input { width: 24px; height: 24px; margin: 2px 0 0; flex: none; accent-color: var(--night); }
.check-form .consent label { margin: 0; font-weight: 400; font-size: 14px; line-height: 1.55; color: var(--body); }
.consent label strong { color: var(--ink); }
.check-form .btn-big { width: 100%; }
.form-status { margin: 12px 0 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { color: #1d5e2f; }
.form-status.err { color: #a4262c; }
.fine { font-size: 13px; color: var(--muted); margin: 12px 0 0; text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Questions (wording fixed) */
.faq { margin: 0; }
.faq dt { padding-top: 22px; border-top: 1px solid #D8D5CC; font-family: var(--display); font-weight: 800; font-size: 19px; }
.faq dd { margin: 8px 0 22px; color: var(--body); font-size: 15px; line-height: 1.6; }

/* Final call to action */
.final { padding: 0 0 72px; }
.final-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; background: var(--accent); border-radius: 24px; padding: 40px 24px; }
.final-box h2 { flex: 1 1 420px; min-width: 0; margin: 0; font-size: clamp(30px, 4.5vw, 44px); color: var(--night); }

/* Legal and simple pages */
.legal h2 { font-size: 24px; margin-top: 32px; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 8px; }
.effective { color: var(--muted); }
.band h1 { font-size: clamp(34px, 6vw, 52px); letter-spacing: -0.03em; margin-bottom: 20px; }

/* Placeholders stay visibly highlighted until filled in build.py SETTINGS */
.placeholder { background: #fff3a8; color: #0E1116; outline: 1px dashed #b38f00; padding: 0 3px; }

/* Footer: UCR disclaimer must be at least 12px */
.site-footer { background: var(--night); color: var(--on-night-3); padding: 48px 0 36px; font-size: 14px; line-height: 1.6; }
.site-footer a { color: #DADDE2; }
.site-footer a:hover { color: var(--on-night); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.footer-brand { flex: 1 1 380px; min-width: 0; }
.footer-brand .wordmark { font-size: 20px; margin-bottom: 14px; }
.footer-brand .badge { width: 32px; height: 32px; font-size: 12px; }
.site-footer p { margin: 0 0 12px; max-width: 520px; }
.ucr-disclaimer { font-size: 14px; color: #C9CDD4; }
.footer-col { display: flex; flex-direction: column; gap: 6px; }
.footer-col strong { color: var(--on-night); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid var(--night-line); font-size: 13px; }
.powered { text-decoration: none; }
.powered strong { color: var(--on-night); }

@media (min-width: 760px) {
  .wrap { padding: 0 24px; }
  .nav .nav-links { display: contents; }
  .hero { padding: 72px 0 96px; }
  .band { padding: 96px 0; }
  .band-tight { padding-top: 0; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .panel { padding: 56px 48px; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 2vw, 24px); text-align: center; }
  .steps .num { display: none; }
  .hero {
    background:
      linear-gradient(90deg, rgba(52, 56, 64, 0.84) 0%, rgba(52, 56, 64, 0.68) 40%, rgba(52, 56, 64, 0.34) 75%, rgba(52, 56, 64, 0.22) 100%),
      linear-gradient(180deg, rgba(52, 56, 64, 0.25) 0%, rgba(52, 56, 64, 0) 30%, rgba(52, 56, 64, 0) 70%, rgba(52, 56, 64, 0.45) 100%),
      url("img/hero.jpg") center / cover no-repeat #343840;
  }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .check-form { padding: 36px; }
  .final-box { padding: 56px 48px; }
  .watch { padding: 96px 0; }
}
