/* SKE executive layer, v3: dark hero, role selector, client and credential strips, work near you,
   compact footer, page transitions. Solid surfaces and thin borders, no glass. */

:root {
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --navy-950: #071226; --navy-900: #0b1a2e; --navy-800: #12264a; --navy-700: #1b3566;
  --gold: #f5b81b; --gold-ink: #0b1a2e;
  --font-accent: "Instrument Serif", Georgia, serif;
}

/* ---------- type: heavier display, serif italic accent */
h1, h2, .t-display { font-weight: 600; letter-spacing: -0.032em; }
h1 em, h2 em { font-family: var(--font-accent); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
h3 { letter-spacing: -0.012em; }

/* ---------- page transitions (Chrome, Edge, Safari 18+): a quick cross-fade with a small lift */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 160ms var(--ease-out) both; }
::view-transition-new(root) { animation: vt-in 260ms var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
.nav { view-transition-name: site-nav; }
::view-transition-group(site-nav) { animation: none; }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* ---------- hero */
.xhero { position: relative; isolation: isolate; background: var(--navy-950); color: #dfe7f3; padding: clamp(56px, 7vw, 104px) 0 0; overflow: hidden; }
.xhero__bg { position: absolute; inset: 0; z-index: -1; }
.xhero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 30%; opacity: .5; }
.xhero__bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy-950) 0%, rgb(7 18 38 / .94) 38%, rgb(7 18 38 / .55) 70%, rgb(7 18 38 / .8) 100%),
              linear-gradient(0deg, var(--navy-950) 0%, transparent 40%); }
