:root {
  --navy: #042953;
  --navy-2: #0a3b6b;
  --teal: #09797d;
  --teal-2: #0a9396;
  --gold: #c19344;
  --gold-soft: #ead9b9;
  --ink: #102235;
  --muted: #66778a;
  --line: #dfe7ea;
  --surface: #f4f8f8;
  --surface-2: #edf4f5;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(4, 41, 83, .12);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 108px 0; }

.skip-link {
  position: fixed; left: 14px; top: -70px; z-index: 999;
  background: var(--navy); color: #fff; padding: 10px 15px; border-radius: 8px;
}
.skip-link:focus { top: 14px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(4,41,83,.08);
}
.nav-wrap { min-height: 84px; display: flex; align-items: center; gap: 28px; }
.brand { width: 290px; height: 62px; overflow: hidden; flex: 0 0 auto; }
.brand img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.primary-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; font-weight: 700; font-size: 15px; color: var(--navy); }
.primary-nav > a, .dropdown-trigger { position: relative; padding: 30px 0 28px; }
.primary-nav > a::after, .dropdown-trigger::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 21px; height: 2px; background: var(--teal); transition: .25s ease;
}
.primary-nav > a:hover::after, .dropdown-trigger:hover::after, .primary-nav a.active::after { right: 0; }
.nav-dropdown { position: relative; }
.dropdown-trigger span { margin-left: 4px; font-size: 12px; }
.dropdown-menu {
  position: absolute; left: -20px; top: 70px; width: 210px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 45px rgba(4,41,83,.13);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease;
}
.dropdown-menu a { display: block; padding: 10px 12px; border-radius: 9px; color: var(--ink); }
.dropdown-menu a:hover { background: var(--surface); color: var(--teal); }
.nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 13px 22px; border: 1px solid var(--teal); border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), #0a888c); color: #fff; font-weight: 800;
  box-shadow: 0 10px 24px rgba(9,121,125,.18); transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(9,121,125,.24); }
.btn-small { min-height: 44px; padding: 10px 16px; font-size: 14px; }
.btn-ghost { color: var(--navy); background: transparent; border-color: rgba(4,41,83,.18); box-shadow: none; }
.btn-ghost:hover { background: var(--white); border-color: var(--navy); box-shadow: 0 10px 24px rgba(4,41,83,.08); }
.header-cta { margin-left: 2px; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--navy); margin: 6px 0; transition: .2s ease; }

