:root {
    --navy-blue: #1E3A8A;
    --navy-deep: #0F2F5A;
    --copper: #B87333;
    --copper-soft: #D9B08C;
    --white: #FFFFFF;
    --ivory: #FAF8F4;
    --light-gray: #F8F9FA;
    --mist: #EEF2F7;
    --medium-gray: #6B7280;
    --dark-gray: #1F2937;
    --text-color: #24303F;
    --border-color: rgba(30, 58, 138, 0.12);
    --border-strong: rgba(30, 58, 138, 0.2);
    --shadow-sm: 0 18px 48px rgba(15, 47, 90, 0.08);
    --shadow-lg: 0 26px 70px rgba(15, 47, 90, 0.16);
    --font-heading: Georgia, "Times New Roman", serif;
    --font-body: "Roboto", sans-serif;
    --container-width: 1180px;
    --radius-sm: 16px;
    --radius-md: 24px;
    --radius-lg: 32px;
    --transition: 0.25s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background:
        radial-gradient(circle at top right, rgba(184, 115, 51, 0.18), transparent 28%),
        radial-gradient(circle at bottom left, rgba(30, 58, 138, 0.12), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, var(--ivory) 100%);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: var(--navy-blue);
    text-decoration: none;
    transition: color var(--transition), border-color var(--transition), background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

a:hover {
    color: var(--copper);
}

button,
input,
textarea,
select {
    font: inherit;
}

:focus-visible {
    outline: 3px solid rgba(184, 115, 51, 0.35);
    outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 1rem;
    font-family: var(--font-heading);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--navy-deep);
}

h1 {
    font-size: clamp(2.6rem, 5vw, 4.7rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.35rem, 2vw, 1.7rem);
}

p {
    margin: 0 0 1rem;
}

strong {
    color: var(--navy-deep);
}

ul,
ol {
    margin: 0;
    padding-left: 1.25rem;
}

.container {
    width: min(var(--container-width), calc(100% - 2.5rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(250, 248, 244, 0.72);
    backdrop-filter: blur(18px);
}

.navbar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: space-between;
    padding: 0.85rem 1rem 0.85rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-sm);
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.95rem;
    color: var(--text-color);
    min-width: 0;
}

.brand-lockup:hover {
    color: var(--text-color);
}

.brand-mark {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
}

.logo-img {
    width: auto;
    height: 62px;
    object-fit: contain;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--navy-deep);
}

.brand-subtitle {
    font-size: 0.88rem;
    color: var(--medium-gray);
}

.nav-panel {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    list-style: none;
    padding: 0;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0;
    font-size: 0.98rem;
    font-weight: 500;
    color: var(--text-color);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0.1rem;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: var(--copper);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--navy-blue);
}

.nav-link:hover::after,
.nav-link.is-active::after {
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 42px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    background: transparent;
    color: var(--navy-deep);
    cursor: pointer;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform var(--transition), opacity var(--transition), background-color var(--transition);
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: "";
    position: absolute;
    left: 0;
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    top: 6px;
}

.menu-toggle.active .hamburger {
    background-color: transparent;
}

.menu-toggle.active .hamburger::before {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle.active .hamburger::after {
    transform: translateY(-6px) rotate(-45deg);
}

.site-main {
    padding-bottom: 4rem;
}

.hero,
.page-hero {
    padding: 1.5rem 0 0;
}

.hero-grid,
.about-layout,
.content-split {
    display: grid;
    gap: 1.5rem;
}

.hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    align-items: stretch;
}

.hero-copy,
.page-hero-card,
.card,
.article-shell,
.callout-card,
.faq-category,
.podcast-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
}

.hero-copy {
    padding: clamp(2rem, 5vw, 3.6rem);
    background:
        linear-gradient(135deg, rgba(30, 58, 138, 0.12), rgba(184, 115, 51, 0.12)),
        rgba(255, 255, 255, 0.88);
}

.hero-copy h1 {
    max-width: 13ch;
}

.hero-lead,
.section-lead,
.subsection-copy,
.card-subtle,
.ideal-for,
.fee-list,
.article-meta,
.footer-copy,
.faq-answer,
.mini-stat span {
    color: var(--medium-gray);
}

.hero-lead {
    max-width: 62ch;
    font-size: 1.08rem;
    margin-bottom: 1.75rem;
}

