/* Scoped styles: the existing theme header and footer are untouched. */
.fo-page{--fo-accent:#62bfca;--fo-ink:#071525;--fo-text:#182c44;color:var(--fo-text);font-family:inherit}.fo-page,.fo-page *{box-sizing:border-box}.fo-page .fo-container{width:min(1180px,calc(100% - 48px));margin-inline:auto}.fo-page h1,.fo-page h2,.fo-page h3{font-family:inherit;font-weight:800}.fo-hero{background:radial-gradient(ellipse at 15% 80%,#163a4b 0,transparent 56%),linear-gradient(120deg,#071525,#0d2231);padding:70px 0}.fo-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:clamp(32px,5vw,72px);align-items:center}.fo-page .fo-eyebrow{margin:0 0 18px;color:var(--fo-accent);font-size:12px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}.fo-copy h1{color:#fff;font-size:clamp(36px,3.9vw,56px);line-height:1.09;letter-spacing:-.035em;text-transform:none;margin:0 0 24px}.fo-page .fo-intro{font-size:clamp(19px,1.8vw,23px);line-height:1.5;color:#fff;margin:0 0 15px}.fo-page .fo-description{font-size:17px;line-height:1.75;color:#d0dce5;margin:0 0 26px}.fo-preview{display:flex;align-items:center;gap:22px;margin-top:28px}.fo-preview img{width:190px;height:auto;border-radius:5px;box-shadow:0 14px 30px #0005;transform:rotate(-3deg)}.fo-preview p{color:#c5d7df;font-size:13px;line-height:1.8;margin:0}.fo-page .fo-form{background:#fff;border:3px solid var(--fo-accent);border-radius:20px;padding:32px;box-shadow:0 20px 60px #0003;text-align:left;min-width:0}.fo-form .fo-eyebrow{color:var(--fo-accent);margin-bottom:10px}.fo-form h2{font-size:30px;line-height:1.15;letter-spacing:-.025em;margin:0 0 12px;color:var(--fo-text)}.fo-form h2 span{color:var(--fo-accent)}.fo-form>p{font-size:15px;line-height:1.6;margin:0 0 22px;color:#536274}.fo-field{display:block;font-size:15px;font-weight:700;margin:17px 0 8px}.fo-field span{font-size:12px;font-weight:400;color:#647180}.fo-form input[type=text],.fo-form input[type=email]{display:block;width:100%;min-height:50px;border:1px solid #a9b9c5;border-radius:8px;background:#fff;color:#182c44;padding:12px 14px;font:inherit;font-size:16px;margin:0}.fo-consent{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.6;margin-top:20px;color:#425466;cursor:pointer}.fo-consent input{appearance:auto;flex:0 0 18px;width:18px;height:18px;margin:2px 0 0;accent-color:var(--fo-accent)}.fo-consent a{color:var(--fo-accent);text-decoration:underline;text-underline-offset:3px}.fo-page .fo-button{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:54px;background:var(--fo-accent);color:#071525;border:0;border-radius:8px;padding:15px 24px;font:inherit;font-size:16px;font-weight:800;text-decoration:none;cursor:pointer;transition:background .2s}.fo-form .fo-button{width:100%;margin-top:25px}.fo-page .fo-button:hover{background:#79cbd4}.fo-form .fo-form-note{text-align:center;font-size:12px;color:#536274;margin:12px 0 0}.fo-page :focus-visible{outline:3px solid var(--fo-accent);outline-offset:4px}.fo-hero :is(a,button):focus-visible,.fo-confirm :is(a,button):focus-visible{outline-color:#62bfca}.fo-hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.fo-form .fo-error{padding:12px;border-left:3px solid #ae3030;background:#fff0f0;color:#8d2222}.fo-inside{padding:65px 0 46px;background:#f5f8fa}.fo-inside .fo-eyebrow{color:var(--fo-accent)}.fo-inside h2{font-size:clamp(27px,3vw,38px);line-height:1.2;letter-spacing:-.025em;margin:0 0 18px;color:#182c44}.fo-inside h2 span{color:var(--fo-accent)}.fo-section-intro{max-width:760px;line-height:1.8;font-size:17px;color:#536274;margin:0 0 35px}.fo-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}.fo-benefits article{border-top:2px solid #62bfca;padding-top:20px}.fo-number{font-weight:800;font-size:13px;color:var(--fo-accent)}.fo-benefits h3{font-size:20px;line-height:1.35;color:#182c44;margin:10px 0}.fo-benefits p{font-size:15px;line-height:1.8;color:#536274;margin:0}.fo-closing{display:flex;justify-content:space-between;gap:20px;align-items:center;border-top:1px solid #dce5ea;margin-top:40px;padding-top:25px}.fo-closing p{font-size:18px;font-weight:700;margin:0}.fo-closing a{color:var(--fo-accent);font-size:15px;font-weight:800;text-underline-offset:4px}.fo-confirm{background:radial-gradient(ellipse at bottom right,#163a4b,transparent 70%),#071525;padding:90px 0;min-height:65vh}.fo-confirm-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:65px;align-items:center}.fo-confirm h1{font-size:clamp(42px,5vw,66px);line-height:1.08;color:#fff;margin:0 0 25px;letter-spacing:-.035em}.fo-confirm h1 span{color:var(--fo-accent)}.fo-confirm-cover{width:100%;height:auto;border-radius:8px;box-shadow:0 25px 65px #0006}.fo-download-help{font-size:13px;line-height:1.7;color:#c5d7df;max-width:400px;margin:18px 0 25px}.fo-back{font-size:14px;color:#62bfca;text-underline-offset:4px}@media(max-width:960px){.fo-grid{grid-template-columns:1fr;gap:35px}.fo-copy{max-width:700px}.fo-copy h1{max-width:650px}.fo-form{width:100%;max-width:700px}.fo-preview img{width:165px}.fo-confirm-grid{gap:30px}.fo-benefits{gap:22px}}@media(max-width:640px){.fo-page .fo-container{width:calc(100% - 36px)}.fo-hero{padding:38px 0}.fo-copy h1{font-size:clamp(32px,8.4vw,46px)}.fo-page .fo-form{padding:24px 20px;border-radius:16px}.fo-form h2{font-size:27px}.fo-preview{gap:17px}.fo-preview img{width:135px}.fo-preview p{font-size:12px}.fo-inside{padding:40px 0}.fo-benefits{grid-template-columns:1fr;gap:25px}.fo-closing{align-items:flex-start;flex-direction:column}.fo-confirm{padding:45px 0}.fo-confirm-grid{grid-template-columns:1fr}.fo-confirm-cover{max-width:440px}.fo-confirm .fo-button{width:100%}}@media(prefers-reduced-motion:reduce){.fo-page *{transition:none!important;scroll-behavior:auto!important}}

/* v1.1: reserve space for the theme's fixed header without changing it. */
.fo-page .fo-hero{padding:150px 0 48px}
.fo-page .fo-grid{grid-template-columns:minmax(0,1fr) minmax(340px,420px);gap:clamp(32px,5vw,70px);align-items:center}
.fo-page .fo-title-accent{color:var(--fo-accent)}
.fo-page .fo-copy h1{font-size:clamp(36px,3.5vw,52px);margin-bottom:20px}
.fo-page .fo-form{padding:23px 24px;border-width:2px;border-radius:16px}
.fo-page .fo-form .fo-eyebrow{margin-bottom:8px;font-size:11px}
.fo-page .fo-form h2{font-size:26px;line-height:1.18;margin-bottom:10px}
.fo-page .fo-form>p{font-size:14px;line-height:1.5;margin-bottom:14px}
.fo-page .fo-input-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.fo-page .fo-input-grid>div{min-width:0}
.fo-page .fo-field{font-size:13px;margin:4px 0 6px}
.fo-page .fo-field span{font-size:10px}
.fo-page .fo-form input[type=text],.fo-page .fo-form input[type=email]{min-height:44px;height:44px;padding:9px 10px;font-size:16px}
.fo-page .fo-consent{font-size:12px;line-height:1.5;gap:9px;margin-top:14px}
.fo-page .fo-consent input{flex-basis:17px;width:17px;height:17px}
.fo-page .fo-form .fo-button{min-height:46px;padding:11px 18px;margin-top:17px;font-size:15px}
.fo-page .fo-form .fo-form-note{font-size:11px;margin:9px 0 0}
.fo-page .fo-preview{margin-top:23px}.fo-page .fo-preview img{width:155px}
.fo-page .fo-form h2 span,.fo-page .fo-form .fo-eyebrow,.fo-page .fo-consent a,.fo-page .fo-inside .fo-eyebrow,.fo-page .fo-inside h2 span,.fo-page .fo-number,.fo-page .fo-closing a{color:var(--fo-accent)}
.fo-page #download-guide{scroll-margin-top:120px}
@media(max-width:960px){.fo-page .fo-hero{padding:135px 0 42px}.fo-page .fo-grid{grid-template-columns:1fr;gap:28px}.fo-page .fo-form{max-width:560px}.fo-page .fo-copy h1{max-width:700px}.fo-page .fo-preview img{width:140px}}
@media(max-width:640px){.fo-page .fo-hero{padding:125px 0 32px}.fo-page .fo-form{padding:21px 18px}.fo-page .fo-copy h1{font-size:clamp(32px,8.2vw,44px)}.fo-page .fo-form h2{font-size:25px}.fo-page .fo-preview img{width:125px}}
@media(max-width:380px){.fo-page .fo-input-grid{grid-template-columns:1fr;gap:10px}}

/* v1.2: photographic hero with a navy readability overlay. */
.fo-page .fo-hero{
 background-color:#071525;
 background-image:linear-gradient(90deg,rgba(7,21,37,.88) 0%,rgba(7,21,37,.72) 48%,rgba(7,21,37,.45) 100%),url('/downloads/family-office-hero-background.png');
 background-position:center,right center;
 background-size:cover,cover;
 background-repeat:no-repeat;
}
@media(max-width:960px){.fo-page .fo-hero{background-image:linear-gradient(180deg,rgba(7,21,37,.82),rgba(7,21,37,.9)),url('/downloads/family-office-hero-background.png');background-position:center,65% center}}

/* Confirmation page: space below the fixed header */
.fo-page.fo-confirm {
    padding-top: 150px;
}

@media (max-width: 640px) {
    .fo-page.fo-confirm {
        padding-top: 125px;
    }
}

/* v1.3: guide preview and mobile download prompt; all rules are hero-scoped. */
.fo-page .fo-hero .fo-copy h1{position:relative;padding-bottom:19px;margin-bottom:15px}
.fo-page .fo-hero .fo-copy h1::after{content:"";display:block;position:absolute;left:2px;bottom:0;width:112px;height:6px;background:var(--fo-accent);border-radius:75% 35% 65% 30%;transform:rotate(-4deg)}
.fo-page .fo-hero .fo-preview-checks{gap:22px;align-items:center;margin-top:24px}
.fo-page .fo-hero .fo-preview-checks img{width:clamp(145px,15vw,195px);height:auto;border:1px solid #a7d6dc;border-radius:10px;transform:rotate(-3deg);flex-shrink:0}
.fo-page .fo-hero .fo-guide-points{list-style:none;margin:0;padding:0 0 0 20px;border-left:1px solid #62bfca66;color:#edf4f7;font-size:15px;line-height:1.45}
.fo-page .fo-hero .fo-guide-points li{position:relative;padding-left:24px;margin:8px 0}
.fo-page .fo-hero .fo-guide-points li::before{content:"";position:absolute;left:2px;top:4px;width:8px;height:14px;border:solid var(--fo-accent);border-width:0 3px 3px 0;transform:rotate(45deg)}
.fo-page .fo-hero .fo-guide-card{position:relative;background:#fff;border:3px solid var(--fo-accent);border-radius:20px;padding:20px 22px;margin-top:25px;color:#071525;max-width:570px;box-shadow:0 12px 35px #0002}
.fo-page .fo-hero .fo-guide-card-top{display:flex;gap:20px;align-items:center}
.fo-page .fo-hero .fo-pdf-icon{flex:0 0 64px;width:64px;height:74px;padding-right:10px;border-right:1px solid #afd8dd}
.fo-page .fo-hero .fo-guide-ribbon{display:inline-block;background:var(--fo-accent);color:#071525;font-size:12px;font-weight:800;line-height:1.3;letter-spacing:.04em;text-transform:uppercase;padding:5px 18px 5px 10px;margin:0 0 7px;clip-path:polygon(0 0,100% 0,94% 100%,0 100%)}
.fo-page .fo-hero .fo-guide-card-title{font-size:clamp(23px,2.2vw,29px);font-weight:800;line-height:1.12;letter-spacing:-.03em;margin:0;color:#071525}
.fo-page .fo-hero .fo-guide-card-title span{color:var(--fo-accent)}
.fo-page .fo-hero .fo-guide-card-description{font-size:14px;line-height:1.5;color:#425466;margin:12px 0 0}
.fo-page .fo-hero .fo-guide-mobile-link{display:none}
.fo-page .fo-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:960px){
 .fo-page .fo-hero .fo-guide-mobile-link{display:block;position:absolute;inset:0;border-radius:17px;z-index:1}
 .fo-page .fo-hero .fo-guide-mobile-link:focus-visible{outline:3px solid var(--fo-accent);outline-offset:5px}
 .fo-page .fo-hero .fo-guide-card{max-width:560px}
}
@media(max-width:640px){
 .fo-page .fo-hero{padding-top:110px;padding-bottom:28px}
 .fo-page .fo-hero .fo-copy>.fo-eyebrow{font-size:10px;letter-spacing:.09em;margin-bottom:12px}
 .fo-page .fo-hero .fo-copy h1{font-size:clamp(29px,7.8vw,40px);line-height:1.06;letter-spacing:-.035em;padding-bottom:16px;margin-bottom:12px}
 .fo-page .fo-hero .fo-copy h1::after{width:94px;height:5px}
 .fo-page .fo-hero .fo-intro{font-size:16px;line-height:1.4;margin-bottom:10px}
 .fo-page .fo-hero .fo-description{font-size:14px;line-height:1.5;margin-bottom:15px}
 .fo-page .fo-hero .fo-preview-checks{gap:14px;margin-top:16px}
 .fo-page .fo-hero .fo-preview-checks img{width:43%;max-width:175px;border-radius:8px}
 .fo-page .fo-hero .fo-guide-points{padding-left:12px;font-size:12px;line-height:1.35;flex:1;min-width:0}
 .fo-page .fo-hero .fo-guide-points li{padding-left:18px;margin:6px 0}
 .fo-page .fo-hero .fo-guide-points li::before{width:6px;height:11px;top:1px;border-width:0 2px 2px 0}
 .fo-page .fo-hero .fo-guide-card{margin-top:19px;padding:16px;border-radius:17px}
 .fo-page .fo-hero .fo-guide-card-top{gap:12px}
 .fo-page .fo-hero .fo-pdf-icon{width:50px;height:62px;flex-basis:50px;padding-right:8px}
 .fo-page .fo-hero .fo-guide-ribbon{font-size:11px;padding:4px 16px 4px 8px;margin-bottom:5px}
 .fo-page .fo-hero .fo-guide-card-title{font-size:clamp(21px,5.7vw,29px)}
 .fo-page .fo-hero .fo-guide-card-description{font-size:13px;line-height:1.4;margin-top:11px}
 .fo-page .fo-hero .fo-grid{gap:22px}
}

/* Stronger emphasis on the hero heading and white PDF card heading. */
.fo-page .fo-hero .fo-copy h1,
.fo-page .fo-hero .fo-copy h1 .fo-title-accent,
.fo-page .fo-hero .fo-guide-card-title,
.fo-page .fo-hero .fo-guide-card-title span {
    font-weight: 900;
    -webkit-text-stroke: 0.25px currentColor;
}

/* v1.4: larger heading, curved accent flourish and bolder PDF ribbon. */
.fo-page .fo-hero .fo-copy h1 {
    font-size: clamp(38px, 3.8vw, 56px);
    padding-bottom: 24px;
}
.fo-page .fo-hero .fo-copy h1::after {
    width: 145px;
    height: 18px;
    left: 0;
    bottom: 0;
    border-radius: 0;
    transform: none;
    background: var(--fo-accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 22'%3E%3Cpath d='M4 18 C38 8 92 3 136 5 C155 6 158 10 146 11 C124 13 102 11 87 10' fill='none' stroke='black' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 22'%3E%3Cpath d='M4 18 C38 8 92 3 136 5 C155 6 158 10 146 11 C124 13 102 11 87 10' fill='none' stroke='black' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.fo-page .fo-hero .fo-pdf-icon rect {
    fill: #df302b;
}
.fo-page .fo-hero .fo-pdf-icon text {
    fill: #fff;
}
.fo-page .fo-hero .fo-guide-ribbon {
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: .025em;
    padding: 6px 23px 6px 12px;
    margin-bottom: 9px;
}
@media (max-width: 640px) {
    .fo-page .fo-hero .fo-copy h1 {
        font-size: clamp(31px, 8.2vw, 43px);
        padding-bottom: 21px;
    }
    .fo-page .fo-hero .fo-copy h1::after {
        width: 118px;
        height: 16px;
    }
    .fo-page .fo-hero .fo-guide-ribbon {
        font-size: clamp(14px, 4vw, 17px);
        padding: 5px 20px 5px 9px;
        margin-bottom: 7px;
    }
}

.fo-page .fo-form .fo-privacy-notice {
    margin: 14px 0 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f0f0f0;
    color: #425466;
    font-size: 12px;
    line-height: 1.5;
}
.fo-page .fo-form .fo-privacy-notice a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Give the two-column form more room at laptop-sized viewport widths. */
@media (min-width: 961px) and (max-width: 1920px) {
    .fo-page .fo-hero .fo-form {
        padding-block: 30px;
    }

    .fo-page .fo-hero .fo-form h2 {
        font-size: 28px;
    }

    .fo-page .fo-hero .fo-form > p {
        font-size: 15px;
    }

    .fo-page .fo-hero .fo-form .fo-field {
        font-size: 14px;
    }

    .fo-page .fo-hero .fo-form .fo-field span {
        font-size: 11px;
    }

    .fo-page .fo-hero .fo-form .fo-consent,
    .fo-page .fo-hero .fo-form .fo-privacy-notice {
        font-size: 13px;
    }

    .fo-page .fo-hero .fo-form .fo-form-note {
        font-size: 12px;
    }
}

/* Keep the hidden form control inside the form's layout bounds on mobile. */
@media (max-width: 768px) {
    body.page-slug-family-office-investigative-techniques .fo-page .fo-form {
        position: relative;
    }

    body.page-slug-family-office-investigative-techniques .fo-page .fo-hp {
        inset: 0 auto auto 0;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    body.page-slug-family-office-investigative-techniques .footer .footer-ico-logo {
        width: min(100%, 81.6px);
        height: auto;
        max-height: none;
        aspect-ratio: 153 / 90;
        object-fit: contain;
    }
}

/* Editorial layout for the family-office guide. */
.fo-editorial {
    --fo-editorial-accent-ink: #247b85;
    --fo-editorial-muted: #42586a;
    line-height: 1.65;
}
.fo-editorial h2,
.fo-editorial h3 {
    margin: 0;
    line-height: 1.08;
    letter-spacing: -.035em;
}
.fo-editorial h2 { font-size: clamp(2.1rem, 5vw, 4rem); }
.fo-editorial h3 { font-size: clamp(1.45rem, 2.55vw, 2.15rem); }
.fo-editorial :is(h2, h3) span { color: var(--fo-editorial-accent-ink); }
.fo-editorial .fo-guide-detail h2 { color: #fff; }
.fo-editorial .fo-guide-detail h2 span { color: var(--fo-accent); }
.fo-guide-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(30px, 6vw, 82px);
}

.fo-guide-detail {
    padding-block: clamp(58px, 9vw, 130px);
    border-top: 1px solid #477782;
    color: #fff;
    background: radial-gradient(ellipse at 25% 45%, #204a59, transparent 56%), #081725;
}
.fo-guide-spread {
    position: relative;
    min-width: 0;
    padding: 9% 6% 1% 0;
    isolation: isolate;
}
.fo-guide-spread img {
    display: block;
    border-radius: 8px;
    box-shadow: 0 22px 46px #040d176b;
}
.fo-guide-spread .fo-guide-spread-contents {
    position: absolute;
    z-index: -1;
    top: 2%;
    right: 4%;
    width: 75%;
    height: auto;
    transform: rotate(6deg);
}
.fo-guide-spread .fo-guide-spread-cover {
    position: relative;
    width: 66%;
    height: auto;
    border: 1px solid #62bfca90;
    transform: rotate(-5deg);
}
.fo-guide-features { margin: 22px 0; }
.fo-guide-features > div {
    padding: 11px 0 11px 15px;
    border-left: 2px solid var(--fo-accent);
}
.fo-guide-features > div + div { margin-top: 7px; }
.fo-guide-features dt { font-weight: 800; }
.fo-guide-features dd { margin: 0; color: #d0e3eb; }
.fo-guide-final { margin: 0 0 12px; font-weight: 700; }

@media (max-width: 760px) {
    .fo-guide-detail-grid { grid-template-columns: minmax(0, 1fr); }
    .fo-guide-spread { max-width: 500px; margin-inline: auto; }
}
@media (max-width: 480px) {
    .fo-guide-detail .fo-button { width: 100%; }
}
html:has(body.page-slug-family-office-investigative-techniques) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html:has(body.page-slug-family-office-investigative-techniques) { scroll-behavior: auto; }
}

.fo-record-strip {
    padding-block: clamp(36px, 5.5vw, 66px);
    background: #edf3f5;
}
.fo-record-strip h2 { font-size: clamp(1.8rem, 3.3vw, 2.75rem); }
.fo-editorial .fo-record-strip h2 span {
    padding: .03em .18em .08em;
    border-radius: .14em;
    background: #102635;
    color: var(--fo-accent);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}
.fo-record-strip dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 28px;
    margin: 24px 0 0;
}
.fo-record-strip dl > div {
    padding: 5px 0 5px 15px;
    border-left: 2px solid #62bfca;
}
.fo-record-strip dt { font-weight: 800; }
.fo-record-strip dd { margin: 3px 0 0; color: var(--fo-editorial-muted); }
@media (max-width: 760px) {
    .fo-record-strip dl { grid-template-columns: minmax(0, 1fr); }
}
