/* ============================================================
   HBS — Shared Stylesheet (Public Site)
   File: www/shared.css
   Updated: 2026-08-04
   Changes: Merged in the home-page-only rules (.intake*, .trust,
            .trust-grid, .trust-cards, .field*, .mock-input,
            .timeline*) that previously only existed in index.html's
            inline <style> block, plus real form-field styles
            (.form-group, .password-field, .auth-card) distinct from
            the visual-only .mock-input. index.html and the four
            services/*.html pages now link this file instead of
            duplicating it inline — see git history for the diff
            each page lost. Added matching responsive rules.
   ---
   Updated: 2026-04-29 03:30
   Changes: Token discipline pass: added --navy-darkest and --gold-dark to :root, replaced hardcoded uses with var() references.
            Brand navy updated to match live site (#1C3A5E from
            tax-status.html). Ramp shifted proportionally:
              --navy        #0F1F35 -> #1C3A5E
              --navy-mid    #1A3050 -> #274B79
              --navy-light  #243D5C -> #315885
              footer        #0A1626 -> #17314F
            Self-host fonts (removes Google Fonts CDN dependency
            per TBSS SECURITY-STANDARDS §7.2 supply-chain rule).
            Fonts served from www/assets/fonts/ as woff2.
   ============================================================ */

/* ============================================================
   Self-hosted fonts — Bitter, Source Sans 3, Source Code Pro
   Downloaded from Fontsource. Latin subset only. font-display:swap
   so text renders in fallback immediately while custom font loads.
   ============================================================ */

/* Bitter (serif headings) */
@font-face {
  font-family: "Bitter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/bitter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Bitter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/bitter-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Bitter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/bitter-latin-700-normal.woff2") format("woff2");
}

/* Source Sans 3 (body / UI) */
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-latin-300-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
}

/* Source Code Pro (mono — numerics, IDs) */
@font-face {
  font-family: "Source Code Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/source-code-pro-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Code Pro";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/source-code-pro-latin-500-normal.woff2") format("woff2");
}

