/* ============ Clarity Tax Relief design tokens ============ */
/* Palette pulled from claritytaxrelief.com logo + theme:
   navy #213d65 (logo wordmark), green #65bc7b / #448e4c (brand green),
   shield blue #2e86c8 */
:root {
  --navy-900: #16294a;
  --navy-800: #1d3458;
  --navy-700: #213d65;
  --navy-100: #e2e7ed;
  --green-300: #8ed4a2;
  --green-500: #65bc7b;
  --green-cta: #44a05a;
  --green-700: #448e4c;
  --blue-500: #2e86c8;
  --ink: #1d2733;
  --ink-soft: #4a5868;
  --paper: #ffffff;
  --paper-tint: #f3f7f4;
  --line: #dde5ed;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(22, 41, 74, 0.08);
  --shadow-lg: 0 10px 36px rgba(22, 41, 74, 0.16);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
fieldset { border: 0; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 780px; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 750; margin-bottom: 0.6em; }
h3 { font-size: 1.15rem; font-weight: 700; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-700);
  margin-bottom: 12px;
}

.section { padding: 88px 0; }
.section-intro { color: var(--ink-soft); max-width: 640px; margin-bottom: 40px; }
.section-tint { background: var(--paper-tint); }
.section-cta { text-align: center; margin-top: 44px; }

.section-dark {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: #f2f6fa;
}
.section-dark .eyebrow { color: var(--green-300); }
.section-dark .section-intro { color: #b9c8d8; }
.inline-phone { color: var(--green-300); font-weight: 700; }

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--green-cta);
  color: #fff;
  box-shadow: 0 4px 14px rgba(68, 142, 76, 0.35);
}
.btn-primary:hover { background: var(--green-700); color: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--navy-700);
  border-color: var(--navy-700);
}
.section-dark .btn-secondary, .hero .btn-secondary { color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-navy {
  background: var(--navy-700);
  color: #fff;
  box-shadow: 0 4px 14px rgba(22, 41, 74, 0.3);
}
.btn-navy:hover { background: var(--navy-900); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 34px; font-size: 1.08rem; }
.btn-header { padding: 11px 20px; font-size: 0.95rem; }

/* ============ Urgency bar ============ */
.urgency-bar {
  background: var(--navy-900);
  color: #cfe8d7;
  text-align: center;
  padding: 9px 16px;
  font-size: 0.92rem;
}
.urgency-bar a { color: var(--green-300); font-weight: 700; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo img { height: 56px; width: auto; }
.main-nav { display: flex; gap: 18px; margin-left: auto; }
.main-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--navy-700); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone { text-align: right; text-decoration: none; line-height: 1.25; }
.phone-label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); white-space: nowrap; }
.phone-number { display: block; font-weight: 800; font-size: 1.1rem; color: var(--navy-700); }

/* ============ Hero ============ */
.hero {
  /* brand photo under a navy tint (keeps copy readable + unifies the blues);
     solid gradient beneath paints instantly while the image loads */
  background:
    linear-gradient(165deg, rgba(12, 27, 58, 0.9) 0%, rgba(22, 41, 74, 0.72) 45%, rgba(33, 61, 101, 0.5) 100%),
    url("assets/hero-bg.webp?v=2") center / cover no-repeat,
    linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: #f2f6fa;
  /* full-screen hero: photo fills the first viewport (minus the sticky header),
     content vertically centered */
  display: flex;
  align-items: center;
  min-height: min(calc(100vh - 132px), 1000px);
  padding: 64px 0;
}
.hero > .container { width: 100%; }
.hero-grid {
  display: grid;
  /* copy pinned left, quiz card pinned right, flexible empty middle column
     opens a gap so the phone-in-hand photo behind the hero shows through */
  grid-template-columns: minmax(0, 480px) 1fr minmax(0, 360px);
  gap: 28px;
  align-items: center;
}
.hero-grid > .hero-copy { grid-column: 1; }
.hero-grid > .quiz-card { grid-column: 3; }
.hero .eyebrow { color: var(--green-300); }
.hero-sub { font-size: 1.15rem; color: #c6d4e2; margin: 18px 0 22px; max-width: 560px; }
.trust-points { list-style: none; margin-bottom: 30px; }
.trust-points li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 10px;
  color: #dde8f2;
}
.trust-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-500);
  font-weight: 800;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-disclaimer { margin-top: 14px; font-size: 0.82rem; color: #93a7ba; }

.hero-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: 14px;
  padding: 26px 28px 30px;
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--green-500);
}
.hero-card-step {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-700);
  margin-bottom: 8px;
}
.progress-track {
  height: 6px;
  background: var(--navy-100);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 18px;
}
.progress-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--green-500), var(--green-700));
  border-radius: 99px;
  transition: width 0.25s ease;
}
.hero-card-title { font-size: 1.25rem; margin-bottom: 18px; color: var(--navy-700); }

