/* CPSE Parent Voice
   Harbor teal for trust, marigold for the parent's seat. Alegreya for
   headings (a handbook voice), Atkinson Hyperlegible for body text (built
   for low-vision readers). */

/* Self-hosted so no visitor request reaches a third party. Alegreya is under
   the SIL Open Font License 1.1; Atkinson Hyperlegible is published free to
   use by the Braille Institute. Both permit self-hosting. Latin and latin-ext
   subsets only, which covers English and Spanish diacritics. */
@font-face {
    font-family: 'Alegreya';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('Content/Fonts/alegreya-700-800-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Alegreya';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('Content/Fonts/alegreya-700-800-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Alegreya';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('Content/Fonts/alegreya-700-800-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Alegreya';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('Content/Fonts/alegreya-700-800-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Atkinson Hyperlegible';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('Content/Fonts/atkinson-hyperlegible-italic-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Atkinson Hyperlegible';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('Content/Fonts/atkinson-hyperlegible-italic-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Atkinson Hyperlegible';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('Content/Fonts/atkinson-hyperlegible-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Atkinson Hyperlegible';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('Content/Fonts/atkinson-hyperlegible-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Atkinson Hyperlegible';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('Content/Fonts/atkinson-hyperlegible-700-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Atkinson Hyperlegible';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('Content/Fonts/atkinson-hyperlegible-700-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --ink: #1C2E3A;
    --ink-soft: #4A5D69;
    --sky: #EEF4F7;
    --paper: #FFFFFF;
    --mist: #D3E0E7;
    --harbor: #1F5F7A;
    --harbor-deep: #164A5F;
    --marigold: #E9A23B;
    --marigold-soft: #FCEFD8;

    --font-head: "Alegreya", Georgia, "Times New Roman", serif;
    --font-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;

    --wrap: 1120px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);
    --band-pad: clamp(3.5rem, 8vw, 6rem);
    --radius: 10px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 1rem; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--sky);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: var(--font-head);
    line-height: 1.12;
    margin: 0 0 0.5em;
    color: var(--ink);
    text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 3.9rem); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }

a { color: var(--harbor); text-underline-offset: 0.18em; }
a:hover { color: var(--harbor-deep); }

:focus-visible {
    outline: 3px solid var(--marigold);
    outline-offset: 3px;
    border-radius: 4px;
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -3rem;
    background: var(--ink);
    color: var(--paper);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    z-index: 10;
}
.skip-link:focus { top: 1rem; color: var(--paper); }

/* Header */
.site-header {
    background: var(--paper);
    border-bottom: 1px solid var(--mist);
}
.header-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 72px;
}
.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--ink);
    text-decoration: none;
}
.wordmark:hover { color: var(--ink); }
.wordmark-mark {
    width: 22px;
    height: 16px;
    border-radius: 6px;
    background: var(--marigold);
    box-shadow: 0 -7px 0 -3px var(--harbor);
}
.site-nav {
    display: flex;
    gap: 1.5rem;
    margin-left: auto;
}
.site-nav a {
    color: var(--ink-soft);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
}
.site-nav a:hover { color: var(--harbor); text-decoration: underline; }

/* Social links */
.social {
    list-style: none;
    display: flex;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
}
.social a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ink-soft);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 8px;
}
.social a:hover { color: var(--harbor); background: var(--sky); }

.social--join { flex-wrap: wrap; gap: 0.75rem; }
.social--join a {
    color: var(--paper);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    padding: 0.65rem 1.1rem;
    font-weight: 700;
}
.social--join a:hover { color: var(--ink); background: var(--marigold); border-color: var(--marigold); }

.social--footer { margin-bottom: 1rem; }
.social--footer a { color: var(--mist); }
.social--footer a:hover { color: var(--paper); background: rgba(255, 255, 255, 0.08); }

/* Hero */
.hero {
    background: var(--paper);
    padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.hero h1 { max-width: 14ch; }
.hero-lockup {
    max-width: none;
    margin-bottom: 1.25rem;
}
.hero-logo {
    display: block;
    width: min(100%, 30rem);
    height: auto;
    margin-bottom: 1.25rem;
}
.hero-headline {
    display: block;
    font-size: clamp(1.6rem, 3.4vw, 2.3rem);
    line-height: 1.2;
    max-width: 18ch;
}
.lede {
    font-size: 1.2rem;
    color: var(--ink-soft);
    max-width: 52ch;
    margin-bottom: 2rem;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn {
    display: inline-block;
    padding: 0.85rem 1.4rem;
    border-radius: var(--radius);
    font-weight: 700;
    text-decoration: none;
    line-height: 1.2;
}
.btn-primary { background: var(--harbor); color: var(--paper); }
.btn-primary:hover { background: var(--harbor-deep); color: var(--paper); }
.btn-quiet { color: var(--harbor); box-shadow: inset 0 0 0 1.5px var(--mist); }
.btn-quiet:hover { box-shadow: inset 0 0 0 1.5px var(--harbor); }

/* The table illustration */
.table-art { width: 100%; height: auto; display: block; overflow: visible; }
.table-top { fill: var(--sky); stroke: var(--mist); stroke-width: 2; }
.table-center {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 21px;
    fill: var(--ink-soft);
}
.seat-chair { fill: var(--paper); stroke: var(--mist); stroke-width: 2; }
.seat-label { font-family: var(--font-body); font-size: 15px; fill: var(--ink-soft); }
.seat--you .seat-chair { fill: var(--marigold); stroke: var(--marigold); }
.seat--you .seat-label { font-weight: 700; font-size: 18px; fill: var(--ink); }

/* One moment of motion: your chair pulls up to the table. */
@media (prefers-reduced-motion: no-preference) {
    .seat--you .seat-chair {
        transform-box: fill-box;
        transform-origin: center;
        animation: pull-up 900ms cubic-bezier(.2, .8, .2, 1) 300ms both;
    }
    @keyframes pull-up {
        from { transform: translateY(36px); opacity: 0; }
        to   { transform: translateY(0); opacity: 1; }
    }
}

/* Sections */
.band { padding-block: var(--band-pad); }
.band--paper { background: var(--paper); }
.section-head { max-width: 60ch; margin-bottom: 2.5rem; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }

/* Rights */
.rights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 3rem;
    margin: 0;
}
.right {
    border-left: 4px solid var(--marigold);
    padding-left: 1.1rem;
}
.right dt {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1.2;
    margin-bottom: 0.35rem;
}
.right dd { margin: 0; color: var(--ink-soft); max-width: 46ch; }

/* Meeting steps: a real sequence, so it is numbered */
.steps {
    list-style: none;
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin: 0;
    padding: 0;
}
.steps li {
    counter-increment: step;
    position: relative;
    padding-top: 3.75rem;
}
.steps li::before {
    content: counter(step);
    position: absolute;
    top: 0;
    left: 0;
    width: 2.6rem;
    height: 2.6rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--harbor);
    color: var(--paper);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.25rem;
}
.steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 1.3rem;
    left: 3.4rem;
    right: -1.25rem;
    height: 2px;
    background: var(--mist);
}
.steps p { color: var(--ink-soft); }

/* Story */
.story {
    background: var(--harbor);
    color: var(--paper);
    padding-block: var(--band-pad);
}
.story figure { margin-block: 0; }
.story blockquote {
    margin: 0 0 1.25rem;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    line-height: 1.25;
    max-width: 30ch;
}
.story blockquote::before { content: "\201C"; }
.story blockquote::after { content: "\201D"; }
.story figcaption { color: var(--mist); }

/* Resources */
.resources {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--mist);
}
.resources li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 0.25rem 2rem;
    padding-block: 1.1rem;
    border-bottom: 1px solid var(--mist);
}
.resources a { font-weight: 700; font-size: 1.1rem; }
.resources p { margin: 0; color: var(--ink-soft); }