:root {
  /* Primary — Navy */
  --navy:          #1C3A5E;
  --navy-mid:      #274B79;
  --navy-light:    #315885;
  --navy-darkest:  #17314F;

  /* Accent — Gold */
  --gold:          #C9972A;
  --gold-dark:     #B8891F;
  --gold-light:    #F5E8CC;
  --gold-pale:     #FDF8EF;

  /* Semantic — Success */
  --green:         #1E6B45;
  --green-light:   #E8F5EE;

  /* Semantic — Error */
  --red:           #B03A2E;
  --red-light:     #FDF0EE;

  /* Semantic — Info / DD */
  --blue-accent:   #2563A8;
  --blue-light:    #E8F0FC;

  /* Neutral — Surfaces */
  --bg:            #F2F0EB;
  --surface:       #FFFFFF;
  --gray:          #F0EDE7;
  --border:        #DDD9D0;
  --border-mid:    #C4BFB5;

  /* Neutral — Text */
  --text:          #1A1714;
  --text-mid:      #4A4540;
  --text-muted:    #8A8078;

  /* Typography */
  --serif:         "Bitter", Georgia, serif;
  --sans:          "Source Sans 3", sans-serif;
  --mono:          "Source Code Pro", monospace;

  /* Shadows */
  --shadow:        0 1px 3px rgba(0,0,0,0.08),
                   0 4px 12px rgba(0,0,0,0.04);
  --shadow-lg:     0 4px 16px rgba(0,0,0,0.12),
                   0 1px 4px rgba(0,0,0,0.08);
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-mid);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.25;
}
h1 { font-size: 44px; font-weight: 700; letter-spacing: -0.5px; }
h2 { font-size: 28px; font-weight: 700; }
h3 { font-size: 18px; font-weight: 600; }
h4 { font-size: 15px; font-weight: 600; color: var(--blue-accent); }
p  { margin: 0 0 1em; }
a  {
  color: var(--blue-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}
a:hover { border-bottom-color: var(--blue-accent); }

.mono { font-family: var(--mono); color: var(--text); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   HBS Wordmark
   ============================================================ */
.hbs-logo {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
  line-height: 1;
}
.hbs-logo .accent { color: var(--gold); }

.hbs-logo-stacked {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}
.hbs-logo-stacked .full-name {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ============================================================
   Top Utility Bar
   ============================================================ */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.topbar a {
  color: rgba(255,255,255,0.7);
  border-bottom: none;
}
.topbar a:hover { color: var(--gold); }
.topbar-contact {
  display: flex;
  gap: 20px;
  align-items: center;
}
.topbar-contact .mono {
  color: rgba(255,255,255,0.9);
  font-size: 12px;
}

/* ============================================================
   Primary Header / Nav
   ============================================================ */
header.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  gap: 32px;
}
.header-logo-link {
  border: none;
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-logo-link:hover { border-bottom: none; }
.header-full-name {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  font-size: 16px;
}

nav.primary {
  display: flex;
  gap: 4px;
  align-items: center;
}
nav.primary a {
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 4px;
  border-bottom: none;
  transition: background 0.15s ease, color 0.15s ease;
}
nav.primary a:hover,
nav.primary a.active {
  background: var(--gold-pale);
  color: var(--navy);
}
nav.primary a.cta {
  margin-left: 10px;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
}
nav.primary a.cta:hover {
  background: var(--navy-mid);
  color: #fff;
}
/* Distinct gold treatment for the client tax-status link — deliberately
   not the same navy .cta as Client Intake, so it's the one thing on the
   phone easy to describe to a client as "the gold button." */
nav.primary a.status-link {
  margin-left: 10px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  padding: 10px 18px;
}
nav.primary a.status-link:hover {
  background: var(--gold-dark);
  color: var(--navy);
}

.hamburger {
  display: none;
  background: none;
  border: 0;
  color: var(--navy);
  font-size: 24px;
  cursor: pointer;
  padding: 4px 8px;
}

/* ============================================================
   Sub-nav (service pages, resource pages, etc.)
   ============================================================ */
.subnav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.subnav-inner {
  display: flex;
  gap: 0;
  align-items: center;
  overflow-x: auto;
}
.subnav a {
  color: var(--text-mid);
  padding: 14px 18px;
  border-bottom: 2px solid transparent;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.subnav a:hover {
  color: var(--navy);
  border-bottom-color: var(--border-mid);
}
.subnav a.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
  font-weight: 600;
}

/* ============================================================
   Breadcrumbs
   ============================================================ */
.breadcrumbs {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--mono);
  letter-spacing: 0.5px;
  padding: 14px 0 0;
}
.breadcrumbs a {
  color: var(--text-muted);
  border-bottom: none;
}
.breadcrumbs a:hover { color: var(--navy); }
.breadcrumbs .sep { margin: 0 8px; color: var(--border-mid); }

/* ============================================================
   Hero — reusable across pages
   ============================================================ */
.hero {
  background: var(--navy);
  color: #fff;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(201,151,42,0.12) 0%, transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(37,99,168,0.08) 0%, transparent 40%);
  pointer-events: none;
}
.hero-inner { position: relative; }
.hero h1 {
  color: #fff;
  font-size: 52px;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 18ch;
}
.hero h1 .highlight { color: var(--gold); }
.hero p.lede {
  color: rgba(255,255,255,0.8);
  font-size: 18px;
  line-height: 1.6;
  max-width: 52ch;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Two-column hero used on home page */
.hero-inner.two-col {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-stats {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 32px 28px;
}
.hero-stats .stat {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero-stats .stat:first-child { padding-top: 0; }
.hero-stats .stat:last-child { padding-bottom: 0; border-bottom: 0; }
.hero-stats .value {
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}
.hero-stats .label {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* Smaller hero variant for interior pages */
.hero.hero-compact {
  padding: 60px 0 72px;
}
.hero.hero-compact h1 { font-size: 40px; max-width: 22ch; }
.hero.hero-compact p.lede { font-size: 17px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  border-bottom: none;
}
.btn:hover { border-bottom: none; }
.btn-primary {
  background: var(--gold);
  color: #fff;
}
.btn-primary:hover {
  background: var(--gold-dark);
  color: #fff;
}
.btn-outline-light {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.65);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.14);
  border-color: var(--gold);
  color: var(--gold);
}
.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover {
  background: var(--navy-mid);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border-mid);
}
.btn-outline:hover {
  border-color: var(--navy);
  color: var(--navy);
}

/* ============================================================
   Section Layout
   ============================================================ */
section {
  padding: 80px 0;
}
.section-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-heading {
  margin-bottom: 48px;
  max-width: 640px;
}
.section-heading p {
  color: var(--text-mid);
  font-size: 16px;
  margin-top: 4px;
}
.section-alt { background: var(--surface); }
.section-gray { background: var(--gray); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark h1,
.section-dark h2,
.section-dark h3 { color: #fff; }
.section-dark .section-heading p { color: rgba(255,255,255,0.7); }

/* ============================================================
   Service / Feature Cards
   ============================================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px 28px;
  transition: border-color 0.15s ease, transform 0.15s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.service-card .badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.service-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 20px;
  flex-grow: 1;
}
.service-card .learn-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  border-bottom: none;
  align-self: flex-start;
}
.service-card .learn-more::after {
  content: " →";
  color: var(--gold);
  transition: margin-left 0.15s ease;
}
.service-card:hover .learn-more::after {
  margin-left: 4px;
}

/* ============================================================
   Two-column content layouts (used on service sub-pages)
   ============================================================ */
.two-col-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.two-col-content.flip-mobile { /* reverse on mobile */ }

/* Detail lists used in "What we do" sections */
.detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}
.detail-list li {
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
}
.detail-list li h3 {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--navy);
  margin: 0 0 4px;
}
.detail-list li p {
  font-size: 14px;
  color: var(--text-mid);
  margin: 0;
}

/* Dark variant for detail-list (on dark sections) */
.section-dark .detail-list li {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--gold);
}
.section-dark .detail-list li h3 { color: #fff; }
.section-dark .detail-list li p { color: rgba(255,255,255,0.75); }

/* ============================================================
   Process steps (numbered sequence)
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.process-step {
  border-left: 2px solid rgba(255,255,255,0.12);
  padding: 4px 0 4px 18px;
}
.section-alt .process-step,
.section-gray .process-step { border-left-color: var(--border); }
.process-step.active { border-left-color: var(--gold); }
.process-step .step-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 1.5px;
}
.process-step h3 {
  font-size: 16px;
  margin: 6px 0 6px;
}
.section-dark .process-step h3 { color: #fff; }
.process-step p {
  font-size: 13px;
  margin: 0;
}
.section-dark .process-step p { color: rgba(255,255,255,0.7); }

/* ============================================================
   Callouts / Pricing posture / Trust cards
   ============================================================ */
.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px;
}
.callout.gold-accent {
  border-left: 4px solid var(--gold);
}
.callout h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.callout .small {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}

.trust-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  padding: 22px 24px;
}
.trust-card h3 {
  font-family: var(--serif);
  font-size: 17px;
  margin-bottom: 6px;
}
.trust-card p {
  font-size: 14px;
  margin: 0;
  color: var(--text-mid);
}

/* ============================================================
   CTA Banner (bottom of interior pages)
   ============================================================ */
.cta-banner {
  background: var(--navy);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.cta-banner h2 {
  color: #fff;
  margin-bottom: 12px;
}
.cta-banner p {
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  max-width: 56ch;
  margin: 0 auto 28px;
}
.cta-banner .hero-actions {
  justify-content: center;
}

/* ============================================================
   Related services (cross-link footer on service pages)
   ============================================================ */
.related-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}
.related-service {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.15s ease;
}
.related-service:hover {
  border-color: var(--gold);
  border-bottom-color: var(--gold);
}
.related-service .label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.related-service h3 {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--navy);
  margin: 0 0 4px;
}
.related-service p {
  font-size: 13px;
  color: var(--text-mid);
  margin: 0;
}
.related-service::after {
  content: "→";
  float: right;
  color: var(--gold);
  font-size: 18px;
  margin-top: -28px;
}