.eyebrow,
.card-kicker,
.footer-eyebrow {
    display: inline-block;
    margin-bottom: 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow,
.card-kicker,
.footer-eyebrow {
    color: var(--copper);
}

.eyebrow-light {
    color: rgba(255, 255, 255, 0.78);
}

.hero-badges,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.9rem;
    border: 1px solid rgba(30, 58, 138, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    color: var(--navy-deep);
    font-size: 0.92rem;
    line-height: 1;
}

.cta-group,
.center-actions,
.footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.cta-group {
    margin: 1.75rem 0 1.5rem;
}

.cta-group-start {
    justify-content: flex-start;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1.35rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--navy-blue), var(--navy-deep));
    color: var(--white);
    box-shadow: 0 16px 28px rgba(15, 47, 90, 0.2);
}

.btn-primary:hover {
    color: var(--white);
    box-shadow: 0 22px 34px rgba(15, 47, 90, 0.26);
}

.btn-secondary {
    border-color: rgba(30, 58, 138, 0.16);
    background: rgba(255, 255, 255, 0.82);
    color: var(--navy-blue);
}

.btn-secondary:hover {
    background: rgba(30, 58, 138, 0.06);
    color: var(--navy-blue);
}

.btn-sm {
    min-height: 42px;
    padding: 0.7rem 1rem;
}

.brand-panel {
    position: relative;
    overflow: hidden;
    padding: 1.9rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, var(--navy-blue) 0%, var(--navy-deep) 100%);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.brand-panel::before {
    content: "";
    position: absolute;
    top: -24px;
    right: -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(184, 115, 51, 0.25);
    filter: blur(12px);
}

.brand-panel > * {
    position: relative;
}

.brand-panel h2,
.brand-panel h3,
.brand-panel p,
.brand-panel strong {
    color: var(--white);
}

.brand-panel-logo {
    overflow: hidden;
    padding: 0.45rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.94);
}

.brand-panel-logo img {
    width: 100%;
    max-width: none;
    border-radius: calc(var(--radius-md) - 8px);
}

.brand-panel-caption {
    margin: 0 0 1.25rem;
    font-size: 0.92rem;
    line-height: 1.45;
    text-align: center;
    color: rgba(255, 255, 255, 0.78);
}

.check-list {
    display: grid;
    gap: 0.9rem;
    list-style: none;
    padding: 0;
}

.check-list li {
    position: relative;
    padding-left: 1.4rem;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.52rem;
    width: 0.52rem;
    height: 0.52rem;
    border-radius: 50%;
    background: var(--copper);
}

.check-list-light li {
    color: rgba(255, 255, 255, 0.88);
}

.mini-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.mini-stat {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.12);
}

.mini-stat strong {
    display: block;
    margin-bottom: 0.35rem;
}

/* The mini-stat cards sit on a dark brand panel, so they need brighter supporting text and a slightly stronger card surface to stay easy to read at a glance. */
.brand-panel .mini-stat span {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    line-height: 1.6;
}

.section-shell {
    padding: 4.75rem 0 0;
}

.section-shell-muted {
    position: relative;
}

.section-shell-muted::before {
    content: "";
    position: absolute;
    inset: 2rem 0 auto;
    height: calc(100% - 2rem);
    background: linear-gradient(180deg, rgba(238, 242, 247, 0.82), rgba(255, 255, 255, 0));
    z-index: -1;
}

/* The first How We Work section sits directly below the header, so it uses tighter top spacing and starts the muted background immediately instead of leaving a white band above the content. */
.method-intro-shell {
    padding-top: 1.5rem;
}

.method-intro-shell::before {
    inset: 0;
    height: 100%;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 2.25rem;
    text-align: center;
}

.section-heading-left {
    max-width: 760px;
    margin: 0 0 2rem;
    text-align: left;
}

.section-heading .section-lead,
.section-heading-left .section-lead {
    margin-bottom: 0;
}

#bookkeeping,
#tax {
    scroll-margin-top: 7.5rem;
}

.subsection-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.subsection-head h3 {
    margin-bottom: 0.35rem;
}

.subsection-copy {
    max-width: 42ch;
    margin-bottom: 0;
}