/* Events */
.events { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.event {
    display: grid;
    grid-template-columns: 12rem minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: var(--radius);
    background: var(--sky);
}
.event-when { font-weight: 700; margin: 0; }
.event-when span { font-weight: 400; color: var(--ink-soft); }
.event h3 { margin-bottom: 0.3rem; }
.event p:last-child { margin: 0; color: var(--ink-soft); }
.empty { color: var(--ink-soft); }

/* Join */
.join {
    background: var(--ink);
    color: var(--paper);
    padding-block: clamp(3rem, 6vw, 4.5rem);
}
.join h2 { color: var(--paper); }
.join p { color: var(--mist); max-width: 48ch; margin: 0; }
.join-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Footer */
.site-footer {
    background: var(--harbor-deep);
    color: var(--mist);
    padding-block: 3rem;
    font-size: 0.95rem;
}
.site-footer a { color: var(--paper); }
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.footer-name { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--paper); margin-bottom: 0.25rem; }
.footer-tagline { color: var(--paper); }
.disclaimer { max-width: 52ch; }
.copyright { margin: 0; opacity: 0.8; }

/* Ask a question */
.wrap--narrow { max-width: 46rem; }

.nav-cta {
    font-weight: 700;
    color: var(--harbor);
    box-shadow: inset 0 0 0 1.5px var(--mist);
    border-radius: var(--radius);
    padding: 0.35rem 0.8rem;
}
.nav-cta:hover { box-shadow: inset 0 0 0 1.5px var(--harbor); text-decoration: none; }