.hero {
  position: relative; overflow: hidden; min-height: 690px;
  background:
    radial-gradient(circle at 83% 18%, rgba(9,121,125,.12), transparent 24%),
    radial-gradient(circle at 4% 82%, rgba(193,147,68,.11), transparent 20%),
    linear-gradient(180deg, #fbfdfd 0%, #f3f8f8 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .23; pointer-events: none;
  background-image: linear-gradient(rgba(4,41,83,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(4,41,83,.06) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 85%);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; min-height: 650px; padding: 70px 0 92px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; color: var(--teal); text-transform: uppercase; letter-spacing: .13em; font-size: 12px; font-weight: 900; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.hero h1 { margin: 0; max-width: 760px; font-family: Georgia, "Times New Roman", serif; color: var(--navy); font-size: clamp(46px, 5vw, 72px); line-height: 1.04; letter-spacing: -.025em; font-weight: 700; }
.hero h1 span { color: var(--teal); }
.hero-lead { max-width: 680px; margin: 26px 0 30px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { margin-top: 38px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hero-points div { padding-left: 14px; border-left: 2px solid var(--gold); }
.hero-points strong, .hero-points span { display: block; }
.hero-points strong { color: var(--navy); font-size: 14px; }
.hero-points span { margin-top: 2px; color: var(--muted); font-size: 12px; }

.hero-visual { position: relative; min-height: 490px; }
.visual-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(9,121,125,.20); }
.orbit-one { width: 470px; height: 470px; right: -15px; top: 5px; }
.orbit-two { width: 350px; height: 350px; right: 48px; top: 64px; border-color: rgba(193,147,68,.22); }
.finance-card {
  position: absolute; z-index: 2; background: rgba(255,255,255,.96); border: 1px solid rgba(4,41,83,.09); box-shadow: var(--shadow); border-radius: 24px;
}
.main-card { width: 420px; right: 20px; top: 60px; padding: 26px; transform: rotate(-1.5deg); }
.card-heading, .metric-row, .card-footer { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.card-heading { color: var(--navy); font-weight: 800; }
.status-dot { padding: 6px 10px; border-radius: 999px; background: rgba(9,121,125,.10); color: var(--teal); font-size: 11px; }
.metric-row { margin: 25px 0 8px; }
.metric-row small, .floating-card small, .card-footer span { color: var(--muted); font-size: 11px; }
.metric-row strong { display: block; margin-top: 3px; color: var(--navy); font-size: 24px; }
.chart { position: relative; height: 175px; margin: 20px 0; display: flex; align-items: flex-end; gap: 13px; padding: 8px 5px 0; border-bottom: 1px solid var(--line); }
.chart > span { width: 35px; background: linear-gradient(to top, rgba(9,121,125,.86), rgba(9,121,125,.24)); border-radius: 8px 8px 0 0; }
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chart path { fill: none; stroke: var(--gold); stroke-width: 4; stroke-linecap: round; }
.card-footer strong { color: var(--teal); font-size: 13px; }
.floating-card { position: absolute; z-index: 3; min-width: 210px; padding: 14px 16px; display: flex; align-items: center; gap: 11px; background: #fff; border: 1px solid rgba(4,41,83,.09); border-radius: 16px; box-shadow: 0 18px 40px rgba(4,41,83,.13); }
.floating-card strong { display: block; color: var(--navy); font-size: 13px; }
.icon-round { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(9,121,125,.12); color: var(--teal); font-weight: 900; }
.icon-round.gold { background: rgba(193,147,68,.15); color: #a97928; }
.tax-card { left: -5px; top: 130px; }
.payroll-card { right: -2px; bottom: 58px; }
.hero-wave { position: absolute; bottom: -34px; left: -4%; width: 108%; height: 70px; background: var(--white); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }

.trust-strip { position: relative; z-index: 3; background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 24px 0 30px; color: var(--navy); font-size: 13px; font-weight: 700; }
.trust-grid div { display: flex; align-items: center; gap: 8px; }
.mini-icon { color: var(--teal); }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 82px; align-items: center; }
.about-visual { position: relative; }
.image-panel { padding: 18px; background: linear-gradient(145deg, var(--surface), #fff); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.image-panel svg { width: 100%; }
.svg-panel { fill: #fff; stroke: #d9e6e8; stroke-width: 2; }
.svg-muted { fill: #dce8eb; }
.svg-muted-light { fill: #edf3f4; }
.svg-navy { fill: var(--navy); }
.svg-teal { fill: var(--teal); }
.svg-gold { fill: var(--gold); }
.svg-fade { opacity: .75; }
.svg-line { fill: none; stroke: var(--gold); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.svg-circle { fill: rgba(9,121,125,.11); }
.svg-check { fill: none; stroke: var(--teal); stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
.experience-badge { position: absolute; right: -18px; bottom: 24px; padding: 18px 22px; background: var(--navy); color: white; border-radius: 16px; box-shadow: 0 18px 40px rgba(4,41,83,.25); }
.experience-badge strong, .experience-badge span { display: block; }
.experience-badge strong { color: #fff; font-family: Georgia, serif; font-size: 27px; }
.experience-badge span { color: rgba(255,255,255,.74); font-size: 12px; }
.section-copy h2, .section-heading h2, .cta-box h2, .contact-copy h2 { margin: 0; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px, 4vw, 52px); line-height: 1.12; letter-spacing: -.02em; }
.section-copy > p, .section-heading > p, .contact-copy > p { color: var(--muted); font-size: 16px; }
.check-list { display: grid; gap: 15px; margin: 28px 0; }
.check-list > div { display: flex; gap: 13px; }
.check-list span { flex: 0 0 27px; width: 27px; height: 27px; display: grid; place-items: center; margin-top: 3px; border-radius: 50%; background: rgba(9,121,125,.11); color: var(--teal); font-weight: 900; }
.check-list p { margin: 0; color: var(--muted); font-size: 14px; }
.check-list strong { color: var(--navy); }
.text-link { display: inline-flex; gap: 9px; color: var(--teal); font-weight: 800; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }

.services { background: var(--surface); }
.section-heading { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.section-heading .eyebrow { justify-content: center; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { position: relative; padding: 32px; background: #fff; border: 1px solid #dce7e9; border-radius: 20px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-7px); border-color: rgba(9,121,125,.28); box-shadow: 0 20px 45px rgba(4,41,83,.10); }
.service-card.featured { box-shadow: 0 20px 45px rgba(4,41,83,.09); }
.service-card.featured::before { content: "Popular for businesses"; position: absolute; top: -13px; right: 22px; background: var(--gold); color: #fff; padding: 5px 10px; border-radius: 999px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.service-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 26px; border-radius: 16px; background: linear-gradient(145deg, rgba(9,121,125,.12), rgba(4,41,83,.06)); }
.service-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--teal); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.service-number { position: absolute; right: 26px; top: 28px; color: rgba(4,41,83,.08); font-family: Georgia, serif; font-size: 38px; font-weight: 700; }
.service-card h3 { margin: 0 0 10px; color: var(--navy); font-family: Georgia, serif; font-size: 27px; }
.service-card p { min-height: 80px; margin: 0; color: var(--muted); font-size: 14px; }
.service-card ul { margin: 22px 0; padding: 0; list-style: none; display: grid; gap: 9px; color: #405469; font-size: 13px; }
.service-card li { position: relative; padding-left: 19px; }
.service-card li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 900; }
.service-card > a { color: var(--teal); font-size: 13px; font-weight: 800; }
.service-card > a span { margin-left: 4px; }

.process { background: #fff; }
.process-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.steps { display: grid; gap: 18px; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.step > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--navy); color: #fff; font-family: Georgia, serif; font-size: 21px; }
.step h3 { margin: 0 0 5px; color: var(--navy); font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

.cta-section { padding: 0 0 100px; }
.cta-box { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 52px 58px; border-radius: 28px; background: linear-gradient(120deg, var(--navy), #07545e); color: #fff; box-shadow: 0 24px 60px rgba(4,41,83,.22); }
.cta-box::after { content: ""; position: absolute; width: 280px; height: 280px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; right: -70px; top: -100px; box-shadow: 0 0 0 50px rgba(255,255,255,.04), 0 0 0 100px rgba(255,255,255,.025); }
.cta-box > * { position: relative; z-index: 2; }
.cta-box h2 { max-width: 720px; color: #fff; font-size: clamp(32px, 3.4vw, 46px); }
.eyebrow.light { color: #d8f3f2; }
.btn-light { flex: 0 0 auto; color: var(--navy); background: #fff; border-color: #fff; box-shadow: none; }
.btn-light:hover { background: #f6fbfb; }

.contact { background: var(--surface); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.contact-details { display: grid; gap: 16px; margin-top: 30px; }
.contact-item { display: flex; align-items: center; gap: 13px; }
.contact-icon { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border-radius: 13px; background: #fff; border: 1px solid var(--line); }
.contact-icon svg { width: 22px; fill: none; stroke: var(--teal); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-item small, .contact-item strong { display: block; }
.contact-item small { color: var(--muted); font-size: 11px; }
.contact-item strong { color: var(--navy); font-size: 14px; }
.contact-form { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 20px 50px rgba(4,41,83,.08); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; margin-bottom: 16px; color: var(--navy); font-size: 13px; font-weight: 800; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; margin-top: 7px; padding: 13px 14px; border: 1px solid #d6e0e3; border-radius: 9px; background: #fbfdfd; color: var(--ink); outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(9,121,125,.10); }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: 11px; }
.form-note.ready { color: var(--teal); font-weight: 700; }

.site-footer { background: #062442; color: rgba(255,255,255,.74); }
.footer-grid { display: grid; grid-template-columns: 1.7fr .7fr .8fr; gap: 70px; padding: 62px 0 44px; }
.footer-brand img { width: 300px; height: 72px; object-fit: cover; object-position: center; filter: brightness(0) invert(1); opacity: .96; }
.footer-brand p { max-width: 420px; font-size: 13px; }
.footer-links { display: grid; align-content: start; gap: 8px; font-size: 13px; }
.footer-links strong { margin-bottom: 7px; color: #fff; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0 24px; border-top: 1px solid rgba(255,255,255,.10); font-size: 11px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1050px) {
  .header-cta { display: none; }
  .brand { width: 250px; }
  .hero-grid { gap: 35px; }
  .main-card { width: 370px; }
  .service-card { padding: 28px 24px; }
}

@media (max-width: 860px) {
  .section { padding: 82px 0; }
  .nav-wrap { min-height: 74px; }
  .brand { width: 245px; height: 58px; }
  .menu-toggle { display: block; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .primary-nav {
    position: absolute; left: 20px; right: 20px; top: 74px; display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 45px rgba(4,41,83,.15);
  }
  .primary-nav.open { display: flex; }
  .primary-nav > a, .dropdown-trigger { display: block; padding: 12px 13px; border-radius: 8px; }
  .primary-nav > a:hover, .dropdown-trigger:hover { background: var(--surface); }
  .primary-nav > a::after, .dropdown-trigger::after { display: none; }
  .nav-dropdown { width: 100%; }
  .dropdown-menu { position: static; width: auto; padding: 0 8px 4px 18px; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: grid; gap: 2px; }
  .dropdown-menu a { font-weight: 600; font-size: 13px; }
  .hero-grid, .about-grid, .process-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 60px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { width: min(620px, 100%); min-height: 510px; margin: 0 auto; }
  .main-card { width: min(430px, calc(100% - 80px)); right: 25px; }
  .tax-card { left: 10px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card p { min-height: auto; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { gap: 50px; }
  .process-grid { gap: 38px; }
  .cta-box { padding: 44px; align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 35px; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 68px 0; }
  .brand { width: 220px; height: 54px; }
  .hero-grid { min-height: auto; padding: 52px 0 72px; }
  .hero h1 { font-size: 43px; }
  .hero-lead { font-size: 16px; }
  .hero-points { grid-template-columns: 1fr; gap: 12px; }
  .hero-visual { min-height: 430px; }
  .orbit-one { width: 390px; height: 390px; right: -38px; }
  .orbit-two { width: 300px; height: 300px; }
  .main-card { width: calc(100% - 30px); right: 0; top: 56px; padding: 20px; }
  .metric-row strong { font-size: 20px; }
  .chart { height: 145px; gap: 9px; }
  .chart > span { width: 27px; }
  .floating-card { min-width: 180px; padding: 11px 12px; }
  .tax-card { left: -1px; top: 22px; }
  .payroll-card { right: -2px; bottom: 6px; }
  .trust-grid { grid-template-columns: 1fr; padding-top: 14px; }
  .about-grid { gap: 34px; }
  .experience-badge { right: 8px; bottom: -18px; }
  .section-copy h2, .section-heading h2, .contact-copy h2 { font-size: 37px; }
  .service-card { padding: 27px 24px; }
  .cta-section { padding-bottom: 68px; }
  .cta-box { padding: 34px 26px; border-radius: 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px 19px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}
