:root {
  --ink: #2f3337;
  --ink-soft: #5c6670;
  --bg: #ffffff;
  --bg-alt: #f2f7fb;
  --line: #dde6ee;
  --sky: #86bdf0;
  --sky-light: #b9dcfa;
  --brand: #1a75bc;
  --brand-dark: #135a92;
  --coral: #0d5672;
  --mint: #1481ab;
  --sun: #d6e8f6;
  --radius: 22px;
  --max: 1140px;
  font-size: 17px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo { font-family: "Montserrat", system-ui, sans-serif; }

img, svg { max-width: 100%; display: block; }
a { color: var(--brand); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 10; }
.site-header.solid { position: sticky; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 108px; gap: 16px; }

.logo {
  display: flex; align-items: center; gap: 12px;
  background: #fff; padding: 6px 18px 10px; border-radius: 0 0 24px 24px;
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em;
  box-shadow: 0 6px 24px rgba(47, 51, 55, 0.08);
}
.site-header.solid .logo { box-shadow: none; padding-left: 0; }
.logo-dots { display: grid; grid-template-columns: repeat(2, 12px); gap: 4px; }
.logo-dots i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.logo-dots i:nth-child(1) { background: var(--brand); }
.logo-dots i:nth-child(2) { background: var(--coral); }
.logo-dots i:nth-child(3) { background: var(--mint); }
.logo-dots i:nth-child(4) { background: var(--sun); }
.logo small { display: block; font-family: "Open Sans", sans-serif; font-weight: 600; font-size: .72rem; color: var(--ink-soft); letter-spacing: .04em; line-height: 1; }
.logo span { line-height: 1.1; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  background: var(--brand); color: #fff !important; text-decoration: none;
  font-weight: 800; border: 0; cursor: pointer; font-size: 1rem; font-family: inherit;
  box-shadow: 0 6px 18px rgba(26, 117, 188, 0.25);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn-white { background: #fff; color: var(--ink) !important; box-shadow: 0 6px 18px rgba(47, 51, 55, 0.12); }
.btn-white:hover { background: #f4f8fd; }
.btn-ghost { background: transparent; color: #fff !important; border: 2px solid rgba(255,255,255,.85); box-shadow: none; }
.btn-ghost:hover { background: rgba(255,255,255,.15); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #1a75bc 0%, #62aee3 100%);
  color: #fff; padding: 150px 0 90px;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.12; margin: 0 0 18px; letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(47, 51, 55, 0.12);
}
.hero .lead { font-size: 1.25rem; margin: 0 0 18px; font-weight: 600; }
.ticks { list-style: none; padding: 0; margin: 0 0 32px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; font-weight: 600; }
.ticks svg { flex: none; width: 22px; height: 22px; margin-top: 3px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { position: relative; width: 100%; }
.hero-art svg { width: 100%; height: auto; }
.bubble { position: absolute; border-radius: 50%; background: rgba(255,255,255,.35); }

.page-hero { background: linear-gradient(160deg, #1a75bc 0%, #62aee3 100%); color: #fff; padding: 150px 0 70px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.02em; }
.page-hero p { max-width: 62ch; margin: 0; font-size: 1.15rem; font-weight: 600; }

/* Sections */
section { padding: 88px 0; }
section.alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.02em; }
.section-head p { color: var(--ink-soft); margin: 0; font-size: 1.1rem; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: 0 8px 28px rgba(47, 51, 55, 0.06);
}
.card h3 { margin: 16px 0 8px; font-size: 1.2rem; }
.card p { margin: 0 0 10px; color: var(--ink-soft); }
.card p:last-child { margin-bottom: 0; }

.who-card { text-align: center; display: flex; flex-direction: column; align-items: center; }
.who-card .btn { margin-top: auto; }
.who-card p { margin-bottom: 22px; }

.icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; color: #fff; }
.icon svg { width: 28px; height: 28px; }
.i-blue { background: var(--brand); }
.i-coral { background: var(--coral); }
.i-mint { background: var(--mint); }
.i-sun { background: var(--sun); color: var(--brand-dark); }

.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.why-item h3 { font-size: 1.15rem; margin: 16px 0 8px; }
.why-item p { margin: 0; color: var(--ink-soft); }

.promise {
  margin: 56px auto 0; max-width: 760px; text-align: center;
  background: #fff; border-radius: var(--radius); padding: 26px 30px; border: 2px dashed var(--sky);
  font-weight: 700;
}

/* Stats */
.stats { background: var(--ink); color: #fff; }
.stats .section-head p { color: #c3cde3; }
.stat { background: rgba(255,255,255,.06); border-radius: var(--radius); padding: 28px 24px; text-align: center; }
.stat strong { display: block; font-family: "Montserrat", sans-serif; font-size: clamp(2rem, 4vw, 2.7rem); line-height: 1; }
.stat:nth-child(1) strong { color: var(--sky-light); }
.stat:nth-child(2) strong { color: #8fd0f0; }
.stat:nth-child(3) strong { color: #b9dcfa; }
.stat:nth-child(4) strong { color: #ffffff; }
.stat span { display: block; margin-top: 10px; color: #c3cde3; }

/* Team */
.person { display: flex; gap: 20px; align-items: center; }
.avatar {
  flex: none; width: 80px; height: 80px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1.5rem;
}
.person h3 { margin: 0; font-size: 1.2rem; }
.person p { margin: 2px 0 6px; color: var(--ink-soft); }
.person a { font-weight: 800; text-decoration: none; }

/* Contact */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.split h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.02em; }
.split > div > p { color: var(--ink-soft); font-size: 1.1rem; }
.contact-details { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-details li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-details .icon { width: 44px; height: 44px; border-radius: 14px; }
.contact-details .icon svg { width: 22px; height: 22px; }
.contact-details strong { display: block; }

form.contact { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: 0 12px 36px rgba(47, 51, 55, 0.1); border: 1px solid var(--line); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
input, textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 14px;
  font: inherit; color: var(--ink); background: #fbfdff; margin-bottom: 16px;
}
input:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(26, 117, 188, 0.15); }
textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--ink-soft); margin: 14px 0 0; }
.hp { position: absolute; left: -9999px; }

/* Prose */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.35rem; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--ink); color: #c3cde3; padding: 60px 0 36px; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .logo { background: transparent; box-shadow: none; padding: 0; color: #fff; margin-bottom: 14px; border-radius: 0; }
.site-footer .logo small { color: #c3cde3; }
.legal { border-top: 1px solid #454a50; margin-top: 40px; padding-top: 20px; font-size: .85rem; color: #9aa7c4; }

/* Responsive */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; margin: 0 auto; order: -1; }
  .grid-3, .grid-4, .why { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { font-size: 16px; }
  .nav a:not(.btn) { display: none; }
  .nav .btn { padding: 10px 16px; font-size: .9rem; }
  .site-header .wrap { height: 72px; }
  .hero { padding: 100px 0 64px; }
  .page-hero { padding: 100px 0 52px; }
  .grid-3, .grid-2, .grid-4, .why, .field-row, .footer-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  form.contact { padding: 22px; }
}

/* Brand logo */
.logo img { height: 84px; width: auto; }
.site-footer .logo { background: #fff; padding: 8px 14px; border-radius: 14px; display: inline-flex; }
.site-footer .logo img { height: 56px; }
.tagline { color: var(--brand); font-weight: 600; letter-spacing: .02em; }
@media (max-width: 640px) { .logo img { height: 60px; } }.site-header:not(.solid) .nav a:not(.btn) { color: #fff; }
.site-header:not(.solid) .nav a:not(.btn):hover, .site-header:not(.solid) .nav a[aria-current="page"] { color: #d6e8f6; text-decoration: underline; text-underline-offset: 6px; }
.site-header:not(.solid) .nav .btn { background: #fff; color: var(--brand-dark) !important; }
.site-header:not(.solid) .nav .btn:hover { background: #eef5fb; }
/* Financial controller section */
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--brand); margin: 0 0 10px; }
.controller-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.controller h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.2; margin: 0 0 16px; letter-spacing: -0.02em; }
.controller-grid > div > p { color: var(--ink-soft); font-size: 1.08rem; }
.ticks-dark li { color: var(--ink); }
.ticks-dark svg { color: var(--brand); }
.compare { display: grid; gap: 18px; }
.compare-card { border-radius: var(--radius); padding: 26px 28px; }
.compare-label { margin: 0 0 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.compare-old { background: var(--bg-alt); border: 1px solid var(--line); }
.compare-old .compare-label { color: var(--ink-soft); }
.compare-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.compare-row strong { white-space: nowrap; color: var(--ink); }
.compare-new { background: linear-gradient(160deg, #1a75bc 0%, #3f93d6 100%); color: #fff; box-shadow: 0 14px 36px rgba(26,117,188,.28); }
.compare-new .compare-label { color: #d6e8f6; }
.compare-big { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1.3rem; line-height: 1.35; margin: 0 0 10px; }
.compare-note { margin: 0; color: #e3effa; }

/* Stats strip (short) */
.stats { padding: 56px 0; }
.stats .stat { text-align: left; }
.stats .stat strong { font-size: clamp(1.7rem, 3vw, 2.2rem); }

/* Team */
.leaders { margin-bottom: 28px; }
.leaders .person { align-items: flex-start; }
.person .role { color: var(--brand); font-weight: 700; margin: 2px 0 8px; }
.person p:last-child { margin: 0; }
.team-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.member { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.member h3 { margin: 0; font-size: 1.05rem; }
.member p { margin: 2px 0 4px; font-weight: 700; color: var(--brand); font-size: .9rem; line-height: 1.35; }
.member small { color: var(--ink-soft); font-size: .85rem; line-height: 1.4; display: block; }
.avatar.sm { width: 48px; height: 48px; font-size: 1.1rem; }

@media (max-width: 1100px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 960px) {
  .controller-grid { grid-template-columns: 1fr; gap: 36px; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-row { flex-direction: column; gap: 2px; }
}
@media (max-width: 960px) { .stats .grid-3 { grid-template-columns: 1fr; } .who-grid { grid-template-columns: 1fr; } }

/* Instant quote */
.quote-section { padding-top: 56px; }
.quote-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; align-items: start; }
.questions { display: grid; gap: 18px; }
.q { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 24px 26px; margin: 0; min-width: 0; animation: qIn .25s ease; }
@keyframes qIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.q legend { float: left; width: 100%; font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1.12rem; display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 0; }
.q legend + * { clear: both; }
.q-num { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: .85rem; }
.q-help { margin: 0 0 14px; color: var(--ink-soft); font-size: .95rem; clear: both; }
.q-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; clear: both; }
.opt { position: relative; display: block; border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 15px; cursor: pointer; margin: 0; font-weight: 400; transition: border-color .12s, background .12s; }
.opt:hover { border-color: var(--sky); background: #f7fbff; }
.opt input { position: absolute; opacity: 0; pointer-events: none; width: auto; margin: 0; }
.opt-t { display: block; font-weight: 700; color: var(--ink); }
.opt-d { display: block; font-size: .85rem; color: var(--ink-soft); margin-top: 2px; line-height: 1.35; }
.opt.on { border-color: var(--brand); background: #eaf3fb; box-shadow: 0 0 0 3px rgba(26,117,188,.15); }
.opt:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }

.quote-side { position: sticky; top: 24px; display: grid; gap: 18px; }
.result { padding: 26px; }
.r-empty { color: var(--ink-soft); margin: 0; }
.r-total { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 2.4rem; color: var(--brand); margin: 0; line-height: 1.1; }
.r-total span { font-size: 1rem; font-weight: 600; color: var(--ink-soft); margin-left: 6px; }
.r-monthly { margin: 6px 0 16px; color: var(--ink-soft); font-weight: 600; }
.r-lines { list-style: none; padding: 0; margin: 0 0 14px; border-top: 1px solid var(--line); }
.r-lines li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.r-lines strong { white-space: nowrap; }
.r-note { font-size: .82rem; color: var(--ink-soft); margin: 6px 0 0; }
.r-progress { margin: 12px 0 0; font-weight: 700; color: var(--brand); }
.r-special { background: #eaf3fb; border-radius: 14px; padding: 16px 18px; margin-bottom: 14px; }
.r-special h3 { margin: 0 0 6px; font-size: 1.1rem; }
.r-special p { margin: 0 0 6px; color: var(--ink-soft); font-size: .95rem; }
.lead h3 { margin: 0 0 6px; }

@media (max-width: 960px) {
  .quote-layout { grid-template-columns: 1fr; }
  .quote-side { position: static; }
}
@media (max-width: 640px) {
  .q { padding: 18px; }
  .q-options { grid-template-columns: 1fr 1fr; }
}.mini { display: none; }
@media (max-width: 960px) {
  .mini:not([hidden]) { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; justify-content: space-between; align-items: center; gap: 12px;
    background: var(--ink); color: #fff; text-decoration: none; padding: 14px 18px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.25); font-weight: 700; }
  .mini strong { color: #8fd0f0; font-size: .9rem; }
  .quote-section { padding-bottom: 110px; }
}
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