.package-stack + .package-stack,
.offering-section + .offering-section {
    margin-top: 3rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.card-grid-tight {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
    height: 100%;
    padding: 1.75rem;
}

.card h3:last-child,
.card p:last-child,
.card ul:last-child {
    margin-bottom: 0;
}

.package-card,
.package-summary-card,
.article-card,
.download-card,
.value-card {
    display: flex;
    flex-direction: column;
}

.price,
.price-label {
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    color: var(--navy-blue);
}

.ideal-for {
    margin-bottom: 1.2rem;
}

.features-list {
    display: grid;
    gap: 0.8rem;
    list-style: none;
    padding: 0;
}

.features-list li {
    position: relative;
    padding-left: 1.25rem;
}

.features-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--copper);
}

.features-list .feature-intro {
    padding-left: 0;
    font-weight: 700;
    color: var(--navy-deep);
}

.features-list .feature-intro::before {
    display: none;
}

.features-list .feature-highlight {
    color: var(--navy-deep);
}

.features-list .feature-highlight strong {
    font-weight: 700;
}

.fee-group {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(30, 58, 138, 0.12);
}

.fee-group strong {
    display: block;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
}

.fee-list {
    display: grid;
    gap: 0.45rem;
    list-style: none;
    padding: 0;
    font-size: 0.92rem;
}

.card-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
}

.page-hero-card {
    padding: clamp(2rem, 4vw, 3rem);
    background:
        linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(238, 242, 247, 0.82)),
        rgba(255, 255, 255, 0.92);
}

.page-hero-card h1 {
    max-width: 14ch;
}

.calculator-layout,
.calculator-form-grid {
    display: grid;
    gap: 1.25rem;
}

.calculator-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    align-items: start;
}

.calculator-form-card,
.calculator-result-card {
    padding: clamp(1.8rem, 4vw, 2.4rem);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
}

.calculator-form-card {
    background:
        linear-gradient(155deg, rgba(30, 58, 138, 0.06), rgba(184, 115, 51, 0.06)),
        rgba(255, 255, 255, 0.94);
}

.calculator-result-card {
    position: sticky;
    top: 7.5rem;
}

.calculator-heading {
    margin-bottom: 1.6rem;
}

.calculator-form {
    display: grid;
    gap: 1.5rem;
}

.calculator-form-actions {
    display: grid;
    gap: 0.8rem;
    justify-items: start;
}

.calculator-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-section {
    display: grid;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.form-field {
    display: grid;
    gap: 0.45rem;
}

.form-field label {
    font-weight: 700;
    color: var(--navy-deep);
}

.form-field input,
.form-field select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border-strong);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--text-color);
    transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.form-field input:hover,
.form-field select:hover {
    border-color: rgba(30, 58, 138, 0.28);
}

.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: rgba(30, 58, 138, 0.55);
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.08);
}

.input-error {
    border-color: rgba(180, 83, 9, 0.55) !important;
    background: rgba(255, 247, 237, 0.95) !important;
}

.field-error {
    margin-bottom: 0;
    font-size: 0.92rem;
    color: #9a3412;
}

.field-hint {
    margin-bottom: 0;
    font-size: 0.88rem;
    color: var(--medium-gray);
}

.calculator-tooltip-shell {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-top: 0.25rem;
}

.form-field[hidden],
.calculator-tooltip-shell[hidden] {
    display: none !important;
}

.tooltip-trigger {
    padding: 0.45rem 0.75rem;
    border: 1px solid rgba(180, 83, 9, 0.18);
    border-radius: 999px;
    background: rgba(255, 247, 237, 0.92);
    color: #9a3412;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.tooltip-bubble {
    position: absolute;
    left: 0;
    top: calc(100% + 0.55rem);
    width: min(260px, calc(100vw - 5rem));
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(15, 47, 90, 0.12);
    border-radius: 14px;
    background: rgba(15, 47, 90, 0.96);
    color: var(--white);
    font-size: 0.88rem;
    line-height: 1.45;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    z-index: 10;
}

.tooltip-bubble::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 18px;
    width: 14px;
    height: 14px;
    transform: rotate(45deg);
    background: rgba(15, 47, 90, 0.96);
    border-left: 1px solid rgba(15, 47, 90, 0.12);
    border-top: 1px solid rgba(15, 47, 90, 0.12);
}

