
.inner-page main {
    margin: 0;
    padding: 0;
    display: block;
    overflow: hidden;
    text-align: left;
    align-items: initial;
}
.inner-page .builder-nav ul { display: flex; align-items: center; list-style: none; padding: 0; }
.inner-page .builder-nav ul li { padding: 0; }
.inner-page .builder-nav ul li a { color: white; text-decoration: none; }
.page-hero {
    max-width: 1186px;
    margin: 0 auto;
    padding: 38px 32px 36px;
    border-bottom: 1px solid var(--line);
}
.compact-hero h1 { max-width: 850px; margin: 8px 0 16px; font-size: clamp(2.6rem,5vw,4.4rem); line-height: 1.02; letter-spacing: -.04em; }
.compact-hero > p:not(.eyebrow) { max-width: 760px; margin: 0 0 25px; color: var(--muted); font-size: 1.06rem; line-height: 1.7; }
.page-section { max-width: 1186px; margin: 0 auto; padding: 76px 32px; }
.workflow-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.workflow-grid article { min-height: 205px; padding: 24px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.workflow-grid span { color: var(--teal); font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.workflow-grid h3 { margin: 24px 0 8px; font-size: 1.08rem; }
.workflow-grid p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.58; }
.page-band { max-width: 1186px; margin: 15px auto; padding: 48px 52px; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; border-radius: 20px; background: var(--navy); color: white; }
.page-band .eyebrow { color: #7bd1c7; }
.page-band h2 { margin: 6px 0 12px; font-size: 2.25rem; }
.page-band p { color: #c7d8dc; line-height: 1.65; }
.feature-list { padding-left: 35px; border-left: 1px solid rgba(255,255,255,.18); }
.feature-list p { margin: 0 0 17px; }
.feature-list strong { color: white; }
.privacy-note { display: grid; grid-template-columns: .75fr 1.25fr; gap: 65px; align-items: start; }
.privacy-note h2 { margin: 7px 0 0; font-size: 2rem; }
.privacy-note > p { margin: 0; color: var(--muted); line-height: 1.75; }
.page-final { margin-top: 20px; }

.guide-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.guide-card { padding: 30px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.guide-card > span { color: var(--teal-dark); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.guide-card h3 { margin: 9px 0 12px; font-size: 1.3rem; }
.guide-card h4 { margin: 22px 0 8px; }
.guide-card p, .guide-card li { color: var(--muted); font-size: .9rem; line-height: 1.65; }
.guide-card ul { margin: 0; padding-left: 20px; }
.guide-card li { margin: 5px 0; padding: 0; }
.featured-guide { grid-row: span 2; background: #edf5f3; border-color: #cbded9; }
.featured-guide h3 { font-size: 1.75rem; }
.example { margin-top: 20px; padding: 15px 17px; border-left: 3px solid var(--teal); background: #f7faf9; }
.page-ad { margin-top: 10px; margin-bottom: 10px; }
.tips-columns { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.tips-columns p { margin: 0; color: var(--muted); line-height: 1.7; }
.tips-columns strong { display: block; margin-bottom: 6px; color: var(--ink); }

.faq-section { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 45px; align-items: start; }
.faq-list details { border-bottom: 1px solid var(--line); background: white; }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 48px 22px 4px; cursor: pointer; color: var(--ink); font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display:none; }
.faq-list summary::after { content:"+"; position:absolute; right:10px; top:17px; color:var(--teal); font-size:1.5rem; font-weight:400; }
.faq-list details[open] summary::after { content:"−"; }
.faq-list details p { max-width: 760px; margin: -4px 48px 23px 4px; color: var(--muted); line-height: 1.7; font-size: .92rem; }
.faq-help { position: sticky; top: 100px; padding: 28px; border-radius: 15px; background: #edf5f3; }
.faq-help h2 { margin: 6px 0 10px; font-size: 1.45rem; }
.faq-help p:not(.eyebrow) { margin: 0 0 20px; color: var(--muted); line-height: 1.6; font-size: .88rem; }
.faq-help .home-secondary { background: white; }
.faq-ad { margin-bottom: 80px; }

@media (max-width: 1000px) {
 .workflow-grid { grid-template-columns: repeat(2,1fr); }
 .faq-section { grid-template-columns: 1fr; }
 .faq-help { position: static; }
}
@media (max-width: 760px) {
 .inner-page .builder-nav ul { display:none; position:absolute; top:64px; left:auto; right:18px; width:min(260px,calc(100vw - 36px)); flex-direction:column; align-items:stretch; padding:8px; background:var(--navy); border:1px solid rgba(255,255,255,.12); border-radius:10px; box-shadow:0 14px 32px rgba(0,0,0,.24); }
 .inner-page .builder-nav ul.active { display:flex; }
 .inner-page .builder-nav ul li a { display:block; }
 .page-hero { padding: 28px 20px 30px; }
 .compact-hero h1 { font-size: clamp(2.45rem,13vw,3.6rem); }
 .page-section { padding: 58px 20px; }
 .workflow-grid, .guide-grid, .tips-columns, .privacy-note, .page-band { grid-template-columns:1fr; }
 .page-band { margin:10px 20px; width:auto; padding:35px 28px; gap:25px; }
 .feature-list { padding:25px 0 0; border-left:0; border-top:1px solid rgba(255,255,255,.18); }
 .featured-guide { grid-row:auto; }
 .faq-section { gap:30px; }
 .faq-list details p { margin-right:15px; }
}


/* Phase 4C supporting pages */
.about-story-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 54px;
    align-items: start;
}
.about-copy p {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.75;
}
.principles-card {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #edf5f3;
}
.principles-card ul {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}
.principles-card li {
    margin: 0;
    padding: 16px 0;
    border-top: 1px solid #cbded9;
}
.principles-card li:first-child { border-top: 0; padding-top: 0; }
.principles-card strong, .principles-card span { display: block; }
.principles-card strong { margin-bottom: 4px; color: var(--ink); }
.principles-card span { color: var(--muted); font-size: .87rem; line-height: 1.55; }

.contact-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 56px;
    align-items: start;
}
.contact-intro h2 { margin: 7px 0 14px; font-size: 2rem; }
.contact-intro > p:not(.eyebrow) { color: var(--muted); line-height: 1.72; }
.contact-shortcuts { display: grid; gap: 12px; margin-top: 28px; }
.contact-shortcuts a {
    display: block;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    color: var(--ink);
    text-decoration: none;
}
.contact-shortcuts a:hover { border-color: var(--teal); }
.contact-shortcuts strong, .contact-shortcuts span { display: block; }
.contact-shortcuts span { margin-top: 4px; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.contact-card {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: white;
    box-shadow: 0 12px 32px rgba(0,35,51,.08);
}
.contact-card form {
    display: block;
    width: auto;
    margin-top: 16px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.contact-field { margin-bottom: 17px; }
.contact-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--ink);
    font-weight: 700;
    font-size: .88rem;
}
.contact-field input,
.contact-field textarea {
    width: 100%;
    margin: 0;
    padding: 12px 13px;
    border: 1px solid #bfcfcb;
    border-radius: 9px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}
.contact-field input:focus,
.contact-field textarea:focus {
    border-color: var(--teal);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(19,127,130,.14);
}
.contact-submit {
    width: auto;
    padding: 12px 20px;
    border-radius: 9px;
    background: var(--teal);
    font-weight: 700;
}
.form-note { margin: 16px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.55; }

.policy-date { font-size: .83rem !important; }
.policy-layout {
    display: grid;
    grid-template-columns: 220px minmax(0,1fr);
    gap: 55px;
    align-items: start;
}
.policy-nav {
    position: sticky;
    top: 94px;
    display: grid;
    gap: 8px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: white;
}
.policy-nav a { color: var(--muted); text-decoration: none; font-size: .84rem; }
.policy-nav a:hover { color: var(--teal-dark); text-decoration: underline; }
.policy-copy section {
    padding: 0 0 28px;
    margin: 0 0 28px;
    border-bottom: 1px solid var(--line);
}
.policy-copy section:last-child { border-bottom: 0; }
.policy-copy h2 { margin: 0 0 12px; font-size: 1.45rem; }
.policy-copy p { margin: 0 0 12px; color: var(--muted); line-height: 1.75; }
.policy-copy a { color: var(--teal-dark); }

.success-panel {
    max-width: 720px;
    margin: 70px auto 90px;
    padding: 55px 42px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: white;
    box-shadow: 0 15px 38px rgba(0,35,51,.09);
    text-align: center;
}
.success-mark {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--teal-soft);
    color: var(--teal-dark);
    font-size: 1.6rem;
    font-weight: 800;
}
.success-panel h1 { margin: 8px 0 12px; font-size: clamp(2rem,5vw,3.2rem); }
.success-panel > p:not(.eyebrow) { max-width: 560px; margin: 0 auto; color: var(--muted); line-height: 1.65; }
.success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }

@media (max-width: 900px) {
    .about-story-grid,
    .contact-layout,
    .policy-layout { grid-template-columns: 1fr; }
    .policy-nav { position: static; grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 560px) {
    .contact-card { padding: 22px 18px; }
    .policy-nav { grid-template-columns: 1fr; }
    .success-panel { margin: 35px 20px 60px; padding: 40px 22px; }
    .success-actions a { width: 100%; }
}


/* Phase 4C.1 contact-page layout refinement */
.contact-layout.page-section,
.page-section.contact-layout {
    padding-top: 46px;
    padding-bottom: 64px;
}

.contact-layout {
    grid-template-columns: minmax(0, .82fr) minmax(460px, 1.18fr);
    gap: 64px;
}

.contact-intro {
    max-width: 470px;
}

.contact-card {
    max-width: 620px;
    width: 100%;
    justify-self: end;
}

/* The contact page has a shorter message than the other inner-page heroes,
   so it should not use the same oversized display treatment. */
.contact-page-hero h1 {
    max-width: 760px;
    font-size: clamp(2.75rem, 4.2vw, 3.75rem);
    line-height: 1.04;
}

.contact-page-hero > p:not(.eyebrow) {
    max-width: 700px;
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .contact-intro,
    .contact-card {
        max-width: none;
        justify-self: stretch;
    }
}

@media (max-width: 560px) {
    .contact-layout.page-section,
    .page-section.contact-layout {
        padding-top: 34px;
        padding-bottom: 48px;
    }

    .contact-page-hero h1 {
        font-size: clamp(2.3rem, 11vw, 3rem);
    }
}

/* Phase 5 launch-prep accessibility */
.skip-link{position:fixed;left:1rem;top:-5rem;z-index:9999;background:#fff;color:#102a35;padding:.75rem 1rem;border-radius:.5rem;box-shadow:0 4px 18px rgba(0,0,0,.18);font-weight:700}
.skip-link:focus{top:1rem}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #20a6a0;outline-offset:3px}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}


/* Contact form delivery states */
.contact-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { margin: 0 0 16px; padding: 12px 14px; border-radius: 10px; font-size: .88rem; line-height: 1.45; }
.form-status-error { background: #fff1f0; color: #7d241f; border: 1px solid #efc4c0; }

.content-ad-wrap{width:min(100% - 2rem,1120px);margin:2.25rem auto 1.5rem}.content-ad-slot{min-height:120px;display:grid;place-items:center;position:relative;padding:1.5rem;border-top:1px solid rgba(19,43,53,.12);border-bottom:1px solid rgba(19,43,53,.12);background:rgba(247,249,249,.72)}.content-ad-slot .ad-label{position:absolute;top:.35rem;left:50%;transform:translateX(-50%);font-size:.68rem;letter-spacing:.08em;text-transform:uppercase;color:#64747a}.content-ad-slot .ad-placeholder{font-size:.78rem;color:#879398;opacity:.8}@media(max-width:700px){.content-ad-wrap{width:min(100% - 1.25rem,1120px);margin-top:1.5rem}.content-ad-slot{min-height:100px;padding:1.25rem .75rem}}


/* Phase 6A resource library */
.resource-library-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.resource-library-card {
    display: flex;
    min-height: 260px;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.resource-library-card:hover {
    transform: translateY(-2px);
    border-color: #aecbc5;
    box-shadow: 0 12px 28px rgba(0,35,51,.07);
}
.resource-library-card > span {
    color: var(--teal-dark);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.resource-library-card h3 { margin: 14px 0 10px; font-size: 1.28rem; line-height: 1.25; }
.resource-library-card p { margin: 0 0 20px; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.resource-library-card strong { margin-top: auto; color: var(--teal-dark); font-size: .86rem; }
.resource-principles { margin-top: 0; }

.resource-breadcrumb {
    max-width: 980px;
    margin: 0 auto;
    padding: 28px 32px 0;
    display: flex;
    gap: 9px;
    align-items: center;
    color: var(--muted);
    font-size: .82rem;
}
.resource-breadcrumb a { color: var(--teal-dark); }
.resource-article {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 32px 60px;
}
.article-hero {
    max-width: 820px;
    padding: 38px 0 46px;
    border-bottom: 1px solid var(--line);
}
.article-hero h1 {
    margin: 7px 0 18px;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.04;
    letter-spacing: -.035em;
}
.article-hero > p:not(.eyebrow) {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.75;
}
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 58px;
    align-items: start;
    padding-top: 46px;
}
.article-copy section {
    margin-bottom: 38px;
}
.article-copy h2 {
    margin: 0 0 12px;
    font-size: 1.55rem;
    line-height: 1.25;
}
.article-copy p {
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.8;
}
.article-checklist {
    position: sticky;
    top: 92px;
    padding: 25px;
    border: 1px solid #cbded9;
    border-radius: 15px;
    background: #edf5f3;
}
.article-checklist h2 { margin: 7px 0 15px; font-size: 1.3rem; }
.article-checklist ul { margin: 0 0 22px; padding-left: 19px; }
.article-checklist li { margin: 8px 0; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.article-checklist .home-primary { width: 100%; text-align: center; }
.related-guides {
    margin-top: 18px;
    padding-top: 38px;
    border-top: 1px solid var(--line);
}
.related-guides h2 { margin: 7px 0 18px; font-size: 1.65rem; }
.related-guides > div { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.related-guides a {
    display: grid;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    color: var(--ink);
    text-decoration: none;
}
.related-guides a > span:first-child { color: var(--teal-dark); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.related-guides a > span:last-child { color: var(--teal-dark); font-size: 1.1rem; }
@media (max-width: 920px) {
    .resource-library-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .article-layout { grid-template-columns: 1fr; gap: 20px; }
    .article-checklist { position: static; }
}
@media (max-width: 650px) {
    .resource-library-grid, .related-guides > div { grid-template-columns: 1fr; }
    .resource-breadcrumb { padding: 22px 20px 0; }
    .resource-article { padding: 0 20px 45px; }
    .article-hero { padding: 28px 0 35px; }
    .article-layout { padding-top: 35px; }
}
