:root {
  --cell: #10233f;
  --cell-2: #1a3358;
  --cell-3: #27467a;
  --ink: #142133;
  --muted: #56657a;
  --glass: #f2f6f9;
  --glass-2: #e4ecf2;
  --white: #ffffff;
  --alu: #9aa7b4;
  --line: #d9e2ea;
  --sun: #e9a23b;
  --sun-deep: #b8701a;
  --copper: #b5652e;
  --blue: #2f6db3;
  --on-dark: #edf2f8;
  --on-dark-muted: #a9b8cc;
  --destructive: #b42318;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-control: 999px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1220px;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id], .form-outcome, .wix-form [name] { scroll-margin-top: 88px; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--glass); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--sun); color: var(--cell); padding: 8px 14px; border-radius: var(--radius-sm); z-index: 50; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { max-width: 700px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { font-size: clamp(32px, 4.4vw, 54px); }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 18.5px; max-width: 60ch; }
.lede { font-size: 15px; font-weight: 600; color: var(--sun-deep); margin-bottom: 14px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 16px/1 var(--font-body); padding: 16px 26px; border-radius: var(--radius-control); border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: background-color .18s, color .18s, border-color .18s; }
.btn--primary { background: var(--sun); color: var(--cell); }
.btn--primary:hover { background: #f3b55a; }
.btn--ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: rgba(127, 127, 127, .1); }
.btn:disabled { opacity: .6; cursor: progress; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(242, 246, 249, .86); backdrop-filter: saturate(150%) blur(12px); border-bottom: 1px solid rgba(16, 35, 63, .08); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; color: var(--cell); }
.brand svg { width: 30px; height: 30px; color: var(--sun-deep); }
.brand b { font-weight: 700; color: var(--sun-deep); }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--cell); }
.nav .btn { padding: 11px 20px; font-size: 15px; }
.menu-toggle { display: none; background: none; border: 0; color: var(--cell); padding: 8px; cursor: pointer; }
.menu-toggle svg { width: 26px; height: 26px; }

/* hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(40px, 5.4vw, 70px); color: var(--cell); font-weight: 700; letter-spacing: -0.035em; }
.hero-sub { margin-top: 24px; font-size: clamp(18px, 1.5vw, 20.5px); color: var(--muted); max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 34px; }
.text-link { color: var(--cell); font-weight: 600; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.hero-proof { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); max-width: 52ch; }
.hero-proof strong { color: var(--ink); font-weight: 600; }

.panel-figure { position: relative; margin: 0; }
.panel-figure svg { width: 100%; height: auto; overflow: visible; }
.layer { transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.panel-figure:not(.is-open) .layer { transform: translateY(0) !important; }
.panel-figure .tag-line, .panel-figure .tag { transition: opacity .6s ease .7s; }
.panel-figure:not(.is-open) .tag-line, .panel-figure:not(.is-open) .tag { opacity: 0; }
.tag text { font-family: var(--font-body); }
.panel-figure figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); text-align: right; }

/* stats band */
.band { background: var(--cell); color: var(--on-dark); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(28px, 3.4vw, 44px) clamp(16px, 2vw, 28px); border-left: 1px solid rgba(255, 255, 255, .1); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(34px, 3.6vw, 48px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: #fff; }
.stat strong small { font-size: .42em; font-weight: 600; margin-left: 5px; color: var(--sun); letter-spacing: 0; }
.stat p { margin-top: 12px; font-size: 14.5px; color: var(--on-dark-muted); line-height: 1.5; max-width: 30ch; }
sup, .fn { font-size: 11px; color: var(--sun); font-weight: 700; margin-left: 1px; }

/* challenge */
.challenge-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.chart-card { margin: 0; background: var(--white); border-radius: var(--radius-lg); padding: clamp(18px, 2.6vw, 30px); border: 1px solid var(--line); }
.chart-card h3 { font: 600 15px/1.4 var(--font-body); color: var(--muted); letter-spacing: 0; margin-bottom: 14px; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: var(--muted); margin-top: 12px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 8px; }
.chart-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.chart-note { font-size: 13px; color: var(--muted); margin-top: 8px; }
.waves { display: grid; gap: 30px; }
.wave h3 { font-size: 23px; margin-bottom: 8px; display: flex; align-items: center; gap: 12px; }
.wave h3 i { width: 14px; height: 14px; border-radius: 3px; flex: none; }
.wave p { color: var(--muted); }

.matters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.matters article { padding: 28px clamp(16px, 2.4vw, 32px) 0 0; }
.matters article + article { padding-left: clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.matters h3 { font-size: 21px; margin-bottom: 10px; }
.matters p { color: var(--muted); font-size: 16px; }

/* inside a panel */
.inside { background: var(--white); }
.comp { margin-top: 8px; }
.comp-bar { display: flex; height: 64px; border-radius: var(--radius-md); overflow: hidden; }
.comp-bar span { display: block; height: 100%; min-width: 6px; }
.comp-key { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 22px; }
.comp-key div { border-top: 3px solid var(--c); padding-top: 12px; }
.comp-key strong { display: block; font-family: var(--font-display); font-size: 28px; letter-spacing: -0.02em; line-height: 1; }
.comp-key span { display: block; margin-top: 6px; font-weight: 600; font-size: 15px; }
.comp-key em { display: block; font-style: normal; font-size: 13.5px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.comp-src { margin-top: 18px; font-size: 13px; color: var(--muted); }
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(56px, 7vw, 88px); }
.benefit h3 { font-size: 20px; margin-bottom: 8px; }
.benefit p { color: var(--muted); font-size: 16px; }

/* services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service { display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 3vw, 40px) clamp(18px, 2.6vw, 36px); text-decoration: none; transition: background-color .2s; }
.service + .service { border-left: 1px solid var(--line); }
.service:first-child { padding-left: 0; }
.service:hover { background: var(--white); }
.service:first-child:hover { background: none; }
.service h3 { font-size: 26px; color: var(--cell); }
.service p { color: var(--muted); }
.service .best { margin-top: auto; padding-top: 16px; font-size: 14.5px; color: var(--ink); }
.service .best b { font-weight: 600; color: var(--muted); }
.service .go { font-weight: 600; color: var(--cell); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--sun); text-decoration-thickness: 2px; }
.tag-dev { align-self: flex-start; font-size: 13px; font-weight: 600; background: #fdf0db; color: var(--sun-deep); padding: 5px 11px; border-radius: var(--radius-control); }

/* process (a sequence) */
.process { background: var(--cell); color: var(--on-dark); }
.process .section-head p { color: var(--on-dark-muted); }
.process .lede { color: var(--sun); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { position: relative; padding: 0 clamp(14px, 2vw, 28px) 0 0; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--sun); color: var(--cell); font: 700 18px/1 var(--font-display); margin-bottom: 26px; position: relative; z-index: 1; }
.step::after { content: ""; position: absolute; top: 23px; left: 46px; right: 0; height: 2px; background: linear-gradient(90deg, rgba(233, 162, 59, .55), rgba(233, 162, 59, .15)); }
.step:last-child::after { display: none; }
.step h3 { font-size: 24px; margin-bottom: 10px; color: #fff; }
.step p { color: var(--on-dark-muted); font-size: 16px; }

/* why */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 72px); }
.why { display: grid; grid-template-columns: 22px 1fr; gap: 0 16px; padding: 26px 0; border-top: 1px solid var(--line); }
.why svg { width: 22px; height: 22px; color: var(--sun-deep); margin-top: 3px; }
.why h3 { font-size: 21px; margin-bottom: 6px; }
.why p { color: var(--muted); font-size: 16px; grid-column: 2; }

/* roadmap (a sequence) */
.roadmap { background: var(--glass-2); }
.road { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 0; position: relative; }
.road::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: var(--alu); opacity: .6; }
.road li { position: relative; padding: 38px clamp(16px, 2.4vw, 32px) 0 0; }
.road li::before { content: ""; position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--glass-2); border: 3px solid var(--cell); }
.road li:first-child::before { background: var(--sun); border-color: var(--sun); box-shadow: 0 0 0 6px rgba(233, 162, 59, .25); }
.road .when { font: 700 16px/1 var(--font-display); color: var(--sun-deep); }
.road h3 { font-size: 24px; margin: 10px 0 10px; color: var(--cell); }
.road p { color: var(--muted); font-size: 16px; }
.audience-label { margin-top: clamp(56px, 7vw, 80px); font: 700 20px/1.2 var(--font-display); color: var(--cell); }
.audience { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; list-style: none; padding: 0; }
.audience li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-control); padding: 9px 16px; font-size: 15px; font-weight: 500; }

