/* HT Group Inc. website (fonts match the logo: Playfair Display + Source Serif 4)
   Design system: design-system/ht-group/MASTER.md + pages/website.md (override)
   Layout: navy hero with animated dot waves, light content sections on a 12-column grid, navy CTA band, navy footer. */

:root {
  --blue: #003A86;
  --blue-600: #0B4BA8;
  --navy: #061634;
  --navy-2: #0B2453;
  --navy-line: #1C3566;
  --on-navy: #FFFFFF;
  --on-navy-muted: #B8C6E0;
  --gold: #D9AE4E;
  --gold-hover: #E6BF66;
  --on-gold: #0B1530;
  --bg: #F7F9FC;
  --card: #FFFFFF;
  --fg: #0E1A2F;
  --muted: #EEF2F8;
  --muted-fg: #4A5870;
  --border: #D5DDEA;
  --urgent: #B42318;
  --urgent-soft: #FDECEA;
  --soon: #8A5A00;
  --soon-soft: #FBF1DC;
  --ok: #1E7A4C;

  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;

  --space-xs: 4px; --space-sm: 8px; --space-md: 16px; --space-lg: 24px; --space-xl: 32px; --space-2xl: 48px; --space-3xl: 64px;
  --radius: 8px;
  --radius-card: 12px;
  --shadow-md: 0 4px 6px rgba(14, 26, 47, 0.06), 0 1px 2px rgba(14, 26, 47, 0.06);
  --shadow-lg: 0 12px 24px -8px rgba(14, 26, 47, 0.18);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.005em; }
h3 { font-family: var(--font-body); font-weight: 700; letter-spacing: 0; line-height: 1.3; }
p { margin: 0; }
a { color: var(--blue); text-underline-offset: 3px; transition: color 180ms ease; }
a:hover { color: var(--blue-600); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.on-light :focus-visible, .section :focus-visible { outline-color: var(--blue); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--card); color: var(--blue); padding: 10px 16px; border-radius: var(--radius); font-weight: 700; }
.skip:focus { left: 16px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--space-lg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--radius); border: 2px solid transparent; font: 700 1rem/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 200ms var(--ease), box-shadow 200ms ease; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-hover); color: var(--on-gold); transform: translateY(-1px); box-shadow: 0 8px 18px -8px rgba(217, 174, 78, 0.7); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: var(--on-navy); background: transparent; }
.btn-ghost:hover { border-color: var(--on-navy); background: rgba(255, 255, 255, 0.08); color: var(--on-navy); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--muted); color: var(--blue); }
.btn:active { transform: translateY(0); }

/* Top bar */
.topbar { background: var(--navy); color: var(--on-navy-muted); font-size: 0.875rem; }
.topbar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; min-height: 40px; padding-block: 6px; }
.topbar-contact, .topbar-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.topbar a { color: var(--on-navy); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar a:hover { color: var(--gold); }
.topbar svg { width: 15px; height: 15px; flex: none; }
.speak-es { display: inline-flex; align-items: center; gap: 6px; color: var(--on-navy); white-space: nowrap; }
.speak-es svg { width: 15px; height: 15px; color: var(--gold); flex: none; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--navy-line); border-radius: 999px; padding: 2px; }
.lang-switch button { font: 700 0.8125rem var(--font-body); min-height: 30px; min-width: 40px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: var(--on-navy-muted); cursor: pointer; transition: background-color 180ms ease, color 180ms ease; }
.lang-switch button:hover { color: var(--on-navy); }
.lang-switch button[aria-pressed="true"] { background: var(--gold); color: var(--on-gold); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid transparent; transition: box-shadow 220ms ease, border-color 220ms ease, background-color 220ms ease; }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); } }
.site-header.is-scrolled { border-color: var(--border); box-shadow: 0 6px 20px -12px rgba(14, 26, 47, 0.35); }
/* Desktop: logo centered on top, menu centered underneath */
.header-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding-block: 14px 4px; transition: padding 220ms var(--ease); }
.site-header.is-scrolled .header-inner { padding-block: 8px 0; }
.header-spacer { display: none; }
.brand { display: block; flex: none; }
.brand picture { display: block; }
.brand-tag { display: none; }
.brand img { height: 60px; width: auto; transition: height 220ms var(--ease); }
.site-header.is-scrolled .brand img { height: 44px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; }
.nav a:not(.btn) { position: relative; color: var(--fg); text-decoration: none; font-weight: 700; font-size: 0.9688rem; padding: 12px 12px; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease); }
.nav a:not(.btn):hover { color: var(--blue); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--blue); }
.nav .btn { margin-left: 12px; }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); color: var(--blue); cursor: pointer; }
.menu-toggle svg { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(120% 90% at 80% 0%, #0E2C66 0%, var(--navy) 58%); color: var(--on-navy); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; background: linear-gradient(to bottom, rgba(6, 22, 52, 0), var(--navy)); z-index: -1; pointer-events: none; }
.hero-inner { padding-block: clamp(64px, 10vw, 128px) clamp(64px, 9vw, 112px); display: grid; gap: var(--space-lg); max-width: 820px; }
.hero-badge { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 700; color: var(--gold); border: 1px solid rgba(217, 174, 78, 0.5); border-radius: 999px; padding: 6px 14px; }
.hero-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 500; color: var(--on-navy); }
.hero h1 .accent { color: var(--gold); font-style: italic; }
.hero-lede { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); color: var(--on-navy-muted); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.hero-checks { list-style: none; margin: 0; padding: 12px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--on-navy); font-weight: 700; font-size: 0.9688rem; }
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-checks svg { width: 20px; height: 20px; color: var(--gold); flex: none; }

