/*
Theme Name: Austin Insurance Agency
Theme URI: https://austininsuranceagency.tech
Description: Authority-hub child theme for the Austin Insurance Agency — the
             cross-state, data-sourced insurance directory operated by 5 Kings Marketing.
             Self-contained design system (overrides the parent agency theme's header,
             footer and palette so this site reads as an industry network, not an agency).
Version: 2.0.0
Author: 5 Kings Marketing
Author URI: https://5kingsmarketing.com
Template: 5kings-native-theme
Text Domain: insuranceserviceproviders-network
Network: true
License: Proprietary
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
    /* Brand — authority navy + warm gold. Deliberately distinct from the
       allstar (red) and EZ (blue) client sites. */
    --navy-900: #08152B;
    --navy-800: #0D1F3C;
    --navy-700: #132A4E;
    --navy-600: #1B3765;
    --navy-500: #264676;

    --gold-600: #B07E12;
    --gold-500: #C99A22;
    --gold-400: #E3B341;
    --gold-100: #FBF3DC;

    --teal-600: #0B6B74;
    --teal-100: #E4F4F5;
    --green-700: #05603A;
    --green-100: #E7F6EC;

    /* Neutrals */
    --ink-900: #0B1424;
    --ink-700: #24324A;
    --ink-500: #4A5A72;
    --ink-400: #6B7A90;
    --line: #E3E7ED;
    --line-strong: #CBD3DE;
    --surface: #FFFFFF;
    --surface-2: #F6F8FA;
    --surface-3: #EEF2F6;

    /* Type */
    --font-display: "Newsreader", Georgia, "Times New Roman", serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;

    /* Space & shape */
    --wrap: 1180px;
    --wrap-narrow: 760px;
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 16px;
    --r-xl: 24px;
    --shadow-sm: 0 1px 2px rgba(11, 20, 36, .06), 0 1px 3px rgba(11, 20, 36, .04);
    --shadow-md: 0 4px 12px rgba(11, 20, 36, .07), 0 2px 4px rgba(11, 20, 36, .04);
    --shadow-lg: 0 18px 40px -12px rgba(11, 20, 36, .18);
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--surface);
    color: var(--ink-700);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-600); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--gold-600); }
h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink-900);
    line-height: 1.15;
    letter-spacing: -.015em;
    margin: 0 0 .5em;
    font-weight: 600;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.25em; }
li { margin-bottom: .45em; }
strong { color: var(--ink-900); font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
blockquote {
    margin: 1.8rem 0; padding: 1.2rem 1.5rem;
    border-left: 3px solid var(--gold-400);
    background: var(--gold-100);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    font-family: var(--font-display); font-size: 1.15rem; color: var(--ink-900);
}
code, pre { font-family: var(--font-mono); font-size: .88em; }
code { background: var(--surface-3); padding: .15em .4em; border-radius: 4px; }

/* Accessibility */
.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 999;
    background: var(--navy-900); color: #fff; padding: .75rem 1.25rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 2px; }
.screen-reader-text {
    border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
    height: 1px; width: 1px; margin: -1px; overflow: hidden;
    padding: 0; position: absolute; white-space: nowrap;
}

/* ==========================================================================
   3. Layout primitives
   ========================================================================== */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: var(--wrap-narrow); }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.section--surface { background: var(--surface-2); }
.section--navy { background: var(--navy-900); color: #D8E2F0; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy a { color: var(--gold-400); }

.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--font-body); font-size: .74rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--gold-600); margin-bottom: .9rem;
}
.eyebrow::before {
    content: ""; width: 22px; height: 2px; background: var(--gold-400); display: block;
}
.section--navy .eyebrow { color: var(--gold-400); }
.lede { font-size: 1.14rem; color: var(--ink-500); max-width: 68ch; }
.section-head { max-width: 68ch; margin-bottom: 2.5rem; }

