/* Delegation savings calculator. Core palette: navy, blue, cyan, deep blue; neutrals are navy tints. */
main.page.calc{max-width:1120px; padding-top:130px}
.calc .k{display:inline-flex; align-items:center; gap:10px; font-size:12px; font-weight:600; letter-spacing:.2em; text-transform:uppercase; color:#2fd4fb}
.calc .k::before{content:""; width:12px; height:10px; background:#2fd4fb;
  -webkit-mask:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 85'%3E%3Cpath d='M0 0H100V28H28V85H0Z'/%3E%3C/svg%3E") no-repeat center/contain;
  mask:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 85'%3E%3Cpath d='M0 0H100V28H28V85H0Z'/%3E%3C/svg%3E") no-repeat center/contain}
.calc h1{font-size:clamp(38px,5.4vw,66px); font-weight:300; color:#fff; letter-spacing:-.035em; line-height:1.04; margin:18px 0 0; max-width:16ch}
.calc h1 em{font-style:normal; font-weight:600; color:#2fd4fb}
.calc .intro{font-size:clamp(17px,1.5vw,19px); color:#c5ccf2; max-width:60ch; margin:22px 0 0; line-height:1.6}
.calc h2{font-size:clamp(26px,3vw,36px); font-weight:300; color:#fff; letter-spacing:-.03em; line-height:1.12; margin:0 0 14px}
.calc h2 em{font-style:normal; font-weight:600; color:#2fd4fb}
.calc section{margin-top:96px}
.calc p.body{font-size:16.5px; color:#aab4ee; line-height:1.65; max-width:64ch; margin:0 0 14px}
.calc a{color:#5c9bff}

/* the tool */
.tool{display:grid; grid-template-columns:1fr 1fr; gap:22px; margin-top:44px}
.panel{border:1px solid #2a3499; border-radius:22px; background:#080d5c; padding:32px}
.panel .ph{font-size:12px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:#8b93cd; margin:0 0 22px}
.field + .field{margin-top:30px}
.field label{display:flex; justify-content:space-between; align-items:baseline; gap:12px; font-size:16px; font-weight:500; color:#fff}
.field label output{font-size:28px; font-weight:600; color:#2fd4fb; letter-spacing:-.02em; font-variant-numeric:tabular-nums}
.field input[type=range]{width:100%; margin:16px 0 6px; accent-color:#217bff; height:24px; cursor:pointer}
.field .scale{display:flex; justify-content:space-between; font-size:12.5px; color:#6f78c4}
.field .help{font-size:13.5px; color:#8b93cd; line-height:1.55; margin:10px 0 0}
.money{display:flex; align-items:center; margin-top:14px; border:1px solid #2a3499; border-radius:14px; background:#01055e; transition:border-color .15s ease}
.money:focus-within{border-color:#217bff}
.money span{padding:0 4px 0 18px; font-size:22px; color:#8b93cd}
.money input{flex:1; min-width:0; background:none; border:0; outline:0; color:#fff; font:inherit; font-size:22px; font-weight:600; padding:14px 18px 14px 4px; font-variant-numeric:tabular-nums}
.money small{padding-right:18px; font-size:14px; color:#8b93cd}

.results{background:radial-gradient(420px 260px at 100% 0%, rgba(33,123,255,.22), transparent 70%), linear-gradient(160deg,#102dc2 0%,#080d5c 62%); border-color:#217bff}
.big{margin:0}
.big .lbl{font-size:14px; color:#c5ccf2}
.big .num{display:block; font-size:clamp(44px,5.4vw,64px); font-weight:600; color:#fff; letter-spacing:-.04em; line-height:1.05; margin-top:6px; font-variant-numeric:tabular-nums}
.big .per{font-size:15px; color:#aab4ee}
.rows{margin:26px 0 0; border-top:1px solid rgba(197,204,242,.18)}
.rows div{display:flex; justify-content:space-between; align-items:baseline; gap:16px; padding:14px 0; border-bottom:1px solid rgba(197,204,242,.18)}
.rows dt{font-size:15px; color:#c5ccf2}
.rows dd{margin:0; font-size:17px; font-weight:600; color:#fff; text-align:right; font-variant-numeric:tabular-nums}
.verdict{margin:22px 0 0; font-size:15.5px; line-height:1.6; color:#e3e6fa}
.verdict b{color:#2fd4fb; font-weight:600}
.results .btn{margin-top:22px}

.btn{display:inline-flex; align-items:center; gap:10px; text-decoration:none; font-weight:600; font-size:15px;
  padding:14px 26px; border-radius:100px; transition:transform .15s ease, filter .15s ease, border-color .15s ease}
.btn.primary{background:#217bff; color:#fff}
.btn.primary:hover{transform:translateY(-2px); filter:brightness(1.08)}
.btn.ghost{border:1px solid #2a3499; color:#c5ccf2}
.btn.ghost:hover{border-color:#2fd4fb; color:#fff}

/* explainer blocks */
.two{display:grid; grid-template-columns:1fr 1fr; gap:22px}
.card{border:1px solid #2a3499; border-radius:18px; background:#080d5c; padding:28px}
.card h3{font-size:19px; font-weight:600; color:#fff; margin:0 0 12px}
.card p{font-size:15.5px; color:#aab4ee; line-height:1.6; margin:0}
.formula{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px}
.formula li{font-size:15.5px; color:#c5ccf2; line-height:1.5}
.formula code{font-family:inherit; color:#2fd4fb; font-weight:600}
.tasks{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:10px 22px}
.tasks li{position:relative; padding-left:22px; font-size:15.5px; color:#c5ccf2}
.tasks li::before{content:""; position:absolute; left:0; top:.5em; width:9px; height:8px; background:#217bff;
  -webkit-mask:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 85'%3E%3Cpath d='M0 0H100V28H28V85H0Z'/%3E%3C/svg%3E") no-repeat center/contain;
  mask:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 85'%3E%3Cpath d='M0 0H100V28H28V85H0Z'/%3E%3C/svg%3E") no-repeat center/contain}

/* FAQ */
.faq details{border:1px solid #2a3499; border-radius:14px; background:#080d5c; margin-bottom:12px}
.faq summary{cursor:pointer; list-style:none; padding:20px 24px; font-size:16.5px; font-weight:600; color:#fff; display:flex; justify-content:space-between; gap:16px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+"; color:#2fd4fb; font-weight:400; font-size:22px; line-height:1}
.faq details[open] summary::after{content:"\2212"}
.faq details p{margin:0; padding:0 24px 22px; font-size:15.5px; color:#aab4ee; line-height:1.65; max-width:70ch}

.band{margin-top:96px; border:1px solid #2a3499; border-radius:24px; padding:48px 40px; text-align:center;
  background:radial-gradient(600px 300px at 50% 100%, rgba(16,45,194,.35), transparent 72%), #01055e}
.band h2{margin:0 auto 12px; max-width:22ch}
.band p{font-size:17px; color:#aab4ee; margin:0 auto 26px; max-width:52ch; line-height:1.6}

@media (max-width:900px){
  .tool,.two{grid-template-columns:1fr}
}
@media (max-width:600px){
  main.page.calc{padding-top:104px}
  .calc section{margin-top:72px}
  .panel{padding:24px 20px; border-radius:18px}
  .tasks{grid-template-columns:1fr}
  .band{padding:36px 22px}
  .rows dt{font-size:14px}
}