/* Home hero with the partners' photo: photo on the right, navy text area on the left */
.hero-photo { background: var(--navy); }
.hero-photo .hero-bg { position: absolute; top: 0; right: 0; bottom: 0; width: 62%; z-index: -2; }
.hero-photo .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 75% 22%; }
.hero-photo .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(6, 22, 52, 0.6) 12%, rgba(6, 22, 52, 0) 32%); }
.hero-photo::after { height: 90px; }
.hero-photo .hero-inner { max-width: 30rem; padding-block: clamp(96px, 11vw, 150px); }
.hero-photo h1 { font-size: clamp(2.5rem, 4.6vw, 4rem); }
@media (max-width: 1100px) {
  .hero-photo .hero-bg { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; max-height: 520px; }
  .hero-photo .hero-bg img { object-position: 55% 20%; }
  .hero-photo .hero-bg::after { background: linear-gradient(0deg, var(--navy) 0%, rgba(6, 22, 52, 0.55) 22%, rgba(6, 22, 52, 0) 50%); }
  .hero-photo .hero-inner { max-width: 760px; padding-block: 0 clamp(56px, 9vw, 88px); margin-top: -48px; position: relative; }
  .hero-photo::after { display: none; }
}

.page-hero .hero-inner { padding-block: clamp(48px, 7vw, 88px); max-width: 760px; }
.page-hero h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.crumbs { font-size: 0.875rem; color: var(--on-navy-muted); }
.crumbs a { color: var(--on-navy); }

/* Hero entrance (only when motion is allowed and JS is running) */
.motion-ok .hero-inner > * { opacity: 0; transform: translateY(18px); animation: rise 700ms var(--ease) forwards; }
.motion-ok .hero-inner > *:nth-child(1) { animation-delay: 80ms; }
.motion-ok .hero-inner > *:nth-child(2) { animation-delay: 180ms; }
.motion-ok .hero-inner > *:nth-child(3) { animation-delay: 300ms; }
.motion-ok .hero-inner > *:nth-child(4) { animation-delay: 420ms; }
.motion-ok .hero-inner > *:nth-child(5) { animation-delay: 540ms; }
@keyframes rise { to { opacity: 1; transform: none; } }
/* Safety net: if the entrance animation hasn't run (paused tab, screenshot tools), show the hero anyway */
.motion-ok .hero-inner.shown > * { animation: none; opacity: 1; transform: none; }

/* Scroll reveal (content stays visible without JS or with reduced motion) */
.motion-ok .reveal { opacity: 0; transform: translateY(16px); transition: opacity 450ms var(--ease), transform 450ms var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.motion-ok .reveal.in { opacity: 1; transform: none; }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section + .section { padding-top: 0; }
.section-alt { background: var(--card); border-block: 1px solid var(--border); }
.section-alt + .section { padding-top: clamp(64px, 9vw, 112px); }
.section + .section-alt { padding-top: clamp(64px, 9vw, 112px); }
.section-head { display: grid; gap: 12px; max-width: 64ch; margin-bottom: var(--space-2xl); }
.section-head .kicker { font-weight: 700; color: var(--blue); font-size: 0.9375rem; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--fg); }
.section-head p { color: var(--muted-fg); font-size: 1.125rem; }

/* Credentials strip */
.creds { background: var(--card); border-bottom: 1px solid var(--border); }
.creds-list { list-style: none; margin: 0; padding: 28px 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.creds-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 14px; align-items: start; }
.creds-list .ico { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; background: var(--muted); color: var(--blue); display: grid; place-items: center; }
.creds-list .ico svg { width: 22px; height: 22px; }
.creds-list b { font-size: 1rem; }
.creds-list span { color: var(--muted-fg); font-size: 0.9375rem; }

/* Service cards */
.services-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-lg); }
.svc-card { grid-column: span 2; position: relative; display: grid; gap: 12px; align-content: start; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 28px; box-shadow: var(--shadow-md); text-decoration: none; color: var(--fg); transition: transform 240ms var(--ease), box-shadow 240ms ease, border-color 240ms ease; }
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #B9C6DC; color: var(--fg); }
.svc-card.feature { grid-column: span 3; background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.svc-card.feature:hover { color: var(--on-navy); border-color: var(--navy-2); }
.svc-card.wide { grid-column: span 3; }
.svc-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--muted); color: var(--blue); }
.svc-card.feature .svc-ico { background: var(--navy-2); color: var(--gold); }
.svc-ico svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 1.3125rem; }
.svc-card .forms { font-size: 0.875rem; font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; }
.svc-card.feature .forms { color: var(--gold); }
.svc-card p { color: var(--muted-fg); }
.svc-card.feature p { color: var(--on-navy-muted); }
.svc-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); margin-top: 4px; }
.svc-card.feature .svc-more { color: var(--gold); }
.svc-more svg { width: 16px; height: 16px; transition: transform 220ms var(--ease); }
.svc-card:hover .svc-more svg { transform: translateX(3px); }