.xhero__grid-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.pl { fill: none; stroke: rgb(245 184 27 / .22); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.pl--2 { stroke: rgb(255 255 255 / .08); }
.pl--3 { stroke: rgb(255 255 255 / .06); }
@media (prefers-reduced-motion: no-preference) {
  .pl { stroke-dasharray: 40 1400; stroke: rgb(245 184 27 / .55); animation: pulse-run 7s linear infinite; }
  .pl--2 { stroke: rgb(245 184 27 / .35); animation-duration: 9s; animation-delay: -3s; }
  .pl--3 { stroke: rgb(245 184 27 / .3); animation-duration: 6s; animation-delay: -1s; }
  .xhero__bg::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='800' preserveAspectRatio='none'%3E%3Cpath d='M0 620H380L440 560H760L820 620H1440M0 700H220L280 640H980L1040 700H1440M520 0V180L580 240V800' fill='none' stroke='white' stroke-opacity='.07'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
}
@keyframes pulse-run { from { stroke-dashoffset: 1440; } to { stroke-dashoffset: 0; } }

.xhero__wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: center; position: relative; z-index: 2; }
.xhero h1 { color: #fff; font-size: clamp(2.4rem, 1.2rem + 3.6vw, 4.3rem); line-height: 1.02; margin: 0 0 22px; max-width: 15ch; }
.xhero h1 em { color: var(--gold); }
.xhero__lead { font-size: clamp(1.05rem, .95rem + .35vw, 1.25rem); line-height: 1.55; color: #c3cfe0; max-width: 54ch; margin: 0 0 30px; }
.xhero .btn-row { gap: 12px; }
.btn--yellow { background: var(--gold) !important; color: var(--gold-ink) !important; border-color: var(--gold) !important; font-weight: 600; }
.btn--yellow:hover { background: #ffc93d !important; }
.btn--line { background: transparent; color: #fff; border: 1px solid rgb(255 255 255 / .35); }
.btn--line:hover { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .6); }
.btn { transition: transform 160ms var(--ease-out), background-color 160ms ease, border-color 160ms ease; }
.btn:active { transform: scale(.97); }
.xhero__since { display: flex; gap: 10px; align-items: flex-start; margin: 28px 0 0; font-size: 15px; color: #e8eef7; max-width: 52ch; line-height: 1.45; }
.xhero__since .ico { color: var(--gold); flex: none; margin-top: 2px; }

/* entrance */
@media (prefers-reduced-motion: no-preference) {
  .m-enter .xhero__text > *, .m-enter .roles { opacity: 0; transform: translateY(14px); }
  .m-enter-done .xhero__text > *, .m-enter-done .roles { opacity: 1; transform: none; transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
  .m-enter-done .xhero__text > :nth-child(2) { transition-delay: 60ms; }
  .m-enter-done .xhero__text > :nth-child(3) { transition-delay: 120ms; }
  .m-enter-done .xhero__text > :nth-child(4) { transition-delay: 180ms; }
  .m-enter-done .roles { transition-delay: 220ms; }
  .xhero__img { animation: hero-zoom 1.4s var(--ease-out) both; }
}
@keyframes hero-zoom { from { transform: scale(1.06); opacity: 0; } to { transform: none; opacity: .5; } }

/* role selector: a solid white card on the navy ground */
.roles { background: #fff; color: var(--p-ink); border-radius: 18px; padding: 22px; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .55); border: 1px solid rgb(255 255 255 / .6); }
.roles__ask { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--p-muted); margin: 0 0 12px; }
.roles__tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.roles__tabs button { font: 600 14px/1 var(--font-text); padding: 10px 13px; min-height: 40px; border-radius: 999px; border: 1px solid #d9e0ea; background: #f4f6fa; color: var(--p-ink); cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out); }
.roles__tabs button:hover { border-color: var(--p-action); }
.roles__tabs button:active { transform: scale(.97); }
.roles__tabs button[aria-selected="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.roles__panel { animation: role-in 260ms var(--ease-out); }
@keyframes role-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .roles__panel { animation: none; } }
.roles__line { margin: 0 0 12px; font-size: 16px; line-height: 1.5; color: #2a3546; }
.roles__svcs { list-style: none; margin: 0; padding: 0; border-top: 1px solid #e6ebf2; }
.roles__svcs a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid #e6ebf2; text-decoration: none; color: var(--p-ink); font-weight: 600; font-size: 15.5px; }
.roles__svcs a .m-arrow { width: 12px; height: 12px; flex: none; color: var(--p-action); transition: transform 200ms var(--ease-out); }
.roles__svcs a:hover { color: var(--p-action); }
.roles__svcs a:hover .m-arrow { transform: translateX(3px); }
.roles__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; font-size: 14px; }
.roles__proof { margin: 0; color: var(--p-muted); }
.roles__proof strong { color: var(--p-ink); }
.roles__tool { font-weight: 700; color: var(--p-action); }

/* figures sit at the foot of the hero */
.xhero__stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid rgb(255 255 255 / .14); position: relative; z-index: 2; }
.xhero__stats .statband__item { padding: 26px 20px 30px 0; border: 0; background: none; }
.xhero__stats .statband__item + .statband__item { padding-left: 22px; border-left: 1px solid rgb(255 255 255 / .1); }
.xhero__stats .statband__num { color: #fff; display: block; }
.xhero__stats .statband__label { color: #9fb0c6; font-size: 14px; display: block; margin-top: 6px; }

@media (max-width: 1023px) {
  .xhero__wrap { grid-template-columns: 1fr; }
  .xhero__stats { grid-template-columns: repeat(3, 1fr); }
  .xhero__stats .statband__item:nth-child(4) { padding-left: 0; border-left: 0; }
}
@media (max-width: 639px) {
  .xhero { padding-top: 40px; }
  .xhero__img { object-position: 70% 20%; opacity: .32; }
  .xhero__stats { grid-template-columns: 1fr 1fr; }
  .xhero__stats .statband__item { padding: 18px 12px 18px 0 !important; border-left: 0 !important; border-bottom: 1px solid rgb(255 255 255 / .08); }
  .roles { padding: 18px; border-radius: 14px; }
  .roles__tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -18px; padding-inline: 18px; scrollbar-width: none; }
  .roles__tabs button { flex: none; }
}

/* ---------- strips: clients, then credentials */
.strips { background: var(--navy-950); border-top: 1px solid rgb(255 255 255 / .08); }
.strip { display: flex; align-items: center; gap: 24px; }
.strip__viewport { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.strip__track { display: flex; width: max-content; }
.strip ul { display: flex; list-style: none; margin: 0; padding: 0; }
.strip--clients { background: #fff; padding: 0 0 0 max(24px, calc((100vw - 1280px) / 2)); border-bottom: 1px solid #e3e8ef; }
.strip__label { flex: none; margin: 0; font: 700 12px/1 var(--font-text); letter-spacing: .1em; text-transform: uppercase; color: var(--p-muted); }
.strip--clients li { font: 700 15px/1 var(--font-display); letter-spacing: .02em; color: #3d4a5c; white-space: nowrap; padding: 30px 30px; position: relative; }
.strip--clients li::after { content: ""; position: absolute; right: 0; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); transform: translate(50%, -50%); }
.strip__more { flex: none; align-self: stretch; display: grid; place-items: center; padding: 0 28px; font-weight: 700; font-size: 14px; color: var(--p-action); border-left: 1px solid #e3e8ef; text-decoration: none; background: #fff; }
.strip__more:hover { background: #f4f6fa; }
.strip--creds { background: var(--navy-900); }
.strip--creds li { display: inline-flex; align-items: center; gap: 10px; color: #e8eef7; white-space: nowrap; padding: 18px 34px; font-size: 15px; font-weight: 600; border-right: 1px solid rgb(255 255 255 / .08); }
.strip--creds .ico { color: var(--gold); }
@media (prefers-reduced-motion: no-preference) {
  .strip__track { animation: strip 70s linear infinite; }
  .strip__track--rev { animation-duration: 55s; animation-direction: reverse; }
  .strip:hover .strip__track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .strip__track ul[aria-hidden] { display: none; }
  .strip__track, .strip ul { flex-wrap: wrap; width: auto; }
}
@keyframes strip { to { transform: translateX(-50%); } }
@media (max-width: 639px) {
  .strip--clients { padding-left: 16px; }
  .strip__label { display: none; }
  .strip--clients li { padding: 22px 22px; font-size: 14px; }
  .strip__more { padding: 0 16px; }
}

/* ---------- work near you */
.near { display: grid; grid-template-columns: auto 1fr; gap: 6px 28px; align-items: center; padding: 18px 22px; margin: 0 0 28px; border: 1px solid var(--card-line, #e3e8ef); border-left: 3px solid var(--gold); border-radius: 12px; background: #fff; }
.near__pick { display: grid; gap: 4px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--p-muted); }
.near__pick select { font: 600 15px var(--font-text); text-transform: none; letter-spacing: 0; padding: 9px 34px 9px 12px; border-radius: 8px; border: 1px solid #cfd8e3; background: #f7f9fc; color: var(--p-ink); min-height: 44px; }
.near__body { display: flex; gap: 20px; align-items: center; justify-content: space-between; }
.near__body p { margin: 0; line-height: 1.5; }
.near__body .link { flex: none; }
.near__city { grid-column: 2; margin: 0; font-size: 13px; color: var(--p-muted); }
.near__city:empty { display: none; }
@media (max-width: 767px) { .near { grid-template-columns: 1fr; } .near__body { flex-direction: column; align-items: flex-start; gap: 8px; } .near__city { grid-column: 1; } }

/* ---------- cards: spotlight edge that follows the pointer (desktop) */
@media (hover: hover) and (pointer: fine) {
  .bento__tile, .proj, .ind, .tool-card { position: relative; }
  .bento__tile::before, .proj::before, .tool-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 3;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgb(245 184 27 / .9), transparent 60%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0; transition: opacity 200ms ease; }
  .bento__tile:hover::before, .proj:hover::before, .tool-card:hover::before { opacity: 1; }
}
/* photos reveal from below as they scroll in */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .proj__pic img, .js-reveal .bento__pic img { clip-path: inset(0 0 100% 0); transition: clip-path 900ms var(--ease-io); }
  .js-reveal .is-in .proj__pic img, .js-reveal .is-in .bento__pic img, .js-reveal .reveal.is-in .proj__pic img { clip-path: inset(0 0 0 0); }
}

/* ---------- section rhythm: the mentor statement on navy */
#mentor.section--tint { background: var(--navy-900); color: #c9d3e0; }
#mentor .mo-wh__text { color: #fff; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.5rem); line-height: 1.22; }
#mentor .mentor__kick { color: var(--gold) !important; }
#mentor .mentor__name { color: #a9b6c8; border-top-color: rgb(245 184 27 / .6); }
#mentor .mentor__name strong { color: #fff; }

/* ---------- compact footer */
.sfoot__cta { padding: 40px 0 28px; }
.sfoot__community { display: flex; align-items: center; gap: 16px; margin-top: 26px; padding: 12px 14px; border: 1px solid rgb(255 255 255 / .18); border-radius: 12px; text-decoration: none; color: #e6edf8 !important; transition: background-color 160ms ease, border-color 160ms ease; }
.sfoot__community:hover { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .35); }
.sfoot__community strong { color: #fff; }
.sfoot__community .sfoot__wa-badge { width: 40px; height: 40px; flex: none; }
.sfoot__join { margin-left: auto; flex: none; font-weight: 700; color: var(--gold); }
.sfoot__main { padding: 44px 0 28px; }
.sfoot__grid { grid-template-columns: 1.3fr 1.2fr 1.2fr !important; gap: 48px; }
.sfoot__col summary { list-style: none; cursor: default; }
.sfoot__col summary::-webkit-details-marker { display: none; }
.sfoot__links { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.sfoot__brand p { max-width: 36ch; }
@media (max-width: 1023px) { .sfoot__grid { grid-template-columns: 1fr 1fr !important; } .sfoot__brand { grid-column: 1 / -1; } }
@media (max-width: 639px) {
  .sfoot__grid { grid-template-columns: 1fr !important; gap: 0; }
  .sfoot__brand { padding-bottom: 20px; }
  .sfoot__col { border-top: 1px solid rgb(255 255 255 / .1); }
  .sfoot__col summary { cursor: pointer; padding: 16px 0; display: flex; justify-content: space-between; align-items: center; }
  .sfoot__col summary::after { content: "+"; font-size: 22px; color: var(--gold); }
  .sfoot__col[open] summary::after { content: "−"; }
  .sfoot__col summary h3 { margin: 0; }
  .sfoot__col > ul, .sfoot__col > a { margin-bottom: 18px; }
  .sfoot__community { flex-wrap: wrap; }
  .sfoot__join { margin-left: 56px; }
}

/* WhatsApp outline button on tool results */
.btn--wa-outline { background: #fff; color: #116634; border: 1px solid #157a40; }
.btn--wa-outline:hover { background: #effaf3; }

/* clients page */
.cl-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.cl-group { background: #fff; border: 1px solid var(--card-line, #e3e8ef); border-radius: 14px; padding: 22px 24px; }
.cl-group h2 { font-size: 1.15rem; margin: 0 0 14px; display: flex; justify-content: space-between; gap: 12px; }
.cl-group h2 span { color: var(--p-muted); font-weight: 500; font-size: 14px; }
.cl-group ul { list-style: none; margin: 0; padding: 0; columns: 1; }
.cl-group li { padding: 8px 0; border-top: 1px solid #eef1f5; font-size: 15.5px; }
.cl-group li.is-top { font-weight: 700; }

/* mentor statement on navy: the word-highlight moment reads light on dark */
#mentor { --ink: #ffffff; --bg: #0b1a2e; --accent: var(--gold); }
#mentor .mo-wh .mo-w { color: rgb(255 255 255 / .32); }
#mentor .mo-wh .mo-w.is-on { color: #fff; }
#mentor .mo-wh strong .mo-w.is-on { color: var(--gold); }
@media (prefers-reduced-motion: reduce) { #mentor .mo-wh .mo-w { color: #fff; } }

/* figures in the hero: numbers on one line, labels aligned under them */
.xhero__stats { gap: 0 !important; }
.xhero__stats .statband__item { display: flex !important; flex-direction: column; justify-content: flex-start; gap: 8px; border-left: 0; }
.xhero__stats .statband__label { margin-top: 0 !important; line-height: 1.4; }
main > section.strips, main > section.xhero { min-height: 0 !important; height: auto !important; }
main > section.strips { padding: 0 !important; }
main > section.xhero { padding-bottom: 0 !important; }
.strip--clients { padding-right: 0; }

/* areas we serve */
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.area-card { display: grid; gap: 8px; align-content: start; padding: 24px; background: #fff; border: 1px solid var(--card-line, #e3e8ef); border-radius: 14px; text-decoration: none; color: var(--p-ink); transition: transform 200ms var(--ease-out), border-color 200ms ease; }
.area-card:hover { transform: translateY(-2px); border-color: var(--p-action); }
.area-card__tag { width: max-content; font: 700 12px/1 var(--font-text); letter-spacing: .08em; padding: 6px 9px; border-radius: 999px; background: var(--navy-900); color: var(--gold); }
.area-card h3 { margin: 4px 0 0; font-size: 1.2rem; }
.area-card p { margin: 0; color: var(--p-muted); }
.city-list { list-style: none; margin: 20px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 10px; }
.city-list a { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--card-line, #e3e8ef); border-radius: 10px; background: #fff; text-decoration: none; color: var(--p-ink); }
.city-list a:hover { border-color: var(--p-action); }
.city-list span { font-size: 13.5px; color: var(--p-muted); }
.area-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; margin-top: 8px; }
.area-hero .t-lead { max-width: 60ch; }
.area-facts { background: var(--navy-900); color: #dfe7f3; border-radius: 16px; padding: 24px 26px; }
.area-facts dl { margin: 0; display: grid; gap: 14px; }
.area-facts dt { font: 700 12px/1.2 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.area-facts dd { margin: 0; line-height: 1.5; }
.area-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); }
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tick-list li { position: relative; padding-left: 30px; line-height: 1.5; }
.tick-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--navy-900) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5b81b' stroke-width='3'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.area-svcs { background: #fff; border-radius: 12px; padding: 0 16px; border: 1px solid var(--card-line, #e3e8ef); }
@media (max-width: 1023px) { .area-grid, .area-hero, .area-two { grid-template-columns: 1fr; } }
.area-hero h1 { margin: 0 0 20px; }
.area-hero .t-lead { margin: 0 0 28px; }
.area-two h2 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); margin: 0 0 20px; }
.crumbs { position: relative; z-index: 1; }
.xhero__wrap > *, .roles, .roles__panel { min-width: 0; }
.xhero__text { max-width: 100%; }
@media (max-width: 639px) {
  .xhero .btn-row .btn { width: 100%; justify-content: center; }
  .sfoot__community { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sfoot__join { margin-left: 0 !important; }
  .head-row { flex-wrap: wrap; gap: 12px; }
}

/* ---------- calculators: same family as the tool pages (white card, result box inside) */
.calc-head__group { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 var(--font-text); letter-spacing: .1em; text-transform: uppercase; color: var(--p-action); margin: 0 0 12px; }
.calc-head__group .ico { width: 16px; height: 16px; }
.calc.tool { display: block; }
.calc__in { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.cf { display: grid; gap: 6px; align-content: start; }
.cf label { font-size: 14px; font-weight: 600; color: #2a3546; line-height: 1.3; }
.cf__box { display: flex; align-items: stretch; border: 1px solid #c5ccd8; border-radius: 8px; background: #fff; overflow: hidden; transition: border-color 150ms ease, box-shadow 150ms ease; }
.cf__box:focus-within, .cf select:focus { border-color: var(--p-action); box-shadow: 0 0 0 3px rgb(11 61 145 / .14); }
.cf input, .cf select { width: 100%; min-height: 46px; font: 500 16px var(--font-text); color: var(--p-ink); border: 0; padding: 0 12px; background: transparent; font-variant-numeric: tabular-nums; }
.cf select { border: 1px solid #c5ccd8; border-radius: 8px; background: #fff; }
.cf input:focus, .cf select:focus { outline: none; }
.cf__unit { display: grid; place-items: center; padding: 0 12px; background: #f4f6fa; color: var(--p-muted); font-size: 13px; font-weight: 600; border-left: 1px solid #e3e8ef; white-space: nowrap; }
.calc__reset { grid-column: 1 / -1; justify-self: start; background: none; border: 0; color: var(--p-muted); font: 600 13px var(--font-text); text-decoration: underline; cursor: pointer; padding: 4px 0; min-height: 32px; }
.calc__out { margin-top: 20px; padding: 20px 22px; border-radius: 12px; background: linear-gradient(180deg, #f2f7ff, #fbfdff); border: 1px solid #cfdcf3; border-left: 4px solid var(--p-action); }
.calc__out-h { font: 700 12px/1 var(--font-text); letter-spacing: .1em; text-transform: uppercase; color: var(--p-action); margin: 0 0 10px; }
.res-list { margin: 0; display: grid; }
.res-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 8px 0; border-bottom: 1px dashed #d7e1f0; }
.res-list > div:last-child { border-bottom: 0; }
.res-list dt { color: var(--p-muted); font-size: 14.5px; }
.res-list dd { margin: 0; text-align: right; font-weight: 600; color: var(--p-ink); font-variant-numeric: tabular-nums; }
.res-list > .is-main dt { color: var(--p-ink); font-weight: 600; }
.res-list > .is-main dd { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); color: var(--p-action); letter-spacing: -.01em; }
.res-warn { margin: 10px 0 0; padding: 9px 12px; border-radius: 8px; background: #fff4d6; color: #7a5300; font-size: 14px; }
.res-note { margin: 10px 0 0; font-size: 14px; color: #3d4a5c; line-height: 1.5; }
.res-table { margin-top: 14px; max-height: 480px; overflow: auto; border-radius: 10px; border: 1px solid #dfe6f1; background: #fff; }
.res-table table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.res-table th { position: sticky; top: 0; background: var(--navy-900); color: #fff; text-align: left; padding: 9px 10px; font-weight: 600; }
.res-table td { padding: 8px 10px; border-top: 1px solid #edf1f6; vertical-align: top; }
.res-table tr:nth-child(even) td { background: #fafbfd; }
.calc__out .muted { color: var(--p-muted); margin: 0; }
.calc__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.calc__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--p-action); font-weight: 700; text-decoration: none; }
.calc__cta .m-arrow { width: 12px; height: 12px; transition: transform 200ms var(--ease-out); }
.calc__cta:hover .m-arrow { transform: translateX(3px); }
.calc-info { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.calc-info h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.8rem); margin: 0 0 14px; }
.calc-formula { background: #fff; border: 1px solid var(--card-line, #e3e8ef); border-left: 3px solid var(--gold); border-radius: 10px; padding: 14px 16px; line-height: 1.65; font-size: 15px; }
.pbar__legend li { color: #3d4a5c !important; }
.pbar__legend b { color: var(--p-ink) !important; }
.pbar__legend em { color: var(--p-muted) !important; }
.pbar__s--5 { background: #9aa8bb !important; }
.lead-gate { position: fixed; inset: 0; z-index: 200; background: rgb(7 18 38 / .6); display: grid; place-items: center; padding: 16px; }
.lead-gate[hidden] { display: none; }
.lead-gate__box { width: min(100%, 460px); background: #fff; border-radius: 16px; padding: 24px; display: grid; gap: 12px; box-shadow: 0 30px 80px rgb(0 0 0 / .35); animation: gate-in 220ms var(--ease-out); }
@keyframes gate-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.lead-gate__box h2 { margin: 0; font-size: 1.35rem; }
.lead-gate__box p { margin: 0; color: var(--p-muted); }
.lead-gate__err { color: #b42318 !important; min-height: 1em; font-weight: 600; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 1023px) { .calc-info { grid-template-columns: 1fr; } }
@media (max-width: 639px) { .calc__in { grid-template-columns: 1fr; } .calc__out { padding: 16px; } .calc__acts .btn { flex: 1 1 auto; justify-content: center; } }

/* ---------- calculators hub */
.chub-hero { background: var(--navy-950); color: #dfe7f3; padding: clamp(36px, 5vw, 72px) 0 clamp(36px, 5vw, 64px); position: relative; overflow: hidden; isolation: isolate; }
.chub-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 85% 20%, rgb(245 184 27 / .12), transparent 70%), radial-gradient(500px 300px at 10% 110%, rgb(91 156 245 / .14), transparent 70%); }
main > section.chub-hero { min-height: 0 !important; height: auto !important; padding-block: clamp(36px, 5vw, 72px) !important; }
.crumbs--light, .crumbs--light a { color: #9fb0c6; }
.chub-hero__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: end; }
.chub-hero h1 { color: #fff; font-size: clamp(2.2rem, 1.2rem + 3vw, 3.8rem); line-height: 1.03; margin: 0 0 16px; }
.chub-hero h1 em { color: var(--gold); }
.chub-hero__lead { color: #c3cfe0; font-size: clamp(1rem, .95rem + .3vw, 1.18rem); line-height: 1.55; max-width: 56ch; margin: 0 0 24px; }
.chub-search { position: relative; display: block; max-width: 560px; }
.chub-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--p-muted); }
.chub-search input { width: 100%; min-height: 56px; border-radius: 14px; border: 0; padding: 0 18px 0 48px; font: 500 16.5px var(--font-text); color: var(--p-ink); background: #fff; box-shadow: 0 10px 30px rgb(0 0 0 / .25); }
.chub-search input:focus { outline: 3px solid var(--gold); outline-offset: 2px; }
.chub-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; background: rgb(255 255 255 / .1); border-radius: 14px; overflow: hidden; border: 1px solid rgb(255 255 255 / .1); }
.chub-facts div { background: var(--navy-950); padding: 18px 20px; }
.chub-facts dt { font: 700 clamp(1.6rem, 1.2rem + 1vw, 2.2rem)/1 var(--font-display); color: #fff; letter-spacing: -.02em; }
.chub-facts dd { margin: 6px 0 0; color: #9fb0c6; font-size: 13.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { display: inline-flex; align-items: center; gap: 7px; font: 600 14px var(--font-text); padding: 9px 14px; min-height: 42px; border-radius: 999px; border: 1px solid #d5dce6; background: #fff; color: var(--p-ink); cursor: pointer; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out); }
.chips button .ico { width: 15px; height: 15px; color: var(--p-action); }
.chips button span { font-size: 12px; color: var(--p-muted); background: #f1f4f8; border-radius: 999px; padding: 2px 7px; }
.chips button:hover { border-color: var(--p-action); }
.chips button:active { transform: scale(.97); }
.chips button[aria-pressed="true"] { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.chips button[aria-pressed="true"] .ico { color: var(--gold); }
.chips button[aria-pressed="true"] span { background: rgb(255 255 255 / .15); color: #fff; }
.chub-pop { margin-top: 36px; }
.chub-pop h2, .cgroup h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.8rem); margin: 0; }
.chub-pop__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.pcard { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--card-line, #e3e8ef); text-decoration: none; color: var(--p-ink); transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 200ms ease; }
.pcard:hover { transform: translateY(-3px); border-color: #c9d6ea; box-shadow: 0 18px 40px -18px rgb(11 26 46 / .25); }
.pcard strong { font-size: 18px; letter-spacing: -.01em; }
.pcard__d { color: var(--p-muted); font-size: 14.5px; line-height: 1.5; }
.pcard__go { display: inline-flex; align-items: center; gap: 6px; color: var(--p-action); font-weight: 700; font-size: 14px; margin-top: 6px; }
.pcard__go .m-arrow { width: 12px; height: 12px; transition: transform 200ms var(--ease-out); }
.pcard:hover .pcard__go .m-arrow { transform: translateX(3px); }
.pcard__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.pcard__ico .ico { width: 22px; height: 22px; }
.pcard__ico--basics { background: #e8f0ff; color: #0b3d91; } .pcard__ico--cables { background: #fff1e0; color: #b35c00; } .pcard__ico--solar { background: #fff7d6; color: #a07400; }
.pcard__ico--bess { background: #e3f6ec; color: #13744a; } .pcard__ico--load { background: #f1eafe; color: #5b3aa8; }
.cgroup { margin-top: 44px; }
.cgroup__head { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--card-line, #e3e8ef); }
.cgroup__head p { margin: 2px 0 0; color: var(--p-muted); font-size: 14.5px; }
.ccards { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 12px; }
.ccard { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; gap: 4px 12px; height: 100%; padding: 16px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--card-line, #e3e8ef); text-decoration: none; color: var(--p-ink); transition: transform 200ms var(--ease-out), border-color 200ms ease, box-shadow 200ms ease; }
.ccard:hover { transform: translateY(-2px); border-color: var(--p-action); box-shadow: 0 12px 30px -16px rgb(11 26 46 / .25); }
.ccard strong { font-size: 16px; }
.ccard span { grid-column: 1; font-size: 14px; color: var(--p-muted); line-height: 1.45; }
.ccard em { grid-column: 2; grid-row: 1 / 3; align-self: center; display: flex; align-items: center; gap: 8px; font-style: normal; color: var(--p-action); }
.ccard em .m-arrow { width: 12px; height: 12px; transition: transform 200ms var(--ease-out); }
.ccard:hover em .m-arrow { transform: translateX(3px); }
.tag-pdf { font: 700 10.5px/1 var(--font-text); padding: 4px 7px; border-radius: 6px; background: var(--navy-900); color: var(--gold); }
.chub-none { margin-top: 24px; }
@media (max-width: 1023px) { .chub-hero__grid { grid-template-columns: 1fr; } .chub-pop__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .chub-pop__grid { grid-template-columns: 1fr; } .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gut, 16px) * -1); padding-inline: var(--gut, 16px); scrollbar-width: none; } .chips button { flex: none; } }
.search-big { display: flex; gap: 10px; margin: 18px 0 14px; }
.search-big input { flex: 1; min-height: 52px; border-radius: 10px; border: 1px solid #c8d1dd; padding: 0 16px; font: 500 17px var(--font-text); background: #fff; }
.search-res { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.search-res a { display: grid; gap: 4px; padding: 14px 18px; background: #fff; border: 1px solid var(--card-line, #e3e8ef); border-radius: 12px; text-decoration: none; color: var(--p-ink); }
.search-res a:hover { border-color: var(--p-action); }
.search-res__type { font: 700 11px/1 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--p-action); }
.search-res span:last-child { color: var(--p-muted); font-size: 14.5px; }
@media (min-width: 1024px) and (max-width: 1599px) { .nav--corp .nav__link { padding-inline: 11px; font-size: 15px; } .nav--corp .nav__actions .btn { padding-inline: 18px; } }
@media (min-width: 1024px) and (max-width: 1439px) { .brand__tag { display: none; } }
.nav--corp .nav__actions { margin-left: 14px; flex: none; }
.calc-peek { position: fixed; left: 12px; right: 12px; bottom: calc(76px + var(--bar, 0px)); z-index: 61; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border: 0; border-radius: 12px; background: var(--navy-900); color: #fff; font: 600 14.5px var(--font-text); text-align: left; box-shadow: 0 10px 30px rgb(0 0 0 / .3); cursor: pointer; animation: gate-in 200ms var(--ease-out); }
.calc-peek[hidden] { display: none; }
.calc-peek span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calc-peek b { color: var(--gold); flex: none; font-size: 13px; }
@media (min-width: 1024px) { .calc-peek { display: none !important; } }
body:has(.calc-peek:not([hidden])) .to-top { display: none; }

/* ---------- top bar: contact on the left; community, language, text size and search on the right */
.topbar { display: block !important; height: auto !important; background: var(--navy-950, #071226) !important; color: #dbe3ee; font-size: 13px; }
.topbar__row { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 42px; }
.topbar__contact, .topbar__tools { display: flex; align-items: center; gap: 18px; min-width: 0; }
.topbar__tools { gap: 12px; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; white-space: nowrap; }
.topbar__item .ico { width: 14px; height: 14px; color: var(--gold); }
a.topbar__item:hover { color: #fff; }
.topbar__wa { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 9px; border-radius: 999px; background: rgb(37 211 102 / .12); color: #b7f5cf; font-weight: 600; text-decoration: none; white-space: nowrap; border: 1px solid rgb(37 211 102 / .3); transition: background-color 150ms ease; }
.topbar__wa:hover { background: rgb(37 211 102 / .22); color: #fff; }
.topbar__wa .ico { width: 15px; height: 15px; color: #4ade80; }
.lang-pill { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 999px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .12); }
.lang-pill a { position: relative; z-index: 1; padding: 4px 12px; border-radius: 999px; color: #c9d3e0; font: 600 12.5px/1.3 var(--font-text); text-decoration: none; text-align: center; transition: color 200ms ease; }
.lang-pill a[aria-current="true"] { color: var(--navy-950); }
.lang-pill__ind { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--gold); transition: transform 260ms var(--ease-out); }
.lang-pill[data-on="en"] .lang-pill__ind { transform: translateX(100%); }
.fs-ctl { display: inline-flex; border-radius: 8px; overflow: hidden; border: 1px solid rgb(255 255 255 / .14); }
.fs-ctl button { background: transparent; border: 0; color: #dbe3ee; font: 700 12px/1 var(--font-text); min-width: 30px; height: 28px; cursor: pointer; }
.fs-ctl button + button { border-left: 1px solid rgb(255 255 255 / .12); }
.fs-ctl button:nth-child(1) { font-size: 11px; } .fs-ctl button:nth-child(3) { font-size: 14px; }
.fs-ctl button:hover, .fs-ctl button[aria-pressed="true"] { background: rgb(255 255 255 / .14); color: #fff; }
.tsearch { position: relative; display: flex; align-items: center; }
.tsearch svg { position: absolute; left: 10px; color: #9fb0c6; pointer-events: none; }
.tsearch input { width: 170px; height: 30px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .16); background: rgb(255 255 255 / .06); color: #fff; padding: 0 12px 0 30px; font: 500 12.5px var(--font-text); transition: width 220ms var(--ease-out), border-color 150ms ease, background-color 150ms ease; }
.tsearch input::placeholder { color: #9fb0c6; }
.tsearch input:focus { outline: none; width: 230px; border-color: var(--gold); background: rgb(255 255 255 / .1); }
@media (max-width: 1365px) { .topbar__mail { display: none !important; } .topbar__wa span { display: none; } .topbar__wa { padding: 5px 8px; } }
@media (max-width: 1023px) { .topbar__contact, .topbar__wa { display: none !important; } .topbar__tools { width: 100%; justify-content: space-between; } .tsearch input { width: 120px; } .tsearch input:focus { width: 150px; } }
@media (max-width: 400px) { .fs-ctl { display: none; } }
html[data-fs="-1"] main, html[data-fs="-1"] .sfoot { zoom: .9; }
html[data-fs="1"] main, html[data-fs="1"] .sfoot { zoom: 1.12; }
html[data-fs="2"] main, html[data-fs="2"] .sfoot { zoom: 1.25; }
:lang(hi) body { font-family: "Hanken Grotesk", "Noto Sans Devanagari", "Mangal", system-ui, sans-serif; }
#top:focus { outline: none; }
.nav--corp .nav__actions { margin-left: 18px; flex: none; }
@media (min-width: 1024px) and (max-width: 1599px) { .nav--corp .nav__link { padding-inline: 10px; font-size: 15px; } .nav--corp .nav__actions .btn { padding-inline: 16px; font-size: 15px; } }
@media (min-width: 1024px) and (max-width: 1499px) { .brand__tag { display: none; } }
.goog-te-banner-frame, iframe.skiptranslate, .goog-te-balloon-frame, #goog-gt-tt, .goog-tooltip, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }
body { top: 0 !important; position: static !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font[style] { background: transparent !important; box-shadow: none !important; }

/* ---------- back to top with reading-progress ring */
.to-top { position: fixed; right: 26px; bottom: 92px; z-index: 59; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--navy-900); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 24px rgb(11 26 46 / .28); transition: transform 180ms var(--ease-out), opacity 200ms ease, visibility 200ms; }
.to-top[hidden] { display: grid; opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; visibility: hidden; }
.to-top:hover { transform: translateY(-2px); }
.to-top:active { transform: scale(.95); }
.to-top > svg:last-child { position: relative; z-index: 1; }
.to-top__ring { position: absolute; inset: 2px; width: 48px; height: 48px; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke: rgb(255 255 255 / .18); stroke-width: 3; }
.to-top__ring .to-top__fill { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 120ms linear; }
@media (max-width: 1023px) { .to-top { bottom: calc(84px + var(--bar, 0px)); right: 16px; width: 46px; height: 46px; } .to-top__ring { width: 42px; height: 42px; } }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }

/* ---------- proportion bar in calculator results */
.pbar { display: flex; gap: 2px; height: 10px; margin-top: 16px; border-radius: 5px; overflow: hidden; }
.pbar__s { min-width: 3px; flex-basis: 0; transition: flex-grow 300ms var(--ease-out); }
.pbar__s--0 { background: #f5b81b; } .pbar__s--1 { background: #3d7fe0; } .pbar__s--2 { background: #e8684a; } .pbar__s--3 { background: #2fae7f; } .pbar__s--4 { background: #9a6be0; } .pbar__s--5 { background: #9aa8bb; }
.pbar__legend { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; font-size: 13.5px; }
.pbar__legend li { display: grid; grid-template-columns: 10px 1fr auto auto; gap: 8px; align-items: center; color: #3d4a5c; }
.pbar__k { width: 10px; height: 10px; border-radius: 3px; display: block; }
.pbar__legend b { color: var(--p-ink); font-variant-numeric: tabular-nums; }
.pbar__legend em { font-style: normal; color: var(--p-muted); font-size: 12.5px; font-variant-numeric: tabular-nums; min-width: 70px; text-align: right; }
@media (prefers-reduced-motion: reduce) { .pbar__s { transition: none; } }

/* ---------- first section clears the fixed two-row header */
@media (max-width: 1023px) { :root { --nav: 100px; } .topbar__row { min-height: 42px; } }
main#top > section.tool-page:first-child, main#top > section.chub-hero:first-child { padding-top: calc(var(--nav) + clamp(20px, 3vw, 36px)) !important; }
main#top > section.chub { padding-top: clamp(28px, 3vw, 44px) !important; }

/* ---------- in-depth service guide (class table, rule facts, fees, videos) */
main#top > section.deep-glance { padding-block: clamp(28px, 3.5vw, 44px) !important; min-height: 0 !important; }
.deep-glance { background: var(--navy-950); color: #dfe7f3; padding-block: clamp(28px, 3.5vw, 44px) !important; }
.deep-kicker { margin: 0 0 14px; font: 700 12px/1 var(--font-text); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.deep-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0; background: rgb(255 255 255 / .1); border-radius: 14px; overflow: hidden; border: 1px solid rgb(255 255 255 / .1); }
.deep-stats div { background: var(--navy-950); padding: 18px 20px; }
.deep-stats dt { font: 700 clamp(1.7rem, 1.2rem + 1.3vw, 2.4rem)/1 var(--font-display); color: #fff; letter-spacing: -.02em; }
.deep-stats dd { margin: 8px 0 0; color: #a9b8cc; font-size: 14px; line-height: 1.45; }
.deep-table { margin-top: 20px; overflow-x: auto; border: 1px solid var(--card-line, #e3e8ef); border-radius: 14px; background: #fff; }
.deep-table:focus-visible { outline: 3px solid var(--p-action); outline-offset: 2px; }
.deep-table table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.deep-table thead th { background: var(--navy-900); color: #fff; text-align: left; padding: 14px 16px; font-size: 15px; position: sticky; top: 0; }
.deep-table thead th:not(.deep-table__corner) { border-left: 1px solid rgb(255 255 255 / .1); }
.deep-table tbody th { text-align: left; padding: 14px 16px; width: 17%; background: #f6f8fb; color: var(--p-ink); font-weight: 700; vertical-align: top; }
.deep-table td { padding: 14px 16px; vertical-align: top; border-left: 1px solid #edf1f6; color: #2e3a4c; }
.deep-table tbody tr + tr > * { border-top: 1px solid #edf1f6; }
.deep-src { margin-top: 12px; max-width: 90ch; }
.deep-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.deep-fact { background: #fff; border: 1px solid var(--card-line, #e3e8ef); border-top: 3px solid var(--gold); border-radius: 12px; padding: 18px 20px; }
.deep-fact h3 { font-size: 17px; margin: 0 0 6px; }
.deep-fact p { margin: 0; font-size: 15px; line-height: 1.55; color: #3a4658; }
.deep-two { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; margin-top: 16px; align-items: stretch; }
.list-card--warn { border-left: 4px solid #d9534f; }
.deep-tool { display: grid; align-content: start; gap: 10px; padding: 24px; border-radius: 14px; background: var(--navy-900); color: #d6e0ee; text-decoration: none; transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out); }
.deep-tool:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -18px rgb(11 26 46 / .45); }
.deep-tool__tag { justify-self: start; font: 700 11px/1 var(--font-text); letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; border-radius: 6px; background: var(--gold); color: var(--navy-950); }
.deep-tool strong { font-size: 20px; color: #fff; line-height: 1.25; }
.deep-tool em { font-style: normal; font-weight: 700; color: var(--gold); display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; }
.deep-tool em .m-arrow { width: 12px; height: 12px; transition: transform 200ms var(--ease-out); }
.deep-tool:hover em .m-arrow { transform: translateX(3px); }
.fee-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; margin: 20px 0 12px; }
.fee-card { position: relative; display: grid; align-content: start; gap: 10px; padding: 24px; border-radius: 16px; background: #fff; border: 1px solid var(--card-line, #e3e8ef); }
.fee-card--pop { border: 2px solid var(--p-action); box-shadow: 0 18px 40px -22px rgb(11 61 145 / .45); }
.fee-card__tag { position: absolute; top: -12px; left: 20px; font: 700 11px/1 var(--font-text); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--p-action); color: #fff; }
.fee-card h3 { margin: 0; font-size: 18px; }
.fee-card__price { margin: 0; font: 700 1.6rem/1.1 var(--font-display); color: var(--p-ink); letter-spacing: -.01em; }
.fee-card .btn { justify-self: start; margin-top: 6px; }
.vid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.vid { position: relative; display: block; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #000; cursor: pointer; aspect-ratio: 16 / 9; text-align: left; }
.vid img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform 300ms var(--ease-out), opacity 200ms ease; }
.vid:hover img { transform: scale(1.03); opacity: 1; }
.vid__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: #ff0033; color: #fff; box-shadow: 0 8px 24px rgb(0 0 0 / .35); transition: transform 180ms var(--ease-out); }
.vid:hover .vid__play { transform: scale(1.06); }
.vid__t { position: absolute; inset: auto 0 0 0; padding: 28px 14px 12px; color: #fff; font-weight: 600; font-size: 14.5px; background: linear-gradient(transparent, rgb(0 0 0 / .75)); }
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 1023px) { .deep-stats { grid-template-columns: 1fr 1fr; } .deep-facts { grid-template-columns: 1fr 1fr; } .deep-two { grid-template-columns: 1fr; } .vid-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .deep-facts, .vid-grid { grid-template-columns: 1fr; } }
.basis { display: inline-block; vertical-align: middle; font: 700 11px/1.2 var(--font-text); letter-spacing: .02em; padding: 4px 8px; border-radius: 6px; white-space: nowrap; margin-bottom: 8px; }
.basis--rule { background: #e8f0ff; color: #0b3d91; }
.basis--form { background: #e6f5ee; color: #13744a; }
.basis--ske { background: #f1eafe; color: #5b3aa8; }
.basis--confirm { background: #fff1d6; color: #8a5a00; }
.deep-table th .basis { margin: 8px 0 0; font-weight: 600; }
.deep-table tr.is-confirm td { background: #fffaf0; }
.deep-table__note td { background: #f9fbfd; font-size: 13.5px; color: var(--p-muted); padding-block: 10px !important; }
.basis-key { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13.5px; color: var(--p-muted); }
.basis-key li { display: flex; align-items: center; gap: 8px; }
.basis-key .basis { margin: 0; }
.deep-stats dd small { display: block; margin-top: 6px; color: var(--gold); font-size: 12px; font-weight: 600; }
.deep-fact .basis { margin-bottom: 10px; }
.deep-fact--confirm { border-top-color: #e0a100; background: #fffdf7; }
.deep-fact--ske { border-top-color: #7b5cd1; }
.list-card--warn h3 .basis { margin: 0 0 0 6px; }
.cost-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 20px; }
.cost-card { background: #fff; border: 1px solid var(--card-line, #e3e8ef); border-radius: 12px; padding: 18px 20px; }
.cost-card h3 { margin: 0 0 6px; font-size: 17px; }
.cost-card p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #3a4658; }
.fee-h { margin: 28px 0 0; font-size: 1.2rem; }
.fee-card h4 { margin: 0; font-size: 18px; }
main#top > section.deep-sources { padding-block: clamp(28px, 3vw, 44px) !important; }
.deep-sources .h-small { font-size: 1.15rem; margin: 0 0 10px; }
.src-list { margin: 0 0 10px; padding-left: 18px; font-size: 14.5px; line-height: 1.7; }
.deep-sources .t-small { max-width: 90ch; }
@media (max-width: 1023px) { .cost-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .cost-grid { grid-template-columns: 1fr; } }
.cost-grid + .t-small, .fee-grid + .t-small { margin-top: 16px; }
.src-list { list-style: disc; }
.deep-table__hint { display: none; font-size: 13px; color: var(--p-muted); margin: 10px 0 0; }
@media (max-width: 767px) {
  .deep-table table { min-width: 640px; font-size: 13.5px; }
  .deep-table tbody th { width: 118px; min-width: 118px; padding: 12px; position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 #e3e8ef; }
  .deep-table thead th:first-child { position: sticky; left: 0; z-index: 2; }
  .deep-table td { padding: 12px; }
  .deep-table__hint { display: block; }
  .basis-key { gap: 6px; } .basis-key li { display: block; } .basis-key li .basis { margin-right: 6px; }
}

/* ---------- credentials and leadership */
.lead-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 20px; }
.lead-card { background: #fff; border: 1px solid var(--card-line, #e3e8ef); border-radius: 16px; padding: 24px; }
.lead-card--first { grid-column: 1 / -1; background: var(--navy-900); color: #d6e0ee; border-color: var(--navy-900); }
.lead-card--first h3 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.lead-card--first .lead-card__role { color: var(--gold); }
.lead-card__role { margin: 0 0 6px; font: 700 12px/1.2 var(--font-text); letter-spacing: .1em; text-transform: uppercase; color: var(--p-action); }
.lead-card h3 { margin: 0 0 12px; font-size: 1.3rem; }
.lead-card p { margin: 0; line-height: 1.6; }
.lead-card__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 6px 0 18px; background: rgb(255 255 255 / .12); border-radius: 12px; overflow: hidden; }
.lead-card__facts div { background: #0e2240; padding: 14px 16px; }
.lead-card__facts dt { font: 700 1.35rem/1.1 var(--font-display); color: #fff; }
.lead-card__facts dd { margin: 6px 0 0; font-size: 13.5px; color: #a9b8cc; line-height: 1.45; }
.cred-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px; margin-top: 20px; }
.cred { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--card-line, #e3e8ef); border-radius: 12px; padding: 16px 18px; }
.cred__ico { flex: none; width: 40px; height: 40px; border-radius: 10px; background: #e8f0ff; color: var(--p-action); display: grid; place-items: center; }
.cred__ico .ico { width: 20px; height: 20px; }
.cred h3 { margin: 0 0 4px; font-size: 16px; }
.cred p { margin: 0; font-size: 14.5px; color: #3a4658; line-height: 1.5; }
.team-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 10px; }
.team-list li { display: grid; gap: 2px; background: #fff; border: 1px solid var(--card-line, #e3e8ef); border-radius: 10px; padding: 12px 16px; }
.team-list span { font-size: 14px; color: var(--p-muted); }
@media (max-width: 1023px) { .lead-grid { grid-template-columns: 1fr; } .lead-card__facts { grid-template-columns: 1fr; } }
main .lead-card h3, main .deep-fact h3, main .cost-card h3, main .cred h3, main .fee-card h4 { font-weight: 700; letter-spacing: -.005em; }
main .lead-card h3 { font-size: 1.3rem; } main .lead-card--first h3 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); }
.rv-links { display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; }
