/* Digital Accounting Solution — site styles */
:root {
  --navy: #14294a;
  --navy-2: #1d3a63;
  --brand: #3d6290;
  --brand-soft: #e9eff7;
  --accent: #e0a23a;
  --accent-dark: #c4861f;
  --ink: #1b2433;
  --muted: #5a6577;
  --line: #e2e7ef;
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --ok: #2f8f6b;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 41, 74, .08);
  --max: 1160px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: .8em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.4em; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: .2s ease; font-size: .98rem; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--accent); color: var(--navy); }
.btn-primary:hover { background: var(--accent-dark); color: var(--navy); }
.btn-outline { border-color: currentColor; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-ghost { border-color: var(--brand); color: var(--brand); }
.btn-ghost:hover { background: var(--brand); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Top bar + header */
.topbar { background: var(--navy); color: #cfd9e8; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar span + span { margin-left: 18px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand svg { width: 46px; height: 46px; flex: none; }
.brand-name { font-weight: 800; font-size: 1.06rem; line-height: 1.1; display: block; }
.brand-tag { font-size: .74rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav li { position: relative; }
.nav a, .nav .nav-parent { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: 8px; background: none; border: 0; font-family: inherit; cursor: pointer; }
.nav a:hover, .nav .nav-parent:hover, .nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.nav .nav-parent::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-left: 8px; position: relative; top: -3px; }
.dropdown { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); display: none; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: block; }
.dropdown a { font-weight: 500; }
.nav .btn { margin-left: 10px; padding: .7em 1.2em; }
.nav a.btn-primary, .nav a.btn-primary:hover { background: var(--accent); color: var(--navy); border-radius: 999px; font-weight: 700; }
.nav a.btn-primary:hover { background: var(--accent-dark); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #2c5286 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #e6edf7; padding: 84px 0 96px; position: relative; overflow: hidden; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero .lead { color: #c8d4e6; }
.hero .eyebrow { color: var(--accent); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center; }
.hero-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 28px; }
.hero-card h2 { color: #fff; font-size: 1.25rem; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding-left: 30px; position: relative; margin-bottom: .55em; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; font-size: .92rem; color: #c8d4e6; }
.hero-meta strong { color: #fff; display: block; font-size: 1.05rem; }

.page-hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #c8d4e6; padding: 56px 0 60px; }
.page-hero h1 { color: #fff; max-width: 24ch; }
.page-hero .lead { color: #c8d4e6; }
.crumbs { font-size: .85rem; margin-bottom: 18px; color: #9fb2cc; }
.crumbs a { color: #cfdcef; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: #fff; }
.crumbs span { margin: 0 6px; }

/* Sections */
section { padding: 80px 0; }
.alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: .2s ease; }
a.card { text-decoration: none; color: var(--ink); display: block; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cdd7e6; }
.card p { color: var(--muted); margin-bottom: .6em; }
.card .more { font-weight: 700; color: var(--brand); font-size: .93rem; }
.icon { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.3em; }
.prose ul li { margin-bottom: .4em; }
.aside { position: sticky; top: 100px; }
.aside .card + .card { margin-top: 18px; }
.cta-card { background: var(--navy); color: #c8d4e6; border: 0; }
.cta-card h3 { color: #fff; }
.cta-card p { color: #c8d4e6; }
.cta-card a:not(.btn) { color: #fff; }
.note { background: var(--brand-soft); border-left: 4px solid var(--brand); padding: 16px 20px; border-radius: 8px; font-size: .95rem; }
.disclaimer { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 30px; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 64px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; }

/* Badges */
.badges { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 36px 48px; }
.badges img { height: 76px; width: auto; object-fit: contain; filter: grayscale(.15); }
.badge-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; padding: 0; list-style: none; }
.badge-list li { background: var(--brand-soft); color: var(--navy); font-size: .8rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; }

/* Team */
.team-card { display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: start; }
.team-card img { border-radius: 12px; aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.team-card .initials { aspect-ratio: 3/4; border-radius: 12px; background: linear-gradient(160deg, var(--brand-soft), #d7e2f1); display: grid; place-items: center; font-size: 3rem; font-weight: 800; color: var(--brand); }
.role { color: var(--brand); font-weight: 700; margin-top: -.4em; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 18px 30px 18px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.5rem; color: var(--brand); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding-bottom: 18px; color: var(--muted); }

/* Offices */
.office h3 { margin-bottom: .3em; }
.office address { font-style: normal; color: var(--muted); margin-bottom: 12px; }
.office .map { border: 0; width: 100%; height: 240px; border-radius: 12px; margin-top: 14px; background: var(--bg-alt); }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours td { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; color: var(--muted); }

/* Forms */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { font-weight: 600; font-size: .92rem; display: block; margin-bottom: 6px; color: var(--navy); }
.form input, .form select, .form textarea { width: 100%; padding: 13px 14px; border: 1px solid #cfd8e5; border-radius: 10px; font: inherit; font-size: 1rem; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(61,98,144,.25); border-color: var(--brand); }
.form textarea { min-height: 140px; resize: vertical; }
.form .hp { position: absolute; left: -5000px; }
.form small { color: var(--muted); }

/* Blog */
.post-meta { color: #9fb2cc; font-size: .92rem; }
.post-card h3 { margin-top: .4em; }
.post-card time { font-size: .85rem; color: var(--muted); }
.article { max-width: 760px; }

/* Resources */
[id] { scroll-margin-top: 96px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { padding: 8px 16px; border-radius: 999px; background: var(--brand-soft); color: var(--navy); font-weight: 600; font-size: .92rem; text-decoration: none; }
.chips a:hover { background: var(--brand); color: #fff; }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list li:last-child { border-bottom: 0; }
.link-list a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; text-decoration: none; font-weight: 500; }
.link-list a::after { content: "↗"; color: var(--muted); flex: none; }
.link-list a:hover { color: var(--navy); text-decoration: underline; }
.dates { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.dates th, .dates td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dates th { background: var(--navy); color: #fff; font-size: .9rem; }
.dates td:first-child { font-weight: 700; color: var(--navy); white-space: nowrap; }
.dates tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) { .dates td:first-child { white-space: normal; } .dates th, .dates td { padding: 12px; } }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--brand) 0%, var(--navy) 100%); color: #dbe5f2; padding: 64px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; }

/* Footer */
.site-footer { background: #0e1f39; color: #a9b8cd; font-size: .93rem; padding: 64px 0 28px; }
.site-footer h2 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1em; }
.site-footer a { color: #dbe5f2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5em; }
.site-footer address { font-style: normal; margin-bottom: 1em; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .84rem; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand-tag { color: #a9b8cd; }

.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); z-index: 40; }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Responsive */
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 74px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 20px 40px; overflow-y: auto; display: none; }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav a, .nav .nav-parent { padding: 14px 8px; font-size: 1.05rem; width: 100%; text-align: left; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .nav-parent::after { display: none; }
  .dropdown { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .nav .btn { margin: 20px 0 0; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .aside { position: static; }
  section { padding: 60px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .g2, .g3, .g4, .form .row, .footer-grid { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 1fr; }
  .team-card img, .team-card .initials { max-width: 220px; }
  .hero { padding: 56px 0 64px; }
  .topbar .hide-sm { display: none; }
  .badges img { height: 58px; }
  .brand-tag { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