/* Notice decoder */
.decoder-wrap { align-items: start; row-gap: var(--space-xl); }
.decoder-copy { grid-column: 1 / span 5; display: grid; gap: 16px; }
.decoder-copy h2 { font-size: clamp(2rem, 4vw, 3rem); }
.decoder-copy p { color: var(--muted-fg); font-size: 1.125rem; }
.decoder-copy ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--muted-fg); }
.decoder { grid-column: 7 / span 6; background: var(--card); border: 1px solid var(--border); border-top: 4px solid var(--blue); border-radius: var(--radius-card); box-shadow: var(--shadow-lg); overflow: hidden; }
.decoder-head { padding: 24px 24px 6px; display: grid; gap: 8px; }
.decoder-head h3 { font-family: var(--font-head); font-weight: 500; font-size: 1.625rem; }
.decoder-head p { font-size: 0.9375rem; color: var(--muted-fg); }
.picker { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 24px 18px; border-bottom: 1px solid var(--border); }
.picker button { font: 700 0.875rem var(--font-body); font-variant-numeric: tabular-nums; min-height: 44px; min-width: 44px; padding: 0 14px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg); color: var(--fg); cursor: pointer; transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease; }
.picker button:hover { border-color: var(--blue); }
.picker button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.notice { padding: 20px 24px 24px; display: grid; gap: 14px; }
.notice-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.notice-title h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.25rem; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8125rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.badge svg { width: 14px; height: 14px; }
.badge.urgent { background: var(--urgent-soft); color: var(--urgent); }
.badge.soon { background: var(--soon-soft); color: var(--soon); }
.notice dl { margin: 0; display: grid; }
.notice dl div { padding-block: 10px; border-top: 1px solid var(--border); display: grid; gap: 2px; }
.notice dt { font-size: 0.875rem; font-weight: 700; color: var(--muted-fg); }
.notice dd { margin: 0; }
.notice .todo-cta { background: var(--soon-soft); border-top-color: transparent; border-radius: var(--radius); padding: 14px 16px; margin-block: 4px; }
.notice .todo-cta dt { color: var(--soon); }
.notice .todo-cta dd { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.notice .todo-cta dd p { font-size: 1.0625rem; color: var(--fg); }
.notice .todo-cta strong { color: var(--blue); }
.notice .todo-cta .btn { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }
.notice .todo-cta + div { border-top-color: transparent; }
.notice .fine { font-size: 0.875rem; color: var(--muted-fg); }
.motion-ok .notice.swap { animation: swap 260ms var(--ease); }
@keyframes swap { from { opacity: 0.3; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Florida facts */
.fl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-lg); }
.fl-item { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 2px solid var(--blue); }
.fl-item .big { font-family: var(--font-head); font-weight: 600; font-size: 2.25rem; line-height: 1; color: var(--blue); font-variant-numeric: lining-nums; }
.fl-item h3 { font-size: 1.0625rem; }
.fl-item p { color: var(--muted-fg); font-size: 0.9688rem; }

/* Deadlines */
.dl-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-bottom: var(--space-lg); }
.dl-head h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.dl-head p { color: var(--muted-fg); font-size: 0.9375rem; max-width: 60ch; }
.dl-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md); }
.dl-list li { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 18px 20px; display: grid; gap: 4px; align-content: start; box-shadow: var(--shadow-md); }
.dl-list li:first-child { border-color: var(--blue); box-shadow: inset 0 3px 0 var(--blue), var(--shadow-md); }
.dl-date { font-family: var(--font-head); font-weight: 600; font-size: 1.625rem; line-height: 1.15; font-variant-numeric: lining-nums tabular-nums; }
.dl-away { font-size: 0.875rem; font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; }
.dl-what { font-size: 0.9375rem; color: var(--muted-fg); }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-lg); counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 23px; left: 24px; right: 24px; height: 2px; background: var(--border); }
.steps::after { content: ""; position: absolute; top: 23px; left: 24px; right: 24px; height: 2px; background: var(--blue); transform-origin: left; transform: scaleX(1); }
.motion-ok .steps::after { transform: scaleX(0); transition: transform 1200ms var(--ease) 150ms; }
.motion-ok .steps.in::after { transform: scaleX(1); }
.steps li { position: relative; display: grid; gap: 10px; align-content: start; counter-increment: step; }
.steps li::before { content: counter(step); position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.375rem; box-shadow: 0 0 0 6px var(--bg); }
.section-alt .steps li::before { box-shadow: 0 0 0 6px var(--card); }
.steps h3 { font-size: 1.1875rem; padding-top: 4px; }
.steps p { color: var(--muted-fg); font-size: 0.9688rem; }

/* CTA band */
.band { position: relative; overflow: hidden; background: var(--navy); color: var(--on-navy); border-radius: 16px; padding: clamp(32px, 5vw, 64px); }
.band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 120% at 100% 0%, rgba(0, 58, 134, 0.9), transparent 60%); pointer-events: none; }
.band > * { position: relative; }
.band-grid { align-items: center; row-gap: var(--space-xl); }
.band-copy { grid-column: 1 / span 7; display: grid; gap: 14px; }
.band h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--on-navy); }
.band p { color: var(--on-navy-muted); font-size: 1.125rem; max-width: 52ch; }
.band-actions { grid-column: 9 / span 4; display: grid; gap: 12px; }
.band-actions .btn { width: 100%; }