/* ==========================================================================
   4. Header
   ========================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 200;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.site-header__inner {
    max-width: var(--wrap); margin: 0 auto; padding: 0 24px;
    height: 74px; display: flex; align-items: center; gap: 2rem;
}
.isp-brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex-shrink: 0; }
.isp-brand__mark {
    width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0;
    background: linear-gradient(140deg, var(--navy-700), var(--navy-900));
    color: #fff; display: grid; place-items: center;
    font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.isp-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.isp-brand__name {
    font-family: var(--font-display); font-size: 1.02rem; font-weight: 650;
    color: var(--navy-900); letter-spacing: -.01em;
}
.isp-brand__sub {
    font-size: .64rem; letter-spacing: .13em; text-transform: uppercase;
    color: var(--ink-400); font-weight: 600;
}
.isp-nav { margin-left: auto; }
.isp-nav ul { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.isp-nav li { margin: 0; }
.isp-nav a {
    font-size: .92rem; font-weight: 550; color: var(--ink-700);
    text-decoration: none; padding: .35rem 0; position: relative; white-space: nowrap;
}
.isp-nav a::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
    height: 2px; background: var(--gold-400); transition: right .25s ease;
}
.isp-nav a:hover::after, .isp-nav .current-menu-item > a::after { right: 0; }
.isp-nav .current-menu-item > a { color: var(--navy-900); }

.header-actions { display: flex; align-items: center; gap: .75rem; margin-left: 1.25rem; }
.nav-toggle {
    display: none; background: none; border: 1px solid var(--line-strong);
    border-radius: var(--r-sm); padding: .5rem .6rem; cursor: pointer; color: var(--ink-700);
}

/* ==========================================================================
   5. Buttons
   ========================================================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    font-family: var(--font-body); font-size: .92rem; font-weight: 620;
    padding: .72rem 1.35rem; border-radius: var(--r-sm); border: 1px solid transparent;
    cursor: pointer; text-decoration: none; transition: transform .12s ease, box-shadow .18s ease, background .18s ease;
    line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--navy-800); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--navy-700); color: #fff; box-shadow: var(--shadow-md); }
.btn--gold { background: var(--gold-400); color: var(--navy-900); box-shadow: var(--shadow-sm); }
.btn--gold:hover { background: var(--gold-500); color: var(--navy-900); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--navy-800); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--surface-2); color: var(--navy-800); }
.btn--onNavy { background: transparent; color: #fff; border-color: rgba(255,255,255,.32); }
.btn--onNavy:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn--lg { padding: .92rem 1.7rem; font-size: 1rem; }

/* ==========================================================================
   6. Hero
   ========================================================================== */
.isp-hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(1100px 520px at 82% -10%, rgba(201,154,34,.20), transparent 62%),
        radial-gradient(900px 460px at 8% 108%, rgba(38,70,118,.55), transparent 60%),
        linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 52%, var(--navy-700) 100%);
    color: #E6EDF7;
    padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem);
}
.isp-hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), transparent 78%);
}
.isp-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.isp-hero h1 { color: #fff; margin-bottom: 1rem; }
.isp-hero h1 em { font-style: italic; color: var(--gold-400); }
.isp-hero__lede { font-size: 1.15rem; color: #B9C8DE; max-width: 56ch; margin-bottom: 1.9rem; }
.isp-hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }
.isp-hero__trust {
    display: flex; flex-wrap: wrap; gap: 1.6rem; padding-top: 1.4rem;
    border-top: 1px solid rgba(255,255,255,.14);
}
.isp-hero__trust div { font-size: .82rem; color: #9FB2CC; }
.isp-hero__trust strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: #fff; font-weight: 600; line-height: 1.1; }

/* Hero side card — "what we publish" */
.hero-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--r-lg); padding: 1.6rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 24px 60px -20px rgba(0,0,0,.55);
}
.hero-card__title {
    font-size: .72rem; letter-spacing: .13em; text-transform: uppercase;
    color: var(--gold-400); font-weight: 700; margin-bottom: 1rem;
}
.hero-card ul { list-style: none; margin: 0; padding: 0; }
.hero-card li {
    display: flex; gap: .7rem; align-items: flex-start;
    padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: .9rem; color: #C7D5E8; margin: 0;
}
.hero-card li:last-child { border-bottom: 0; }
.hero-card li svg { flex-shrink: 0; margin-top: 3px; color: var(--gold-400); }

/* ==========================================================================
   7. Cards, grids, stats
   ========================================================================== */
.grid { display: grid; gap: 1.25rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: 1.6rem;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); transform: translateY(-2px); }
.card__icon {
    width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
    background: var(--navy-900); color: var(--gold-400); margin-bottom: 1rem;
}
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--ink-500); font-size: .95rem; margin-bottom: 0; }

