:root{
    --ink:#0b1220;
    --muted:#4b5972;
    --line:#d9dfeb;
    --focus:#0f766e;
    --teal:#0f766e;
    --teal-deep:#115e59;
    --blue:#2563eb;
    --cyan:#06b6d4;
    --green:#16a34a;
    --logo-purple:#3656ff;
    --logo-purple-deep:#5a34ff;
    --accent:#b7e43b;
    --soft:#f8f7fb;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    font-family:"Segoe UI","Helvetica Neue",Arial,sans-serif;
    color:var(--ink);
    background:#fff;
    overflow-x:hidden;
}
a{color:inherit}
button,input,select,textarea{font:inherit}
.plain-page{background:#fff}
.simple-header{
    background:#fff;
    color:#0b1220;
    border-bottom:1px solid var(--line);
}
.header-inner{
    width:min(1200px,calc(100% - 40px));
    min-height:86px;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}
.brand{
    display:flex;
    align-items:center;
    padding:8px 10px;
    background:#fff;
    border-radius:4px;
}
.brand img{display:block;width:132px;height:auto}
.simple-nav{display:flex;align-items:center;gap:28px;color:#0b3d3a;font-weight:750;font-size:.95rem}
.simple-nav a{text-decoration:none;white-space:nowrap}
.simple-nav a:hover{color:var(--teal)}
.login-link{
    min-height:42px;
    display:inline-flex;
    align-items:center;
    padding:0 18px;
    border-radius:7px;
    background:var(--logo-purple);
    color:#fff;
    font-weight:850;
}
.simple-nav .login-link:hover{color:#fff;background:var(--logo-purple-deep)}
.hero-band{
    background:
        radial-gradient(circle at 20% 18%,rgba(223,246,242,.95),transparent 30%),
        radial-gradient(circle at 78% 18%,rgba(37,99,235,.22),transparent 38%),
        linear-gradient(100deg,#f5fbff 0%,#dff6f2 38%,#cfe8ff 74%,#eef6f8 100%);
}
.hero-inner{
    width:min(1200px,calc(100% - 40px));
    margin:0 auto;
    padding:88px 0 92px;
    display:grid;
    grid-template-columns:minmax(0,1.06fr) minmax(360px,.94fr);
    gap:46px 64px;
    align-items:start;
}
.intake-page{
    width:min(1200px,calc(100% - 40px));
    margin:0 auto;
    padding:58px 0 84px;
    overflow-x:hidden;
}
.topline{
    margin:0 0 12px;
    color:var(--teal-deep);
    background:linear-gradient(90deg,#173156 0%,var(--logo-purple) 58%,var(--logo-purple-deep) 100%);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
    font-size:.94rem;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.hero-copy .topline{
    color:transparent;
    -webkit-text-fill-color:transparent;
}
h1{
    margin:0 0 14px;
    color:#0b1220;
    max-width:780px;
    font-size:clamp(2.55rem,4.45vw,3.95rem);
    line-height:.98;
    letter-spacing:0;
}
h1 span{display:block}
.keep-together{white-space:nowrap}
.hero-copy p{
    max-width:680px;
    margin:0 0 16px;
    color:#26364d;
    font-size:1.12rem;
    line-height:1.55;
}
.hero-copy p:last-child{margin-bottom:0}
.hero-copy .hero-lede{
    color:#0b3d3a;
    font-size:1.28rem;
    font-weight:750;
    margin-top:28px;
}
.hero-capabilities{
    padding:30px;
    border:1px solid rgba(15,118,110,.18);
    border-radius:18px;
    background:rgba(255,255,255,.64);
    box-shadow:0 18px 60px rgba(15,23,42,.08);
}
.hero-capabilities h2,.hero-closing h2{
    margin:0 0 18px;
    color:#0b1220;
    font-size:1.65rem;
    line-height:1.12;
}
.hero-capabilities ul{
    margin:0;
    padding:0;
    display:grid;
    gap:12px;
    list-style:none;
}
.hero-capabilities li{
    display:grid;
    grid-template-columns:12px 1fr;
    gap:11px;
    color:#26364d;
    line-height:1.42;
    font-weight:650;
}
.hero-capabilities li:before{
    content:"";
    width:8px;
    height:8px;
    margin-top:7px;
    border-radius:50%;
    background:var(--green);
}
.hero-closing{
    grid-column:1 / -1;
    max-width:940px;
    padding-top:6px;
}
.hero-closing p{
    margin:0 0 12px;
    color:#26364d;
    font-size:1.08rem;
    line-height:1.55;
}
.hero-closing strong{
    display:inline-block;
    margin-top:8px;
    color:#0b3d3a;
    font-size:1.18rem;
}
.section-intro{
    margin-bottom:30px;
}
.section-intro .section-kicker{
    margin:0 0 28px;
    color:#0b1220;
    max-width:780px;
    font-size:clamp(2.55rem,4.45vw,3.95rem);
    font-weight:700;
    line-height:.98;
    letter-spacing:0;
    text-transform:none;
}
.section-intro h2{
    margin:0 0 16px;
    color:var(--logo-purple);
    background:linear-gradient(90deg,#173156 0%,var(--logo-purple) 58%,var(--logo-purple-deep) 100%);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
    font-size:1.9rem;
    line-height:1.15;
}
.section-intro p{
    max-width:760px;
    margin:0;
    color:#34445e;
    line-height:1.55;
}
.plain-form{display:grid;gap:24px;overflow:visible}
.field-row{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:9px;
    max-width:640px;
}
.derived-row{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:14px;
    max-width:640px;
}
.derived-row .field-row{
    max-width:none;
}
.field-row label{
    color:#0b1220;
    font-weight:750;
    line-height:1.35;
}
.control-help{
    position:relative;
    display:grid;
    grid-template-columns:minmax(0,1fr) 34px;
    gap:10px;
    align-items:center;
}
.help-button{
    position:relative;
    width:30px;
    height:30px;
    border:1px solid #9fb2c8;
    border-radius:50%;
    background:#fff;
    color:#0f766e;
    font-size:.92rem;
    font-weight:900;
    line-height:1;
    cursor:pointer;
}
.help-button:hover,
.help-button:focus,
.help-button.is-open{
    border-color:#0f766e;
    background:#eefcf9;
    outline:none;
}
.help-button:after{
    content:attr(data-help-title) "\A" attr(data-help);
    position:absolute;
    left:calc(100% + 14px);
    top:var(--help-offset-y,50%);
    z-index:20;
    width:340px;
    max-width:calc(100vw - 96px);
    min-height:86px;
    padding:13px 15px;
    border:1px solid #0f766e;
    border-radius:13px;
    background:#f2fbfb;
    color:#34445e;
    box-shadow:0 16px 36px rgba(15,23,42,.14);
    font-size:.86rem;
    font-weight:500;
    line-height:1.42;
    text-align:left;
    white-space:pre-line;
    text-indent:0;
    font-family:"Segoe UI","Helvetica Neue",Arial,sans-serif;
    border-top-width:1px;
    opacity:0;
    pointer-events:none;
    transform:translateY(var(--help-translate-y,-50%)) translateX(4px);
    transition:opacity .16s ease,transform .16s ease;
}
.help-button:after::first-line{
    color:#0f766e;
    font-weight:850;
}
.help-button:before{
    content:"";
    position:absolute;
    left:calc(100% + 7px);
    top:var(--help-pointer-y,50%);
    z-index:21;
    width:13px;
    height:13px;
    border-left:1px solid #0f766e;
    border-bottom:1px solid #0f766e;
    background:#f2fbfb;
    opacity:0;
    pointer-events:none;
    transform:translateY(-50%) rotate(45deg);
    transition:opacity .16s ease;
}
.help-button:hover:after,
.help-button:focus:after,
.help-button.is-open:after{
    opacity:1;
    transform:translateY(var(--help-translate-y,-50%)) translateX(0);
}
.help-button:hover:before,
.help-button:focus:before,
.help-button.is-open:before{
    opacity:1;
}
.group-label{
    color:#0b1220;
    font-weight:750;
    line-height:1.35;
}
.income-group{
    display:grid;
    gap:10px;
    padding:18px;
    border:1px solid #ccd5e3;
    border-radius:22px;
    background:#fff;
}
.income-group + .help-button{align-self:start;margin-top:10px}
.income-group label{
    color:#4b5972;
    font-size:.9rem;
    font-weight:750;
}
.income-group input{
    min-height:46px;
}
.income-group label:not(:first-child){
    margin-top:8px;
}
input,select,textarea{
    width:100%;
    min-height:50px;
    padding:11px 18px;
    color:#111827;
    background:#fff;
    border:1px solid #ccd5e3;
    border-radius:18px;
    outline:none;
}
input:focus,select:focus,textarea:focus{
    border-color:var(--focus);
    box-shadow:0 0 0 3px rgba(22,143,130,.15);
}
input[readonly]{
    color:var(--focus);
    font-weight:800;
    background:#fff;
}
.ltv-green{color:#0f766e !important}
.ltv-amber{color:#d4a000 !important}
.ltv-red{color:#dc2626 !important}
select{cursor:pointer}
.calculator{
    margin:36px 0 10px;
    padding:34px 0 8px;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
    display:grid;
    gap:28px;
    overflow-x:hidden;
}
.calculator-copy h2{
    margin:0 0 8px;
    color:#0b1220;
    font-size:1.65rem;
    line-height:1.15;
}
.calculator-copy p{
    max-width:720px;
    margin:0;
    color:var(--muted);
    line-height:1.55;
}
.slider-field{display:grid;gap:10px;overflow-x:hidden}
.slider-head{
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    gap:16px;
}
.slider-head label{font-weight:800}
.slider-head output{color:var(--focus);font-weight:850}
input[type="range"]{
    display:block;
    width:calc(100% - 4px);
    margin:0 2px;
    min-height:28px;
    padding:0;
    border:0;
    accent-color:var(--focus);
}
.quote-results{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px;
    padding-top:6px;
}
.quote-results div{
    display:grid;
    gap:7px;
}
.quote-results span{
    color:var(--muted);
    font-size:.9rem;
    font-weight:700;
}
.quote-results strong{
    color:#0b1220;
    font-size:1.35rem;
    line-height:1.15;
}
.quote-results p{
    grid-column:1 / -1;
    margin:0;
    color:var(--muted);
    font-size:.93rem;
    line-height:1.48;
}
.consent-line{align-items:start}
.consent-line label{
    display:flex;
    align-items:flex-start;
    gap:10px;
    color:#374151;
    font-weight:600;
}
.consent-line input{
    width:auto;
    min-height:auto;
    margin-top:4px;
}
.submit-button{
    justify-self:start;
    min-height:48px;
    padding:0 28px;
    border:1px solid var(--teal);
    border-radius:8px;
    background:var(--teal);
    color:#fff;
    font-weight:850;
    cursor:pointer;
}
.submit-button:hover{background:var(--teal-deep)}
.page-hero,.section,.footer{
    width:min(1120px,calc(100% - 40px));
    margin:0 auto;
}
.page-hero{padding:70px 0 48px}
.page-hero .inner,.section .inner,.footer .inner{width:auto;margin:0}
.page-hero h1{max-width:760px}
.lede{max-width:720px;color:var(--muted);font-size:1.12rem;line-height:1.55}
.eyebrow{color:#0f766e;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.section{padding:54px 0;border-top:1px solid var(--line)}
.section-head{display:grid;grid-template-columns:1fr 1.3fr;gap:40px;margin-bottom:32px}
.section-head h2{margin:0;font-size:2.4rem;line-height:1}
.section-head p{margin:0;color:var(--muted);line-height:1.55}
.cards,.workflow,.proof-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.workflow{grid-template-columns:repeat(5,minmax(0,1fr))}
.card,.step,.proof-panel{border-top:1px solid var(--line);padding-top:18px}
.card-mark,.step-number{color:#0f766e;font-weight:850;margin-bottom:12px}
.card h3,.step h3,.proof-panel h3{margin:0 0 8px}
.card p,.step p,.proof-panel li{color:var(--muted);line-height:1.5}
.proof-panel ul{margin:0;padding-left:18px}
.dark-band{background:#fff;color:var(--ink)}
.footer{padding:30px 0;border-top:1px solid var(--line);color:var(--muted)}
.footer .inner{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
@media (max-width:760px){
    .header-inner{align-items:flex-start;flex-direction:column;padding:18px 0}
    .simple-nav{width:100%;gap:22px;overflow-x:auto;padding-bottom:2px}
    .brand img{width:118px}
    .hero-inner{grid-template-columns:1fr;padding:64px 0 70px}
    .hero-capabilities{padding:22px}
    .intake-page{padding-top:42px}
    .derived-row{grid-template-columns:1fr;max-width:640px}
    .quote-results{grid-template-columns:1fr}
    .submit-button{margin-left:0;width:100%}
    .section-head,.cards,.workflow,.proof-grid{grid-template-columns:1fr}
    .help-button:after{
        left:auto;
        right:0;
        top:calc(100% + 10px);
        width:min(340px,calc(100vw - 48px));
        transform:translateY(0) translateX(0);
    }
    .help-button:before{
        left:50%;
        right:auto;
        top:calc(100% + 4px);
        transform:translateX(-50%) rotate(135deg);
    }
    .help-button:hover:after,
    .help-button:focus:after,
    .help-button.is-open:after{
        transform:translateY(0) translateX(0);
    }
}