/* Contact block */
.contact-grid { align-items: start; row-gap: var(--space-xl); }
.contact-info { grid-column: 1 / span 5; display: grid; gap: var(--space-lg); }
.contact-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-md); padding: 8px 22px; }
.c-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding-block: 14px; border-top: 1px solid var(--border); }
.c-row:first-child { border-top: 0; }
.c-row svg { width: 20px; height: 20px; color: var(--blue); }
.c-row .k { display: block; font-size: 0.8125rem; font-weight: 700; color: var(--muted-fg); }
.c-row .v { display: block; overflow-wrap: anywhere; }
.copy { font: 700 0.8125rem var(--font-body); min-height: 44px; padding: 0 12px; border-radius: var(--radius); border: 1px solid var(--border); background: transparent; color: var(--blue); cursor: pointer; transition: border-color 180ms ease, background-color 180ms ease; }
.copy:hover { border-color: var(--blue); background: var(--muted); }
.bring { display: grid; gap: 8px; }
.bring h3 { font-size: 1.125rem; }
.bring ul { margin: 0; padding-left: 1.2em; color: var(--muted-fg); display: grid; gap: 4px; }

.form-card { grid-column: 7 / span 6; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-lg); padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px; }
.form-card h2 { font-size: 1.875rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 0.9375rem; }
.field .hint { font-size: 0.8125rem; color: var(--muted-fg); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem var(--font-body); color: var(--fg); background: var(--bg); border: 1px solid #B9C6DC; border-radius: var(--radius); padding: 12px 14px; min-height: 48px; transition: border-color 180ms ease, box-shadow 180ms ease; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 58, 134, 0.18); }
.field [aria-invalid="true"] { border-color: var(--urgent); }
.field .err { color: var(--urgent); font-size: 0.875rem; font-weight: 700; }
.form-status { border-radius: var(--radius); padding: 12px 14px; font-weight: 700; }
.form-status.ok { background: #E7F5EE; color: var(--ok); }
.form-status.warn { background: var(--soon-soft); color: var(--soon); }
.form-card .btn { justify-self: start; }
.form-card .privacy { font-size: 0.8125rem; color: var(--muted-fg); }

/* About */
.about-grid { align-items: start; row-gap: var(--space-xl); }
.about-copy { grid-column: 1 / span 7; display: grid; gap: 16px; font-size: 1.125rem; }
.about-copy p { color: var(--muted-fg); max-width: 64ch; }
.about-copy .mission { color: var(--fg); font-family: var(--font-head); font-style: italic; font-size: 1.3125rem; line-height: 1.5; border-left: 3px solid var(--gold); padding-left: 18px; margin-top: 4px; }
.about-aside { grid-column: 9 / span 4; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-md); padding: 28px; display: grid; gap: 16px; }
.about-aside img { width: 100%; max-width: 260px; }
.about-aside dl { margin: 0; display: grid; gap: 12px; }
.about-aside dt { font-size: 0.8125rem; font-weight: 700; color: var(--muted-fg); }
.about-aside dd { margin: 0; font-weight: 700; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); }
.value { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 28px; display: grid; gap: 10px; align-content: start; box-shadow: var(--shadow-md); }
.value h3 { font-size: 1.25rem; }
.value p { color: var(--muted-fg); }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); }
.person { background: var(--card); border: 1px solid var(--border); border-top: 3px solid var(--blue); border-radius: var(--radius-card); box-shadow: var(--shadow-md); padding: 28px 24px; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: start; gap: 16px; text-align: center; transition: transform 240ms var(--ease), box-shadow 240ms ease; }
.person:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.person .avatar { width: 104px; height: 104px; max-width: 100%; object-fit: cover; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-family: var(--font-head); font-weight: 600; font-size: 1.625rem; letter-spacing: 0.02em; box-shadow: 0 0 0 4px var(--muted); }
.person .info { display: grid; gap: 6px; min-width: 0; justify-items: center; }
.person h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.375rem; line-height: 1.2; }
.person .role { color: var(--blue); font-weight: 600; font-size: 0.9688rem; }

