@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #132033;
  --muted: #607087;
  --paper: #f4f7f4;
  --surface: #ffffff;
  --surface-soft: #eaf1ef;
  --line: #d8e2df;
  --navy: #102b46;
  --navy-deep: #0b2035;
  --teal: #007c73;
  --teal-light: #d4f1e8;
  --gold: #f1b854;
  --coral: #e97663;
  --sky: #73c8dd;
  --shadow: 0 18px 48px rgba(20, 44, 64, .10);
  --shadow-small: 0 8px 22px rgba(20, 44, 64, .08);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.6;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }

.site-shell { min-height: 100vh; overflow: hidden; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 90px 0; }
.section--soft { background: var(--surface-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px;
  color: var(--teal); font-family: "DM Mono", monospace; font-size: .72rem;
  font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--gold); }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--navy-deep); line-height: 1.13; letter-spacing: -.04em; }
h1 { font-size: clamp(2.75rem, 6vw, 5.7rem); max-width: 820px; margin-bottom: 25px; }
h2 { font-size: clamp(2.1rem, 4vw, 3.65rem); margin-bottom: 18px; }
h3 { font-size: 1.36rem; margin-bottom: 11px; }
p { color: var(--muted); }
.lead { max-width: 700px; font-size: clamp(1rem, 1.7vw, 1.18rem); }
.accent { color: var(--teal); }
.gold { color: #ae7417; }

/* Header — injected identically on every page */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 247, 244, .94); border-bottom: 1px solid rgba(16, 43, 70, .1); backdrop-filter: blur(15px); }
.header-inner { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy-deep); font-size: 1.03rem; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px 11px 11px 3px; color: #fff; font-family: "DM Mono", monospace; font-size: .9rem; background: var(--teal); box-shadow: 5px 5px 0 var(--gold); }
.primary-nav { display: flex; align-items: center; gap: 7px; }
.primary-nav a { padding: 8px 10px; border-radius: 8px; color: #506075; font-size: .84rem; font-weight: 700; transition: color .2s, background .2s; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--teal); background: var(--teal-light); }
.header-cta { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 999px; color: #fff; background: var(--navy); font-size: .82rem; font-weight: 800; transition: transform .2s, background .2s; }
.header-cta:hover { transform: translateY(-2px); background: var(--teal); }
.menu-toggle { display: none; border: 0; padding: 9px; color: var(--navy); background: transparent; font-size: 1.25rem; }
.mobile-nav { display: none; }

/* Footer — injected identically on every page */
.site-footer { color: #cfdae4; background: var(--navy-deep); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 42px; padding: 62px 0 42px; }
.footer-brand { color: #fff; }
.footer-brand .brand-mark { box-shadow: 5px 5px 0 var(--gold); }
.footer-copy { max-width: 280px; margin: 18px 0 0; color: #aac0d1; font-size: .9rem; }
.footer-title { margin: 4px 0 15px; color: #fff; font-family: "DM Mono", monospace; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-list { margin: 0; padding: 0; list-style: none; }
.footer-list li + li { margin-top: 9px; }
.footer-list a { color: #b8c9d6; font-size: .88rem; transition: color .2s; }
.footer-list a:hover { color: var(--gold); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 0; border-top: 1px solid rgba(255,255,255,.12); color: #8eabba; font-size: .76rem; }

/* Hero */
.hero { position: relative; padding: 92px 0 72px; background: var(--paper); }
.hero::after { content: ""; position: absolute; z-index: 0; width: 560px; height: 560px; right: -245px; top: -210px; border: 70px solid var(--teal-light); border-radius: 50%; opacity: .84; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(310px, .82fr); align-items: center; gap: 55px; }
.hero-title-line { display: block; color: var(--teal); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 47px; padding: 12px 19px; border: 1px solid transparent; border-radius: 999px; font-size: .88rem; font-weight: 800; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); box-shadow: var(--shadow-small); }
.button--primary { color: #fff; background: var(--teal); }
.button--primary:hover { background: #006961; }
.button--secondary { color: var(--navy); border-color: var(--line); background: var(--surface); }
.button--secondary:hover { border-color: var(--teal); }
.trust-list { display: flex; flex-wrap: wrap; gap: 12px 20px; padding: 0; margin: 0; list-style: none; color: #52687d; font-size: .8rem; font-weight: 700; }
.trust-list li::before { content: "✓"; display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 7px; border-radius: 50%; color: #fff; background: var(--teal); font-size: .67rem; }
.finance-card { width: min(100%, 400px); margin-left: auto; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; color: #e8faf4; background: var(--navy); box-shadow: 18px 18px 0 var(--gold), var(--shadow); }
.finance-card-top { min-height: 215px; padding: 30px; background: linear-gradient(145deg, #123b5c, #076e67); }
.finance-card .micro { color: #afdfd7; font-family: "DM Mono", monospace; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.balance { margin: 7px 0 43px; color: #fff; font-family: "DM Mono", monospace; font-size: 2.18rem; font-weight: 500; letter-spacing: -.09em; }
.card-row { display: flex; align-items: center; justify-content: space-between; color: #d4eeea; font-family: "DM Mono", monospace; font-size: .82rem; }
.card-chip { width: 39px; height: 28px; border-radius: 7px; background: repeating-linear-gradient(90deg, #f5c567 0 5px, #df9f33 5px 7px); }
.finance-card-bottom { display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.finance-card-bottom div { padding: 18px 22px; color: var(--navy); font-size: .8rem; font-weight: 700; }
.finance-card-bottom div + div { border-left: 1px solid var(--line); }
.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.ticker-track { display: flex; width: max-content; gap: 35px; padding: 14px 0; color: #4b6579; font-family: "DM Mono", monospace; font-size: .7rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; animation: marquee 28s linear infinite; }
.ticker-track span::before { content: "✦"; margin-right: 9px; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* General cards/layouts */
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-heading .lead { margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card, .stat-card, .contact-card, .form-panel, .service-card, .quote-card, .info-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 5px 16px rgba(16, 43, 70, .025); }
.feature-card { padding: 25px; border-top: 4px solid var(--teal); }
.feature-card:nth-child(2) { border-top-color: var(--gold); }
.feature-card:nth-child(3) { border-top-color: var(--coral); }
.feature-card:nth-child(4) { border-top-color: var(--sky); }
.icon-box { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 21px; border-radius: 12px; color: var(--teal); background: var(--teal-light); font-size: 1.05rem; font-weight: 800; }
.feature-card:nth-child(2) .icon-box { color: #9b6513; background: #fff1cf; }
.feature-card:nth-child(3) .icon-box { color: #c65242; background: #fde4df; }
.feature-card:nth-child(4) .icon-box { color: #26758b; background: #dceff4; }
.feature-card h3 { font-size: 1.08rem; }
.feature-card p { margin-bottom: 0; font-size: .86rem; }

/* About */
.page-banner { padding: 70px 0 60px; background: var(--navy-deep); }
.page-banner h1 { max-width: 760px; margin: 0; color: #fff; font-size: clamp(2.6rem, 5vw, 4.7rem); }
.page-banner .eyebrow { color: var(--gold); }
.page-banner .eyebrow::before { background: var(--sky); }
.page-banner .lead { margin: 17px 0 0; color: #b7ccd9; }
.about-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 65px; align-items: center; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-card { min-height: 174px; padding: 25px; display: flex; flex-direction: column; justify-content: space-between; }
.stat-card:nth-child(2), .stat-card:nth-child(3) { background: var(--navy); }
.stat-card:nth-child(2) h3, .stat-card:nth-child(3) h3 { color: #fff; }
.stat-card:nth-child(2) p, .stat-card:nth-child(3) p { color: #bed0dc; }
.stat-number { margin: 0; color: var(--teal); font-family: "DM Mono", monospace; font-size: 2.55rem; font-weight: 500; letter-spacing: -.1em; }
.stat-card:nth-child(2) .stat-number { color: var(--gold); }
.stat-card:nth-child(3) .stat-number { color: #8edbd2; }
.stat-card:nth-child(4) .stat-number { color: var(--coral); }
.stat-card p { margin: 0; font-size: .85rem; font-weight: 700; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 28px; }
.value { padding: 15px; border-radius: 14px; background: var(--surface-soft); }
.value b { display: block; margin-bottom: 3px; color: var(--navy); font-size: .86rem; }
.value span { color: var(--muted); font-size: .75rem; }

/* Services */
.services-intro { max-width: 750px; }
.service-jump { display: flex; flex-wrap: wrap; gap: 9px; margin: 32px 0 52px; }
.service-jump a { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: #476075; background: #fff; font-size: .77rem; font-weight: 800; transition: border .2s, color .2s; }
.service-jump a:hover { color: var(--teal); border-color: var(--teal); }
.service-group { scroll-margin-top: 110px; padding: 43px 0; border-top: 1px solid var(--line); }
.service-group-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: 25px; }
.service-group-head h2 { margin: 0; font-size: clamp(1.9rem, 3.5vw, 3.2rem); }
.service-group-head p { max-width: 520px; margin: 12px 0 0; }
.service-count { align-self: center; padding: 8px 13px; border-radius: 999px; color: var(--navy); background: #fff1cf; font-family: "DM Mono", monospace; font-size: .7rem; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { padding: 25px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.service-card:hover { transform: translateY(-5px); border-color: #a7c5bd; box-shadow: var(--shadow); }
.service-badge { display: inline-grid; place-items: center; width: 39px; height: 39px; margin-bottom: 19px; border-radius: 10px; color: #fff; background: var(--teal); font-family: "DM Mono", monospace; font-size: .7rem; }
.service-card:nth-child(3n + 2) .service-badge { color: var(--navy); background: var(--gold); }
.service-card:nth-child(3n) .service-badge { background: var(--coral); }
.service-card h3 { font-size: 1.15rem; }
.service-card p { margin: 0; font-size: .84rem; line-height: 1.63; }

/* Quotes and FAQ */
.quote-stage { position: relative; padding: 40px; border-radius: 30px; background: var(--navy); }
.quote-stage::before { content: "“"; position: absolute; top: -33px; left: 30px; color: var(--gold); font-size: 9rem; font-family: Georgia, serif; line-height: 1; }
.quote-card { min-height: 240px; padding: 37px; border: 0; box-shadow: none; }
.quote-stars { color: #bd7e15; font-size: .88rem; letter-spacing: 3px; }
.quote-card blockquote { margin: 20px 0 26px; color: var(--navy); font-size: clamp(1rem, 2vw, 1.32rem); font-weight: 700; line-height: 1.55; }
.quote-card cite { color: var(--muted); font-size: .83rem; font-style: normal; }
.quote-card cite b { display: block; color: var(--navy); font-size: .91rem; }
.slider-controls { display: flex; align-items: center; gap: 8px; margin-top: 20px; }
.slider-button, .dot { border: 0; }
.slider-button { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 50%; color: var(--navy); background: var(--gold); font-weight: 900; }
.dot { width: 8px; height: 8px; border-radius: 50%; padding: 0; background: #71909b; }
.dot.is-active { width: 24px; border-radius: 999px; background: var(--gold); }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 20px; border: 0; color: var(--navy); background: transparent; text-align: left; font-size: .94rem; font-weight: 800; }
.faq-question span:last-child { color: var(--teal); transition: transform .25s; }
.faq-item.is-open .faq-question span:last-child { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer p { margin: 0; padding: 0 20px 20px; font-size: .87rem; }

/* Contact and forms */
.contact-layout { display: grid; grid-template-columns: .83fr 1.17fr; gap: 55px; align-items: start; }
.contact-list { display: grid; gap: 13px; margin-top: 30px; }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 16px; }
.contact-card .icon-box { flex: 0 0 40px; width: 40px; height: 40px; margin: 0; }
.contact-card small { display: block; color: var(--muted); font-size: .73rem; }
.contact-card b { color: var(--navy); font-size: .9rem; }
.form-panel { padding: 32px; }
.form-panel h2 { font-size: 1.72rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; }
.field label { color: var(--navy); font-size: .78rem; font-weight: 800; }
.field input, .field textarea { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 10px; outline: 0; color: var(--navy); background: #fbfdfc; font-size: .9rem; transition: border .2s, box-shadow .2s; }
.field textarea { min-height: 126px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 124, 115, .12); }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .81rem; }
.checkbox-row input { width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--teal); }
.form-panel .button { margin-top: 7px; }

/* newsletter */
.newsletter-shell { position: relative; overflow: hidden; padding: 44px; border-radius: 28px; background: var(--navy); }
.newsletter-shell::after { content: ""; position: absolute; top: -90px; right: -70px; width: 270px; height: 270px; border: 42px solid var(--teal); border-radius: 50%; opacity: .7; }
.newsletter-shell > * { position: relative; z-index: 1; }
.newsletter-shell h1, .newsletter-shell h2 { color: #fff; }
.newsletter-shell .lead { color: #bfd2db; }
.newsletter-shell .eyebrow { color: var(--gold); }
.newsletter-shell .form-panel { max-width: 720px; margin-top: 32px; background: #fff; }
.newsletter-subnote { margin: 20px 0 0; color: #bdd0da; font-size: .83rem; }
.newsletter-subnote a { color: var(--gold); font-weight: 800; text-decoration: underline; }
.unsubscribe-shell { max-width: 680px; margin: 0 auto; }

/* Legal */
.legal-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal-aside { position: sticky; top: 105px; padding: 19px; border-radius: 15px; background: var(--surface-soft); }
.legal-aside b { display: block; margin-bottom: 8px; color: var(--navy); font-size: .82rem; }
.legal-aside p { margin: 0; font-size: .76rem; }
.legal-copy { max-width: 820px; }
.legal-copy p { margin-bottom: 22px; font-size: .91rem; line-height: 1.8; }
.legal-copy strong { color: var(--navy-deep); }
.legal-copy .text-white { color: var(--navy-deep); }

/* Toast */
.toast-region { position: fixed; top: 94px; right: 20px; z-index: 100; display: grid; gap: 10px; width: min(390px, calc(100vw - 40px)); }
.toast { display: flex; align-items: flex-start; gap: 12px; padding: 14px 15px; border: 1px solid #acd8cb; border-radius: 14px; color: var(--navy); background: #f7fffb; box-shadow: var(--shadow); animation: toast-in .32s ease both; }
.toast.is-hiding { animation: toast-out .25s ease both; }
.toast-icon { display: grid; place-items: center; flex: 0 0 25px; width: 25px; height: 25px; border-radius: 50%; color: #fff; background: var(--teal); font-weight: 900; }
.toast strong { display: block; margin-bottom: 1px; font-size: .85rem; }
.toast span { color: #577080; font-size: .77rem; line-height: 1.4; }
@keyframes toast-in { from { transform: translateX(25px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes toast-out { to { transform: translateX(25px); opacity: 0; } }

/* animation and responsive */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .primary-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav { display: block; max-height: 0; overflow: hidden; border-top: 1px solid transparent; background: var(--paper); transition: max-height .32s ease, border-color .32s; }
  .mobile-nav.is-open { max-height: 390px; border-color: rgba(16,43,70,.1); }
  .mobile-nav a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(16,43,70,.08); color: var(--navy); font-size: .9rem; font-weight: 800; }
  .footer-grid { grid-template-columns: 1.2fr repeat(3, 1fr); gap: 24px; }
  .hero-grid, .about-grid, .contact-layout { grid-template-columns: 1fr; }
  .finance-card { margin: 12px auto 0; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 25px; }
  .legal-aside { position: static; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 30px, 1160px); }
  .section { padding: 64px 0; }
  .hero { padding: 68px 0 54px; }
  .hero::after { width: 300px; height: 300px; right: -150px; top: -110px; border-width: 40px; }
  .hero-actions .button { width: 100%; }
  .finance-card { box-shadow: 10px 10px 0 var(--gold), var(--shadow); }
  .section-heading, .service-group-head { display: block; }
  .section-heading .lead { margin-top: 12px; }
  .feature-grid, .service-grid, .values, .form-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 10px; }
  .stat-card { min-height: 140px; padding: 19px; }
  .service-group { padding: 34px 0; }
  .service-count { display: inline-flex; margin-top: 15px; }
  .quote-stage { padding: 18px; }
  .quote-card { padding: 28px 21px; }
  .page-banner { padding: 57px 0 50px; }
  .form-panel { padding: 22px; }
  .newsletter-shell { padding: 27px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding: 45px 0 30px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.service-note { margin-top: 16px !important; padding-top: 13px; border-top: 1px solid var(--line); color: var(--teal) !important; font-family: "DM Mono", monospace; font-size: .7rem !important; font-weight: 500; letter-spacing: .03em; }