.ask-band { background: var(--marigold-soft); }
.ask-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 2.5rem;
}
.ask-row > div { max-width: 56ch; }
.ask-row h2 { margin-bottom: 0.3em; }
.ask-row p { margin: 0; color: var(--ink-soft); }

.notice {
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1.75rem;
}
.notice p:last-child { margin-bottom: 0; }
.notice--care { background: var(--marigold-soft); border-left: 5px solid var(--marigold); }
.notice--good { background: var(--sky); border-left: 5px solid var(--harbor); padding: 1.75rem; }
.notice--bad { background: #FBE9E7; border-left: 5px solid #B3261E; }

.askform { max-width: 40rem; }
.field { margin-bottom: 1.5rem; }
.field label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.req { color: #B3261E; font-weight: 400; }
.opt { color: var(--ink-soft); font-weight: 400; }
.hint {
    margin: 0 0 0.45rem;
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.askform input[type="text"],
.askform input[type="email"],
.askform textarea,
.askform select {
    width: 100%;
    font: inherit;
    color: var(--ink);
    background: var(--paper);
    border: 1.5px solid var(--mist);
    border-radius: var(--radius);
    padding: 0.7rem 0.85rem;
}
.askform textarea { resize: vertical; min-height: 9rem; line-height: 1.5; }
.askform input:hover, .askform textarea:hover, .askform select:hover { border-color: var(--harbor); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }

.check {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 0.65rem;
    margin-bottom: 1rem;
}
.check input[type="checkbox"] { width: 1.25rem; height: 1.25rem; margin-top: 0.2rem; accent-color: var(--harbor); }
.check label { font-weight: 400; margin: 0; }

.validation-message {
    display: block;
    margin-top: 0.35rem;
    color: #B3261E;
    font-weight: 700;
    font-size: 0.95rem;
}
.askform .invalid { border-color: #B3261E; }

.fineprint {
    margin: 1.5rem 0 0;
    font-size: 0.95rem;
    color: var(--ink-soft);
}

/* Honeypot: off-screen rather than display:none, which some bots skip. */
.trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Review page */
.qlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.qitem {
    background: var(--paper);
    border: 1.5px solid var(--mist);
    border-radius: var(--radius);
    padding: 1.1rem 1.35rem;
}
.qmeta { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }
.qtext { margin: 0.5rem 0; white-space: pre-wrap; }
.tag {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.05rem 0.5rem;
    border-radius: 999px;
    background: var(--marigold-soft);
    color: var(--ink);
    font-size: 0.85rem;
}

/* Help assistant. Runs entirely in the browser; see wwwroot/chat.js. */
.hc-sr {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* An author `display` rule beats the browser's own [hidden] { display: none },
   so without these the panel and launcher render even while marked hidden.
   Compound selectors outrank the plain class rules below without !important. */
.hc-launcher[hidden], .hc-panel[hidden] { display: none; }

.hc-launcher {
    position: fixed;
    right: clamp(1rem, 3vw, 1.75rem);
    bottom: clamp(1rem, 3vw, 1.75rem);
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font: inherit;
    font-weight: 700;
    color: var(--paper);
    background: var(--harbor);
    border: none;
    border-radius: 999px;
    padding: 0.8rem 1.35rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(28, 46, 58, 0.28);
}
.hc-launcher:hover { background: var(--harbor-deep); }
.hc-launcher-icon {
    display: grid;
    place-items: center;
    width: 1.5rem; height: 1.5rem;
    border-radius: 50%;
    background: var(--marigold);
    color: var(--ink);
    font-weight: 800;
}

.hc-panel {
    position: fixed;
    right: clamp(1rem, 3vw, 1.75rem);
    bottom: clamp(1rem, 3vw, 1.75rem);
    z-index: 41;
    display: flex;
    flex-direction: column;
    width: min(26rem, calc(100vw - 2rem));
    max-height: min(36rem, calc(100vh - 2rem));
    background: var(--paper);
    border: 1.5px solid var(--mist);
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(28, 46, 58, 0.3);
}

.hc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 0.85rem 0.85rem 1.1rem;
    background: var(--harbor);
    border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
}
.hc-head h2 { margin: 0; font-size: 1.2rem; color: var(--paper); }
.hc-head-actions { display: flex; align-items: center; gap: 0.35rem; }
.hc-textbtn, .hc-close {
    font: inherit;
    color: var(--paper);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 6px;
    cursor: pointer;
}
.hc-textbtn { font-size: 0.9rem; padding: 0.2rem 0.6rem; }
.hc-close { font-size: 1.3rem; line-height: 1; padding: 0.05rem 0.45rem 0.2rem; }
.hc-textbtn:hover, .hc-close:hover { background: rgba(255, 255, 255, 0.16); }

.hc-privacy {
    margin: 0;
    padding: 0.6rem 1.1rem;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--ink-soft);
    background: var(--marigold-soft);
    border-bottom: 1px solid var(--mist);
}

.hc-log {
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1rem 1.1rem 0.5rem;
}

.hc-msg { margin-bottom: 1rem; }
.hc-msg p { margin: 0 0 0.6rem; }
.hc-msg p:last-child { margin-bottom: 0; }
.hc-msg--bot {
    background: var(--sky);
    border-radius: var(--radius);
    padding: 0.85rem 1rem;
}
.hc-msg--me {
    background: var(--harbor);
    color: var(--paper);
    border-radius: var(--radius);
    padding: 0.6rem 0.9rem;
    margin-left: 2.5rem;
    font-weight: 700;
}
.hc-title { margin: 0 0 0.5rem; font-size: 1.1rem; }

.hc-lead {
    margin: 0.85rem 0 0.4rem !important;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ink-soft);
}
.hc-options { display: flex; flex-direction: column; gap: 0.4rem; }
.hc-option {
    font: inherit;
    text-align: left;
    color: var(--harbor);
    background: var(--paper);
    border: 1.5px solid var(--mist);
    border-radius: var(--radius);
    padding: 0.55rem 0.8rem;
    cursor: pointer;
}
.hc-option:hover { border-color: var(--harbor); background: var(--paper); }

.hc-link, .hc-ask {
    display: inline-block;
    margin-top: 0.75rem;
    font-weight: 700;
}

.hc-form {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1.1rem;
    border-top: 1px solid var(--mist);
}
.hc-input {
    flex: 1 1 auto;
    min-width: 0;
    font: inherit;
    color: var(--ink);
    background: var(--paper);
    border: 1.5px solid var(--mist);
    border-radius: var(--radius);
    padding: 0.55rem 0.7rem;
}
.hc-input:hover { border-color: var(--harbor); }
.hc-send {
    font: inherit;
    font-weight: 700;
    color: var(--paper);
    background: var(--harbor);
    border: none;
    border-radius: var(--radius);
    padding: 0.55rem 1rem;
    cursor: pointer;
}
.hc-send:hover { background: var(--harbor-deep); }

.hc-input:disabled, .hc-send:disabled { opacity: 0.55; cursor: not-allowed; }
.hc-send:disabled:hover { background: var(--harbor); }
.hc-input:disabled:hover { border-color: var(--mist); }

.hc-disclaimer {
    margin: 0;
    padding: 0 1.1rem 0.85rem;
    font-size: 0.85rem;
    color: var(--ink-soft);
}

@media (max-width: 480px) {
    .hc-panel {
        right: 0.5rem;
        left: 0.5rem;
        bottom: 0.5rem;
        width: auto;
        max-height: calc(100vh - 1rem);
    }
    .hc-launcher { right: 0.75rem; bottom: 0.75rem; }
}

/* Smaller screens */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .hero-art { max-width: 480px; }
    .steps { grid-template-columns: 1fr; }
    .steps li:not(:last-child)::after { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .header-row { flex-wrap: wrap; gap: 0.5rem 1rem; padding-block: 0.75rem; }
    .site-nav {
        order: 3;
        width: 100%;
        margin-left: 0;
        overflow-x: auto;
        padding-bottom: 0.25rem;
    }
    .site-nav a { white-space: nowrap; }
    .social--header { margin-left: auto; }
    .rights { grid-template-columns: 1fr; }
    .resources li { grid-template-columns: 1fr; }
    .event { grid-template-columns: 1fr; gap: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