.calculator-tooltip-shell:hover .tooltip-bubble,
.calculator-tooltip-shell:focus-within .tooltip-bubble {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.form-message {
    padding: 0.9rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.form-message-error {
    color: #9a3412;
    background: rgba(255, 247, 237, 0.9);
    border-color: rgba(180, 83, 9, 0.2);
}

.form-message-success {
    margin-top: 1.4rem;
    margin-bottom: 0;
    color: var(--navy-deep);
    background: rgba(30, 58, 138, 0.07);
}

.result-range {
    margin-top: -0.35rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--copper);
}

.calculator-note-shell {
    margin-top: 1.5rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: rgba(30, 58, 138, 0.05);
}

.calculator-note-shell-emphasis {
    background:
        linear-gradient(155deg, rgba(30, 58, 138, 0.08), rgba(184, 115, 51, 0.1)),
        rgba(255, 255, 255, 0.94);
}

.cleanup-fee {
    margin-bottom: 0.55rem;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.65rem);
    line-height: 1;
    color: var(--navy-deep);
}

.cleanup-scope {
    margin-bottom: 0.55rem;
    font-weight: 700;
    color: var(--navy-deep);
}

.cleanup-waiver {
    margin-top: 0.9rem;
    margin-bottom: 0.4rem;
    font-weight: 700;
    color: var(--navy-blue);
}

.calculator-note-shell p:last-child {
    margin-bottom: 0;
}

.content-split,
.about-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: start;
}

.callout-card {
    padding: 1.75rem;
    background:
        linear-gradient(160deg, rgba(30, 58, 138, 0.08), rgba(184, 115, 51, 0.08)),
        rgba(255, 255, 255, 0.92);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.process-card {
    position: relative;
    padding-top: 4.4rem;
}

.step-badge {
    position: absolute;
    top: 1.4rem;
    left: 1.4rem;
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: rgba(30, 58, 138, 0.1);
    color: var(--navy-blue);
    font-family: var(--font-heading);
    font-weight: 700;
}

.cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: clamp(1.75rem, 4vw, 2.4rem);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, var(--navy-blue), var(--navy-deep));
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.cta-banner h2,
.cta-banner p,
.podcast-card h2,
.podcast-card p {
    color: var(--white);
}

.cta-banner h2 {
    margin-bottom: 0.45rem;
}

.podcast-card {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    padding: clamp(1.75rem, 4vw, 2.4rem);
    background: linear-gradient(150deg, var(--navy-blue), var(--navy-deep));
}

.podcast-card .badge {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.16);
    color: var(--white);
}

.back-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.article-content {
    max-width: 880px;
}

.article-shell {
    padding: clamp(1.8rem, 4vw, 3rem);
}

.article-meta {
    font-size: 0.95rem;
}

.prose {
    display: grid;
    gap: 1rem;
}

.prose > h1:first-child {
    display: none;
}

.prose h2,
.prose h3,
.prose h4 {
    margin-top: 1rem;
    margin-bottom: 0;
}

.prose p,
.prose ul,
.prose ol,
.prose blockquote,
.prose pre {
    margin-bottom: 0;
}

.prose ul,
.prose ol {
    padding-left: 1.25rem;
}

.prose li + li {
    margin-top: 0.4rem;
}

.prose a {
    text-decoration: underline;
    text-underline-offset: 0.14em;
}

.prose blockquote {
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--copper);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: rgba(238, 242, 247, 0.78);
}

.prose code {
    padding: 0.12rem 0.35rem;
    border-radius: 8px;
    background: rgba(238, 242, 247, 0.9);
    font-size: 0.92em;
}

.prose pre {
    overflow-x: auto;
    padding: 1rem 1.2rem;
    border-radius: var(--radius-sm);
    background: #0f172a;
    color: var(--white);
}

.prose pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.faq {
    padding-top: 4rem;
}

.faq-category {
    padding: 1.6rem;
}

.faq-category + .faq-category {
    margin-top: 1.5rem;
}

.faq-category-head {
    margin-bottom: 1.2rem;
}

.faq-group {
    display: grid;
    gap: 0.85rem;
}

.faq-item {
    border: 1px solid rgba(30, 58, 138, 0.1);
    border-radius: var(--radius-sm);
    background: rgba(248, 249, 250, 0.88);
    overflow: hidden;
}

.faq-question {
    position: relative;
    padding: 1rem 1.25rem;
    list-style: none;
    cursor: pointer;
    font-weight: 700;
    color: var(--navy-deep);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: "+";
    position: absolute;
    top: 0.9rem;
    right: 1.15rem;
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--copper);
}