/* Partners (Home) */
.partners-grid { align-items: center; row-gap: var(--space-xl); }
.partners-copy { grid-column: 1 / span 5; display: grid; gap: 14px; align-content: center; }
.partners-copy h2 { font-size: clamp(2rem, 4vw, 3rem); }
.partners-copy p { color: var(--muted-fg); font-size: 1.125rem; max-width: 40ch; }
.partners-link { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--blue); text-decoration: none; }
.partners-link svg { width: 18px; height: 18px; transition: transform 220ms var(--ease); }
.partners-link:hover svg { transform: translateX(3px); }
.partner-cards { grid-column: 7 / span 6; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); }
.partner { margin: 0; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-md); transition: transform 240ms var(--ease), box-shadow 240ms ease; }
.partner:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.partner img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.partner figcaption { padding: 16px 18px 18px; display: grid; gap: 4px; border-top: 3px solid var(--gold); }
.partner figcaption b { font-family: var(--font-head); font-weight: 600; font-size: 1.1875rem; line-height: 1.25; }
.partner figcaption span { color: var(--blue); font-weight: 600; font-size: 0.9375rem; }
@media (max-width: 900px) {
  .partners-copy, .partner-cards { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .partner-cards { gap: 14px; }
  .partner figcaption { padding: 12px 12px 14px; }
  .partner figcaption b { font-size: 1rem; }
  .partner figcaption span { font-size: 0.875rem; }
}

/* Service detail pages */
.svc-detail { align-items: start; row-gap: var(--space-xl); scroll-margin-top: 96px; }
.svc-detail + .svc-detail { margin-top: clamp(56px, 8vw, 96px); padding-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--border); }
.svc-detail-head { grid-column: 1 / span 5; display: grid; gap: 14px; align-content: start; }
.svc-detail-head h2 { font-size: clamp(1.875rem, 3.5vw, 2.625rem); }
.svc-detail-head p { color: var(--muted-fg); font-size: 1.0625rem; }
.svc-detail-head .btn { justify-self: start; margin-top: 6px; }
.svc-detail-body { grid-column: 7 / span 6; display: grid; gap: var(--space-lg); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-md); }
.checklist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 16px 20px; border-top: 1px solid var(--border); }
.checklist li:first-child { border-top: 0; }
.checklist svg { width: 22px; height: 22px; color: var(--blue); margin-top: 1px; }
.checklist b { display: block; }
.checklist span { color: var(--muted-fg); font-size: 0.9688rem; }
.forms-row { display: flex; flex-wrap: wrap; gap: 8px; }
.forms-row span { font-size: 0.8125rem; font-weight: 700; color: var(--blue); background: var(--muted); border-radius: 999px; padding: 4px 12px; font-variant-numeric: tabular-nums; }
.service-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.service-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.35); color: var(--on-navy); text-decoration: none; font-weight: 700; font-size: 0.9375rem; transition: background-color 180ms ease, border-color 180ms ease; }
.service-jump a:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--on-navy); color: var(--on-navy); }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-navy-muted); margin-top: clamp(64px, 9vw, 112px); }
.footer-top { padding-block: clamp(48px, 6vw, 72px) 32px; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand img { width: 280px; max-width: 100%; }
.footer-brand p { font-size: 0.9375rem; max-width: 36ch; }
.footer-brand .slogan { font-family: var(--font-head); font-style: italic; font-size: 1.375rem; line-height: 1.3; color: var(--gold); }
.footer-col h2 { font-family: var(--font-body); font-size: 0.9375rem; font-weight: 700; color: var(--on-navy); margin-bottom: 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-col a { color: var(--on-navy-muted); text-decoration: none; display: inline-block; padding-block: 6px; }
.footer-col a:hover { color: var(--gold); }
.footer-col li { font-size: 0.9375rem; }
.footer-bottom { border-top: 1px solid var(--navy-line); padding-block: 20px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 0.8125rem; }

/* Always-visible call button */
.call-fab { position: fixed; z-index: 60; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 24px; border-radius: 999px; background: var(--gold); color: var(--on-gold); font: 700 1.0625rem/1 var(--font-body); text-decoration: none; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; box-shadow: 0 10px 24px -8px rgba(6, 22, 52, 0.55), 0 0 0 1px rgba(6, 22, 52, 0.08); transition: transform 200ms var(--ease), box-shadow 200ms ease, background-color 200ms ease; }
.call-fab svg { width: 20px; height: 20px; flex: none; }
.call-fab:hover { background: var(--gold-hover); color: var(--on-gold); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(6, 22, 52, 0.6), 0 0 0 1px rgba(6, 22, 52, 0.08); }
.call-fab:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.motion-ok .call-fab { animation: fab-in 520ms var(--ease) 700ms both; }
.motion-ok .call-fab::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(217, 174, 78, 0.55); animation: fab-ring 2.4s ease-out 1.6s 3; pointer-events: none; }
@keyframes fab-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fab-ring { 0% { box-shadow: 0 0 0 0 rgba(217, 174, 78, 0.55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(217, 174, 78, 0); } }
.footer-bottom { padding-bottom: calc(28px + 76px); }

/* Responsive */
@media (max-width: 1024px) {
  .svc-card, .svc-card.wide { grid-column: span 3; }
  .svc-card.feature { grid-column: span 6; }
  .fl-grid, .dl-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .creds-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .creds-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  /* Tablet and phone: HT mark centered, menu button on the right */
  .header-inner { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 12px; padding-block: 10px; }
  .site-header.is-scrolled .header-inner { padding-block: 8px; }
  .header-spacer { display: block; width: 48px; height: 48px; }
  .brand { justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none; }
  .brand-tag { display: block; font-family: var(--font-head); font-weight: 700; font-size: 0.6875rem; line-height: 1; letter-spacing: 0.16em; color: var(--blue); white-space: nowrap; }
  .brand img { height: 50px; }
  .site-header.is-scrolled .brand img { height: 42px; }
  .menu-toggle { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: var(--card); border-bottom: 1px solid var(--border); box-shadow: 0 18px 30px -18px rgba(14, 26, 47, 0.4); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 220ms ease, transform 220ms var(--ease), visibility 0s linear 220ms; }
  .nav.open { visibility: visible; opacity: 1; transform: none; transition: opacity 220ms ease, transform 220ms var(--ease), visibility 0s; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--border); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin: 16px 0 0; }
  .decoder-copy, .decoder, .band-copy, .band-actions, .contact-info, .form-card, .about-copy, .about-aside, .svc-detail-head, .svc-detail-body { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-xl); }
  .steps::before, .steps::after { display: none; }
  .values, .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  :root { --header-h: 68px; }
  .brand img { height: 44px; }
  .site-header.is-scrolled .brand img { height: 38px; }
  .topbar .hide-sm { display: none; }
  .topbar { font-size: 0.8125rem; }
  .topbar .container { flex-wrap: nowrap; gap: 10px; }
  .topbar-meta { gap: 10px; flex-wrap: nowrap; }
  .topbar .tb-num { display: none; }
  .topbar .tb-phone { width: 36px; height: 36px; justify-content: center; border: 1px solid var(--navy-line); border-radius: 50%; }
  .topbar .tb-phone svg { width: 16px; height: 16px; }
  .svc-card, .svc-card.wide, .svc-card.feature { grid-column: 1 / -1; }
  .fl-grid, .dl-list, .creds-list, .steps, .values, .team, .form-row { grid-template-columns: minmax(0, 1fr); }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .btn { flex: 1 1 100%; }
  .c-row { grid-template-columns: 22px minmax(0, 1fr); }
  .c-row .copy { grid-column: 2; justify-self: start; }
  .call-fab { left: calc(12px + env(safe-area-inset-left, 0px)); right: calc(12px + env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 360px) {
  .brand-tag { font-size: 0.625rem; letter-spacing: 0.06em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ============================================================
   Google Ads landing page: irs-help.html
   ============================================================ */
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }

/* Compact header: logo left, call button right, no menu */
.lp-header .header-inner { flex-direction: row; justify-content: space-between; align-items: center; padding-block: 12px; }
.lp-header .brand img { height: 54px; }
.site-header.is-scrolled.lp-header .brand img { height: 44px; }
.lp-head-call { min-height: 48px; }
.lp-head-call svg { width: 18px; height: 18px; }

/* Hero: message + call buttons on the left, callback form on the right */
.lp-hero .hero-inner { max-width: none; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(56px, 8vw, 104px); }
.lp-hero-copy { display: grid; gap: var(--space-lg); min-width: 0; }
.lp-hero h1 { font-size: clamp(2.25rem, 4.6vw, 3.6rem); }
.lp-hours { color: var(--on-navy-muted); font-size: 0.9688rem; }
.lp-form-card { background: var(--card); color: var(--fg); border-radius: var(--radius-card); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.55); padding: clamp(22px, 3vw, 32px); display: grid; gap: 10px; border-top: 4px solid var(--gold); scroll-margin-top: 110px; min-width: 0; }
.lp-form-card h2 { font-size: 1.75rem; color: var(--fg); }
.lp-form-card > p { color: var(--muted-fg); }
.lp-form-card form { display: grid; gap: 14px; margin-top: 6px; }
.lp-form-card .btn { width: 100%; min-height: 52px; }
.lp-form-card .privacy { font-size: 0.8125rem; color: var(--muted-fg); }

/* Credentials strip with 4 items */
.creds-list.lp-creds { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Problems grid reuses the value cards (3 x 2) */
.lp-problems .value h3 { font-size: 1.1875rem; }
.lp-center { display: flex; justify-content: center; margin-top: var(--space-2xl); }

/* Three-step process */
.steps.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Questions */
.lp-faq-wrap { max-width: 860px; }
.faq { display: grid; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; min-height: 44px; font-family: var(--font-head); font-weight: 600; font-size: 1.1875rem; color: var(--fg); transition: color 180ms ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg) translate(-3px, -3px); transition: transform 220ms var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq summary:hover { color: var(--blue); }
.faq details p { padding: 0 4px 20px; color: var(--muted-fg); max-width: 68ch; }

/* Footer */
.lp-footer { margin-top: 0; }
.lp-footer-top { padding-block: 48px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 28px 48px; }
.lp-footer-info { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 0.9688rem; }
.lp-footer-info a { color: var(--on-navy-muted); text-decoration: none; }
.lp-footer-info a:hover { color: var(--gold); }

@media (max-width: 1024px) {
  .lp-hero .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .lp-form-card { max-width: 560px; }
  .creds-list.lp-creds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .lp-header .header-inner { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; }
  .lp-head-call { width: 48px; height: 48px; min-height: 48px; padding: 0; border-radius: 50%; justify-self: end; }
  .lp-head-call span { display: none; }
  .lp-head-call svg { width: 20px; height: 20px; }
  .steps.steps-3 { grid-template-columns: minmax(0, 1fr); }
  .lp-problems { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .lp-problems, .creds-list.lp-creds { grid-template-columns: minmax(0, 1fr); }
  .lp-hero .hero-actions .btn { flex: 1 1 100%; }
  .lp-center .btn { width: 100%; }
}
/* Privacy policy */
.legal { max-width: 780px; }
.legal-date { color: var(--muted-fg); font-size: 0.9375rem; margin-bottom: var(--space-lg); }
.legal h2 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); margin: var(--space-xl) 0 10px; }
.legal p, .legal li { color: var(--fg); }
.legal ul { margin: 0; padding-left: 1.25em; display: grid; gap: 8px; }
.legal a { color: var(--blue); }
.footer-bottom a { color: var(--on-navy-muted); text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--gold); }
.privacy a { color: var(--blue); }
/* Language switch in the sticky header, so it stays visible while scrolling */
.header-inner { position: relative; }
.header-lang { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); background: var(--card); border-color: var(--border); z-index: 2; }
.header-lang button { color: var(--muted-fg); min-height: 34px; }
.header-lang button:hover { color: var(--blue); }
.header-lang button[aria-pressed="true"], .header-lang button[aria-pressed="true"]:hover { background: var(--gold); color: var(--on-gold); }
/* Landing page desktop: logo left, then switch and call button on the right */
.lp-header .brand { order: 1; }
.lp-header .header-lang { position: static; transform: none; order: 2; margin-left: auto; margin-right: 12px; }
.lp-header .lp-head-call { order: 3; }
@media (max-width: 900px) {
  .header-inner, .lp-header .header-inner { grid-template-columns: 76px minmax(0, 1fr) 76px; gap: 6px; }
  .header-lang, .lp-header .header-lang { position: static; transform: none; justify-self: start; order: 0; margin: 0; }
  .lp-header .brand, .lp-header .lp-head-call { order: 0; }
  .menu-toggle { justify-self: end; }
  .header-lang button { min-width: 34px; padding: 0 8px; }
}
@media (max-width: 360px) {
  .header-inner, .lp-header .header-inner { grid-template-columns: 66px minmax(0, 1fr) 66px; }
  .header-lang button { min-width: 30px; padding: 0 6px; font-size: 0.75rem; }
}@media (max-width: 420px) {
  .brand-tag { font-size: 0.625rem; letter-spacing: 0.08em; }
}
@media (max-width: 360px) {
  .header-inner, .lp-header .header-inner { grid-template-columns: 62px minmax(0, 1fr) 62px; }
  .header-lang button { min-width: 28px; padding: 0 5px; }
  .brand-tag { letter-spacing: 0.02em; }
}
/* Landing page: lighter layout on phones */
@media (max-width: 600px) {
  body.lp .topbar { display: none; }
  .lp-hero .hero-inner { gap: 36px; padding-block: 44px 56px; }
  .lp-hero-copy { gap: 20px; }
  /* Credentials: four short labels in a 2 x 2 grid */
  .creds-list.lp-creds { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; padding-block: 22px; }
  .lp-creds li { grid-template-columns: 32px minmax(0, 1fr); gap: 0 10px; align-items: center; }
  .lp-creds li > span:not(.ico) { display: none; }
  .lp-creds .ico { grid-row: auto; width: 32px; height: 32px; }
  .lp-creds .ico svg { width: 18px; height: 18px; }
  .lp-creds b { font-size: 0.9375rem; line-height: 1.25; }
  /* Problem cards: icon beside the text, less padding */
  .lp-problems { gap: 12px; }
  .lp-problems .value { grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; padding: 16px 18px; align-items: start; }
  .lp-problems .value .svc-ico { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; }
  .lp-problems .value .svc-ico svg { width: 22px; height: 22px; }
  .lp-problems .value h3 { font-size: 1.0625rem; }
  .lp-problems .value p { font-size: 0.9375rem; }
  body.lp .decoder-copy ul { display: none; }
  .lp-center { margin-top: var(--space-xl); }
}
/* Spam trap field for Netlify Forms: hidden from people */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ============================================================
   IRS funnel: step-by-step case review, doorway cards, thank-you page
   ============================================================ */