.stat {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-md); padding: 1.2rem 1.3rem;
}
.stat__value {
    font-family: var(--font-display); font-size: 1.9rem; font-weight: 600;
    color: var(--navy-800); line-height: 1.05; display: block;
}
.stat__label { font-size: .8rem; color: var(--ink-400); text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }
.section--navy .stat { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }
.section--navy .stat__value { color: #fff; }
.section--navy .stat__label { color: #93A6C2; }

/* ==========================================================================
   8. Directory grid (network agencies)
   ========================================================================== */
.isp-hub-grid {
    display: grid; gap: 1.25rem;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.isp-hub-card {
    display: flex; flex-direction: column;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: 1.5rem; text-decoration: none;
    color: inherit; position: relative; overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.isp-hub-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
    opacity: 0; transition: opacity .2s ease;
}
.isp-hub-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--line-strong); }
.isp-hub-card:hover::before { opacity: 1; }
.isp-hub-card__badge {
    display: inline-block; align-self: flex-start;
    font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
    color: var(--teal-600); background: var(--teal-100);
    padding: .22rem .5rem; border-radius: 4px; margin-bottom: .7rem;
}
.isp-hub-card__title {
    font-family: var(--font-display); font-size: 1.22rem; font-weight: 650;
    color: var(--ink-900); line-height: 1.25; margin-bottom: .2rem;
}
.isp-hub-card__domain {
    font-size: .8rem; color: var(--gold-600); font-weight: 600;
    font-family: var(--font-mono); margin-bottom: .75rem;
}
.isp-hub-card__desc { font-size: .92rem; color: var(--ink-500); margin: 0 0 1rem; flex: 1; }
.isp-hub-card__meta {
    display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .9rem;
}
.isp-tag {
    font-size: .72rem; font-weight: 600; color: var(--ink-500);
    background: var(--surface-3); border-radius: 999px; padding: .2rem .6rem;
}
.isp-hub-card__cta {
    font-size: .86rem; font-weight: 650; color: var(--navy-700);
    display: inline-flex; align-items: center; gap: .35rem;
}
.isp-hub-card:hover .isp-hub-card__cta { color: var(--gold-600); }

/* ==========================================================================
   9. Tables (rate data)
   ========================================================================== */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
table.data {
    width: 100%; border-collapse: collapse; font-size: .9rem; background: var(--surface);
}
table.data thead th {
    background: var(--navy-800); color: #fff; text-align: left;
    padding: .8rem 1rem; font-weight: 600; font-size: .8rem;
    letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
}
table.data tbody td { padding: .75rem 1rem; border-top: 1px solid var(--line); color: var(--ink-700); }
table.data tbody tr:nth-child(even) { background: var(--surface-2); }
table.data tbody tr:hover { background: var(--gold-100); }

/* ==========================================================================
   10. Steps / process
   ========================================================================== */
.steps { counter-reset: step; display: grid; gap: 1.25rem; }
.step { display: grid; grid-template-columns: 46px 1fr; gap: 1.1rem; align-items: start; }
.step::before {
    counter-increment: step; content: counter(step);
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--navy-900); color: var(--gold-400);
    display: grid; place-items: center;
    font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
}
.step h3 { margin-bottom: .25rem; font-size: 1.1rem; }
.step p { color: var(--ink-500); font-size: .95rem; margin-bottom: 0; }

/* ==========================================================================
   11. FAQ
   ========================================================================== */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    cursor: pointer; padding: 1.1rem 2.2rem 1.1rem 0; position: relative;
    font-family: var(--font-display); font-size: 1.08rem; font-weight: 600;
    color: var(--ink-900); list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%);
    font-size: 1.4rem; color: var(--gold-600); font-family: var(--font-body); font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq details > p, .faq details > div { padding: 0 0 0 0; margin: 0 0 1.2rem; color: var(--ink-500); }

/* ==========================================================================
   12. CTA band
   ========================================================================== */