.faq-item[open] .faq-question::after {
    content: "−";
}

.faq-answer {
    padding: 0 1.25rem 1.25rem;
}

.faq-answer p:last-child,
.faq-answer ul:last-child,
.faq-answer table:last-child {
    margin-bottom: 0;
}

.states-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    font-size: 0.95rem;
    min-width: 720px;
}

.states-table th,
.states-table td {
    padding: 0.8rem;
    border: 1px solid rgba(30, 58, 138, 0.12);
    background: rgba(255, 255, 255, 0.85);
    text-align: left;
    vertical-align: top;
}

.states-table th {
    color: var(--navy-deep);
    background: rgba(30, 58, 138, 0.06);
}

.states-table ul {
    padding-left: 1rem;
}

.about-brand-card {
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, var(--navy-blue), var(--navy-deep));
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.about-brand-card p,
.about-brand-card strong,
.about-brand-card h2,
.about-brand-card h3 {
    color: var(--white);
}

.about-logo-panel {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.9);
}

.about-copy {
    padding: clamp(1.75rem, 4vw, 2.2rem);
}

.about-values {
    margin-top: 1.5rem;
}

.center-actions {
    justify-content: center;
    margin-top: 2.5rem;
}

.empty-state-card {
    grid-column: 1 / -1;
}

.site-footer {
    padding: 5rem 0 2rem;
}

.footer-shell {
    padding: clamp(2rem, 4vw, 2.8rem);
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, var(--navy-deep), #091f3e);
    box-shadow: var(--shadow-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.7fr) minmax(240px, 0.95fr);
    gap: 2rem;
}

.footer-title,
.footer-heading,
.footer-shell a,
.footer-shell strong {
    color: var(--white);
}

.footer-heading {
    margin-bottom: 0.9rem;
    font-weight: 700;
}

.footer-copy {
    max-width: 48ch;
    color: rgba(255, 255, 255, 0.72);
}

.footer-links {
    display: grid;
    gap: 0.55rem;
    list-style: none;
    padding: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.84);
}

.footer-links a:hover,
.footer-bottom a:hover {
    color: var(--copper-soft);
}

.footer-actions {
    margin-top: 1rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.95rem;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 1180px) {
    .nav-panel {
        position: absolute;
        top: calc(100% + 0.8rem);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border: 1px solid var(--border-color);
        border-radius: 28px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--shadow-lg);
    }

    .nav-panel.is-open {
        display: flex;
    }

    .nav-links,
    .nav-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-links {
        gap: 0.25rem;
    }

    .nav-link {
        width: 100%;
        padding: 0.75rem 0.25rem;
    }

    .nav-actions .btn {
        width: 100%;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .hero-grid,
    .about-layout,
    .content-split,
    .card-grid,
    .card-grid-tight,
    .footer-grid,
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .calculator-layout {
        grid-template-columns: 1fr;
    }

    .calculator-result-card {
        position: static;
    }

    .subsection-head,
    .podcast-card,
    .cta-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 900px) {
    .brand-copy {
        display: none;
    }

    .hero-grid,
    .about-layout,
    .content-split,
    .card-grid,
    .card-grid-tight,
    .process-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .page-hero-card h1,
    .hero-copy h1 {
        max-width: none;
    }

    .mini-stat-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(var(--container-width), calc(100% - 1.5rem));
    }

    .site-header {
        padding: 0.75rem 0;
    }

    .navbar {
        padding: 0.8rem;
        border-radius: 28px;
    }

    .logo-img {
        height: 54px;
    }

    .hero,
    .page-hero {
        padding-top: 0.75rem;
    }

    .section-shell {
        padding-top: 3.5rem;
    }

    .hero-copy,
    .page-hero-card,
    .card,
    .article-shell,
    .faq-category,
    .about-brand-card,
    .callout-card,
    .podcast-card,
    .footer-shell {
        padding: 1.4rem;
    }

    .cta-group,
    .center-actions,
    .footer-actions {
        width: 100%;
        flex-direction: column;
    }

    .cta-group .btn,
    .center-actions .btn,
    .footer-actions .btn,
    .cta-banner .btn {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .calculator-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    h1 {
        font-size: 2.3rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .badge {
        width: 100%;
        justify-content: center;
    }

    .states-table {
        font-size: 0.9rem;
    }
}