/* ============================================================
   Footer
   ============================================================ */
footer.site-footer {
  background: var(--navy-darkest);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 24px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-grid h4 {
  color: #fff;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-grid li { margin-bottom: 10px; }
.footer-grid a {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  border-bottom: none;
}
.footer-grid a:hover { color: var(--gold); }

.footer-address address {
  font-style: normal;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  line-height: 1.8;
}
.footer-address .hbs-logo { color: #fff; margin-bottom: 12px; display: inline-block; }
.footer-address .mono { color: rgba(255,255,255,0.85); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a {
  color: rgba(255,255,255,0.5);
  margin-left: 20px;
  border-bottom: none;
}
.footer-bottom a:hover { color: var(--gold); }
.version-badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--gold);
  color: white;
  padding: 1px 5px;
  border-radius: 2px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ============================================================
   Utility
   ============================================================ */
.mb-0 { margin-bottom: 0 !important; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.text-muted { color: var(--text-muted); }

/* Placeholder text from Joel for copy to fill in */
.fill-placeholder {
  background: var(--gold-pale);
  border-left: 3px solid var(--gold);
  padding: 12px 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-mid);
  display: block;
  margin: 8px 0;
  border-radius: 2px;
}
.fill-placeholder::before {
  content: "TODO · ";
  color: var(--gold-dark);
  font-weight: 600;
}

/* ============================================================
   Intake callout (home page)
   ============================================================ */
.intake {
  background: var(--gray);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.intake-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.intake h2 { margin-bottom: 16px; }
.intake .lede {
  font-size: 16px;
  margin-bottom: 28px;
}
.intake-form-preview {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.intake-form-preview h4 {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 16px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.field {
  display: flex;
  flex-direction: column;
}
.field label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 6px;
}
.field .mock-input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 9px 12px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text);
  min-height: 36px;
}
.field .mock-input.focused {
  background: var(--surface);
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(28,58,94,0.08);
}
.field .mock-input.success-line {
  border-bottom: 2px solid var(--green);
}
.intake-cta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.intake-progress {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* ============================================================
   Trust section (home page) — .trust-card itself is defined above
   in the shared Callouts section since services pages use it too
   ============================================================ */
.trust {
  background: var(--surface);
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.trust-cards {
  display: grid;
  gap: 16px;
}

/* ============================================================
   Tax season timeline (home page)
   ============================================================ */
.timeline {
  background: var(--navy);
  color: #fff;
}
.timeline h2, .timeline .section-label, .timeline .section-heading p {
  color: #fff;
}
.timeline .section-label { color: var(--gold); }
.timeline .section-heading p { color: rgba(255,255,255,0.7); }

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.timeline-step {
  border-left: 2px solid rgba(255,255,255,0.12);
  padding: 4px 0 4px 18px;
}
.timeline-step.active { border-left-color: var(--gold); }
.timeline-step .step-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 1.5px;
}
.timeline-step h3 {
  color: #fff;
  font-size: 16px;
  margin: 6px 0 6px;
}
.timeline-step p {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  margin: 0;
}

/* ============================================================
   Real Form Fields (contact form, login, lookup tools)
   Distinct from .mock-input (static hero mockup, not a real field)
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}
.form-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-mid);
  border-radius: 4px;
  padding: 10px 14px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(28,58,94,0.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Password field with mandatory show/hide toggle — TBSS_CODING_STANDARDS §6 */
.password-input-wrap { position: relative; }
.password-field input { width: 100%; padding-right: 44px; }
.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 13px;
  padding: 4px;
}
.password-toggle:hover { color: var(--navy); }

/* Remember-username checkbox row — localStorage convenience only, no
   session/security implication. See login.html's JS. */
.remember-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin: -8px 0 20px;
  cursor: pointer;
  user-select: none;
}
.remember-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin: 0;
  cursor: pointer;
  accent-color: var(--navy);
}

/* Standalone auth / lookup card (login, tax-status lookup) */
.auth-card {
  max-width: 440px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 40px 36px;
  box-shadow: var(--shadow);
}
.auth-card h1 { font-size: 26px; margin-bottom: 8px; }
.auth-card p.lede-small {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 24px;
}
.auth-card .btn { width: 100%; text-align: center; }

/* Auth card nested in a .hero (e.g. login.html) — translucent glass panel
   instead of the solid white card, so the form reads as part of the blue
   section rather than a separate white block dropped below it. Labels
   go light to match; inputs stay light-background for legibility (dark
   text on dark is not a readability tradeoff worth making). */
.hero .auth-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: none;
}
.hero .auth-card .form-group label { color: rgba(255,255,255,0.75); }
.hero .auth-card .form-group input {
  background: rgba(255,255,255,0.95);
  border-color: rgba(255,255,255,0.2);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner.two-col,
  .two-col-content,
  .intake-inner,
  .trust-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .timeline-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .related-services { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: 36px; }
  .hero.hero-compact { padding: 48px 0 56px; }
  .hero.hero-compact h1 { font-size: 32px; }
  section { padding: 56px 0; }
  nav.primary { display: none; }
  .hamburger { display: inline-block; }
  .topbar-contact { gap: 12px; }
  .topbar-contact .fax { display: none; }
  .header-full-name { display: none; }
}
@media (max-width: 520px) {
  .process-steps { grid-template-columns: 1fr; }
  .timeline-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .field-row,
  .form-row { grid-template-columns: 1fr; }
}
