    @font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 600; font-display: block; src: url('/fonts/space-grotesk-600.ttf') format('truetype'); }
    * { box-sizing: border-box; }
    html { scrollbar-gutter: stable; }
    @supports not (scrollbar-gutter: stable) { html { overflow-y: scroll; } }
    body { margin: 0; background: #fafaf8; color: black; }
    .page { max-width: 1200px; margin: auto; padding: 0 40px; }
    .line, .box, .button { border: 1px solid #aaa; background: transparent; }
    .line { height: 10px; width: 100%; }
    .short { width: 65%; } .tiny { width: 35%; }
    header { height: 100px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; border-bottom: 1px solid #dce3e6; gap: 32px; padding: 0 max(24px, calc((100% - 1120px) / 4 + 8px)); background: #eef2f4; }
    .brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
    .brand-mark { display: block; width: 80px; height: auto; margin: 0 16px; object-fit: contain; flex-shrink: 0; }
    .brand-name { font-family: 'Space Grotesk', 'Segoe UI', sans-serif; font-weight: 600; font-size: 44px; letter-spacing: -1.8px; line-height: 1.15; color: #183b46; white-space: nowrap; }
    .brand-name span { color: #536873; }
    .logo { width: 140px; height: 30px; }
    nav { display: flex; align-items: center; gap: 26px; }
    nav .line { width: 65px; }
    .button { width: 128px; height: 42px; }
    .hero { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 90px 0; align-items: center; }
    .copy { display: grid; gap: 16px; }
    .headline { height: 30px; } .actions { display: flex; gap: 14px; margin-top: 18px; }
    .media { position: relative; aspect-ratio: 5 / 4; overflow: hidden; }
    .media::before, .media::after { content: ''; position: absolute; width: 150%; height: 1px; background: #ccc; top: 50%; left: -25%; transform: rotate(38.7deg); }
    .media::after { transform: rotate(-38.7deg); }
    section + section { border-top: 1px solid #ccc; }
    .sections { padding: 56px 0; }
    .section-heading { width: 220px; height: 22px; margin-bottom: 32px; }
    .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    article { padding: 28px; display: grid; gap: 18px; min-height: 210px; }
    .icon { width: 42px; height: 42px; margin-bottom: 12px; }
    .contact { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 56px 0; }
    .form-placeholder { display: grid; gap: 16px; }
    .field { height: 42px; } .message { height: 110px; }
    footer { border-top: 1px solid #ccc; padding: 32px 0; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
    footer .line { width: 180px; }
    @media (min-width: 701px) and (max-width: 1000px) { .brand-name { font-size: 28px; letter-spacing: -1px; } }
    @media (max-width: 700px) {
      .page { padding: 0 24px; } header { height: 80px; } nav .line { display: none; }
      header { gap: 12px; } .brand { gap: 10px; } .brand-mark { width: 37px; height: auto; margin: 0 7.5px; } .brand-name { font-size: clamp(20px, 5.5vw, 32px); letter-spacing: -.9px; } header nav .button { width: 36px; height: 34px; }
      .hero, .contact { grid-template-columns: 1fr; gap: 36px; padding: 44px 0; }
      .cards { grid-template-columns: 1fr; } .sections { padding: 40px 0; }
      .hero .media { aspect-ratio: 5 / 3; } footer .line { width: 110px; }
    }

    .brand { text-decoration: none; }
    .brand-name { line-height: 1; }
    nav { align-self: stretch; }
    nav a { display: inline-flex; align-items: center; justify-content: center; color: #536873; text-decoration: none; font: 600 20px/1 'Space Grotesk', 'Segoe UI', sans-serif; white-space: nowrap; }
    nav a[aria-current="page"] { color: #183b46; text-decoration: underline; text-underline-offset: 8px; }
    nav a:hover { color: #183b46; }
    a:focus-visible { outline: 2px solid #183b46; outline-offset: 5px; }
    @media (max-width: 700px) {
      .page { padding: 0 16px; }
      header { gap: 10px; }
      .brand { gap: 6px; }
      .brand-mark { width: 30px; margin: 0; }
      .brand-name { font-size: clamp(12px, 3.5vw, 24px); letter-spacing: -.5px; }
      nav { gap: 8px; }
      nav a { font-size: clamp(10px, 2.5vw, 14px); }
    }

    header .brand { justify-self: start; gap: 30px; }
    header .brand-mark { margin: 0; }
    header nav { justify-self: start; gap: 36px; }
    @media (min-width: 761px) and (max-width: 1200px) {
      header { grid-template-columns: auto 1fr; gap: 24px; }
      header .brand { gap: 14px; }
      header .brand-mark { width: 56px; }
      header .brand-name { font-size: 28px; letter-spacing: -1px; }
      header nav { justify-self: center; gap: 18px; }
      header nav a { font-size: 14px; }
    }
    @media (max-width: 760px) {
      header { height: auto; min-height: 120px; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 20px 16px; }
      header .brand { gap: 14px; }
      header .brand-mark { width: 45px; }
      header .brand-name { font-size: clamp(22px, 5vw, 30px); letter-spacing: -1px; }
      header nav { align-self: center; justify-content: center; flex-wrap: wrap; gap: 20px; }
      header nav a { font-size: 15px; min-height: 28px; }
    }

    .home-page { --header-height: 70px; min-height: 100svh; }
    .home-page header { position: sticky; top: 0; z-index: 2; }
    .home-hero { position: relative; isolation: isolate; padding: max(40px, calc(100svh - var(--header-height) - 112px)) 24px max(64px, calc(50svh - 205px)); }
    .project-form { width: min(100%, 680px); margin: 0 auto; padding: 36px; border: 1px solid #dce3e6; border-radius: 24px; background: #eef2f4; color: #183b46; box-shadow: 0 16px 60px #102e3724; font-family: 'Space Grotesk', 'Segoe UI', sans-serif; }
    .project-form h1 { margin: 0 0 40px; text-align: center; font-size: clamp(25px, 3vw, 32px); font-weight: 600; line-height: 1.25; letter-spacing: -.8px; }
    .project-fields { display: grid; gap: 24px; }
    .project-form-reveal { appearance: none; display: inline; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; letter-spacing: inherit; cursor: pointer; }
    .project-form-reveal:focus-visible { outline: 2px solid #35616a; outline-offset: 6px; border-radius: 4px; }
    .project-field { display: grid; gap: 10px; }
    .project-field label { font-size: 16px; line-height: 1.4; font-weight: 600; }
    .project-field label span { margin-left: 5px; color: #536873; }
    .project-field input { width: 100%; height: 54px; padding: 0 16px; border: 1px solid #bbc9cf; border-radius: 10px; background: #fafcfd; color: #183b46; font: 16px/1.4 'Segoe UI', sans-serif; }
    .project-field input::placeholder { color: #687c86; opacity: 1; }
    .project-field input:focus-visible { outline: 2px solid #35616a; outline-offset: 2px; }
    .project-next { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; min-height: 56px; margin-top: 32px; border: 0; border-radius: 10px; background: #183b46; color: #fafaf8; font: 600 18px/1.2 'Space Grotesk', 'Segoe UI', sans-serif; cursor: pointer; }
    .project-next:hover { background: #28515c; }
    .project-next:focus-visible { outline: 2px solid #183b46; outline-offset: 4px; }
    .project-next span { font-size: 24px; }
    .empty-page { min-height: calc(100svh - 70px); }

    /* Compact header proportions matched to the supplied TablePlus reference. */
    header { height: 70px; grid-template-columns: auto 1fr; gap: 40px; padding: 0 max(24px, calc((100% - 1480px) / 2)); }
    header .brand { gap: 16px; }
    header .brand-mark { width: 64px; }
    header .brand-name { font-size: 36px; letter-spacing: -1.2px; }
    header nav { justify-self: end; gap: 64px; }
    header nav a { font-size: 20px; }
    @media (min-width: 1101px) and (max-width: 1440px) {
      header { gap: 24px; }
      header .brand { gap: 12px; }
      header .brand-mark { width: 48px; }
      header .brand-name { font-size: 28px; }
      header nav { gap: 24px; }
      header nav a { font-size: 16px; }
    }
    @media (max-width: 1100px) {
      .home-page { --header-height: 108px; }
      header { display: flex; flex-direction: column; justify-content: center; height: auto; min-height: 108px; gap: 14px; padding: 14px 16px; }
      header .brand { gap: 12px; }
      header .brand-mark { width: 44px; }
      header .brand-name { font-size: clamp(16px, 4.1vw, 30px); }
      header nav { align-self: center; justify-content: center; flex-wrap: wrap; gap: 20px; }
      header nav a { font-size: 15px; }
      .empty-page { min-height: calc(100svh - 108px); }
    }
    @media (max-width: 540px) {
      .home-hero { padding-left: 16px; padding-right: 16px; }
      .project-form { padding: 28px 22px; border-radius: 20px; }
      .project-form h1 { margin-bottom: 36px; font-size: 25px; }
    }

    /* Contact page and the homepage's closing phone section. */
    .contact-page, .home-contact-footer { font-family: 'Space Grotesk', 'Segoe UI', sans-serif; color: #183b46; }
    .contact-main { width: min(1440px, calc(100% - 64px)); margin: 0 auto; padding: 48px 0 64px; }
    .contact-intro { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: 64px; }
    .contact-eyebrow { margin: 0 0 20px; font-size: 12px; font-weight: 600; letter-spacing: 2px; color: #536873; }
    .contact-copy h1 { margin: 0 0 24px; font-size: clamp(38px, 3.5vw, 52px); font-weight: 600; line-height: 1.12; letter-spacing: -2px; }
    .contact-lead { max-width: 560px; margin: 0 0 16px; font-size: 21px; line-height: 1.55; }
    .contact-description { max-width: 540px; margin: 0; color: #536873; font-family: 'Segoe UI', sans-serif; font-size: 17px; line-height: 1.7; }
    .contact-methods { display: grid; gap: 12px; margin-top: 32px; }
    .contact-method { position: relative; display: grid; gap: 7px; padding: 20px 52px 20px 24px; border: 1px solid #d2dfe1; border-radius: 14px; text-decoration: none; color: #183b46; background: #fff; transition: border-color .2s, background-color .2s; }
    .contact-method:hover { border-color: #527983; background: #f2f6f6; }
    .contact-method-label { font: 14px/1.4 'Segoe UI', sans-serif; color: #536873; }
    .contact-method-value { font-size: clamp(17px, 1.55vw, 22px); line-height: 1.4; overflow-wrap: anywhere; }
    .contact-method-arrow { position: absolute; right: 23px; top: 50%; transform: translateY(-50%); font-size: 25px; }
    .contact-page { overflow-x: clip; }
    .contact-art { margin: 0; padding: 8px; background: transparent; transform-origin: left center; transform: translateX(calc(-1 * max(32px, (100vw - 1440px) / 2) - 74px)) scale(.92); }
    .contact-art img { display: block; width: 100%; height: auto; }
    .consultation-note { display: flex; align-items: center; gap: 40px; margin-top: 64px; padding: 32px 36px; border: 1px solid #d2dfe1; border-radius: 18px; background: #edf3f2; }
    .consultation-badge { flex-shrink: 0; border: 1px solid #b5cbc9; border-radius: 50px; padding: 12px 18px; font-size: 12px; font-weight: 600; letter-spacing: 1px; }
    .consultation-note h2 { margin: 0 0 8px; font-size: 24px; letter-spacing: -.6px; }
    .consultation-note p { max-width: 670px; margin: 0; font: 17px/1.6 'Segoe UI', sans-serif; color: #536873; }
    .home-page .home-hero { padding-bottom: 8px; }
    .project-contact-note { margin: 32px 0 0; color: #536873; font: 14px/1.5 'Segoe UI', sans-serif; text-align: center; }
    .project-contact-note span { white-space: nowrap; }
    .home-contact-footer { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; width: min(980px, calc(100% - 48px)); margin: 0 auto; gap: 24px; padding: 8px 28px; background: #eef2f4; border: 1px solid #d2dfe1; border-radius: 16px; }
    .home-contact-footer .contact-eyebrow { margin-bottom: 14px; }
    .home-contact-footer h2 { margin: 0 0 3px; font-size: 20px; line-height: 1.15; letter-spacing: -.6px; }
    .home-contact-footer p:not(.contact-eyebrow) { margin: 0; font: 14px/1.4 'Segoe UI', sans-serif; color: #536873; }
    .home-contact-actions { display: grid; justify-items: start; gap: 2px; }
    .footer-phone { display: block; color: #183b46; font-size: 22px; white-space: nowrap; }
    .footer-contact-link { color: #183b46; font-size: 14px; text-underline-offset: 4px; }
    @media (max-width: 900px) {
      .contact-main { padding-top: 48px; }
      .contact-intro { gap: 32px; grid-template-columns: 1fr 1.1fr; }
      .contact-art { padding: 12px; border-radius: 24px 24px 70px 24px; }
      .consultation-note { align-items: flex-start; gap: 24px; }
    }
    @media (max-width: 650px) {
      .contact-main { width: calc(100% - 40px); padding: 40px 0; }
      .contact-intro { grid-template-columns: 1fr; gap: 32px; }
      .contact-copy { order: 1; }
      .contact-copy h1 { font-size: clamp(30px, 8vw, 40px); letter-spacing: -1.5px; }
      .contact-lead { font-size: 19px; }
      .contact-method { padding-left: 18px; }
      .contact-art { order: 2; width: min(100%, 420px); justify-self: center; transform: translateX(calc(-1 * max(20px, (100vw - 420px) / 2) - 44px)) scale(.92); }
      .consultation-note { flex-direction: column; margin-top: 32px; padding: 24px; }
      .home-contact-footer { flex-direction: column; align-items: flex-start; width: calc(100% - 32px); padding: 18px 22px; gap: 14px; }
    }

    /* Anchor the far rear hoof (SVG y=716) to the viewport bottom. */
    @media (min-width: 651px) {
      .contact-art { aspect-ratio: 540 / 610; padding: 0; transform: none; }
      .contact-art img {
        --bull-width: min(41vw, 730px, calc((100dvh - 110px) * 540 / 525));
        position: fixed;
        width: var(--bull-width);
        height: auto;
        left: -74px;
        bottom: calc(var(--bull-width) * -59 / 540);
        pointer-events: none;
      }
      .contact-copy, .consultation-note { position: relative; }
      .contact-page header { position: relative; z-index: 1; }
    }

    @media (max-width: 760px) {
      /* Keep scrolling available on phones without a visible scrollbar. */
      html.contact-document { scrollbar-width: none; scrollbar-gutter: auto; }
      html.contact-document::-webkit-scrollbar { display: none; }
    }
    @media (min-width: 1101px) {
      .contact-page .contact-main { min-height: calc(100dvh - 70px); padding: 32px 0; display: grid; align-items: center; }
      .contact-page .contact-intro { min-height: 0; }
      .contact-page .contact-art { aspect-ratio: auto; height: 0; }
    }

    .inner-page, .contact-page { background-color: #fafaf8; }

    /* About us: a simple single-column article. */
    .about-page { color: #183b46; }
    .about-main { width: min(902px, calc(100% - 48px)); margin: 0 auto; padding: 56px 0 72px; }
    .about-article { display: block; min-height: 0; padding: 0; }
    .about-article p { margin: 0 0 24px; font: 20px/1.75 'Segoe UI', sans-serif; }
    .about-article h1, .about-article h2 { margin: 36px 0 20px; font: 600 26px/1.3 'Space Grotesk', 'Segoe UI', sans-serif; }
    .about-article h1 { margin-top: 0; color: inherit; letter-spacing: normal; }
    .about-article p:last-child { margin-bottom: 0; }
    @media (max-width: 650px) {
      .about-main { width: calc(100% - 40px); padding: 32px 0 48px; }
      .about-article p { font-size: 18px; }
      .about-article h1, .about-article h2 { font-size: 24px; }
    }

    .service-page .about-article a { color: inherit; text-underline-offset: 3px; overflow-wrap: anywhere; }


    /* The home-page consultation questionnaire stays within the existing card. */
    .project-form [hidden] { display: none !important; }
    .project-form.is-expanded { width: min(100%, 780px); padding: 40px 44px; }
    .project-questionnaire { min-height: 390px; display: flex; flex-direction: column; }
    .project-progress { margin: 0 0 12px; color: #536873; font: 14px/1.5 'Segoe UI', sans-serif; }
    .project-progress-track { height: 3px; margin-bottom: 32px; background: #d4dfe3; border-radius: 3px; overflow: hidden; }
    .project-progress-track span { display: block; width: 20%; height: 100%; background: #35616a; }
    .project-step { min-width: 0; margin: 0 0 32px; padding: 0; border: 0; }
    .project-step legend { width: 100%; margin-bottom: 26px; padding: 0; font-size: clamp(23px, 2.3vw, 28px); line-height: 1.4; letter-spacing: -.6px; }
    .project-step legend:focus, .project-complete h2:focus { outline: none; }
    .project-optional { display: block; margin-top: 8px; font: 15px/1.5 'Segoe UI', sans-serif; color: #536873; letter-spacing: normal; }
    .project-employee-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .project-field textarea { display: block; width: 100%; min-height: 124px; padding: 14px 16px; border: 1px solid #bbc9cf; border-radius: 10px; background: #fafcfd; color: #183b46; font: 16px/1.5 'Segoe UI', sans-serif; resize: vertical; }
    .project-field textarea:focus-visible { outline: 2px solid #35616a; outline-offset: 2px; }
    .project-navigation { display: flex; align-items: center; gap: 18px; margin-top: auto; }
    .project-navigation .project-next { flex: 1; width: auto; margin-top: 0; }
    .project-single-action { display: contents; }
    .project-back { min-height: 44px; flex: 0 0 auto; padding: 10px 4px; border: 0; border-radius: 4px; background: transparent; color: #536873; font: 600 14px/1.3 'Space Grotesk', 'Segoe UI', sans-serif; cursor: pointer; }
    .project-back:hover { color: #183b46; }
    .project-back:focus-visible { outline: 2px solid #35616a; outline-offset: 3px; }
    .project-form button:disabled { cursor: wait; opacity: .65; }
    .project-status { margin: 18px 0 0; color: #183b46; font: 15px/1.5 'Segoe UI', sans-serif; }
    .project-status.is-error { color: #933d32; }
    .project-complete { min-height: 300px; display: flex; flex-direction: column; justify-content: center; }
    .project-complete h2 { margin: 0 0 20px; font-size: 28px; line-height: 1.4; }
    .project-complete p { margin: 0; color: #536873; font: 17px/1.6 'Segoe UI', sans-serif; }
    .project-callback { margin-top: 28px; }
    .project-callback textarea { min-height: 88px; }
    .project-complete .project-callback-status { margin-top: 16px; font-size: 15px; }
    .project-callback-status.is-error { color: #933d32; }
    .project-redo { align-self: center; margin-top: 24px; text-decoration: underline; text-underline-offset: 4px; }
    .visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
    @media (max-width: 540px) {
      .project-form.is-expanded { padding: 28px 22px; }
      .project-questionnaire { min-height: 390px; }
      .project-employee-fields { grid-template-columns: 1fr; gap: 20px; }
      .project-step legend { font-size: 23px; }
      .project-navigation { gap: 14px; }
    }

    .project-arrow { display: block; width: 21px; height: 21px; flex: 0 0 auto; }
    .project-arrow-back { width: 17px; height: 17px; transform: rotate(180deg); }
    .project-back { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
    .project-next .project-advance-label { font-size: inherit; }

    .project-intro-progress { margin-top: -16px; text-align: center; }
    .project-contact-guidance { margin: 0 0 24px; color: #536873; font: 15px/1.5 'Segoe UI', sans-serif; text-align: center; }
    .project-field select { width: 100%; min-height: 54px; padding: 12px 16px; border: 1px solid #bbc9cf; border-radius: 10px; background: #fafcfd; color: #183b46; font: 16px/1.4 'Segoe UI', sans-serif; }
    .project-field select:focus-visible { outline: 2px solid #35616a; outline-offset: 2px; }

    /* Phone layouts: keep only the brand visible while the navigation scrolls. */
    @media (max-width: 760px) {
      html { scrollbar-gutter: auto; }
      body { --mobile-brand-height: calc(64px + env(safe-area-inset-top, 0px)); }
      header, .home-page header {
        position: relative;
        top: auto;
        z-index: 3;
        min-height: 0;
        gap: 0;
        padding: var(--mobile-brand-height) 16px 16px;
      }
      header .brand {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 4;
        width: 100%;
        min-height: var(--mobile-brand-height);
        justify-content: center;
        padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 12px;
        background: #eef2f4;
        border-bottom: 1px solid #dce3e6;
      }
      header nav { padding-top: 14px; }
      .project-form { scroll-margin-top: calc(var(--mobile-brand-height) + 16px); }
      .contact-main { width: calc(100% - 40px); padding: 40px 0; }
      .contact-intro { grid-template-columns: 1fr; gap: 32px; }
      .contact-copy { order: 1; }
      .contact-art {
        order: 2;
        width: min(100%, 420px);
        height: auto;
        aspect-ratio: auto;
        justify-self: center;
        transform: none;
      }
      .contact-art img { position: static; width: 100%; height: auto; }
    }

    .faq-main { width: min(902px, calc(100% - 48px)); margin: 0 auto; padding: 56px 0 72px; color: #183b46; }
    .faq-main h1 { margin: 0 0 18px; font: 600 30px/1.3 'Space Grotesk', 'Segoe UI', sans-serif; }
    .faq-intro, .faq-contact { font: 18px/1.65 'Segoe UI', sans-serif; }
    .faq-intro { margin: 0 0 32px; color: #536873; }
    .faq-item { border-bottom: 1px solid #d2dfe1; }
    .faq-item:first-child { border-top: 1px solid #d2dfe1; }
    .faq-item summary { padding: 22px 4px; cursor: pointer; font: 600 19px/1.5 'Space Grotesk', 'Segoe UI', sans-serif; }
    .faq-item summary::marker { color: #536873; }
    .faq-item summary:focus-visible { outline: 2px solid #35616a; outline-offset: 3px; }
    .faq-answer { padding: 0 4px 24px; font: 18px/1.7 'Segoe UI', sans-serif; overflow-wrap: anywhere; }
    .faq-answer p { margin: 0 0 16px; }
    .faq-answer p:last-child { margin-bottom: 0; }
    .faq-contact { margin: 32px 0 0; }
    .faq-contact a { color: inherit; text-underline-offset: 4px; }
    @media (max-width: 650px) {
      .faq-main { width: calc(100% - 40px); padding: 32px 0 48px; }
      .faq-main h1 { font-size: 26px; }
      .faq-item summary { font-size: 18px; }
      .faq-answer { font-size: 17px; }
    }

    .faq-main [hidden] { display: none !important; }
    .faq-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
    .faq-heading h1 { margin: 0; flex: 1 1 380px; }
    .faq-copy { display: inline-flex; align-items: center; justify-content: center; gap: 9px; margin-left: auto; min-height: 44px; padding: 10px 15px; border: 1px solid #b8cbd0; border-radius: 8px; background: #eef2f4; color: #183b46; font: 600 14px/1.4 'Space Grotesk', 'Segoe UI', sans-serif; cursor: pointer; white-space: nowrap; }
    .faq-copy:hover { background: #dfe9ec; }
    .faq-copy:focus-visible { outline: 2px solid #35616a; outline-offset: 3px; }
    .faq-copy:disabled { opacity: .65; cursor: wait; }
    .faq-copy svg { width: 18px; height: 18px; }
    .faq-copy-status { margin: 0 0 18px; color: #35616a; font: 15px/1.5 'Segoe UI', sans-serif; }
    .faq-copy-status:empty { display: none; }
    .faq-copy-fallback { margin-bottom: 24px; }
    .faq-copy-fallback label { display: block; margin-bottom: 8px; }
    .faq-copy-fallback textarea { width: 100%; padding: 12px; border: 1px solid #b8cbd0; border-radius: 8px; color: #183b46; background: white; font: 16px/1.5 'Segoe UI', sans-serif; }

    /* Home only: a stationary card with internal overflow on short screens. */
    html.home-document { height: 100%; overflow: hidden; scrollbar-gutter: auto; overscroll-behavior: none; }
    .home-page { position: fixed; top: var(--form-viewport-top, 0px); left: 0; width: 100%; height: var(--form-viewport-height, 100dvh); min-height: 0; display: flex; flex-direction: column; overflow: hidden; padding: 0; }
    .home-page header { position: relative; top: auto; flex: 0 0 auto; }
    .home-page .home-hero { flex: 1 1 0; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 16px 24px max(16px, env(safe-area-inset-bottom, 0px)); }
    .home-page .project-form { flex: 0 1 auto; max-height: 100%; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scroll-padding-block: 16px; }
    @media (max-width: 760px) {
      .home-page { display: block; overflow-y: auto; overscroll-behavior-y: none; scrollbar-width: none; }
      .home-page::-webkit-scrollbar { display: none; }
      .home-page header { padding: var(--mobile-brand-height) 16px 12px; gap: 0; }
      .home-page header .brand { position: fixed; top: var(--form-viewport-top, 0px); }
      .home-page header nav { padding-top: 12px; }
      .home-page .home-hero { display: grid; place-items: center; min-height: calc(var(--form-viewport-height, 100dvh) - var(--mobile-brand-height)); overflow: visible; padding: 12px 16px max(12px, env(safe-area-inset-bottom, 0px)); }
      .home-page .project-form { max-height: none; overflow: visible; overscroll-behavior: auto; padding: 24px 20px; }
      .home-page .project-form h1 { margin-bottom: 24px; }
      .home-page .project-fields { gap: 20px; }
      .home-page .project-next { margin-top: 24px; }
      .home-page .project-navigation .project-next { margin-top: 0; }
      .home-page .project-progress-track { margin-bottom: 24px; }
      .home-page .project-step { margin-bottom: 24px; }
      .home-page .project-step legend { margin-bottom: 20px; }

      /* Dock the active actions at the visible viewport edge while typing. */
      .home-page.is-mobile-keyboard-open {
        overflow-anchor: none;
      }
      .home-page.is-mobile-keyboard-open .home-hero {
        padding-bottom: calc(var(--form-keyboard-actions-height, 73px) + 12px);
      }
      .home-page.is-mobile-keyboard-open .project-questionnaire {
        min-height: 0;
      }
      .home-page.is-mobile-keyboard-open .project-keyboard-actions {
        position: fixed;
        inset: calc(var(--form-viewport-top, 0px) + var(--form-viewport-height, 100dvh)) 0 auto;
        z-index: 2;
        transform: translateY(-100%);
        margin: 0;
        padding: 8px 16px;
        border-top: 1px solid var(--newsprint-rule, #aea6af);
        background: var(--newsprint-paper, #eeedef);
      }
      .home-page.is-mobile-keyboard-open .project-single-action {
        display: block;
      }
      .home-page.is-mobile-keyboard-open .project-keyboard-actions .project-next {
        margin: 0;
      }
      .home-page.is-mobile-keyboard-open .project-keyboard-actions button {
        touch-action: manipulation;
      }
    }
