:root {
    --paper: #faf8f5;
    --paper-deep: #f0ebe3;
    --surface: #fff;
    --wash: #e8f4fa;
    --ink: #182732;
    --muted: #4d5d68;
    --blue: #0c678f;
    --blue-dark: #08506f;
    --bright: #28aae1;
    --line: #ddd6ca;
    --serif: 'DM Serif Display', Georgia, serif;
    --sans: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shell: 1180px;
    --shadow: 0 24px 70px rgb(24 39 50 / 10%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--bright); outline-offset: 4px; border-radius: 4px; }
.shell { width: min(100%, var(--shell)); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.skip-link { position: fixed; z-index: 200; top: 0.75rem; left: -9999px; padding: 0.75rem 1rem; color: #fff; background: var(--ink); }
.skip-link:focus { left: 0.75rem; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; }
h1 { max-width: 11ch; font-size: clamp(3.2rem, 7vw, 5.8rem); line-height: 0.98; letter-spacing: -0.035em; }
h1 em { color: var(--blue); font-style: italic; }
h2 { font-size: clamp(2.2rem, 4.8vw, 3.7rem); line-height: 1.06; letter-spacing: -0.025em; }
h3 { font-size: clamp(1.6rem, 3vw, 2.15rem); line-height: 1.12; }
p { margin: 0; }
.eyebrow { margin-bottom: 1.25rem; color: var(--blue); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.eyebrow.light { color: #91dcf9; }
.lede { max-width: 42rem; margin-top: 1.5rem; color: var(--muted); font-size: clamp(1.08rem, 1.8vw, 1.24rem); }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0.72rem 1.25rem; border: 1.5px solid var(--blue); border-radius: 10px; color: #fff; background: var(--blue); font-size: 0.9rem; font-weight: 700; text-decoration: none; }
.button:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.button.secondary { color: var(--blue); background: transparent; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: 0.65rem 1.4rem; margin-top: 2.3rem; color: var(--muted); font-size: 0.79rem; font-weight: 600; }
.trust-row span::before { margin-right: 0.4rem; color: var(--blue); content: '✓'; }
.site-header { position: sticky; z-index: 90; top: 0; border-bottom: 1px solid rgb(221 214 202 / 85%); background: rgb(250 248 245 / 94%); backdrop-filter: blur(14px); }
.nav { min-height: 76px; display: flex; align-items: center; gap: 1.5rem; }
.brand img { width: auto; height: 38px; display: block; }
.brand,
.footer-intro {
    --logo-symbol: #28aae1;
    --logo-word: #08506f;
    position: relative;
}
.brand::after,
.footer-intro::before {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--logo-symbol) 0 31.5%, var(--logo-word) 31.5% 100%);
    -webkit-mask: url('/photos/INREACH%20logofull.png') center / contain no-repeat;
    mask: url('/photos/INREACH%20logofull.png') center / contain no-repeat;
    content: '';
    display: none;
    pointer-events: none;
}
.footer-intro::before { width: 132px; height: 40px; }
.brand-logo { filter: none; opacity: 1; }

@supports ((-webkit-mask-image: url('/photos/INREACH%20logofull.png')) or (mask-image: url('/photos/INREACH%20logofull.png'))) {
    .brand::after,
    .footer-intro::before { display: block; }
    .brand-logo { opacity: 0; }
}
.nav-links { display: flex; gap: clamp(1rem, 2vw, 1.8rem); margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav-links a { display: block; padding-block: 0.6rem; border-bottom: 2px solid transparent; color: var(--ink); font-size: 0.86rem; font-weight: 600; text-decoration: none; }
.nav-links a:hover { border-color: var(--bright); }
.nav-call { flex: 0 0 auto; }
.mobile-menu { position: relative; display: none; margin-left: auto; }
.mobile-menu summary { padding: 0.65rem; cursor: pointer; font-weight: 700; list-style: none; }
.mobile-menu-panel { position: absolute; top: calc(100% + 0.6rem); right: 0; width: min(84vw, 320px); padding: 0.7rem; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: var(--shadow); }
.mobile-menu-panel a { display: block; padding: 0.7rem; border-radius: 8px; color: var(--ink); font-weight: 600; text-decoration: none; }
.referral-hero { padding-block: clamp(4.5rem, 10vw, 8rem); border-bottom: 1px solid var(--line); background: linear-gradient(rgb(12 103 143 / 4%) 1px, transparent 1px), linear-gradient(90deg, rgb(12 103 143 / 4%) 1px, transparent 1px), radial-gradient(circle at 85% 20%, rgb(40 170 225 / 18%), transparent 30%); background-size: 48px 48px, 48px 48px, auto; }
.referral-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr); gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.ready-panel { padding: 0.8rem; border: 1px solid var(--line); border-radius: 18px; background: rgb(255 255 255 / 74%); box-shadow: var(--shadow); }
.ready-panel > .eyebrow { margin: 0; padding: 0.9rem 1rem; }
.ready-panel ol { margin: 0; padding: 0; list-style: none; }
.ready-panel li { display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.8rem; padding: 0.95rem 1rem; border-top: 1px solid var(--line); }
.ready-panel li span { color: var(--blue); font-family: var(--serif); font-style: italic; }
.ready-panel li strong { font-size: 0.9rem; }
.ready-note { margin: 0.7rem; padding: 0.9rem; border-radius: 9px; color: var(--muted); background: var(--paper-deep); font-size: 0.78rem; }
.referral-options-section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(280px, 0.78fr); gap: 2.5rem; align-items: end; margin-bottom: 2.4rem; }
.section-heading > p { color: var(--muted); }
.privacy-strip { display: grid; grid-template-columns: auto 1fr auto; gap: 0.8rem 1.2rem; align-items: center; margin-bottom: 1rem; padding: 1rem 1.2rem; border-radius: 11px; color: var(--muted); background: var(--wash); font-size: 0.8rem; }
.privacy-strip strong { color: var(--ink); }
.service-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.service-card { min-height: 610px; display: flex; flex-direction: column; padding: clamp(1.7rem, 4vw, 2.3rem); border: 1px solid var(--line); border-radius: 17px; background: rgb(255 255 255 / 72%); }
.service-card.quick { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.choice-top { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 3rem; }
.choice-label { padding: 0.3rem 0.65rem; border-radius: 999px; color: var(--ink); background: var(--bright); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.choice-label.quiet { color: var(--blue); background: var(--wash); }
.choice-time { color: var(--muted); font-size: 0.76rem; }
.quick .choice-time { color: rgb(250 248 245 / 62%); }
.card-description { margin: 1rem 0 1.6rem; color: var(--muted); }
.quick .card-description { color: rgb(250 248 245 / 72%); }
.best-for { margin-bottom: 0.5rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.service-card ul { margin: 0 0 1.7rem; padding: 0; list-style: none; }
.service-card li { padding: 0.45rem 0; color: var(--muted); font-size: 0.9rem; }
.service-card li::before { margin-right: 0.55rem; color: var(--blue); content: '✓'; }
.quick li { color: rgb(250 248 245 / 76%); }
.quick li::before { color: #91dcf9; }
.card-note { display: grid; gap: 0.2rem; margin-top: auto; padding: 1rem; border-radius: 10px; color: var(--muted); background: var(--paper-deep); font-size: 0.79rem; }
.card-note strong { color: var(--ink); }
.quick .card-note { color: rgb(250 248 245 / 68%); background: rgb(255 255 255 / 7%); }
.quick .card-note strong { color: #fff; }
.choice-button { min-height: 52px; width: 100%; margin-top: 1rem; padding: 0.75rem 1rem; border: 1px solid var(--bright); border-radius: 10px; color: var(--ink); background: var(--bright); font: inherit; font-weight: 700; cursor: pointer; }
.secondary-choice { border-color: var(--blue); color: #fff; background: var(--blue); }
.services-context { padding-block: clamp(4rem, 8vw, 6.5rem); background: var(--wash); }
.services-context-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(3rem, 7vw, 7rem); }
.services-context-grid > div > p:not(.eyebrow) { margin-top: 1rem; color: var(--muted); }
.services-context ul { margin: 0; padding: 0; border-top: 1px solid rgb(12 103 143 / 18%); list-style: none; }
.services-context li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid rgb(12 103 143 / 18%); font-weight: 600; }
.services-context li span { color: var(--blue); font-family: var(--serif); font-style: italic; }
.help-band { padding-block: clamp(4rem, 8vw, 6.5rem); color: var(--paper); background: var(--ink); }
.help-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.help-grid > div > p:not(.eyebrow) { max-width: 40rem; margin-top: 1rem; color: rgb(250 248 245 / 70%); }
.contact-panel { padding: 1.5rem; border: 1px solid rgb(250 248 245 / 20%); border-radius: 14px; background: rgb(255 255 255 / 5%); }
.contact-panel span, .contact-panel small { display: block; color: rgb(250 248 245 / 62%); }
.contact-panel span { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-panel a { display: block; margin-block: 0.35rem; color: #fff; font-family: var(--serif); font-size: clamp(1.7rem, 4vw, 2.2rem); text-decoration: none; }
.site-footer { border-top: 1px solid var(--line); padding-top: 3.5rem; background: #f5f1eb; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); }
.footer-intro img { width: auto; height: 40px; display: block; }
.footer-intro p { max-width: 24rem; margin-top: 1rem; color: var(--muted); font-size: 0.87rem; }
.site-footer h2 { margin-bottom: 0.9rem; font-family: var(--sans); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 0.55rem; }
.site-footer li a { color: var(--muted); font-size: 0.84rem; text-decoration: none; }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-block: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.72rem; }
.mobile-actions { display: none; }
@media (prefers-color-scheme: dark) {
    .brand, .footer-intro { --logo-word: #fff; }
    .site-header { border-bottom-color: #2a3a4e; background: rgb(15 22 32 / 95%); }
    .nav-links a, .mobile-menu summary { color: #dce7ed; }
    .nav-links a:hover { color: #91dcf9; }
    .mobile-menu-panel { border-color: #2a3a4e; background: #121820; }
    .mobile-menu-panel a { color: #dce7ed; }
    .site-footer { border-top-color: #2a3a4e; color: #e2e8f0; background: #0f1620; }
    .footer-intro p, .site-footer li a, .footer-base { color: #9fb0bc; }
    .site-footer li a:hover { color: #91dcf9; }
    .footer-base { border-color: #2a3a4e; }
}
@media (max-width: 900px) {
    .nav-links, .nav-call { display: none; }
    .mobile-menu { display: block; }
    .referral-hero-grid, .section-heading, .services-context-grid, .help-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
    .service-selector, .footer-grid { grid-template-columns: 1fr; }
    .service-card { min-height: auto; }
    .privacy-strip { grid-template-columns: 1fr; }
    .mobile-actions { position: fixed; z-index: 110; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 0.9fr 1.2fr; gap: 0.6rem; padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgb(250 248 245 / 96%); backdrop-filter: blur(12px); }
    .mobile-actions a { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; font-weight: 700; text-decoration: none; }
    .call-action { border: 1.5px solid var(--blue); color: var(--blue); }
    .refer-action { color: #fff; background: var(--blue); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