.review-card { gap: 0; }
.rv-head { display: grid; gap: 6px; margin-bottom: 18px; }
.rv-head h2 { font-size: 1.75rem; }
.rv-head > p { color: var(--muted-fg); }
.rv-progress { height: 6px; border-radius: 999px; background: var(--muted); overflow: hidden; margin-top: 10px; }
.rv-progress span { display: block; height: 100%; width: 33.34%; background: var(--gold); border-radius: inherit; transition: width 320ms var(--ease); }
.rv-count { font-size: 0.875rem; font-weight: 700; color: var(--blue); }
.review-card form { display: grid; gap: 14px; margin-top: 0; }
.rv-step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 14px; }
.rv-step legend { padding: 0; margin-bottom: 12px; font-family: var(--font-head); font-weight: 600; font-size: 1.3125rem; line-height: 1.3; color: var(--fg); }
.motion-ok .rv-step:not([hidden]) { animation: rv-in 260ms var(--ease); }
@keyframes rv-in { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.choices { display: grid; gap: 10px; }
.choice { position: relative; display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 12px 14px 12px 16px; border: 1.5px solid var(--border); border-radius: 10px; background: var(--card); cursor: pointer; font-weight: 600; color: var(--fg); transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease; }
.choice span { flex: 1; line-height: 1.35; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice .ch-arrow { width: 18px; height: 18px; flex: none; color: var(--muted-fg); transition: transform 180ms var(--ease), color 160ms ease; }
.choice:hover { border-color: var(--blue); background: var(--bg); }
.choice:hover .ch-arrow { transform: translateX(2px); color: var(--blue); }
.choice:has(input:checked) { border-color: var(--blue); background: var(--muted); box-shadow: inset 4px 0 0 var(--gold); }
.choice:has(input:checked) .ch-arrow { color: var(--blue); }
.choice:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.rv-back { justify-self: start; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 8px 0 2px; border: 0; background: transparent; color: var(--muted-fg); font: 700 0.9375rem var(--font-body); cursor: pointer; }
.rv-back:hover { color: var(--blue); }
.rv-back svg { width: 18px; height: 18px; }
.rv-urgent { background: var(--soon-soft); border-radius: 10px; padding: 14px 16px; display: grid; gap: 12px; }
.rv-urgent p { color: var(--soon); font-weight: 700; }
.rv-urgent .btn { width: 100%; }
.rv-free { text-align: center; font-weight: 700; color: var(--ok); font-size: 0.9375rem; }

/* Problem cards that open the review */
a.value-link { text-decoration: none; color: inherit; cursor: pointer; transition: transform 240ms var(--ease), box-shadow 240ms ease, border-color 240ms ease; }
a.value-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #B9C6DC; color: inherit; }
.value-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); font-size: 0.9375rem; margin-top: 4px; }
.value-more svg { width: 16px; height: 16px; transition: transform 220ms var(--ease); }
a.value-link:hover .value-more svg { transform: translateX(3px); }