/* enquiry */
.enquiry { background: var(--cell); color: var(--on-dark); }
.enquiry-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.enquiry h2 { font-size: clamp(32px, 3.6vw, 46px); color: #fff; }
.enquiry-copy > p { margin-top: 18px; color: var(--on-dark-muted); font-size: 18px; }
.assess-list { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 12px; }
.assess-list li { display: flex; gap: 12px; }
.assess-list svg { width: 20px; height: 20px; color: var(--sun); flex: none; margin-top: 3px; }
.contact-card { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 22px; display: grid; gap: 4px; font-size: 16px; }
.contact-card .who { font: 700 19px/1.3 var(--font-display); color: #fff; }
.contact-card .org { color: var(--on-dark-muted); }
.contact-card a { color: var(--sun); text-underline-offset: 3px; word-break: break-word; }
.founding { margin-top: 22px; font-size: 15px; color: var(--on-dark-muted); }

.form-card { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(22px, 3.2vw, 42px); }
.form-card > h3 { font-size: 24px; color: var(--cell); margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; align-items: start; }
.field { display: grid; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--full, .field--span { grid-column: 1 / -1; }
.f-label { font-weight: 600; font-size: 14.5px; color: var(--ink); padding: 0; }
.req { color: var(--sun-deep); margin-left: 3px; }
.f-help { font-size: 13.5px; color: var(--muted); }
.f-error { font-size: 13.5px; color: var(--destructive); }
.f-error:empty { display: none; }
.wix-form input[type="text"], .wix-form input[type="email"], .wix-form input[type="tel"], .wix-form input[type="url"],
.wix-form input[type="number"], .wix-form input[type="date"], .wix-form input[type="time"], .wix-form input[type="datetime-local"],
.wix-form input[type="password"], .wix-form select, .wix-form textarea {
  width: 100%; font: 16px/1.4 var(--font-body); color: var(--ink); background: var(--glass); border: 1.5px solid transparent; border-radius: var(--radius-md); padding: 13px 14px; transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.wix-form input:hover, .wix-form select:hover, .wix-form textarea:hover { border-color: var(--line); }
.wix-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2356657a' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.wix-form textarea { resize: vertical; min-height: 120px; }
.wix-form input:focus, .wix-form select:focus, .wix-form textarea:focus { outline: none; background: var(--white); border-color: var(--cell-3); box-shadow: 0 0 0 3px rgba(233, 162, 59, .35); }
.wix-form [aria-invalid="true"] { border-color: var(--destructive) !important; }
.other-input { margin-top: 4px; }
.choice-group legend { margin-bottom: 4px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.choice { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; cursor: pointer; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: var(--radius-md); background: var(--white); transition: border-color .15s, background-color .15s; }
.choice:has(input:checked) { border-color: var(--sun); background: #fff8ec; }
.choice input { accent-color: var(--sun-deep); width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.choice-other { grid-column: 1 / -1; display: grid; gap: 6px; }
.field--check .choice { border: 0; padding: 0; background: none; }
.form-error { color: var(--destructive); font-size: 14.5px; margin-top: 16px; }
.form-error:empty { display: none; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; align-items: center; }
.form-actions .btn--primary { min-width: 280px; }
.btn.is-loading { position: relative; color: transparent; }
.btn.is-loading::after { content: ""; position: absolute; width: 20px; height: 20px; border: 2.5px solid var(--cell); border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.step-cue { font-size: 14px; font-weight: 600; color: var(--sun-deep); margin-bottom: 16px; }
.form-skeleton { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.sk-row, .sk-btn { height: 66px; border-radius: var(--radius-md); background: linear-gradient(90deg, var(--glass) 0%, var(--glass-2) 50%, var(--glass) 100%); background-size: 200% 100%; animation: shimmer 1.4s ease-in-out infinite; }
.sk-row:nth-child(n+5) { grid-column: 1 / -1; }
.sk-btn { height: 50px; width: 280px; border-radius: var(--radius-control); grid-column: 1 / -1; margin-top: 8px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.form-outcome { display: grid; gap: 14px; justify-items: start; padding: 12px 0; outline: none; }
.outcome-mark { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: #e7f5ec; color: #1f7a45; }
.form-outcome h3 { font-size: 28px; color: var(--cell); }
.form-outcome p { color: var(--muted); font-size: 17px; max-width: 52ch; }
.form-outcome .btn { margin-top: 8px; color: var(--cell); }
.form-problem { display: grid; gap: 8px; }

/* footer */
.site-footer { background: #0b1a30; color: var(--on-dark-muted); padding: 48px 0 40px; font-size: 14px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-top .brand { color: #fff; }
.footer-top .brand svg { color: var(--sun); }
.footer-top .brand b { color: var(--sun); }
.footer-top nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-top nav a { text-decoration: none; }
.footer-top nav a:hover { color: #fff; }
.footnotes { margin-top: 22px; display: grid; gap: 6px; font-size: 12.5px; line-height: 1.55; max-width: 980px; }

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; }
  .panel-figure { max-width: 560px; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .challenge-grid, .enquiry-grid { grid-template-columns: 1fr; }
  .comp-key { grid-template-columns: repeat(3, 1fr); }
  .benefits { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service + .service { border-left: 0; border-top: 1px solid var(--line); }
  .service { padding-left: 0; padding-right: 0; }
  .service:hover { background: none; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .step:nth-child(2)::after { display: none; }
}
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--glass); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink); }
  .nav-links li:last-child a { border: 0; }
  .menu-toggle { display: inline-flex; }
  .nav > .btn { display: none; }
  .matters { grid-template-columns: 1fr; border-top: 0; }
  .matters article, .matters article + article { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 0; }
  .matters article + article { margin-top: 24px; }
  .why-grid { grid-template-columns: 1fr; }
  .road { grid-template-columns: 1fr; }
  .road::before { top: 0; bottom: 0; left: 9px; right: auto; width: 2px; height: auto; }
  .road li { padding: 0 0 36px 44px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .stat-row { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
  .stat:first-child { border-top: 0; }
  .comp-bar { height: 48px; }
  .comp-key { grid-template-columns: 1fr 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .form-grid, .form-skeleton { grid-template-columns: 1fr; }
  .field--half { grid-column: 1 / -1; }
  .choices { grid-template-columns: 1fr; }
  .form-actions .btn--primary { width: 100%; min-width: 0; }
  .panel-figure figcaption { text-align: left; }
  .tag-detail { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* ---------- liability calculator & scenario planner ---------- */
.lc { --lc-a: var(--sun-deep); --lc-b: var(--blue); --lc-grid: #e3eaf0; background: var(--white); }
.lc-plan { background: var(--glass-2); }
.lc-num, .lc .v, .lc-bars .val, .lc-table td { font-variant-numeric: tabular-nums; }
.lc-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(20px, 3vw, 32px); align-items: start; }
.lc-panel { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(18px, 2.4vw, 26px); min-width: 0; }
.lc-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-bottom: 22px; }
.lc-tabs button { appearance: none; border: 0; background: none; cursor: pointer; text-align: center; padding: 10px 2px 9px; border-radius: var(--radius-sm); font: 600 12px/1.2 var(--font-body); color: var(--muted); border-bottom: 2px solid var(--line); min-height: 44px; }
.lc-tabs button b { display: block; font: 700 17px/1 var(--font-display); margin-bottom: 4px; }
.lc-tabs button[aria-selected="true"] { color: var(--cell); border-bottom-color: var(--sun); background: var(--white); }
.lc-step h3 { font-size: 22px; color: var(--cell); }
.lc-hint { font-size: 15px; color: var(--muted); margin: 4px 0 18px; }
.lc-field { display: grid; gap: 6px; margin-bottom: 16px; min-width: 0; }
.lc-field label, .lc-lbl { font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; gap: 10px; color: var(--ink); }
.lc-field label span { font-weight: 400; color: var(--muted); }
.lc-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lc input[type=number], .lc select { width: 100%; font: 500 16px var(--font-body); font-variant-numeric: tabular-nums; padding: 11px 12px; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--white); color: var(--ink); min-height: 44px; }
.lc input[type=number]:disabled { background: var(--glass-2); color: var(--muted); }
.lc input[type=range] { width: 100%; accent-color: var(--sun-deep); }
.lc-seg { display: flex; background: var(--glass-2); border-radius: var(--radius-md); padding: 3px; gap: 3px; }
.lc-seg label { flex: 1; position: relative; text-align: center; cursor: pointer; font-size: 14px; font-weight: 600; padding: 10px 6px; border-radius: 8px; color: var(--muted); }
.lc-seg input { position: absolute; opacity: 0; pointer-events: none; }
.lc-seg label:has(input:checked) { background: var(--white); color: var(--cell); box-shadow: 0 1px 2px rgba(16, 35, 63, .12); }
.lc-seg label:has(input:focus-visible) { outline: 3px solid var(--sun); outline-offset: 1px; }
.lc-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin-bottom: 12px; cursor: pointer; }
.lc-check input { accent-color: var(--sun-deep); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.lc-fact { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.lc-fact b { color: var(--cell); font-size: 18px; margin-left: 6px; }
.lc-more summary { cursor: pointer; font-size: 15px; font-weight: 600; margin-bottom: 12px; color: var(--cell); }
.lc-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.lc-nav .btn { padding: 13px 20px; font-size: 15px; color: var(--cell); }

.lc-readout { display: grid; gap: 16px; min-width: 0; }
.lc-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.lc-badge { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--font-body); padding: 8px 12px; border-radius: var(--radius-control); }
.lc-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.lc-badge--prov { background: #fbefd9; color: #8a5410; }
.lc-badge--ok { background: #dcefe5; color: #22684a; }
.lc-meta { font-size: 14px; color: var(--muted); }
.lc-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lc-kpi { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; min-width: 0; }
.lc-kpi .t { font-size: 14px; font-weight: 600; color: var(--muted); }
.lc-kpi .v { font: 700 clamp(24px, 2.4vw, 31px)/1.1 var(--font-display); color: var(--cell); margin: 8px 0 6px; overflow-wrap: anywhere; }
.lc-kpi .lc-range { font-size: 13px; color: var(--muted); }
.lc-kpi .note { font-size: 13px; margin-top: 8px; color: var(--muted); }
.lc-kpi--net { background: var(--cell); border-color: var(--cell); }
.lc-kpi--net .t, .lc-kpi--net .lc-range, .lc-kpi--net .note { color: var(--on-dark-muted); }
.lc-kpi--net .v { color: var(--sun); }
.lc-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lc-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; min-width: 0; }
.lc-readout .lc-card { background: var(--glass); }
.lc-card h3 { font-size: 18px; color: var(--cell); }
.lc-card .sub { font-size: 14px; color: var(--muted); margin: 4px 0 14px; }
.lc-card svg { width: 100%; height: auto; display: block; }
.lc-bars { display: grid; gap: 10px; }
.lc-bar { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 14px; }
.lc-bar .track { height: 10px; background: var(--glass-2); border-radius: 99px; overflow: hidden; }
.lc-bar .fill { height: 100%; background: var(--lc-a); border-radius: 99px; transition: width .3s; }
.lc-bars--b .fill { background: var(--lc-b); }
.lc-bar .val { text-align: right; min-width: 74px; }
.lc-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: 10px; }
.lc-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.lc-jump { justify-self: start; font-weight: 600; color: var(--sun-deep); }

.lc-plan-top { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-bottom: 20px; }
.lc-seg--wide { min-width: min(100%, 420px); background: var(--white); border: 1px solid var(--line); }
.lc-seg--wide label:has(input:checked) { background: var(--cell); color: var(--white); }
.lc-scn-desc { color: var(--muted); font-size: 15px; max-width: 56ch; }
.lc-table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 20px; }
.lc-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.lc-table th, .lc-table td { padding: 14px 18px; text-align: right; border-top: 1px solid var(--line); }
.lc-table thead th { border-top: 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.lc-table th:first-child, .lc-table td:first-child { text-align: left; }
.lc-table tbody th { font-weight: 500; color: var(--ink); text-align: left; }
.lc-table .is-on { background: #fdf3e2; color: var(--cell); font-weight: 600; }
.lc-table thead .is-on { color: var(--sun-deep); }
.lc-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 24px; }
.lc-disclaim { font-size: 14px; color: var(--muted); max-width: 78ch; }

@media (max-width: 1040px) {
  .lc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .lc-kpis, .lc-charts { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .lc-row2 { grid-template-columns: 1fr; }
  .lc-tabs button { font-size: 11px; }
}
.lc [hidden] { display: none !important; }

/* header: room for the Calculator link */
.nav-links a, .nav .btn, .brand span { white-space: nowrap; }
@media (max-width: 1280px) { .nav-links { gap: 22px; } }
@media (max-width: 1080px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--glass); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink); }
  .nav-links li:last-child a { border: 0; }
  .menu-toggle { display: inline-flex; }
  .nav { justify-content: flex-start; }
  .nav .brand { margin-right: auto; }
}
@media (max-width: 860px) { .nav > .btn { display: none; } }