.cta-band {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    border-radius: var(--r-xl); padding: clamp(2rem, 5vw, 3.4rem);
    color: #fff; position: relative; overflow: hidden;
}
.cta-band::after {
    content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
    border-radius: 50%; background: radial-gradient(circle, rgba(227,179,65,.30), transparent 70%);
}
.cta-band h2 { color: #fff; margin-bottom: .6rem; }
.cta-band p { color: #B9C8DE; max-width: 56ch; margin-bottom: 1.5rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; position: relative; z-index: 1; }

/* ==========================================================================
   13. Forms
   ========================================================================== */
.isp-form { display: grid; gap: 2.2rem; grid-template-columns: 1.1fr .9fr; align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .84rem; font-weight: 620; color: var(--ink-700); margin-bottom: .35rem; }
.field input, .field select, .field textarea {
    width: 100%; font-family: var(--font-body); font-size: .95rem; color: var(--ink-900);
    background: var(--surface); border: 1px solid var(--line-strong);
    border-radius: var(--r-sm); padding: .68rem .8rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--navy-600);
    box-shadow: 0 0 0 3px rgba(27,55,101,.12);
}
.field--half { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: .8rem; color: var(--ink-400); margin: .9rem 0 0; }

/* ==========================================================================
   14. Footer
   ========================================================================== */
.site-footer { background: var(--navy-900); color: #9FB2CC; padding: 3.5rem 0 1.5rem; font-size: .9rem; }
.site-footer a { color: #C7D5E8; text-decoration: none; }
.site-footer a:hover { color: var(--gold-400); text-decoration: underline; }
.footer-grid {
    display: grid; gap: 2.2rem;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .isp-brand__name { color: #fff; }
.footer-brand .isp-brand__sub { color: #7E93B0; }
.footer-brand p { margin: 1rem 0 0; font-size: .88rem; color: #8CA0BD; max-width: 34ch; }
.footer-col h4 {
    color: #fff; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
    margin-bottom: .9rem; font-weight: 700;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .55rem; }
.footer-nap { font-style: normal; line-height: 1.8; }
.footer-bottom {
    display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
    padding-top: 1.4rem; font-size: .8rem; color: #7E93B0;
}
.footer-disclaimer { font-size: .78rem; color: #6F84A3; margin-top: 1rem; max-width: 90ch; line-height: 1.6; }

/* ==========================================================================
   15. Page / article bodies (editor content)
   ========================================================================== */
.page-masthead {
    background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
    color: #fff; padding: clamp(2.6rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
}
.page-masthead__title { color: #fff; margin: 0; max-width: 22ch; }
.page-masthead__lede { color: #B9C8DE; margin: 1rem 0 0; max-width: 62ch; font-size: 1.06rem; }
.page-body { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.page-body__single { max-width: 74ch; }
.entry-content h2 { margin-top: 2.2rem; padding-top: .3rem; }
.entry-content h2:first-child { margin-top: 0; }
.entry-content ul, .entry-content ol { color: var(--ink-700); }
.entry-content a { font-weight: 550; }
.entry-content > p:first-of-type { font-size: 1.1rem; color: var(--ink-500); }
.entry-content .callout {
    background: var(--teal-100); border-left: 3px solid var(--teal-600);
    padding: 1.1rem 1.3rem; border-radius: 0 var(--r-md) var(--r-md) 0; margin: 1.6rem 0;
}
.entry-content .callout--gold { background: var(--gold-100); border-left-color: var(--gold-500); }

/* Breadcrumbs */
.isp-crumbs { font-size: .82rem; color: var(--ink-400); padding: 1rem 0 0; }
.isp-crumbs a { color: var(--ink-500); }

/* ==========================================================================
   16. Responsive
   ========================================================================== */
@media (max-width: 960px) {
    .isp-hero__inner { grid-template-columns: 1fr; }
    .hero-card { max-width: 520px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .isp-form { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
    .nav-toggle { display: inline-flex; margin-left: auto; }
    .isp-nav {
        position: absolute; top: 74px; left: 0; right: 0; background: #fff;
        border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
        padding: .5rem 24px 1.2rem; display: none; margin-left: 0;
    }
    .isp-nav.is-open { display: block; }
    .isp-nav ul { flex-direction: column; align-items: flex-start; gap: .2rem; }
    .isp-nav li { width: 100%; border-bottom: 1px solid var(--surface-3); }
    .isp-nav a { display: block; padding: .75rem 0; }
    .header-actions { margin-left: 0; }
    .header-actions .btn { display: none; }
}
@media (max-width: 560px) {
    body { font-size: 16px; }
    .site-header__inner { height: 66px; }
    .isp-nav { top: 66px; }
    .footer-grid { grid-template-columns: 1fr; }
    .field--half { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
    .site-header, .site-footer, .cta-band, .isp-hero__cta { display: none; }
    body { color: #000; }
}

/* ==========================================================================
   17. Guide layout (state authority pages)
   ========================================================================== */
@media (max-width: 900px) {
    .isp-guide-layout { grid-template-columns: 1fr !important; }
    .isp-guide-layout > aside { position: static !important; }
}

/* Print-friendly tables for the data guides */
@media print {
    table.data thead th { background: #eee !important; color: #000 !important; }
    .isp-guide-layout { display: block !important; }
}
