:root {
  --blue: #2152D9;
  --blue-dark: #1A42B3;
  --navy: #0C1F4A;
  --navy-2: #13306B;
  --sky: #F1F5FF;
  --sky-2: #E4ECFF;
  --line: #DCE4F5;
  --yellow: #F6C21C;
  --yellow-soft: #FFF6D6;
  --yellow-dark: #E0AC00;
  --ink: #16203A;
  --muted: #56617A;
  --white: #FFFFFF;
  --ok: #1E9E62;
  --ok-soft: #E3F6EC;
  --run: #C98A00;
  --error: #C2412D;
  --display: "Inter Tight", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --r-lg: 22px;
  --r-md: 14px;
  --shadow: 0 24px 60px rgba(12, 31, 74, .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.icon { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 760px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* Brand headline style: heavy, tight, navy then blue */
.blue { color: var(--blue); }
.yellow { color: var(--yellow); }
.title { font: 800 clamp(2rem, 4vw, 3.2rem)/1.04 var(--display); letter-spacing: -.035em; color: var(--navy); max-width: 20ch; margin-bottom: 18px; }
.title-light { color: #fff; }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 52ch; }
.section-head { display: grid; gap: 8px 48px; margin-bottom: 48px; align-items: end; }
@media (min-width: 960px) { .section-head { grid-template-columns: 1.1fr 1fr; } .section-head .lead { margin-bottom: 18px; } }

/* Logo */
.logo { font: 600 1.7rem/1 "Poppins", var(--body); color: var(--blue); text-decoration: none; letter-spacing: -.02em; display: inline-flex; align-items: flex-end; }
.logo .dot { width: .26em; height: .26em; border-radius: 50%; background: var(--yellow); margin: 0 0 .1em .05em; }
.logo-light { color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; font: 700 1rem/1 var(--display); letter-spacing: -.01em; padding: 8px 8px 8px 24px; min-height: 54px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; transition: background-color .2s, color .2s; }
.btn-circle { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { background: var(--yellow-dark); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue .btn-circle { background: #fff; color: var(--blue); }
.btn-blue:hover { background: var(--blue-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-ghost { background: var(--sky-2); color: var(--navy); padding: 8px 24px; gap: 8px; }
.btn-ghost:hover { background: var(--line); }
.btn-ghost .icon { color: var(--blue); }
.btn-outline-light { color: #fff; padding: 8px 24px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.btn-sm { min-height: 44px; padding: 8px 20px; font-size: .95rem; }
.btn:disabled { opacity: .65; cursor: wait; }

/* Top bar + notice */
.topbar { background: var(--navy); color: #DCE5FF; font-size: .9rem; }
.topbar-inner { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 44px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; text-align: center; }
.topbar p { margin: 0; }
.tag { font: 700 .75rem/1 var(--display); color: var(--navy); background: var(--yellow); padding: 5px 10px; border-radius: 999px; }
.topbar-link { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); background: #fff; font-weight: 600; text-decoration: none; padding: 6px 14px; border-radius: 999px; }
.topbar-link:hover { background: var(--yellow); }
@media (max-width: 640px) { .topbar p { display: none; } }
.notice { margin: 0; background: var(--sky); border-bottom: 1px solid var(--line); color: var(--muted); font-size: .82rem; line-height: 1.5; text-align: center; padding: 9px 0; }
.notice .wrap { display: block; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }
.nav-panel { display: flex; align-items: center; gap: 20px; flex: 1; justify-content: space-between; margin-left: 40px; }
.nav-pill { display: flex; gap: 4px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: 0 6px 18px rgba(12,31,74,.06); margin: 0 auto; }
.nav-pill a { color: var(--navy); text-decoration: none; font: 600 .95rem/1 var(--display); padding: 11px 18px; border-radius: 999px; }
.nav-pill a:hover { background: var(--sky); color: var(--blue); }
.nav-actions { display: flex; gap: 10px; }
.nav-toggle { display: none; font: 700 .95rem/1 var(--display); color: var(--navy); background: var(--sky-2); border: 0; padding: 12px 18px; border-radius: 999px; cursor: pointer; }
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-panel { display: none; position: absolute; top: 78px; left: 0; right: 0; margin: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-panel.open { display: flex; }
  .nav-pill { flex-direction: column; border: 0; box-shadow: none; padding: 0; margin: 0; width: 100%; }
  .nav-pill a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-actions { width: 100%; } .nav-actions .btn { flex: 1; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(900px 500px at 85% 20%, var(--sky-2), transparent 60%), #fff; padding: clamp(56px, 8vw, 100px) 0 clamp(64px, 8vw, 110px); }
.hero-inner { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) { .hero-inner { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.hero h1 { font: 900 clamp(2.7rem, 6.2vw, 4.9rem)/.98 var(--display); letter-spacing: -.05em; color: var(--navy); margin-bottom: 26px; max-width: 13ch; }
.hero h1 .blue { display: block; }
.hero-lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 46ch; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--navy); background: #fff; border: 1px solid var(--line); padding: 7px 14px 7px 7px; border-radius: 999px; }
.chips .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--blue); color: #fff; stroke-width: 3; }

/* Hero board mockup */
.board { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; max-width: 560px; width: 100%; justify-self: center; }
.board-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--sky); border-bottom: 1px solid var(--line); }
.board-bar span { width: 9px; height: 9px; border-radius: 50%; background: #C8D3EE; }
.board-bar em { margin-left: auto; font-style: normal; font-size: .78rem; color: var(--muted); }
.board-body { padding: 22px; }
.board-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px; border-radius: var(--r-md); background: var(--navy); color: #fff; margin-bottom: 14px; }
.board-head strong { display: block; font: 800 1.2rem/1.2 var(--display); }
.board-head span:not(.pill) { font-size: .85rem; color: #AFC0E6; }
.board-list { display: grid; gap: 8px; }
.board-list li { display: grid; grid-template-columns: 10px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.board-list li.is-active { border-color: var(--yellow); background: var(--yellow-soft); }
.board-list strong { display: block; font: 700 .95rem/1.25 var(--display); color: var(--navy); }
.board-list div span { font-size: .8rem; color: var(--muted); }
.dot-s { width: 10px; height: 10px; border-radius: 50%; }
.dot-s.ok { background: var(--ok); } .dot-s.run { background: var(--yellow-dark); } .dot-s.wait { background: #A9B6D6; }
.pill { font: 700 .74rem/1 var(--display); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.pill-ok { background: var(--ok-soft); color: var(--ok); }
.pill-run { background: #FFE9A6; color: #7A5600; }
.pill-wait { background: var(--sky-2); color: var(--blue); }
@media (prefers-reduced-motion: no-preference) {
  .board-list li.is-active .dot-s { animation: blink 1.6s ease-in-out infinite; }
}
@keyframes blink { 50% { opacity: .3; } }

/* Facts strip */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.facts-list { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .facts-list { grid-template-columns: repeat(4, 1fr); } }
.facts-list li { padding: 24px 16px; text-align: center; border-right: 1px solid var(--line); }
.facts-list li:nth-child(2n) { border-right: 0; }
@media (min-width: 860px) { .facts-list li:nth-child(2n) { border-right: 1px solid var(--line); } .facts-list li:last-child { border-right: 0; } }
@media (max-width: 859px) { .facts-list li:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.facts-list strong { display: block; font: 800 1.3rem/1.2 var(--display); color: var(--blue); letter-spacing: -.02em; }
.facts-list span { font-size: .88rem; color: var(--muted); }

/* Sections */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-sky { background: var(--sky); }

/* Service grid */
.svc-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.svc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.svc:hover { border-color: var(--blue); box-shadow: 0 12px 30px rgba(33,82,217,.1); }
.svc-code { align-self: flex-start; font: 800 .8rem/1 var(--display); color: var(--blue); background: var(--sky-2); padding: 8px 10px; border-radius: 8px; margin-bottom: 18px; }
.svc h3 { font: 800 1.2rem/1.2 var(--display); color: var(--navy); letter-spacing: -.02em; margin-bottom: 6px; }
.svc p { color: var(--muted); font-size: .95rem; flex: 1; }
.svc-link { font: 700 .92rem/1 var(--display); color: var(--blue); }
.svc-link::after { content: " ›"; }
.svc-unsure { background: var(--yellow-soft); border-color: #F3DD8B; }
.svc-unsure .svc-code { background: var(--yellow); color: var(--navy); }

/* Split + report mockup */
.split { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.check-list { display: grid; gap: 18px; margin-top: 32px; }
.check-list li { position: relative; padding-left: 36px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; }
.check-list strong { display: block; font: 800 1.08rem/1.3 var(--display); color: var(--navy); }
.check-list span { color: var(--muted); font-size: .96rem; }
.report { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 24px; }
.report-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.report-head strong { font: 800 1.2rem/1 var(--display); color: var(--navy); }
.report-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.report-kpis div { background: var(--sky); border-radius: 12px; padding: 12px; }
.report-kpis span { display: block; font-size: .76rem; color: var(--muted); }
.report-kpis strong { font: 700 .92rem/1.25 var(--display); color: var(--navy); }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; }
.bars span { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: var(--sky-2); }
.bars span:last-child { background: var(--blue); }
.report-note { background: var(--yellow-soft); border-radius: 12px; padding: 14px 16px; }
.report-note strong { font: 800 .9rem/1.2 var(--display); color: var(--navy); }
.report-note p { margin: 4px 0 0; font-size: .9rem; color: var(--muted); }
@media (max-width: 520px) { .report-kpis { grid-template-columns: 1fr; } }

/* Old way vs Pelago way */
.compare { display: grid; gap: 20px; }
@media (min-width: 900px) { .compare { grid-template-columns: 1fr 1.2fr; } }
.compare-col { border-radius: var(--r-lg); padding: 32px 28px; }
.compare-col h3 { font: 700 .95rem/1 var(--display); color: var(--muted); margin-bottom: 18px; }
.compare-count { font-size: 1rem; color: var(--muted); margin-bottom: 24px; }
.compare-count strong { font: 900 3.2rem/1 var(--display); letter-spacing: -.04em; margin-right: 8px; vertical-align: -6px; }
.compare-foot { margin: 24px 0 0; font-size: .95rem; color: var(--muted); }
.compare-old { background: var(--sky); border: 1px dashed #B9C6E6; }
.compare-old .compare-count strong { color: #8894B0; }
.compare-old ul { display: grid; gap: 10px; }
.compare-old li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; font-weight: 600; color: var(--muted); }
.compare-new { background: var(--navy); color: #fff; }
.compare-new h3 { color: var(--yellow); }
.compare-new .compare-count, .compare-new .compare-foot { color: #C3D0F0; }
.compare-new .compare-count strong { color: #fff; }
.hub { display: grid; grid-template-columns: auto 48px 1fr; align-items: center; }
.hub-you { font: 800 1rem/1 var(--display); background: #fff; color: var(--navy); padding: 16px 18px; border-radius: 12px; }
.hub-line { height: 2px; background: repeating-linear-gradient(90deg, var(--yellow) 0 6px, transparent 6px 10px); }
.hub-box { border: 1.5px solid var(--yellow); border-radius: 16px; padding: 16px; background: var(--navy-2); }
.hub-logo { display: inline-flex; align-items: flex-end; font: 600 1.3rem/1 "Poppins", var(--body); margin-bottom: 12px; }
.hub-logo i { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); margin: 0 0 3px 2px; }
.hub-box ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hub-box li { background: rgba(255,255,255,.1); border-radius: 8px; padding: 8px 10px; font-size: .88rem; font-weight: 600; }
@media (max-width: 520px) { .hub { grid-template-columns: 1fr; gap: 0; } .hub-you { justify-self: start; } .hub-line { width: 2px; height: 28px; margin-left: 28px; background: repeating-linear-gradient(180deg, var(--yellow) 0 6px, transparent 6px 10px); } }

/* Switching */
.switch { padding: 0 0 clamp(72px, 9vw, 120px); }
.switch-card { position: relative; overflow: hidden; display: grid; gap: 40px; background: linear-gradient(135deg, var(--blue) 0%, var(--navy-2) 60%, var(--navy) 100%); border-radius: 28px; padding: clamp(32px, 5vw, 64px); color: #D6E1FF; }
.switch-card::after { content: ""; position: absolute; width: 420px; aspect-ratio: 1; border-radius: 50%; border: 60px solid rgba(255,255,255,.05); right: -160px; bottom: -200px; pointer-events: none; }
@media (min-width: 960px) { .switch-card { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } }
.switch-card p { max-width: 44ch; }
.switch-note { font-weight: 600; color: #fff; padding-left: 14px; border-left: 3px solid var(--yellow); margin-bottom: 28px; }
.switch-card .hero-actions { margin-bottom: 0; }
.switch-steps { counter-reset: s; display: grid; gap: 10px; position: relative; z-index: 1; }
.switch-steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; align-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 14px 16px; }
.switch-steps li::before { content: counter(s); grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; background: var(--yellow); color: var(--navy); display: grid; place-items: center; font: 800 .95rem/1 var(--display); }
.switch-steps li:last-child { background: #fff; }
.switch-steps li:last-child strong { color: var(--navy); }
.switch-steps li:last-child span { color: var(--muted); }
.switch-steps li:last-child::before { content: "✓"; background: var(--ok); color: #fff; }
.switch-steps strong { font: 700 1rem/1.3 var(--display); color: #fff; }
.switch-steps span { font-size: .87rem; color: #B9C8EE; }

/* FAQ */
.faq-wrap { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: .85fr 1.15fr; gap: 64px; } }
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 10px; background: #fff; }
.faq details[open] { border-color: var(--blue); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font: 700 1.05rem/1.35 var(--display); color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--sky-2); color: var(--blue); display: grid; place-items: center; font-size: 1.2rem; }
.faq details[open] summary::after { content: "–"; background: var(--blue); color: #fff; }
.faq p { color: var(--muted); padding: 0 20px 18px; margin: 0; }

/* Contact */
.contact-inner { display: grid; gap: 48px; }
@media (min-width: 960px) { .contact-inner { grid-template-columns: 1fr 1.05fr; gap: 72px; } }
.contact-inner .lead { margin-bottom: 32px; }
.contact-list { display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.c-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; flex-shrink: 0; }
.contact-list div > span { display: block; font-size: .85rem; color: var(--muted); }
.contact-list a, .contact-list strong { font: 700 1.08rem/1.3 var(--display); color: var(--navy); text-decoration: none; }
.contact-list a:hover { color: var(--blue); }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); box-shadow: 0 12px 40px rgba(12,31,74,.06); }
.field { margin-bottom: 18px; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: 7px; color: var(--navy); }
.opt { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; padding: 13px 15px; border: 1px solid #C8D3EE; border-radius: 12px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { border-color: var(--blue); }
textarea { resize: vertical; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--error); }
.err { color: var(--error); font-size: .88rem; margin: 6px 0 0; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 14px 0 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--ok); }
.form-status.bad { color: var(--error); }

/* Footer */
.site-footer { background: var(--navy); color: #AFC0E6; padding: 0 0 28px; font-size: .95rem; }
.footer-cta { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding: 56px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-cta h2 { font: 900 clamp(1.8rem, 3.6vw, 2.8rem)/1.05 var(--display); letter-spacing: -.04em; color: #fff; max-width: 18ch; }
.footer-grid { display: grid; gap: 32px; padding: 48px 0 8px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.footer-brand { grid-column: span 1; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand p { margin: 14px 0; max-width: 30ch; }
.footer-grid h3 { font: 700 .95rem/1 var(--display); color: #fff; margin-bottom: 14px; }
.footer-grid > div:not(.footer-brand) { display: grid; gap: 8px; align-content: start; }
.site-footer a:not(.logo) { color: #E3EAFB; text-decoration: none; }
.site-footer a:not(.logo):hover { color: var(--yellow); }
.social { display: inline-flex; align-items: center; gap: 8px; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); margin: 32px 0 0; padding-top: 20px; font-size: .84rem; }

/* WhatsApp button */
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0,0,0,.22); z-index: 40; }
.wa-float .icon { width: 28px; height: 28px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .svc { transition: none; } }

/* Greeting bubble */
.btn-xs { min-height: 38px; padding: 6px 14px; font-size: .86rem; }
.greet { position: fixed; right: 18px; bottom: 90px; z-index: 45; width: min(340px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 18px 16px; box-shadow: var(--shadow); }
.greet[hidden] { display: none; }
.greet::after { content: ""; position: absolute; right: 26px; bottom: -8px; width: 16px; height: 16px; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.greet-close { position: absolute; top: 8px; right: 10px; width: 30px; height: 30px; border: 0; background: none; font-size: 1.3rem; color: var(--muted); cursor: pointer; border-radius: 50%; }
.greet-close:hover { background: var(--sky); }
.greet-avatars { display: flex; margin-bottom: 10px; }
.greet-avatars span { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; font: 600 .85rem/1 "Poppins", var(--body); color: #fff; background: var(--blue); margin-right: -8px; }
.greet-avatars span:nth-child(2) { background: var(--navy); }
.greet-avatars span.on { background: var(--ok); width: 14px; height: 14px; align-self: flex-end; margin-left: 2px; }
.greet-text { font-size: .97rem; color: var(--ink); margin-bottom: 12px; padding-right: 16px; }
.greet-text strong { display: block; font: 800 1.05rem/1.3 var(--display); color: var(--navy); }
.greet-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (prefers-reduced-motion: no-preference) {
  .greet:not([hidden]) { animation: greet-in .45s cubic-bezier(.2, .8, .2, 1); }
}
@keyframes greet-in { from { opacity: 0; transform: translateY(14px) scale(.97); } }

/* Proposal builder */
.pb { width: min(920px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 22px; box-shadow: 0 40px 100px rgba(12, 31, 74, .35); color: var(--ink); overflow: hidden; }
.pb::backdrop { background: rgba(12, 31, 74, .55); backdrop-filter: blur(3px); }
.pb[open] { display: flex; }
.pb-form { display: flex; flex-direction: column; width: 100%; max-height: calc(100vh - 24px); }
.pb-head { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.pb-brand { display: flex; align-items: center; gap: 10px; }
.pb-brand strong { font: 800 1.05rem/1 var(--display); color: var(--navy); }
.pb-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--blue); color: #fff; display: grid; place-items: center; font: 600 1rem/1 "Poppins", var(--body); position: relative; }
.pb-mark::after { content: ""; position: absolute; right: 5px; bottom: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); }
.pb-steps { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.pb-steps li { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .85rem; }
.pb-steps li + li::before { content: ""; width: 20px; height: 1.5px; background: var(--line); }
.pb-steps span { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #C8D3EE; display: grid; place-items: center; font: 700 .8rem/1 var(--display); }
.pb-steps em { font-style: normal; font-weight: 600; display: none; }
.pb-steps li.current span { background: var(--blue); border-color: var(--blue); color: #fff; }
.pb-steps li.current em { display: inline; color: var(--navy); }
.pb-steps li.done span { background: var(--sky-2); border-color: var(--sky-2); color: var(--blue); }
.pb-close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; font-size: 1.5rem; color: var(--navy); cursor: pointer; }
.pb-close:hover { background: var(--sky); }
.pb-sub { margin: 0; padding: 10px 20px; background: var(--sky); border-bottom: 1px solid var(--line); font: 700 .9rem/1.3 var(--display); color: var(--navy); }
.pb-body { overflow-y: auto; padding: 28px clamp(18px, 4vw, 40px); flex: 1; }
.pb-panel h2 { font: 800 clamp(1.5rem, 3vw, 2rem)/1.15 var(--display); letter-spacing: -.03em; color: var(--navy); margin-bottom: 6px; }
.pb-intro { color: var(--muted); margin-bottom: 24px; }
.pb-panel h3 { font: 700 .95rem/1 var(--display); color: var(--muted); margin: 8px 0 12px; }
.pb-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-bottom: 22px; }
.opt-card { position: relative; display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; background: #fff; margin: 0; font-weight: 400; transition: border-color .15s, background-color .15s; }
.opt-card:hover { border-color: #A9BCEB; }
.opt-card input { position: absolute; opacity: 0; pointer-events: none; }
.oc-icon { flex-shrink: 0; width: 42px; height: 42px; border-radius: 11px; background: var(--sky-2); color: var(--blue); display: grid; place-items: center; font: 800 .74rem/1 var(--display); }
.opt-card strong { display: block; font: 700 1rem/1.25 var(--display); color: var(--navy); }
.opt-card small { display: block; font-size: .85rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.opt-card:has(input:checked) { border-color: var(--blue); background: #F5F8FF; }
.opt-card:has(input:checked) .oc-icon { background: var(--blue); color: #fff; }
.opt-card:has(input:checked)::after { content: ""; position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.opt-card:has(input:focus-visible) { outline: 3px solid var(--yellow); outline-offset: 2px; }
.opt-unsure .oc-icon { background: var(--yellow-soft); color: #7A5600; }
.pb-field { border: 0; padding: 0; margin: 0 0 22px; }
.pb-field legend, .pb-field > label { font-weight: 600; font-size: .95rem; color: var(--navy); margin-bottom: 10px; padding: 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt { margin: 0; cursor: pointer; font-weight: 500; }
.chip-opt input { position: absolute; opacity: 0; pointer-events: none; }
.chip-opt span { display: inline-block; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .93rem; color: var(--navy); background: #fff; }
.chip-opt:hover span { border-color: #A9BCEB; }
.chip-opt input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip-opt input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.pb-err { color: var(--error); font-weight: 600; margin: 0; }
.pb-err:empty { display: none; }
.pb-review { display: grid; gap: 0; margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.pb-review div { display: grid; grid-template-columns: 180px 1fr; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.pb-review div:last-child { border-bottom: 0; }
.pb-review dt { color: var(--muted); font-size: .92rem; }
.pb-review dd { margin: 0; font-weight: 600; color: var(--navy); }
@media (max-width: 560px) { .pb-review div { grid-template-columns: 1fr; gap: 2px; } }
.pb-done { text-align: center; padding: 24px 0 8px; }
.pb-done .pb-intro { max-width: 40ch; margin-left: auto; margin-right: auto; }
.done-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; display: inline-grid; place-items: center; margin-bottom: 16px; }
.done-icon .icon { width: 32px; height: 32px; stroke-width: 3; }
.pb-foot { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); background: #fff; }
.pb-count { margin-left: auto; font-size: .9rem; color: var(--muted); }
.pb-foot .btn[hidden] { display: none; }
@media (max-width: 640px) {
  .pb { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .pb-form { max-height: 100dvh; }
  .pb-brand strong { display: none; }
  .pb-steps li.current em { display: none; }
}

/* ===== Multi-page additions ===== */
.section-tint-top { background: linear-gradient(180deg, var(--sky) 0, #fff 320px); }
.btn-circle-sm { width: 30px; height: 30px; }
.center-cta { display: flex; justify-content: center; margin-top: 40px; }

/* Services dropdown */
.nav-drop { position: relative; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; cursor: pointer; color: var(--navy); font: 600 .95rem/1 var(--display); padding: 11px 14px 11px 18px; border-radius: 999px; }
.nav-drop-btn .icon { width: 1em; height: 1em; transition: transform .2s; }
.nav-drop-btn:hover, .nav-drop.is-active .nav-drop-btn { background: var(--sky); color: var(--blue); }
.nav-pill a[aria-current="page"] { background: var(--sky); color: var(--blue); }
.nav-menu { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); width: 340px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 8px; display: none; z-index: 60; }
.nav-menu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-drop:hover .nav-menu, .nav-drop.open .nav-menu { display: grid; }
.nav-drop.open .nav-drop-btn .icon { transform: rotate(180deg); }
.nav-pill .nav-menu a { display: block; padding: 12px 14px; border-radius: 12px; }
.nav-menu strong { display: block; font: 700 .98rem/1.25 var(--display); color: var(--navy); }
.nav-menu span { display: block; font: 400 .84rem/1.35 var(--body); color: var(--muted); margin-top: 2px; }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { background: var(--sky); }
@media (max-width: 980px) {
  .nav-drop-btn { width: 100%; justify-content: space-between; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-drop:hover .nav-menu { display: none; }
  .nav-drop.open .nav-menu { display: grid; }
  .nav-menu { position: static; transform: none; width: 100%; box-shadow: none; border: 0; padding: 4px 0 8px 8px; }
  .nav-menu::before { display: none; }
}

/* Inner page hero */
.page-hero { background: radial-gradient(800px 420px at 90% 0%, var(--sky-2), transparent 60%), #fff; padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-hero-inner.has-aside { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .page-hero-inner.has-aside { grid-template-columns: 1.3fr .7fr; gap: 56px; } }
.page-hero h1 { font: 900 clamp(2.4rem, 5.2vw, 4rem)/1 var(--display); letter-spacing: -.045em; color: var(--navy); margin-bottom: 22px; max-width: 18ch; }
.page-hero h1 .blue { display: block; }
.page-hero .hero-actions { margin-bottom: 0; }
.crumbs { display: flex; gap: 8px; font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.price-card { background: var(--navy); color: #C3D0F0; border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); }
.price-card h2 { font: 700 .95rem/1 var(--display); color: var(--yellow); margin-bottom: 14px; }
.price-card ul { display: grid; gap: 0; margin-bottom: 14px; }
.price-card li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .95rem; }
.price-card li strong { font: 800 1rem/1.3 var(--display); color: #fff; text-align: right; }
.price-card p { font-size: .82rem; margin-bottom: 16px; }

/* Included grid */
.inc-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.inc-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.inc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; scroll-margin-top: 110px; }
.inc-check { display: block; width: 32px; height: 32px; border-radius: 10px; background: var(--sky-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232152D9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/18px no-repeat; margin-bottom: 14px; }
.inc h3 { font: 800 1.1rem/1.25 var(--display); color: var(--navy); margin-bottom: 6px; letter-spacing: -.015em; }
.inc p { color: var(--muted); font-size: .94rem; margin: 0; }
.inc:target { border-color: var(--blue); box-shadow: 0 0 0 3px var(--sky-2); }

/* Numbered steps (a real sequence) */
.steps { counter-reset: step; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 32px; }
.steps-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { counter-increment: step; position: relative; background: var(--sky); border-radius: var(--r-lg); padding: 72px 22px 24px; }
.steps li::before { content: counter(step); position: absolute; left: 22px; top: 22px; width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; font: 800 1rem/38px var(--display); text-align: center; }
.steps li:last-child::before { background: var(--yellow); color: var(--navy); }
.steps h3 { font: 800 1.12rem/1.25 var(--display); color: var(--navy); margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Pricing */
.plan-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 32px; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px; display: flex; flex-direction: column; }
.plan-featured { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.badge { position: absolute; top: -13px; left: 26px; background: var(--yellow); color: var(--navy); font: 800 .78rem/1 var(--display); padding: 7px 12px; border-radius: 999px; }
.plan h3 { font: 900 1.6rem/1.1 var(--display); color: var(--navy); letter-spacing: -.03em; }
.plan-sub { color: var(--muted); font-size: .93rem; margin: 4px 0 14px; }
.price-rows { border-radius: 12px; background: var(--sky); padding: 14px 16px; margin-bottom: 22px; display: grid; gap: 10px; }
.price-rows p { margin: 0; color: var(--muted); font-size: .93rem; }
.price-rows strong { font: 900 1.7rem/1.1 var(--display); color: var(--blue); letter-spacing: -.03em; }
.price-rows span { display: block; font-size: .84rem; }
.ticks { display: grid; gap: 9px; font-size: .95rem; margin-bottom: 26px; flex: 1; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.plan .btn { width: 100%; }
.compare-table { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.compare-table summary { cursor: pointer; padding: 18px 22px; font: 700 1rem/1 var(--display); color: var(--blue); list-style: none; }
.compare-table summary::-webkit-details-marker { display: none; }
.compare-table summary::after { content: "+"; float: right; font-size: 1.3rem; line-height: 1; }
.compare-table[open] summary::after { content: "–"; }
.table-scroll { overflow-x: auto; padding: 0 12px 16px; }
.compare-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .93rem; }
.compare-table th, .compare-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.compare-table thead th { font-family: var(--display); color: var(--navy); background: var(--sky); }
.compare-table tbody th { text-align: left; font-weight: 500; }
.compare-table td.y { color: var(--ok); } .compare-table td.n { color: #A9B6D6; }
.compare-table td .icon { stroke-width: 3; }
.addon-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.addon { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.addon h3 { font: 800 1.05rem/1.25 var(--display); color: var(--navy); margin-bottom: 4px; }
.addon-price { font: 900 1.25rem/1.3 var(--display); color: var(--blue); margin-bottom: 8px; letter-spacing: -.02em; }
.addon p:last-child { color: var(--muted); font-size: .92rem; margin: 0; }

/* Home price teaser */
.teaser { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .teaser { grid-template-columns: 1fr 1fr; gap: 64px; } }
.teaser .lead { margin-bottom: 28px; }
.teaser-list { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 8px 24px; box-shadow: var(--shadow); }
.teaser-list li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.teaser-list li:last-child { border-bottom: 0; }
.teaser-list span { color: var(--muted); }
.teaser-list strong { font: 800 1.05rem/1.3 var(--display); color: var(--navy); text-align: right; white-space: nowrap; }
.teaser-list small { font: 500 .85rem/1 var(--body); color: var(--muted); }

/* About */
.mv { display: grid; gap: 14px; }
.mv-card { background: var(--sky); border-radius: var(--r-lg); padding: 26px; }
.mv-card h3 { font: 800 1.2rem/1.2 var(--display); color: var(--navy); margin-bottom: 8px; }
.mv-card p { margin: 0; color: var(--muted); }
.mv-blue { background: var(--blue); }
.mv-blue h3 { color: var(--yellow); } .mv-blue p { color: #D6E1FF; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 12px 20px; font: 700 1rem/1 var(--display); color: var(--navy); }

/* Contact page */
.contact-inner .contact-list { margin-top: 8px; }
.map-card { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 18px; border-radius: var(--r-md); background: var(--navy); color: #fff; text-decoration: none; }
.map-card:hover { background: var(--navy-2); }
.map-pin { width: 44px; height: 44px; border-radius: 12px; background: var(--yellow); color: var(--navy); display: grid; place-items: center; }
.map-card strong { display: block; font: 700 1rem/1.3 var(--display); }
.map-card small { color: #AFC0E6; }

/* Greeting sits bottom-left, like the quote bar sits centre and WhatsApp right */
.greet { right: auto; left: 18px; bottom: 18px; }
.greet::after { display: none; }

/* "What will I pay?" bar */
.qbar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 44; display: flex; align-items: center; gap: 14px; width: min(620px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px 12px 12px 14px; box-shadow: var(--shadow); }
.qbar[hidden] { display: none; }
.qbar-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--yellow-soft); color: #7A5600; display: grid; place-items: center; font: 800 .78rem/1 var(--display); }
.qbar-text { flex: 1; min-width: 0; }
.qbar-text strong { display: block; font: 800 1.08rem/1.2 var(--display); color: var(--navy); }
.qbar-text span { font-size: .9rem; color: var(--muted); }
.qbar-close { width: 34px; height: 34px; flex-shrink: 0; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 1.4rem; cursor: pointer; }
.qbar-close:hover { background: var(--sky); }
@media (prefers-reduced-motion: no-preference) { .qbar:not([hidden]) { animation: qbar-in .5s cubic-bezier(.2, .8, .2, 1); } }
@keyframes qbar-in { from { opacity: 0; transform: translate(-50%, 20px); } }
@media (max-width: 640px) {
  .qbar { bottom: 0; width: 100%; border-radius: 18px 18px 0 0; border-bottom: 0; padding-right: 8px; }
  .qbar-icon { display: none; }
  .qbar .btn { padding-left: 14px; font-size: .88rem; }
  .qbar .btn-circle-sm { display: none; }
  .greet { bottom: 12px; left: 12px; }
}
body.qbar-on .wa-float { bottom: 96px; }
@media (min-width: 900px) { body.qbar-on .wa-float { bottom: 18px; } }

/* Quote calculator */
.qd { width: min(1040px, calc(100vw - 24px)); }
.qd-tag { margin-left: auto; font: 700 .8rem/1 var(--display); color: var(--ok); background: var(--ok-soft); padding: 7px 12px; border-radius: 999px; }
.qd-body { display: grid; flex: 1; min-height: 0; overflow-y: auto; }
@media (min-width: 900px) { .qd-body { grid-template-columns: 1.45fr 1fr; overflow: hidden; } .qd-questions, .qd-summary { overflow-y: auto; } }
.qd-questions { padding: 24px clamp(18px, 3vw, 32px); }
.qd-questions h2 { font: 800 1.45rem/1.2 var(--display); color: var(--navy); letter-spacing: -.025em; margin-bottom: 16px; }
.qd-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin-bottom: 24px; }
.qd-grid .opt-card { padding: 12px 14px; }
.qd-grid .oc-icon { width: 38px; height: 38px; }
.qd-cond { padding: 18px; border: 1px solid var(--line) !important; border-radius: var(--r-md); background: var(--sky); }
.qd-cond[hidden] { display: none; }
.qd-help { font-size: .85rem; color: var(--muted); margin: 10px 0 0; }
.qd-summary { background: var(--navy); color: #C3D0F0; padding: 24px clamp(18px, 3vw, 28px); display: flex; flex-direction: column; }
.qd-summary h3 { font: 800 1.2rem/1.2 var(--display); color: #fff; margin-bottom: 14px; }
.qd-empty { padding: 18px; border: 1px dashed rgba(255,255,255,.25); border-radius: 12px; font-size: .95rem; }
.qd-empty[hidden] { display: none; }
.qd-lines { display: grid; gap: 0; }
.qd-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .93rem; }
.qd-lines li span small { display: block; color: #8FA3CF; font-size: .8rem; }
.qd-lines li strong { font: 800 .98rem/1.3 var(--display); color: #fff; text-align: right; white-space: nowrap; }
.qd-lines li.free strong { color: #7BE0AC; }
.qd-total { display: grid; gap: 8px; margin: 16px 0 12px; padding: 16px; border-radius: 14px; background: rgba(255,255,255,.08); }
.qd-total[hidden] { display: none; }
.qd-total div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.qd-total strong { font: 900 1.45rem/1.1 var(--display); color: var(--yellow); letter-spacing: -.02em; }
.qd-total div + div strong { font-size: 1.1rem; color: #fff; }
.qd-note { font-size: .8rem; color: #8FA3CF; margin: 4px 0 16px; }
.qd-actions { display: grid; gap: 8px; margin-top: auto; }
.qd-actions .btn:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 640px) { .qd { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; } }
@media (min-width: 641px) { body.qbar-on .greet { bottom: 104px; } }
@media (max-width: 640px) { .qbar-text span { display: none; } }

/* ===== Type scale matched to finanshels.com (desktop 1440px / phone 375px) ===== */
body { font-size: 16px; line-height: 1.55; }
.hero h1, .page-hero h1 { font-size: clamp(2.625rem, 4.45vw, 4rem); line-height: .99; letter-spacing: -.058em; }
.title, .footer-cta h2, .cta-band h2 { font-size: clamp(2.125rem, 2.95vw, 2.625rem); line-height: 1.06; letter-spacing: -.045em; }
.hero-lead { font-size: clamp(.9375rem, 1.2vw, 1.0625rem); line-height: 1.65; }
.lead { font-size: 1.02rem; line-height: 1.65; }
.section-head .lead, .teaser .lead { font-size: 1.02rem; }

/* Header, top bar, notice */
.topbar { font-size: 14px; }
.notice { font-size: 12px; }
.nav-pill a, .nav-drop-btn { font-size: 13.5px; }
.nav-menu strong { font-size: 14px; } .nav-menu span { font-size: 12.5px; }
.logo { font-size: 1.55rem; }

/* Buttons */
.btn { font-size: 14px; min-height: 50px; }
.btn-sm { font-size: 13px; min-height: 42px; }
.btn-xs { font-size: 12px; min-height: 36px; }
.btn-circle { width: 34px; height: 34px; }

/* Cards and lists */
.svc h3, .inc h3, .steps h3, .addon h3, .situation h3 { font-size: 17px; line-height: 1.42; }
.svc p { font-size: 12.5px; line-height: 1.55; }
.svc-link { font-size: 12px; }
.svc-code { font-size: 11px; }
.inc p, .steps p, .addon p:last-child, .compare-foot, .mv-card p, .values li { font-size: 14.5px; line-height: 1.5; }
.check-list strong { font-size: 15px; } .check-list span { font-size: 13px; }
.chips li { font-size: 13px; }
.plan h3 { font-size: 20px; letter-spacing: -.02em; }
.plan-sub, .price-rows p { font-size: 13.5px; }
.price-rows strong { font-size: 1.6rem; }
.ticks { font-size: 14px; }
.addon-price { font-size: 1.1rem; }
.compare-table table { font-size: 13.5px; }
.teaser-list strong { font-size: 15px; } .teaser-list span { font-size: 14px; }
.price-card li { font-size: 13.5px; } .price-card li strong { font-size: 14px; }
.compare-col h3 { font-size: 13px; } .compare-count strong { font-size: 2.6rem; }
.compare-old li, .hub-box li { font-size: 13.5px; }
.switch-steps strong { font-size: 14.5px; } .switch-steps span { font-size: 12.5px; }
.tag-cloud li { font-size: 14px; }
.board-head strong { font-size: 17px; }
.board-list strong { font-size: 13.5px; } .board-list div span { font-size: 11.5px; }
.report-head strong { font-size: 17px; }

/* Stats strip */
.facts-list strong { font-size: 23px; letter-spacing: -.03em; }
.facts-list span { font-size: 12px; }

/* FAQ */
.faq summary { font-size: 16px; }
.faq p { font-size: 14.5px; }

/* Contact */
.contact-list a, .contact-list strong { font-size: 15px; }
.contact-list div > span { font-size: 12.5px; }
label { font-size: 13.5px; }
input, select, textarea { font-size: 15px; }

/* Footer */
.site-footer { font-size: 15px; }
.footer-grid h3 { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #AFC0E6; }
.footer-grid > div:not(.footer-brand) a, .footer-grid > div:not(.footer-brand) span { font-size: 13.5px; }
.copyright { font-size: 12.5px; }

/* Pop-ups */
.qbar-text strong { font-size: 16px; } .qbar-text span { font-size: 13.5px; }
.greet-text { font-size: 14px; } .greet-text strong { font-size: 15px; }
.opt-card strong { font-size: 14.5px; } .opt-card small { font-size: 12.5px; }
.pb-panel h2 { font-size: clamp(1.5rem, 2.4vw, 1.8rem); }

/* Greeting: small bubble bottom-right, just above the WhatsApp button */
.greet { left: auto; right: 18px; bottom: 88px; width: 250px; padding: 12px 14px; border-radius: 14px; }
.greet::after { display: block; right: 22px; bottom: -7px; width: 12px; height: 12px; }
.greet-close { top: 4px; right: 4px; width: 24px; height: 24px; font-size: 1.05rem; }
.greet-avatars { margin-bottom: 6px; }
.greet-avatars span { width: 24px; height: 24px; font-size: .7rem; border-width: 1.5px; margin-right: -6px; }
.greet-avatars span.on { width: 10px; height: 10px; }
.greet-text, .greet-text strong { font-size: 13px; line-height: 1.4; }
.greet-text { margin-bottom: 8px; padding-right: 12px; }
.greet-text strong { display: inline; }
.greet-actions { gap: 6px; }
.greet-actions .btn-xs { min-height: 30px; padding: 4px 11px; font-size: 11.5px; }
body.qbar-on .greet { bottom: 88px; }
@media (max-width: 640px) { .greet { right: 12px; left: auto; bottom: 84px; width: 230px; } }
.greet-actions { flex-wrap: nowrap; } .greet-actions .btn-xs { gap: 6px; }
@media (max-width: 640px) { body.qbar-on .greet { bottom: 164px; } }

/* ===== Header: pill nav with mega menus (Finanshels-style) ===== */
.site-header { background: rgba(255,255,255,.96); }
.header-inner { height: 88px; }
.nav-pill { position: relative; padding: 6px 10px; gap: 2px; box-shadow: 0 8px 30px rgba(12,31,74,.07); }
.nav-drop { position: static; }
.nav-pill .nav-link, .nav-drop-btn { font: 600 12px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--navy); padding: 14px 16px; border-radius: 999px; background: none; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; cursor: pointer; }
.nav-drop-btn .icon { width: 14px; height: 14px; stroke-width: 2.4; transition: transform .2s; }
.nav-pill .nav-link:hover, .nav-drop-btn:hover, .nav-drop.open .nav-drop-btn, .nav-pill .nav-link[aria-current="page"] { color: var(--blue); background: none; }
.nav-drop.open .nav-drop-btn .icon { transform: rotate(180deg); }
.nav-actions .btn .icon, .mega .btn .icon { width: 15px; height: 15px; stroke-width: 2.4; }
.nav-actions .btn { gap: 8px; padding: 8px 20px; min-height: 46px; font-size: 14px; box-shadow: 0 8px 20px rgba(12,31,74,.12); }

.mega { display: none; position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%); width: min(1040px, calc(100vw - 48px)); background: radial-gradient(600px 240px at 70% 0%, #F3F7FF, transparent 70%), #fff; border: 1px solid var(--line); border-radius: 28px; padding: 30px 30px 24px; box-shadow: 0 30px 80px rgba(12,31,74,.18); z-index: 70; text-align: left; }
.mega::before { content: ""; position: absolute; top: -18px; left: 0; right: 0; height: 18px; }
.mm-narrow { width: min(760px, calc(100vw - 48px)); }
.nav-drop.open .mega { display: block; }
@media (hover: hover) and (min-width: 981px) { .nav-drop:hover .mega { display: block; } .nav-drop:hover .nav-drop-btn { color: var(--blue); } .nav-drop:hover .nav-drop-btn .icon { transform: rotate(180deg); } }
.mm-cols { display: grid; gap: 4px 20px; }
.mm-cols-3 { grid-template-columns: repeat(3, 1fr); }
.mm-cols-2 { grid-template-columns: repeat(2, 1fr); }
.mm-title { font: 700 11px/1 var(--display); letter-spacing: .3em; text-transform: uppercase; color: var(--blue); margin: 0 0 12px 14px; }
.nav-pill .mm-link { display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-radius: 14px; font: 600 15px/1.3 var(--display); letter-spacing: 0; text-transform: none; color: var(--navy); text-decoration: none; }
.nav-pill .mm-link:hover { background: var(--sky); color: var(--navy); }
.mm-ico { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; background: var(--sky-2); color: var(--blue); display: grid; place-items: center; }
.mm-ico .icon { width: 17px; height: 17px; stroke-width: 2; }
.mm-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.8); }
.mm-strip p { margin: 0 0 12px; font: 500 15px/1.4 var(--body); color: var(--navy); }
.mm-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.nav-pill .mm-pill { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font: 600 13.5px/1 var(--display); letter-spacing: 0; text-transform: none; color: var(--navy); background: #fff; text-decoration: none; }
.nav-pill .mm-pill:hover { border-color: var(--blue); color: var(--blue); }
.mm-pill .icon { width: 13px; height: 13px; stroke-width: 2.4; }
.mm-strip .btn { flex-shrink: 0; }

@media (max-width: 980px) {
  .header-inner { height: 76px; }
  .nav-panel { top: 76px; max-height: calc(100vh - 76px); overflow-y: auto; }
  .nav-pill { position: static; padding: 0; box-shadow: none; }
  .nav-pill .nav-link, .nav-drop-btn { width: 100%; justify-content: space-between; padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line); text-align: left; }
  .mega { position: static; transform: none; width: 100%; border: 0; border-radius: 0; box-shadow: none; padding: 8px 0 16px; background: none; }
  .mega::before { display: none; }
  .mm-cols-3, .mm-cols-2 { grid-template-columns: 1fr; }
  .mm-title { margin: 12px 0 6px 4px; }
  .nav-pill .mm-link { padding: 9px 4px; font-size: 14.5px; }
  .mm-strip { flex-direction: column; align-items: stretch; padding: 16px; }
  .mm-strip .btn { justify-content: center; }
}
@media (max-width: 980px) { .nav-pill .mm-link { border-bottom: 0; border-radius: 12px; } .nav-pill .mm-pill { border: 1px solid var(--line); padding: 10px 16px; } }

/* ===== Blog ===== */
.blog-bar { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 32px; }
.blog-bar .title { margin-bottom: 0; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip { font: 600 13px/1 var(--display); color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px; cursor: pointer; }
.filter-chip:hover { border-color: var(--blue); }
.filter-chip.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.filter-empty { color: var(--muted); }
.post-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.post-card[hidden] { display: none; }
.post-card:hover { border-color: var(--blue); box-shadow: 0 14px 34px rgba(33,82,217,.1); }
.post-cover { position: relative; display: flex; align-items: flex-end; height: 150px; padding: 18px; background: linear-gradient(135deg, var(--blue), var(--navy)); overflow: hidden; }
.post-cover::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(255,255,255,.08); right: -60px; top: -70px; }
.post-cover::after { content: ""; position: absolute; width: 70px; height: 70px; border-radius: 50%; background: var(--yellow); right: 28px; bottom: -26px; opacity: .9; }
.post-cover span { position: relative; font: 900 1.5rem/1 var(--display); letter-spacing: -.03em; color: #fff; }
.post-cover.cat-vat { background: linear-gradient(135deg, #2E6BF0, #13306B); }
.post-cover.cat-acc { background: linear-gradient(135deg, #0C1F4A, #2152D9); }
.post-cover.cat-acc::after { background: #fff; }
.post-meta { font-size: 12px; color: var(--muted); padding: 16px 20px 0; }
.post-card h3 { font: 800 17px/1.35 var(--display); color: var(--navy); padding: 6px 20px 0; letter-spacing: -.01em; }
.post-card p { font-size: 13.5px; line-height: 1.55; color: var(--muted); padding: 8px 20px 0; flex: 1; margin: 0; }
.post-card .svc-link { padding: 16px 20px 20px; }

.post-hero { background: radial-gradient(800px 420px at 90% 0%, var(--sky-2), transparent 60%), #fff; padding: clamp(36px, 5vw, 64px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.post-hero h1 { font: 900 clamp(2.1rem, 3.8vw, 3.2rem)/1.04 var(--display); letter-spacing: -.045em; color: var(--navy); max-width: 22ch; margin: 14px 0 18px; }
.post-tag { display: inline-block; font: 700 12px/1 var(--display); color: var(--blue); background: var(--sky-2); border-radius: 999px; padding: 8px 12px; }
.post-byline { font-size: 13px; color: var(--muted); margin: 0; }
.post-layout { display: grid; gap: 40px; padding-top: 48px; padding-bottom: 80px; }
@media (min-width: 1000px) { .post-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 64px; } .post-side { position: sticky; top: 110px; align-self: start; } }
.toc { border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; margin-bottom: 16px; }
.toc p { font: 700 11px/1 var(--display); letter-spacing: .3em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.toc ol { display: grid; gap: 2px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: block; padding: 7px 8px; border-radius: 8px; font-size: 13.5px; color: var(--navy); text-decoration: none; }
.toc a::before { content: counter(toc) ". "; color: var(--muted); }
.toc a:hover { background: var(--sky); }
.side-cta { background: var(--navy); color: #C3D0F0; border-radius: var(--r-md); padding: 18px; font-size: 13.5px; }
.side-cta strong { display: block; font: 800 15px/1.3 var(--display); color: #fff; margin-bottom: 6px; }
.post-body { max-width: 720px; }
.post-body h2 { font: 800 clamp(1.4rem, 2.2vw, 1.75rem)/1.2 var(--display); letter-spacing: -.03em; color: var(--navy); margin: 40px 0 14px; scroll-margin-top: 110px; }
.post-body p, .post-body li { font-size: 16.5px; line-height: 1.75; color: #33405C; }
.post-body ul, .post-body ol { padding-left: 22px; margin: 0 0 1em; display: grid; gap: 8px; list-style: revert; }
.post-body strong { color: var(--navy); }
.key-points { background: var(--sky); border-left: 4px solid var(--blue); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 20px 22px; }
.key-points strong { font: 800 15px/1 var(--display); }
.key-points ul { margin: 12px 0 0; }
.key-points li { font-size: 15px; }
.inline-tool { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 28px 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; box-shadow: 0 10px 30px rgba(12,31,74,.06); }
.inline-tool div { flex: 1; min-width: 180px; }
.inline-tool strong { display: block; font: 800 15px/1.3 var(--display); color: var(--navy); }
.inline-tool span:not(.mm-ico) { font-size: 13.5px; color: var(--muted); }
.post-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 44px; padding: 26px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--blue), var(--navy)); color: #D6E1FF; }
.post-cta strong { font: 800 1.3rem/1.2 var(--display); color: #fff; }
.post-cta p { color: #D6E1FF; font-size: 14.5px; margin: 6px 0 0; }
.post-note { font-size: 12.5px !important; color: var(--muted) !important; margin-top: 24px; }

/* ===== Tools ===== */
.tool-hero { padding-bottom: 32px; border-bottom: 0; }
.tool-section { padding-top: 0; }
.tool { display: grid; gap: 20px; }
@media (min-width: 960px) { .tool { grid-template-columns: 1fr 1fr; align-items: start; } }
.tool-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); box-shadow: 0 12px 40px rgba(12,31,74,.06); }
.tool-form .pb-field { margin-bottom: 18px; }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 14px; color: var(--navy); cursor: pointer; }
.check-line input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); }
.check-line[hidden], .tool-form .field[hidden] { display: none; }
.tool-result { position: relative; background: var(--navy); color: #C3D0F0; border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); overflow: hidden; }
.tool-result::before { content: ""; position: absolute; width: 260px; aspect-ratio: 1; border-radius: 50%; border: 44px solid rgba(255,255,255,.05); right: -90px; top: -110px; }
.result-tag { position: relative; display: inline-block; font: 700 12px/1 var(--display); color: var(--navy); background: var(--yellow); border-radius: 999px; padding: 7px 12px; margin-bottom: 16px; }
.tool-result h3 { position: relative; font: 900 clamp(1.5rem, 2.6vw, 2rem)/1.1 var(--display); letter-spacing: -.03em; color: #fff; margin-bottom: 10px; }
.tool-result[data-state="must"] h3, .tool-result[data-state="must"] .big-number { color: #FFB4A6; }
.tool-result[data-state="may"] h3 { color: var(--yellow); }
.tool-result[data-state="no"] h3 { color: #7BE0AC; }
.tool-result p { position: relative; font-size: 14.5px; }
.big-number { font: 900 clamp(2.2rem, 4vw, 3rem)/1 var(--display) !important; letter-spacing: -.04em; color: #fff; margin-bottom: 12px; }
.meter { position: relative; height: 12px; border-radius: 999px; background: rgba(255,255,255,.12); margin: 22px 0 8px; overflow: hidden; }
.meter span { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, #7BE0AC, var(--yellow) 50%, #FF8A73); border-radius: 999px; transition: width .3s; }
.meter i { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--navy); }
.meter-labels { display: flex; justify-content: space-between; font-size: 11px; color: #8FA3CF; margin-bottom: 18px; }
.result-rows { position: relative; display: grid; margin: 16px 0; }
.result-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.result-rows dt { color: #AFC0E6; }
.result-rows dd { margin: 0; font: 700 14.5px/1.35 var(--display); color: #fff; text-align: right; }
.result-rows .total dd { color: var(--yellow); font-size: 17px; }
.result-actions { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; }
.result-price { font-size: 13px; color: #AFC0E6; }
.tool-note { font-size: 12px !important; color: #8FA3CF; margin: 16px 0 0; }
.split-top { align-items: start; }
.prose p { font-size: 15.5px; line-height: 1.7; color: #33405C; }
.prose a { font-weight: 600; }
.tool-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.tool-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; text-decoration: none; text-align: left; color: var(--ink); font: inherit; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.tool-card:hover { border-color: var(--blue); box-shadow: 0 14px 34px rgba(33,82,217,.1); }
.tool-card h3 { font: 800 17px/1.3 var(--display); color: var(--navy); }
.tool-card p { font-size: 13.5px; color: var(--muted); margin: 0; flex: 1; }
.tool-card-yellow { background: var(--yellow-soft); border-color: #F3DD8B; }
.tool-card-yellow .mm-ico { background: var(--yellow); color: var(--navy); }

/* ===== Company pages ===== */
.vs-table table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; font-size: 14px; }
.vs-table th, .vs-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.vs-table tbody tr:last-child th, .vs-table tbody tr:last-child td { border-bottom: 0; }
.vs-table thead th { font: 800 14px/1.2 var(--display); color: var(--navy); background: var(--sky); }
.vs-table thead .vs-us { background: var(--blue); color: #fff; }
.vs-table tbody th { text-align: left; font-weight: 600; color: var(--navy); }
.vs-table td:nth-child(2) { background: #F5F8FF; }
.vs-table td.y { color: var(--ok); } .vs-table td.y .icon { stroke-width: 3; }
.vs-table td.p { color: var(--run); font-size: 13px; font-weight: 600; }
.vs-table td.n { color: #A9B6D6; font-size: 13px; font-weight: 600; }
.cost-visual { display: grid; gap: 14px; }
.cost-bar { border-radius: var(--r-md); padding: 22px; display: grid; gap: 4px; }
.cost-bar span { font: 700 12px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; }
.cost-bar strong { font: 800 18px/1.3 var(--display); }
.cost-bar-them { background: var(--sky); color: var(--muted); width: 100%; }
.cost-bar-them strong { color: var(--navy); }
.cost-bar-us { background: var(--blue); color: #D6E1FF; width: 62%; min-width: 240px; }
.cost-bar-us strong { color: #fff; }
.ind-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.ind-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.ind-card .mm-ico { margin-bottom: 14px; width: 42px; height: 42px; }
.ind-card h3 { font: 800 17px/1.3 var(--display); color: var(--navy); margin-bottom: 6px; }
.ind-card p { font-size: 14px; color: var(--muted); margin: 0; }
.form-title { font: 800 1.3rem/1.2 var(--display); color: var(--navy); margin-bottom: 18px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; } }
.chip-opt { max-width: 100%; } .chip-opt span { max-width: 100%; white-space: normal; line-height: 1.3; }
.chip-opt { position: relative; } .chip-opt input { top: 0; left: 0; width: 1px; height: 1px; margin: 0; }

/* ===== Homepage visuals ===== */
/* Hero floating cards */
.board-wrap { position: relative; justify-self: center; width: 100%; max-width: 560px; }
.board-wrap .board { position: relative; z-index: 1; }
.hero-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px 10px 10px; box-shadow: 0 18px 40px rgba(12,31,74,.16); }
.hero-float strong { display: block; font: 800 13.5px/1.25 var(--display); color: var(--navy); }
.hero-float span:not(.hf-avatar):not(.hf-check) { font-size: 11.5px; color: var(--muted); }
.hf-expert { left: -44px; top: 64px; }
.hf-filed { right: -30px; bottom: -22px; }
.hf-avatar { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font: 600 15px/1 "Poppins", var(--body); }
.hf-avatar i { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: var(--ok); border: 2px solid #fff; }
.hf-check { width: 36px; height: 36px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; }
.hf-check .icon { stroke-width: 3; }
@media (prefers-reduced-motion: no-preference) {
  .hf-expert { animation: float-y 6s ease-in-out infinite; }
  .hf-filed { animation: float-y 6s ease-in-out 3s infinite; }
}
@keyframes float-y { 50% { transform: translateY(-8px); } }
@media (max-width: 1100px) { .hf-expert { left: -12px; top: -24px; } .hf-filed { right: -8px; } }
@media (max-width: 560px) { .hero-float { padding: 8px 10px 8px 8px; } .hf-expert { left: 4px; } .hf-filed { right: 4px; bottom: -28px; } }

/* Service icons */
.svc-ico { align-self: flex-start; width: 46px; height: 46px; border-radius: 13px; background: var(--sky-2); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; transition: background-color .2s, color .2s; }
.svc-ico .icon { width: 22px; height: 22px; stroke-width: 2; }
.svc:hover .svc-ico { background: var(--blue); color: #fff; }
.svc-unsure .svc-ico { background: var(--yellow); color: var(--navy); }

/* Compliance calendar */
.cal { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px 22px; box-shadow: 0 14px 40px rgba(12,31,74,.06); overflow-x: auto; }
.cal-row { display: grid; grid-template-columns: 150px repeat(12, minmax(54px, 1fr)); align-items: center; min-width: 820px; }
.cal-row + .cal-row { border-top: 1px dashed var(--line); }
.cal-head span { font: 700 11px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 10px 0 14px; }
.cal-label { display: flex; align-items: center; gap: 10px; font: 700 14px/1.2 var(--display); color: var(--navy); padding: 16px 0; }
.cal-cell { display: flex; justify-content: center; padding: 14px 2px; }
.cal-mark { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; font: 700 11.5px/1 var(--display); white-space: nowrap; }
.m-book { background: var(--sky-2); color: var(--blue); min-width: 26px; height: 26px; padding: 0; }
.m-vat { background: var(--blue); color: #fff; }
.m-rep { background: var(--navy); color: #fff; }
.m-ct { background: var(--yellow); color: var(--navy); box-shadow: 0 0 0 4px var(--yellow-soft); }
.dot-k { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.k-book { background: var(--sky-2); border: 2px solid var(--blue); } .k-vat { background: var(--blue); } .k-rep { background: var(--navy); } .k-ct { background: var(--yellow); }
.cal-note { font-size: 12.5px; color: var(--muted); margin: 14px 0 0; }

/* Photo mosaic */
.team-band-inner { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .team-band-inner { grid-template-columns: 1.05fr 1fr; gap: 72px; } }
.mosaic { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 190px 190px; gap: 14px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.mosaic .m1 { grid-row: span 2; }
.mosaic::before { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--sky-2); left: -12%; bottom: -16%; }
.mosaic-badge { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); background: var(--yellow); color: var(--navy); border-radius: 16px; padding: 12px 18px; box-shadow: 0 16px 36px rgba(12,31,74,.18); white-space: nowrap; }
.mosaic-badge strong, .mosaic-badge span { font: 900 17px/1.1 var(--display); letter-spacing: -.02em; }
.mosaic-badge span { color: var(--blue); margin-left: 4px; }
@media (max-width: 560px) { .mosaic { grid-template-rows: 130px 130px; gap: 10px; } }
.address-chip { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; padding: 12px 16px; border-radius: 14px; background: var(--sky); color: var(--navy); font: 600 14px/1.35 var(--display); text-decoration: none; }
.address-chip .icon { color: var(--blue); flex-shrink: 0; }
.address-chip:hover { background: var(--sky-2); }
.team-band .lead { margin-bottom: 20px; }

/* Free tools preview */
.mini-tools { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.mini-tool { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.mini-tool:hover { border-color: var(--blue); box-shadow: 0 14px 34px rgba(33,82,217,.1); }
.mini-tool h3 { font: 800 16px/1.3 var(--display); color: var(--navy); margin: 16px 0 4px; }
.mini-tool p { font-size: 13px; color: var(--muted); margin: 0 0 14px; flex: 1; }
.mt-visual { display: flex; align-items: center; justify-content: center; height: 110px; border-radius: 14px; background: var(--navy); color: #fff; padding: 16px; }
.mt-meter { flex-direction: column; align-items: stretch; gap: 10px; }
.mt-bar { position: relative; height: 12px; border-radius: 999px; background: rgba(255,255,255,.14); overflow: hidden; }
.mt-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: linear-gradient(90deg, #7BE0AC, var(--yellow)); }
.mt-ticks { display: flex; justify-content: space-around; font: 700 11px/1 var(--display); color: #AFC0E6; }
.mt-ticks em { font-style: normal; }
.mt-sum { gap: 10px; font: 900 22px/1 var(--display); letter-spacing: -.03em; }
.mt-sum i { font-style: normal; font-size: 14px; color: #AFC0E6; }
.mt-sum .y { color: var(--yellow); }
.mt-split { gap: 0; padding: 16px 16px; }
.mt-split span { display: grid; place-items: center; height: 100%; font: 900 22px/1 var(--display); }
.mt-split small { display: block; font: 600 10.5px/1 var(--body); opacity: .8; margin-top: 4px; }
.mt-split .s0 { flex: 0 0 42%; background: rgba(255,255,255,.12); border-radius: 10px 0 0 10px; }
.mt-split .s9 { flex: 1; background: var(--blue); border-radius: 0 10px 10px 0; }
.mt-date { gap: 16px; }
.mt-cal { display: grid; width: 62px; border-radius: 12px; overflow: hidden; background: #fff; text-align: center; }
.mt-cal em { font: 800 11px/1 var(--display); font-style: normal; letter-spacing: .15em; background: var(--yellow); color: var(--navy); padding: 6px 0; }
.mt-cal b { font: 900 26px/1 var(--display); color: var(--navy); padding: 8px 0; }
.mt-days { font-size: 12px; line-height: 1.4; color: #AFC0E6; }
.hf-expert { left: auto; right: -30px; top: -26px; }
.hf-filed { right: auto; left: -48px; bottom: 54px; }
@media (max-width: 1100px) { .hf-expert { right: -8px; top: -28px; left: auto; } .hf-filed { left: -8px; bottom: -26px; } }
@media (max-width: 560px) { .hf-expert { right: 4px; } .hf-filed { left: 4px; } }

/* ===== "What will I pay?" calculator: stepped, grouped service cards ===== */
.qd { width: min(1000px, calc(100vw - 24px)); }
.qd .qd-body { display: block; overflow-y: auto; padding: 30px clamp(18px, 4vw, 44px) 32px; background: #F7F9FD; }
@media (min-width: 900px) { .qd .qd-body { overflow-y: auto; } }
.qd-panel h2 { font: 800 clamp(1.5rem, 2.6vw, 1.95rem)/1.15 var(--display); letter-spacing: -.03em; color: var(--navy); margin-bottom: 6px; }
.qd-panel .pb-intro { margin-bottom: 26px; }
.qd-group { font: 600 15px/1 var(--display); color: var(--muted); margin: 26px 0 14px; }
.qd-group:first-of-type { margin-top: 0; }
.qd-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
@media (max-width: 760px) { .qd-cards { grid-template-columns: 1fr; } }
.qcard { position: relative; display: flex; align-items: center; gap: 18px; padding: 20px 22px; margin: 0; background: #fff; border: 1.5px solid var(--line); border-radius: 18px; cursor: pointer; font-weight: 400; transition: border-color .15s, box-shadow .15s, background-color .15s; }
.qcard:hover { border-color: #A9BCEB; box-shadow: 0 8px 22px rgba(12,31,74,.06); }
.qcard input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; margin: 0; }
.qc-ico { flex-shrink: 0; width: 54px; height: 54px; border-radius: 14px; background: var(--sky); color: var(--blue); display: grid; place-items: center; transition: background-color .15s, color .15s; }
.qc-ico .icon { width: 24px; height: 24px; stroke-width: 1.9; }
.qc-txt strong { display: block; font: 700 18px/1.25 var(--display); color: var(--navy); letter-spacing: -.01em; }
.qc-txt small { display: block; font-size: 14.5px; line-height: 1.45; color: var(--muted); margin-top: 3px; }
.qcard:has(input:checked) { border-color: var(--blue); background: #F2F6FF; box-shadow: 0 0 0 3px rgba(33,82,217,.12); }
.qcard:has(input:checked) .qc-ico { background: var(--blue); color: #fff; }
.qcard:has(input:checked)::after { content: ""; position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.qcard:has(input:focus-visible) { outline: 3px solid var(--yellow); outline-offset: 2px; }
@media (max-width: 560px) { .qcard { padding: 16px; gap: 14px; } .qc-ico { width: 46px; height: 46px; } .qc-txt strong { font-size: 16px; } .qc-txt small { font-size: 13px; } }

.qd .qd-cond { background: #fff; border: 1.5px solid var(--line) !important; border-radius: 18px; padding: 20px 22px; margin-bottom: 16px; }
.qd-steps li span { font-size: .8rem; }

/* Price step */
.qd-price { display: grid; gap: 24px; }
@media (min-width: 860px) { .qd-price { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.qd .qd-lines { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 4px 20px; }
.qd .qd-lines li { border-bottom: 1px solid var(--line); color: var(--ink); }
.qd .qd-lines li:last-child { border-bottom: 0; }
.qd .qd-lines li span { font-weight: 600; color: var(--navy); }
.qd .qd-lines li span small { color: var(--muted); font-weight: 400; }
.qd .qd-lines li strong { color: var(--navy); }
.qd .qd-lines li.free strong { color: var(--ok); }
.qd .qd-lines li.custom strong { color: var(--run); }
.qd .qd-summary { border-radius: 18px; padding: 24px; position: sticky; top: 0; }
.qd .qd-total { margin-top: 0; }
.qd .qd-actions .btn { width: 100%; }

/* ===== Calculator sized exactly like the Finanshels proposal builder (measured 29 Oct 2026) ===== */
.qd { width: min(760px, calc(100vw - 24px)); border-radius: 16px; font-family: var(--body); }
.qd .pb-head { padding: 16px 24px; gap: 12px; min-height: 57px; }
.qd .pb-mark { width: 24px; height: 24px; border-radius: 7px; font-size: 12px; }
.qd .pb-mark::after { right: 3px; bottom: 4px; width: 4px; height: 4px; }
.qd .pb-brand strong { font: 600 14px/1 var(--body); letter-spacing: -.01em; }
.qd .pb-steps { gap: 6px; }
.qd .pb-steps li { font-size: 12.5px; }
.qd .pb-steps li + li::before { width: 16px; }
.qd .pb-steps span { width: 20px; height: 20px; border-width: 1px; font: 600 11px/1 var(--body); }
.qd .pb-steps li.current em { font: 600 12.5px/1 var(--body); letter-spacing: -.011em; }
.qd .pb-close { width: 28px; height: 28px; font-size: 1.2rem; }
.qd .pb-sub { padding: 10px 20px; font: 400 12.5px/16px var(--body); letter-spacing: -.011em; }
.qd .qd-body { padding: 36px 32px 28px; }
.qd-panel h2 { font: 600 24px/30px var(--body); letter-spacing: -.02em; margin-bottom: 6px; }
.qd-panel .pb-intro { font: 400 15px/23.25px var(--body); letter-spacing: -.011em; margin-bottom: 26px; }
.qd-group { font: 600 13px/19.5px var(--body); margin: 24px 0 8px; }
.qd-group:first-of-type { margin-top: 0; }
.qd-cards { gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .qd-cards { grid-template-columns: 1fr; } }
.qcard { gap: 12px; padding: 12px 16px 12px 12px; min-height: 68px; border-width: 1px; border-radius: 10px; }
.qcard:hover { box-shadow: none; }
.qc-ico { width: 36px; height: 36px; border-radius: 10px; }
.qc-ico .icon { width: 18px; height: 18px; stroke-width: 2; }
.qc-txt strong { font: 600 15px/19.5px var(--body); letter-spacing: 0; }
.qc-txt small { font-size: 13px; line-height: 18.85px; margin-top: 1px; }
.qcard:has(input:checked) { box-shadow: 0 0 0 2px rgba(33,82,217,.14); }
.qcard:has(input:checked)::after { top: 8px; right: 8px; width: 16px; height: 16px; background-size: 10px; }
@media (max-width: 560px) { .qcard { padding: 12px 14px 12px 12px; gap: 12px; } .qc-ico { width: 36px; height: 36px; } .qc-txt strong { font-size: 15px; } .qc-txt small { font-size: 13px; } }
.qd .qd-cond { border-width: 1px !important; border-radius: 10px; padding: 16px; }
.qd .qd-cond legend { font: 600 13px/19.5px var(--body); }
.qd .chip-opt span { font-size: 13px; padding: 8px 14px; }
.qd .qd-help { font-size: 12.5px; }
.qd .qd-lines { border-width: 1px; border-radius: 10px; padding: 0 16px; }
.qd .qd-lines li { font-size: 13px; padding: 12px 0; }
.qd .qd-lines li span { font: 600 15px/19.5px var(--body); }
.qd .qd-lines li span small { font-size: 13px; line-height: 18.85px; }
.qd .qd-lines li strong { font: 600 14px/19.5px var(--body); }
.qd .qd-summary { border-radius: 10px; padding: 18px; }
.qd .qd-total { padding: 14px; border-radius: 10px; }
.qd .qd-total span { font-size: 13px; }
.qd .qd-total strong { font-size: 20px; }
.qd .qd-total div + div strong { font-size: 15px; }
.qd .qd-note { font-size: 12px; }
.qd .qd-price { gap: 16px; }
@media (min-width: 700px) { .qd .qd-price { grid-template-columns: 1.35fr 1fr; } }
.qd .pb-foot { padding: 12px 24px; }
.qd .pb-foot .btn-sm { min-height: 38px; font: 600 13px/1 var(--body); padding: 8px 16px; }
.qd .pb-count { font-size: 12.5px; }
.qd .pb-err { font-size: 13px; }

/* ===== Quote-only pricing (no figures) ===== */
.btn-wa { background: #25D366; color: #fff; padding: 8px 20px; gap: 8px; }
.btn-wa:hover { background: #1EBE5A; }
.btn-wa .icon { width: 17px; height: 17px; }
.qd-sum-title { font: 600 15px/1.3 var(--body); color: #fff; margin-bottom: 12px; }
.qd-perks { display: grid; gap: 8px; margin: 0 0 18px; }
.qd-perks li { position: relative; padding-left: 24px; font-size: 13px; color: #C3D0F0; }
.qd-perks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C1F4A' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/10px no-repeat; }
.qd .qd-lines li.quote strong { font: 600 12px/1 var(--body); color: var(--blue); background: var(--sky-2); padding: 6px 10px; border-radius: 999px; align-self: center; }
.qd .qd-lines li.free strong { font: 600 12px/1 var(--body); color: var(--ok); background: var(--ok-soft); padding: 6px 10px; border-radius: 999px; align-self: center; }
.quote-rows strong { font-size: 1.35rem !important; }
.plan-ctas { display: grid; gap: 10px; }
.plan-wa { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: 600 13.5px/1 var(--display); color: #1C9E4F; text-decoration: none; padding: 6px; }
.plan-wa:hover { text-decoration: underline; }
.plan-wa .icon { width: 16px; height: 16px; }
.price-card-ctas { display: flex; flex-wrap: wrap; gap: 8px; }
.price-card .btn-wa { min-height: 42px; }
.center-cta { gap: 12px; flex-wrap: wrap; }
a.result-price { color: #7BE0AC; text-decoration: none; font-weight: 600; }
a.result-price:hover { text-decoration: underline; }

/* ===== Offer bar (Finanshels-style) ===== */
.topbar { background: linear-gradient(90deg, var(--navy) 0%, #12306A 55%, var(--navy) 100%); color: #D6E1FF; font-size: 15px; }
.topbar-inner { min-height: 58px; gap: 18px; padding-top: 8px; padding-bottom: 8px; }
.topbar p { margin: 0; letter-spacing: -.005em; }
.topbar p strong { color: #fff; font-weight: 700; }
.tb-dash { color: #8FA3CF; }
.topbar .tag { background: transparent; color: var(--yellow); border: 1.5px solid rgba(246,194,28,.55); font: 700 12px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; padding: 9px 16px; border-radius: 999px; }
.topbar-link { gap: 8px; background: var(--yellow); color: var(--navy); font: 700 15px/1 var(--display); padding: 12px 20px; border-radius: 999px; box-shadow: 0 8px 24px rgba(246,194,28,.35); }
.topbar-link:hover { background: #FFD43B; }
.topbar-link .icon { width: 18px; height: 18px; color: #1C9E4F; }
@media (max-width: 900px) { .topbar p { font-size: 13.5px; } }
@media (max-width: 640px) { .topbar-inner { min-height: 52px; } .topbar .tag { display: none; } .topbar-link { font-size: 13.5px; padding: 10px 16px; } }

/* ===== Hero client portal ===== */
.portal .portal-grid { display: grid; grid-template-columns: 56px 1fr; }
.portal-rail { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 0; background: var(--navy); }
.pr-logo { position: relative; width: 32px; height: 32px; border-radius: 9px; background: var(--blue); color: #fff; display: grid; place-items: center; font: 600 14px/1 "Poppins", var(--body); margin-bottom: 8px; }
.pr-logo i { position: absolute; right: 5px; bottom: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); }
.pr-item { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #7F93C2; }
.pr-item .icon { width: 17px; height: 17px; stroke-width: 2; }
.pr-item.is-on { background: rgba(255,255,255,.12); color: #fff; }
.portal-main { padding: 16px; display: grid; gap: 12px; min-width: 0; }
.portal-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(135deg, #F5F8FF, #fff); }
.score { position: relative; width: 58px; height: 58px; }
.score svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score circle { fill: none; stroke-width: 6; }
.sc-bg { stroke: var(--sky-2); }
.sc-fg { stroke: var(--ok); stroke-linecap: round; stroke-dasharray: 98 100; }
.score b { position: absolute; inset: 0; display: grid; place-items: center; font: 800 16px/1 var(--display); color: var(--navy); }
.score b small { font-size: 10px; margin-left: 1px; }
.score-txt strong { display: block; font: 800 14px/1.2 var(--display); color: var(--navy); margin-bottom: 6px; }
.next-due { text-align: right; padding: 8px 12px; border-radius: 12px; background: var(--navy); color: #AFC0E6; }
.next-due span { display: block; font-size: 10.5px; }
.next-due strong { display: block; font: 800 17px/1.2 var(--display); color: #fff; }
.next-due em { font-style: normal; font-size: 11px; }
.next-due em b { color: var(--yellow); }
.portal-tasks { display: grid; gap: 6px; }
.portal-tasks li { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 9px 10px; border: 1px solid var(--line); border-radius: 12px; }
.portal-tasks li.is-active { border-color: var(--yellow); background: var(--yellow-soft); }
.portal-tasks strong { display: block; font: 700 13px/1.25 var(--display); color: var(--navy); }
.portal-tasks div span { font-size: 11px; color: var(--muted); }
.pt-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; }
.pt-ico .icon { width: 15px; height: 15px; stroke-width: 2; }
.pt-ico.ok { background: var(--ok-soft); color: var(--ok); }
.pt-ico.run { background: #FFE9A6; color: #7A5600; }
.pt-ico.wait { background: var(--sky-2); color: var(--blue); }
.pt-bar { display: block; height: 6px; border-radius: 999px; background: rgba(12,31,74,.08); margin-top: 6px; overflow: hidden; }
.pt-bar i { display: block; height: 100%; width: 70%; border-radius: 999px; background: linear-gradient(90deg, var(--yellow-dark), var(--yellow)); }
.portal-feed { border-top: 1px dashed var(--line); padding-top: 10px; }
.portal-feed p { font: 700 10.5px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.portal-feed ul { display: grid; gap: 6px; }
.portal-feed li { display: grid; grid-template-columns: 8px 1fr auto; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); }
.portal-feed li b { color: var(--navy); font-weight: 600; }
.portal-feed em { font-style: normal; font-size: 11px; color: #9AA6C0; }
.fd-dot { width: 8px; height: 8px; border-radius: 50%; }
.fd-dot.ok { background: var(--ok); } .fd-dot.blue { background: var(--blue); } .fd-dot.gold { background: var(--yellow-dark); }
@media (prefers-reduced-motion: no-preference) {
  .sc-fg { animation: ring-in 1.4s cubic-bezier(.3,.1,.2,1) .3s both; }
  .pt-bar i { animation: bar-in 1.2s cubic-bezier(.3,.1,.2,1) .5s both; }
}
@keyframes ring-in { from { stroke-dasharray: 0 100; } }
@keyframes bar-in { from { width: 0; } }
@media (max-width: 520px) {
  .portal .portal-grid { grid-template-columns: 1fr; }
  .portal-rail { display: none; }
  .portal-top { grid-template-columns: auto 1fr; }
  .next-due { grid-column: 1 / -1; text-align: left; display: flex; align-items: baseline; gap: 8px; }
}

/* ===== Monthly report dashboard ===== */
.dash { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 20px; display: grid; gap: 14px; min-width: 0; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.dash-head strong { display: block; font: 800 18px/1.2 var(--display); color: var(--navy); }
.dash-head span:not(.pill) { font-size: 12px; color: var(--muted); }
.dash-tabs { display: flex; gap: 4px; padding: 4px; background: var(--sky); border-radius: 12px; width: max-content; max-width: 100%; }
.dash-tabs button { border: 0; background: none; font: 600 12.5px/1 var(--display); color: var(--muted); padding: 8px 14px; border-radius: 9px; cursor: pointer; }
.dash-tabs button.is-on { background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(12,31,74,.08); }
.dash-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { position: relative; background: var(--sky); border-radius: 14px; padding: 12px 12px 40px; overflow: hidden; }
.kpi span { display: block; font-size: 11.5px; color: var(--muted); }
.kpi strong { display: block; font: 800 17px/1.25 var(--display); color: var(--navy); letter-spacing: -.02em; }
.kpi em { font-style: normal; font: 700 11px/1 var(--display); }
.kpi em.up { color: var(--ok); } .kpi em.flat { color: var(--blue); }
.spark { position: absolute; left: 0; right: 0; bottom: 6px; width: 100%; height: 30px; }
.spark polyline { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.s-blue polyline { stroke: var(--blue); } .s-green polyline { stroke: var(--ok); } .s-navy polyline { stroke: var(--navy); }
.dash-main { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 12px; }
.dash-chart { margin: 0; border: 1px solid var(--line); border-radius: 14px; padding: 12px 12px 6px; min-width: 0; }
.dash-chart figcaption { display: flex; justify-content: space-between; align-items: center; gap: 8px; font: 700 12.5px/1 var(--display); color: var(--navy); margin-bottom: 6px; flex-wrap: wrap; }
.dash-legend { display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 var(--body); color: var(--muted); }
.dash-legend i { width: 10px; height: 3px; border-radius: 2px; margin-left: 6px; }
.lg-rev { background: var(--blue); } .lg-exp { background: var(--yellow-dark); }
.chart-wrap { position: relative; }
.chart-wrap svg { display: block; width: 100%; height: auto; overflow: visible; }
.dh-grid line { stroke: var(--line); stroke-dasharray: 3 4; }
.dh-grid text, .dh-x text { font: 500 9.5px var(--body); fill: #9AA6C0; }
.dh-area { fill: url(#revFill); }
.dh-rev, .dh-exp { fill: none; stroke-width: 2.6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.dh-rev { stroke: var(--blue); }
.dh-exp { stroke: var(--yellow-dark); stroke-dasharray: none; }
.dh-dot { fill: #fff; stroke: var(--blue); stroke-width: 2; opacity: 0; transition: opacity .15s; }
.dh-dot.on { opacity: 1; }
.dh-cursor { stroke: var(--navy); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; }
.dh-cursor.on { opacity: .35; }
.dh-hit { fill: transparent; cursor: crosshair; }
.dh-tip { position: absolute; top: 0; transform: translate(-50%, -8px); pointer-events: none; background: var(--navy); color: #fff; border-radius: 10px; padding: 8px 10px; font-size: 11px; line-height: 1.45; white-space: nowrap; box-shadow: 0 10px 24px rgba(12,31,74,.25); }
.dh-tip b { display: block; font: 700 11px/1.3 var(--display); color: var(--yellow); }
.dh-tip span { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .dash:not(.drawn) .dh-rev, .dash:not(.drawn) .dh-exp { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .dash.drawn .dh-rev, .dash.drawn .dh-exp { stroke-dasharray: 1; animation: draw-line 1.6s cubic-bezier(.3,.1,.2,1) both; }
  .dash.drawn .dh-exp { animation-delay: .25s; }
  .dash:not(.drawn) .dh-area { opacity: 0; }
  .dash.drawn .dh-area { transition: opacity 1s .6s; }
}
@keyframes draw-line { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.dash-donut { border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: grid; gap: 8px; align-content: start; }
.dash-donut p { font: 700 12.5px/1.2 var(--display); color: var(--navy); margin: 0; }
.dash-donut svg { width: 100%; max-width: 116px; justify-self: center; }
.dn-big { font: 800 15px var(--display); fill: var(--navy); }
.dn-sm { font: 500 8px var(--body); fill: var(--muted); }
.dash-donut ul { display: grid; gap: 4px; }
.dash-donut li { display: grid; grid-template-columns: 8px 1fr auto; gap: 6px; align-items: center; font-size: 11px; color: var(--muted); }
.dash-donut li i { width: 8px; height: 8px; border-radius: 2px; }
.dash-donut li b { color: var(--navy); font-weight: 700; }
.dash-checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dc { display: grid; grid-template-columns: 30px 1fr auto; gap: 8px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 12px; }
.dc strong { display: block; font: 700 12.5px/1.25 var(--display); color: var(--navy); }
.dc div span { font-size: 11px; color: var(--muted); }
.dc > b { font: 800 12px/1 var(--display); color: #7A5600; }
.dc-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; }
.dc-ico .icon { width: 15px; height: 15px; stroke-width: 2.2; }
.dc-ico.ok { background: var(--ok-soft); color: var(--ok); } .dc-ico.run { background: #FFE9A6; color: #7A5600; } .dc-ico.warn { background: #FFE4DE; color: var(--error); }
.dc-bar { display: block; height: 6px; border-radius: 999px; background: rgba(12,31,74,.08); margin-top: 6px; overflow: hidden; }
.dc-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--yellow-dark), var(--yellow)); }
.dash-note { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; background: var(--yellow-soft); }
.dash-note strong { font: 800 13.5px/1.2 var(--display); color: var(--navy); }
.dash-note p { margin: 3px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.note-ask { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: #25D366; color: #fff; font: 700 12px/1 var(--display); text-decoration: none; }
.note-ask .icon { width: 14px; height: 14px; }
@media (max-width: 1100px) and (min-width: 1000px) { .dash-main { grid-template-columns: 1fr; } .dash-donut { grid-template-columns: 100px 1fr; align-items: center; } }
@media (max-width: 640px) {
  .dash { padding: 14px; }
  .dash-kpis, .dash-checks { grid-template-columns: 1fr; }
  .kpi { padding-bottom: 36px; }
  .dash-main { grid-template-columns: 1fr; }
  .dash-donut { grid-template-columns: 96px 1fr; align-items: center; }
  .dash-donut p { grid-column: 1 / -1; }
  .dash-note { grid-template-columns: 36px 1fr; }
  .note-ask { grid-column: 2; justify-self: start; }
}
.score b { display: flex; align-items: center; justify-content: center; gap: 0; }
.score b small { margin: 2px 0 0 1px; }
.hf-filed { bottom: auto; top: 48%; }
@media (max-width: 1100px) { .hf-filed { top: auto; bottom: -26px; } }

/* ===== Wordmark, final: dot sits exactly on the baseline, sized like a full stop ===== */
.logo { display: inline-flex; align-items: baseline; font: 600 1.7rem/1 "Poppins", var(--body); letter-spacing: -.035em; font-kerning: normal; color: var(--blue); text-decoration: none; -webkit-font-smoothing: antialiased; }
.logo .dot { display: inline-block; flex-shrink: 0; width: .22em; height: .22em; margin: 0 0 0 .055em; border-radius: 50%; background: var(--yellow); transform: translateY(.012em); transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.logo:hover .dot { transform: translateY(.012em) scale(1.25); }
.logo-light { color: #fff; }
.site-footer .logo { font-size: 1.9rem; }
@media (max-width: 640px) { .site-header .logo { font-size: 1.5rem; } }
.pb-mark, .pr-logo, .hf-avatar { font-family: "Poppins", var(--body); letter-spacing: -.02em; }
.hub-logo { align-items: baseline; letter-spacing: -.035em; }
.hub-logo i { width: .22em; height: .22em; margin: 0 0 0 .055em; transform: translateY(.012em); }