/* Thank-you page */
.lp-thanks .hero-inner { max-width: 760px; padding-block: clamp(56px, 8vw, 96px); }
.thx-check { justify-self: start; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--on-gold); }
.thx-check svg { width: 32px; height: 32px; }
.lp-thanks h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.lp-thanks .hero-lede b { color: var(--on-navy); }
.thx-urgent { background: rgba(217, 174, 78, 0.16); border: 1px solid rgba(217, 174, 78, 0.5); border-radius: 10px; padding: 14px 18px; }
.thx-urgent p { color: var(--on-navy); font-weight: 700; }
.thx-ready { max-width: 780px; }
.thx-back { margin-top: var(--space-xl); }

@media (max-width: 600px) {
  .rv-head h2 { font-size: 1.5rem; }
  .rv-step legend { font-size: 1.1875rem; }
  .lp-problems a.value-link { grid-template-columns: 40px minmax(0, 1fr); }
  .lp-problems .value-more { grid-column: 2; }
}
/* Landing page headline: each IRS question on its own line, then the gold answer */
.lp-hero h1 .h1-line, .lp-hero h1 .accent { display: block; }
.lp-hero h1 .accent { margin-top: 0.12em; }
@media (max-width: 420px) {
  .lp-hero h1 { font-size: 2rem; }
}