/* ============ Multi-step form ============ */
.form-step { display: none; }
.form-step-active { display: block; }
.amount-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.amount-option {
  padding: 14px 10px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
  font-size: 0.93rem;
  font-weight: 650;
  color: var(--navy-700);
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease, transform 0.12s ease;
}
.amount-option:hover {
  border-color: var(--green-500);
  background: var(--paper-tint);
  transform: translateY(-1px);
}
.form-back {
  display: block;
  margin: 12px auto 0;
  background: none;
  border: none;
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.form-back:hover { color: var(--navy-700); }

/* ============ Forms (shared) ============ */
.lead-form label { display: block; margin-bottom: 14px; }
.lead-form label > span {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: inherit;
}
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}
.lead-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234a5868' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
/* show placeholder-style gray while nothing is selected (matches input placeholders) */
.lead-form select:has(option[value=""]:checked) { color: #8b97a5; }

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(101, 188, 123, 0.25);
}
.form-fine-print { font-size: 0.74rem; color: var(--ink-soft); margin-top: 12px; line-height: 1.45; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form-full { max-width: 640px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.8rem; }
.consent input { width: auto; margin-top: 3px; }
.consent span { font-weight: 400 !important; font-size: 0.8rem; color: #b9c8d8; }
.form-success {
  background: #eafaf0;
  border: 1.5px solid var(--green-700);
  color: #14532d;
  border-radius: 8px;
  padding: 16px;
  font-weight: 600;
}

/* ============ Trust badge strip ============ */
.badge-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.badge-img { height: 62px; width: auto; }
.badge-img-wide { height: 36px; }
.badge-img-bbb { height: 44px; width: auto; display: block; }
.badge-text { text-align: center; line-height: 1.3; }
.badge-text strong { display: block; font-size: 1.05rem; color: var(--navy-700); font-weight: 800; }
.badge-text span { font-size: 0.82rem; color: var(--ink-soft); max-width: 180px; display: block; }

/* ============ Reality strip ============ */
.reality-strip {
  background: var(--paper-tint);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 56px;
}
.reality-heading { text-align: center; max-width: 720px; margin: 0 auto 40px; color: var(--navy-700); }
.reality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.reality-stat { text-align: center; }
.stat-number {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--green-700);
  letter-spacing: -0.02em;
}
.stat-label { font-size: 0.92rem; color: var(--ink-soft); display: block; max-width: 300px; margin: 6px auto 0; }
.reality-note {
  text-align: center;
  margin: 28px auto 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 760px;
}

/* ============ Cards ============ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--green-500);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card h3 { color: var(--navy-700); margin-bottom: 8px; }
.card p { font-size: 0.92rem; color: var(--ink-soft); }

/* ============ Green CTA band ============ */
.cta-band {
  background: linear-gradient(120deg, var(--green-700), var(--green-cta));
  color: #fff;
  padding: 56px 0;
}
.cta-band-inner {
  display: grid;
  grid-template-columns: 1.5fr auto;
  gap: 40px;
  align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #e8f6ec; max-width: 620px; }
.cta-band-action { text-align: center; }
.cta-band-phone {
  display: block;
  margin-top: 12px;
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============ Credibility ============ */
.credibility-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 56px;
  align-items: start;
}
.credibility-intro { color: var(--ink-soft); max-width: 560px; margin-bottom: 26px; }
.cred-list { list-style: none; margin-bottom: 32px; }
.cred-list li {
  padding-left: 32px;
  position: relative;
  margin-bottom: 14px;
  color: var(--ink-soft);
}
.cred-list li strong { color: var(--navy-700); }
.cred-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(101, 188, 123, 0.18);
  color: var(--green-700);
  font-weight: 800;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cred-badges { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.cred-badges img { height: 64px; width: auto; }
.cred-badges img + img { height: 38px; }

.credibility-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.credibility-photo {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}

.founder-card {
  background: linear-gradient(165deg, var(--navy-700), var(--navy-900));
  color: #f2f6fa;
  border-radius: 14px;
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--green-500);
}
.founder-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-500), var(--blue-500));
  color: #fff;
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
/* TODO: swap .founder-avatar initials for a real headshot photo */
.founder-card blockquote p {
  font-size: 1.08rem;
  line-height: 1.6;
  color: #dde8f2;
  font-style: italic;
  margin-bottom: 20px;
}
.founder-name { font-weight: 800; color: #fff; }
.founder-title { font-size: 0.85rem; color: #9fb2c5; margin-bottom: 24px; }
.founder-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
}
.founder-stats strong { display: block; font-size: 1.35rem; font-weight: 800; color: var(--green-300); }
.founder-stats span { font-size: 0.72rem; color: #9fb2c5; line-height: 1.3; display: block; }

/* ============ Testimonials ============ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.t-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.t-stars {
  color: var(--green-cta);
  font-size: 1.1rem;
  letter-spacing: 3px;
  margin-bottom: 14px;
}
.t-card blockquote { flex: 1; }
.t-card blockquote p { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 18px; }
.t-card figcaption { border-top: 1px solid var(--line); padding-top: 14px; }
.t-name { display: block; font-weight: 800; color: var(--navy-700); }
.t-meta { display: block; font-size: 0.82rem; color: var(--ink-soft); }
.t-disclaimer { text-align: center; margin-top: 28px; }

/* ============ Notice decoder ============ */
.notice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.notice-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 20px 18px;
}
.notice-code {
  display: inline-block;
  background: var(--green-500);
  color: var(--navy-900);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.notice-chip p { font-size: 0.88rem; color: #c6d4e2; }
.notice-chip-cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  background: rgba(101, 188, 123, 0.12);
  border-color: rgba(101, 188, 123, 0.45);
}
.notice-chip-cta p { color: #e8eef5; }

/* ============ Steps ============ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.step {
  background: var(--paper-tint);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy-700);
  color: var(--green-300);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 8px; color: var(--navy-700); }
.step p { font-size: 0.94rem; color: var(--ink-soft); }

/* ============ Honesty list ============ */
.honesty-list { list-style: none; margin: 26px 0; }
.honesty-list li {
  padding: 18px 20px 18px 52px;
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.honesty-list li::before {
  content: "✕";
  position: absolute;
  left: 20px;
  top: 18px;
  color: var(--green-700);
  font-weight: 800;
  font-size: 1.05rem;
}
.results-disclaimer { font-size: 0.82rem; color: var(--ink-soft); font-style: italic; }

/* ============ FAQ ============ */
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  color: var(--navy-700);
  list-style: none;
  position: relative;
  padding-right: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--green-700);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 22px 18px; color: var(--ink-soft); }

/* ============ Blog / Help Center ============ */
.breadcrumbs { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 18px; }
.breadcrumbs a { color: var(--green-700); text-decoration: none; font-weight: 600; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { margin: 0 4px; }

.blog-hub-hero { padding: 56px 0 32px; }
.blog-hub-hero .section-intro { margin-bottom: 0; }
.blog-list { padding-top: 48px; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--green-500);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.blog-card-tag {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--green-700);
  margin-bottom: 10px;
}
.blog-card h2 { font-size: 1.2rem; margin-bottom: 10px; }
.blog-card h2 a { color: var(--navy-700); text-decoration: none; }
.blog-card h2 a:hover { color: var(--green-700); }
.blog-card p { font-size: 0.93rem; color: var(--ink-soft); }
.blog-card-meta { margin-top: 14px; font-size: 0.8rem; color: var(--ink-soft); }
.blog-coming { margin-top: 32px; font-size: 0.92rem; color: var(--ink-soft); font-style: italic; }

/* ---- article pages ---- */
.post-container { max-width: 780px; padding-top: 48px; padding-bottom: 72px; }
.post h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); color: var(--navy-700); margin-bottom: 12px; }
.post-byline { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.post h2 { font-size: 1.45rem; color: var(--navy-700); margin: 40px 0 14px; }
.post p, .post ul, .post ol { color: #2e3a47; margin-bottom: 16px; }
.post p a:not(.btn), .post li a:not(.btn) { color: var(--green-700); font-weight: 600; text-underline-offset: 2px; }
.post p a:not(.btn):hover, .post li a:not(.btn):hover { color: var(--navy-700); }
.post ul, .post ol { padding-left: 24px; }
.post li { margin-bottom: 10px; }
.post li::marker { color: var(--green-700); font-weight: 700; }

.answer-box {
  background: var(--paper-tint);
  border-left: 4px solid var(--green-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 20px;
  margin-bottom: 16px;
}
.answer-box p { margin: 0; }

.deadline-box {
  background: #fff7ec;
  border-left: 4px solid #d97706;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 20px;
  margin-bottom: 28px;
}
.deadline-box p { margin: 0; }

.escalation-list {
  list-style: none;
  padding-left: 0;
  counter-reset: esc;
}
.escalation-list li {
  counter-increment: esc;
  position: relative;
  padding: 14px 16px 14px 56px;
  background: var(--paper-tint);
  border-radius: var(--radius);
  margin-bottom: 10px;
}
.escalation-list li::before {
  content: counter(esc);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy-700);
  color: var(--green-300);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-cta {
  background: linear-gradient(165deg, var(--navy-700), var(--navy-900));
  color: #f2f6fa;
  border-radius: 14px;
  padding: 32px 30px;
  margin: 40px 0;
}
.post-cta h2 { color: #fff; margin: 0 0 10px; }
.post-cta p { color: #c6d4e2; }
.post-cta-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 0 !important; }
.post-cta .btn-secondary { color: #fff; border-color: rgba(255,255,255,0.55); }
.post-related { margin-top: 28px; }
.post-related a { color: var(--green-700); font-weight: 700; }

/* ============ Footer ============ */
.site-footer {
  background: var(--navy-900);
  color: #b9c8d8;
  padding: 64px 0 32px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-logo {
  height: 58px;
  width: auto;
  background: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
}
.footer-heading { font-weight: 800; color: #fff; margin-bottom: 12px; }
.site-footer a {
  display: block;
  color: #b9c8d8;
  text-decoration: none;
  margin-bottom: 8px;
}
.site-footer a:hover { color: var(--green-300); }
.footer-legal { padding-top: 26px; font-size: 0.76rem; color: #7f93a8; line-height: 1.6; }
.footer-legal p { margin-bottom: 10px; }

/* ============ Sticky mobile call bar ============ */
.sticky-call {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(22, 41, 74, 0.97);
  z-index: 60;
}
.sticky-call .btn { width: 100%; }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .hero-grid, .credibility-grid { grid-template-columns: 1fr; gap: 40px; }
  .card-grid, .notice-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; gap: 18px; }
  .steps-grid, .reality-grid { grid-template-columns: 1fr; gap: 24px; }
  .main-nav { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band-inner { grid-template-columns: 1fr; gap: 24px; }
  .cta-band-action { text-align: left; }
  .badge-row { gap: 28px; }
}

@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .hero { padding: 52px 0 60px; }
  .card-grid, .notice-grid, .blog-grid, .form-row { grid-template-columns: 1fr; }
  .logo img { height: 42px; }
  .header-phone { display: none; }
  .sticky-call { display: block; }
  body { padding-bottom: 70px; }
  .amount-options { grid-template-columns: 1fr; }
}

/* ============ Notice chip links + homepage help center ============ */
.notice-links { margin-top: 10px; font-size: 0.8rem !important; }
.notice-links a { color: var(--green-300); font-weight: 700; text-decoration: none; }
.notice-links a:hover { text-decoration: underline; }
#help-center .blog-grid { margin-top: 36px; }
#help-center .blog-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
#help-center .blog-card h3 a { color: var(--navy-700); text-decoration: none; }
#help-center .blog-card h3 a:hover { color: var(--green-700); }
.blog-card-more { background: var(--paper-tint); border-style: dashed; }

/* ============ Lead quiz (bottom form, mirrors get-tax-relief funnel) ============ */
/* hero quiz card sits right (over the phone photo region) — desktop only.
   When the hero would wrap (mobile/tablet incl. iPad landscape), hide the hero
   quiz and center the copy; the #consult quiz serves those visitors. */
.hero .quiz-card { max-width: none; padding: 24px 26px 28px; }
.hero .quiz-step h3 { font-size: 1.2rem; }

@media (max-width: 1080px) {
  .hero .quiz-card { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero .hero-copy { max-width: 720px; margin: 0 auto; text-align: center; }
  .hero .hero-sub { margin-left: auto; margin-right: auto; }
  .hero .trust-points { display: inline-block; text-align: left; }
  .hero .hero-ctas { justify-content: center; }
  .hero {
    background:
      linear-gradient(180deg, rgba(12, 27, 58, 0.93) 0%, rgba(22, 41, 74, 0.86) 60%, rgba(33, 61, 101, 0.78) 100%),
      url("assets/hero-bg.webp?v=2") center / cover no-repeat,
      linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  }
}

.quiz-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: 14px;
  border-top: 5px solid var(--green-500);
  box-shadow: var(--shadow-lg);
  padding: 30px 32px 34px;
  max-width: 640px;
  margin: 0 auto;
}
.quiz-step { display: none; }
.quiz-step-active { display: block; }
.quiz-step h3 { color: var(--navy-700); font-size: 1.35rem; margin-bottom: 18px; }
.quiz-sub { color: var(--ink-soft); margin: -8px 0 18px; }
.quiz-options { display: grid; gap: 10px; }
.quiz-option input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.quiz-option span {
  display: block;
  padding: 15px 18px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 650;
  color: var(--navy-700);
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease, transform 0.12s ease;
}
.quiz-option span:hover { border-color: var(--green-500); background: var(--paper-tint); transform: translateY(-1px); }
.quiz-option input:checked + span { border-color: var(--green-cta); background: rgba(101, 188, 123, 0.12); }
.quiz-option input:focus-visible + span { outline: 2px solid var(--green-cta); outline-offset: 2px; }
.quiz-card .form-row { margin-bottom: 0; }
.quiz-card .consent { margin: 14px 0 16px; }
.quiz-card .consent span { color: var(--ink-soft); }
