/* TaxFile2290.com — shared stylesheet
   Standalone brand. Trucker-community voice. Navy + amber highway palette. */

:root {
  --navy:      #0f2440;
  --steel:     #1c3a5e;
  --steel-2:   #25507f;
  --amber:     #f5a623;
  --amber-dk:  #d98a06;
  --ink:       #1a2330;
  --body:      #38465a;
  --muted:     #6b7888;
  --line:      #e2e8f0;
  --bg:        #f6f8fb;
  --card:      #ffffff;
  --ok:        #1f8a4c;
  --radius:    12px;
  --shadow:    0 1px 3px rgba(15,36,64,.08), 0 8px 24px rgba(15,36,64,.06);
  --shadow-lg: 0 12px 40px rgba(15,36,64,.14);
  --maxw:      1120px;
  --ff-head:   "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-body:   "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--ff-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.25rem; font-weight: 700; }
p  { margin: 0 0 1rem; }
a  { color: var(--steel-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 820px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(15,36,64,.06);
}
.brand-logo { height: 38px; width: auto; display: block; }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--ff-head); font-weight: 800; font-size: 1.18rem; color: #fff; }
.brand:hover { text-decoration: none; }
.brand .mark {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--amber); color: var(--navy);
  font-weight: 800; font-size: .95rem;
}
.brand b { color: var(--amber); }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--steel); font-weight: 600; font-size: .94rem;
  padding: 8px 12px; border-radius: 8px;
}
.nav-links a:hover { color: var(--navy); background: #eef4fb; text-decoration: none; }
.nav-links a.active { color: var(--amber-dk); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-head); font-weight: 700; font-size: 1rem;
  padding: 13px 26px; border-radius: 10px; border: 0; cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: var(--navy); box-shadow: 0 6px 18px rgba(245,166,35,.35); }
.btn-primary:hover { background: var(--amber-dk); color: var(--navy); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: #fff; }
.btn-outline { background: #fff; color: var(--steel); border: 2px solid var(--line); }
.btn-outline:hover { border-color: var(--steel-2); color: var(--steel-2); }
.btn-sm { padding: 9px 18px; font-size: .9rem; }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(180deg, rgba(15,36,64,.92), rgba(15,36,64,.96)),
    repeating-linear-gradient(115deg, #14305a 0 28px, #122b50 28px 56px);
  color: #eaf1fb; padding: 72px 0 78px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
  background: repeating-linear-gradient(90deg, var(--amber) 0 44px, transparent 44px 88px);
  opacity: .9;
}
.hero h1 { color: #fff; max-width: 17ch; }
.hero p.lede { font-size: 1.2rem; color: #c4d3e8; max-width: 60ch; margin-bottom: 1.6rem; }
.hero .pill { display: inline-block; background: rgba(245,166,35,.16); color: var(--amber); border: 1px solid rgba(245,166,35,.4); font-weight: 600; font-size: .82rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; letter-spacing: .02em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats .s b { display: block; font-family: var(--ff-head); font-size: 1.7rem; color: var(--amber); }
.hero-stats .s span { color: #b8c8de; font-size: .9rem; }

/* ---------- Sections ---------- */
section.block { padding: 64px 0; }
section.block.alt { background: var(--card); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head .eyebrow { color: var(--amber-dk); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card .ico { font-size: 1.6rem; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 10px; background: #eef4fb; margin-bottom: 14px; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }
.card-link { display: block; }
.card-link:hover { text-decoration: none; }

/* ---------- FAQ ---------- */
.faq-cats { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 34px; }
.faq-cats a { background: #fff; border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--steel); }
.faq-cats a:hover { border-color: var(--amber); color: var(--amber-dk); text-decoration: none; }
.faq-group { margin-bottom: 40px; }
.faq-group > h2 { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 2px solid var(--line); }
details.faq {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  margin: 12px 0; padding: 0 20px; box-shadow: var(--shadow); overflow: hidden;
}
details.faq[open] { border-color: #c9d8ea; }
details.faq summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-family: var(--ff-head);
  font-weight: 600; font-size: 1.06rem; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--amber-dk); font-weight: 400; flex: 0 0 auto; transition: transform .2s; }
details.faq[open] summary::after { content: "\2212"; }
details.faq .ans { padding: 0 0 20px; color: var(--body); border-top: 1px solid var(--line); padding-top: 16px; }
details.faq .ans p:last-child { margin-bottom: 0; }
.forum-tag { display: inline-block; font-size: .72rem; font-weight: 600; color: var(--steel-2); background: #eef4fb; border-radius: 6px; padding: 2px 8px; margin-bottom: 10px; }

/* ---------- Prose / articles ---------- */
.prose { font-size: 1.05rem; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1rem; }
.prose li { margin: .4em 0; }
.prose blockquote {
  margin: 1.4em 0; padding: 16px 22px; background: #fff;
  border-left: 4px solid var(--amber); border-radius: 0 10px 10px 0;
  color: var(--ink); box-shadow: var(--shadow); font-style: italic;
}
.prose blockquote cite { display: block; font-style: normal; font-size: .85rem; color: var(--muted); margin-top: 8px; }
.callout { background: #fff8ec; border: 1px solid #f4dca0; border-radius: 10px; padding: 18px 22px; margin: 1.4em 0; }
.callout.warn { background: #fdeeee; border-color: #f0c2c2; }
.callout b { color: var(--ink); }
.article-meta { color: var(--muted); font-size: .9rem; margin-bottom: 1.4em; }

/* ---------- Tables ---------- */
table.tbl { width: 100%; border-collapse: collapse; margin: 1.2em 0; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
table.tbl th, table.tbl td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .96rem; }
table.tbl th { background: var(--navy); color: #fff; font-family: var(--ff-head); font-weight: 600; }
table.tbl tr:last-child td { border-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--steel) 0%, var(--navy) 100%); color: #fff; text-align: center; padding: 60px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c4d3e8; max-width: 56ch; margin: 0 auto 1.6rem; }

/* ---------- Disclaimer / honesty ---------- */
.note { font-size: .85rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #aebfd4; padding: 52px 0 26px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .05em; }
.site-footer a { color: #aebfd4; display: block; padding: 4px 0; }
.site-footer a:hover { color: var(--amber); text-decoration: none; }
.footer-brand .brand { margin-bottom: 12px; }
.site-footer .brand { background: #fff; padding: 7px 12px; border-radius: 10px; display: inline-flex; }
.site-footer .brand-logo { height: 30px; }
.footer-brand p { color: #8fa3be; max-width: 36ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #7e92ae; font-size: .82rem; }

/* ---------- Breadcrumb ---------- */
.crumb { font-size: .85rem; color: var(--muted); padding: 16px 0; }
.crumb a { color: var(--steel-2); }

/* ---------- Page header (interior) ---------- */
.page-head { background: linear-gradient(180deg, var(--navy), var(--steel)); color: #fff; padding: 52px 0 56px; position: relative; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--amber) 0 40px, transparent 40px 80px); }
.page-head h1 { color: #fff; }
.page-head p { color: #c4d3e8; max-width: 62ch; font-size: 1.1rem; margin: 0; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: .92rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; font-size: .96rem; color: var(--ink); background: #fbfcfe;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--amber); border-color: var(--amber); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.lead { font-size: 1.15rem; color: var(--body); }
.badge-ok { color: var(--ok); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links {
    position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-top: 1px solid var(--line);
    padding: 8px 14px 16px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; border-radius: 6px; }
  .nav-toggle { display: block; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
}