/* Shown only when the funnel is tried in the local preview */
.thx-preview { justify-self: start; background: var(--soon-soft); color: var(--soon); font-weight: 700; font-size: 0.9375rem; border-radius: 8px; padding: 10px 14px; }

/* First-visit language panel (non-blocking, asked once) */
.lang-ask { position: fixed; z-index: 70; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: min(420px, calc(100% - 24px)); transform: translate(-50%, calc(100% + 40px)); background: var(--card); color: var(--fg); border-radius: 14px; border-top: 4px solid var(--gold); box-shadow: 0 24px 48px -16px rgba(6, 22, 52, 0.55), 0 0 0 1px rgba(6, 22, 52, 0.08); padding: 20px 20px 18px; display: grid; gap: 14px; transition: transform 320ms var(--ease); }
.lang-ask.open { transform: translate(-50%, 0); }
.lang-ask-title { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; line-height: 1.3; padding-right: 32px; }
.lang-ask-title span { display: block; color: var(--blue); }
.lang-ask-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lang-ask-btns .btn { width: 100%; min-height: 52px; font-size: 1.0625rem; }
.lang-ask-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--muted-fg); cursor: pointer; transition: background-color 160ms ease, color 160ms ease; }
.lang-ask-close:hover { background: var(--muted); color: var(--fg); }
.lang-ask-close svg { width: 20px; height: 20px; }
/* The floating call button steps aside while the panel is showing */
.call-fab { transition: transform 200ms var(--ease), box-shadow 200ms ease, background-color 200ms ease, opacity 200ms ease; }
body.lang-asking .call-fab { visibility: hidden; pointer-events: none; }
/* ---------- IRS landing page: resolved cases ---------- */
.case-conf { display: flex; gap: 10px; align-items: flex-start; font-size: 1rem !important; }
.case-conf svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--blue); }
.cases { display: grid; gap: var(--space-lg); }
.case { display: grid; grid-template-columns: 260px minmax(0, 1fr); grid-template-rows: 1fr auto; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-md); overflow: hidden; }
.case-facts { grid-row: 1 / span 2; background: var(--navy); color: var(--on-navy); padding: 32px 28px; display: grid; gap: 28px; align-content: center; }
.case-facts div { display: grid; gap: 4px; }
.case-facts b { font-family: var(--font-head); font-weight: 600; font-size: clamp(2.25rem, 4vw, 2.75rem); line-height: 1; color: var(--gold); }
.case-facts span { color: var(--on-navy-muted); font-size: 0.9688rem; }
.case-body { margin: 0; padding: 32px 32px 8px; display: grid; gap: 22px; }
.case-body div { display: grid; gap: 6px; }
.case-body dt { font-family: var(--font-head); font-weight: 600; font-size: 1.1875rem; color: var(--fg); }
.case-body dd { margin: 0; color: var(--muted-fg); }
.case-result { border-left: 3px solid var(--gold); padding-left: 16px; }
.case-result dd { color: var(--fg); font-weight: 600; }
.case-foot { padding: 14px 32px 24px; color: var(--muted-fg); font-size: 0.875rem; font-style: italic; }
.case-note { margin-top: var(--space-lg); color: var(--muted-fg); font-size: 0.875rem; max-width: 70ch; }
@media (max-width: 760px) {
  .case { grid-template-columns: 1fr; grid-template-rows: auto; }
  .case-facts { grid-row: auto; grid-template-columns: 1fr 1fr; gap: 16px; padding: 24px 20px; }
  .case-body { padding: 24px 20px 4px; }
  .case-foot { padding: 12px 20px 20px; }
}

/* ---------- Home: short firm intro after the partners ---------- */
.firm-intro .container { max-width: 820px; display: grid; justify-items: center; gap: 16px; text-align: center; }
.firm-intro h2 { font-size: clamp(2rem, 4vw, 3rem); }
.firm-intro p { color: var(--muted-fg); font-size: 1.125rem; max-width: 62ch; }
.firm-intro .firm-intro-lead { color: var(--fg); font-family: var(--font-head); font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.45; }
.firm-intro .partners-link { justify-self: center; }
