/* =========================================================
   Accurate Accounting — main stylesheet
   Brand palette: #3BD926 · #FFFFFF · #212121 · #097969 · #C3B1E1
   ========================================================= */

:root {
  --green: #3BD926;
  --green-dark: #2bb31a;
  --white: #FFFFFF;
  --ink: #212121;
  --teal: #097969;
  --teal-dark: #065a4f;
  --teal-deep: #043f38;
  --lavender: #C3B1E1;
  --lav-soft: #f5f1fb;
  --lav-mid: #e7def4;
  --muted: #555a5f;
  --line: #e4e0ea;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(33, 33, 33, .08);
  --shadow-lg: 0 20px 50px rgba(9, 121, 105, .18);

  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --container: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6em; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -.015em; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.08rem; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.2em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.18rem; color: var(--muted); }
.muted { color: var(--muted); }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 2rem; }
.hl { color: var(--green); }
.hl-teal { color: var(--teal); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ic-sm { width: 18px; height: 18px; }
.ic-lg { width: 32px; height: 32px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.6em; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1;
  cursor: pointer; transition: all .2s ease; white-space: nowrap;
}
.btn .ic { width: 18px; height: 18px; }
.btn-primary { background: var(--green); color: var(--ink); }
.btn-primary:hover { background: var(--green-dark); color: var(--ink); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(59, 217, 38, .35); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-dark); color: var(--white); transform: translateY(-2px); }
.btn-outline { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn-outline:hover { background: var(--teal); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--teal); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-family: var(--font-head); }
.link-arrow .ic { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(4px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-head); font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal); background: var(--lav-soft); padding: .45em 1em; border-radius: 999px; margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.on-dark .eyebrow, .eyebrow.light { background: rgba(255,255,255,.12); color: var(--white); }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #d9d9d9; font-size: .88rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; }
.topbar a { color: #eaeaea; display: inline-flex; align-items: center; gap: .45em; }
.topbar a:hover { color: var(--green); }
.topbar .ic { width: 16px; height: 16px; color: var(--green); }
.topbar-links { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-tag { color: var(--lavender); }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(33,33,33,.08); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--ink); letter-spacing: -.02em; line-height: 1; flex-shrink: 0; white-space: nowrap; }
.logo-text { display: flex; flex-direction: column; justify-content: center; }
.logo-name { display: block; line-height: 1.05; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 42px; height: 42px; border-radius: 12px; background: var(--teal); display: grid; place-items: center; position: relative; }
.logo-mark svg { width: 26px; height: 26px; stroke: var(--green); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.logo-mark::after { content: ""; position: absolute; right: -4px; bottom: -4px; width: 14px; height: 14px; border-radius: 50%; background: var(--lavender); border: 3px solid var(--white); }
.logo span b { color: var(--teal); font-weight: 800; }
.logo small { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 5px; line-height: 1; }

.main-nav > ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a, .main-nav > ul > li > button {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 11px; border-radius: 10px;
  font-family: var(--font-head); font-weight: 500; font-size: .98rem; color: var(--ink);
  background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.main-nav > ul > li > a:hover, .main-nav > ul > li > button:hover, .main-nav li.open > button { color: var(--teal); background: var(--lav-soft); }
.main-nav a.active { color: var(--teal); }
.main-nav .chev { width: 16px; height: 16px; transition: transform .2s; }
.main-nav li.open > button .chev { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 8px);
  width: 820px; background: var(--white); border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(33,33,33,.16);
  border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 0;
  opacity: 0; visibility: hidden; transition: all .22s ease; overflow: hidden;
}
.mega::before { content: ""; position: absolute; top: -30px; left: 0; right: 0; height: 30px; }
/* Anchor dropdowns to the header row (not the menu item) so they never spill off-screen */
.nav-wrap { position: relative; }
.main-nav > ul > li.has-mega { position: static; }
.main-nav .mega { top: calc(100% - 4px); }
.main-nav li.has-mega:hover .mega, .main-nav li.open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-col { padding: 26px 22px; }
.mega-col h5 { font-family: var(--font-head); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col li a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--ink); font-size: .95rem; font-weight: 500; }
.mega-col li a .ic { width: 18px; height: 18px; color: var(--teal); }
.mega-col li a:hover { background: var(--lav-soft); color: var(--teal); }
.mega-aside { background: linear-gradient(160deg, var(--teal), var(--teal-deep)); color: var(--white); padding: 28px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.mega-aside h5 { color: var(--lavender); }
.mega-aside p { font-size: .93rem; line-height: 1.6; margin: 0; color: #e6f3f1; }
.mega-aside strong { color: var(--green); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-mobile-cta { display: none; }
.nav-toggle { display: none; background: var(--lav-soft); border: 0; border-radius: 10px; width: 46px; height: 46px; cursor: pointer; color: var(--ink); align-items: center; justify-content: center; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; background: var(--teal); color: var(--white); overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(195,177,225,.45), transparent 65%); right: -160px; top: -220px; }
.hero::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(59,217,38,.25), transparent 65%); left: -140px; bottom: -200px; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; padding-top: 90px; padding-bottom: 100px; }
.hero h1 { color: var(--white); }
.hero .lead { color: #d8efeb; }
.hero-badges { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; font-size: .92rem; color: #d8efeb; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges .ic { color: var(--green); width: 20px; height: 20px; }
.hero-card { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: 30px; box-shadow: 0 30px 70px rgba(0,0,0,.25); position: relative; }
.hero-card h3 { margin-bottom: .3em; }
.hero-card .mini-stat { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.hero-card .mini-stat:last-of-type { border-bottom: 0; }
.hero-card .mini-stat .icon-badge { width: 46px; height: 46px; }
.hero-card .mini-stat b { font-family: var(--font-head); font-size: 1.05rem; display: block; line-height: 1.3; }
.hero-card .mini-stat small { color: var(--muted); font-size: .88rem; }
.hero-card .float-tag { position: absolute; top: -18px; right: 24px; background: var(--green); color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: .85rem; padding: 8px 16px; border-radius: 999px; box-shadow: 0 8px 20px rgba(59,217,38,.35); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%); color: var(--white); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(195,177,225,.4), transparent 65%); right: -120px; top: -180px; }
.page-hero .container { position: relative; z-index: 1; padding-top: 70px; padding-bottom: 76px; }
.page-hero h1 { color: var(--white); max-width: 900px; }
.page-hero .lead { color: #d8efeb; max-width: 760px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; margin-bottom: 18px; color: var(--lavender); list-style: none; padding: 0; }
.breadcrumb a { color: #e6f3f1; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .6; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.section--soft { background: var(--lav-soft); }
.section--teal { background: var(--teal); color: var(--white); }
.section--teal h2, .section--teal h3, .section--teal h4 { color: var(--white); }
.section--dark { background: var(--ink); color: #e5e5e5; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section-head { max-width: 760px; margin-bottom: 50px; }
.section-head.center { margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.top { align-items: start; }
/* Let grid children shrink so wide tables scroll inside .table-wrap instead of widening the page */
.grid > *, .split > *, .article-layout > * { min-width: 0; }

/* ---------- Cards ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: all .25s ease; position: relative; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--lavender); }
.card h3 { font-size: 1.2rem; }
.card p:last-child { margin-bottom: 0; }
.card .link-arrow { margin-top: 6px; }
.card-teal { background: var(--teal); border-color: var(--teal); color: #e6f3f1; }
.card-teal h3 { color: var(--white); }
.card-lav { background: var(--lav-soft); border-color: var(--lav-mid); }
.icon-badge { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--lav-soft); color: var(--teal); margin-bottom: 18px; }
.icon-badge.green { background: rgba(59,217,38,.14); color: #1f8f12; }
.icon-badge.teal { background: var(--teal); color: var(--green); }
.card-teal .icon-badge { background: rgba(255,255,255,.12); color: var(--green); }

.service-card { display: flex; flex-direction: column; }
.service-card p { flex: 1; }

.feature-panel { background: var(--white); border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow); border-top: 6px solid var(--green); }

/* Check list */
.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.check-list li { position: relative; padding-left: 36px; margin-bottom: 12px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23212121' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.check-list.two-col { columns: 2; column-gap: 40px; }
.check-list.two-col li { break-inside: avoid; }

/* Numbered steps */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step { position: relative; padding: 26px 26px 26px 88px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 24px; top: 24px; width: 46px; height: 46px; border-radius: 12px; background: var(--teal); color: var(--green); font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; }
.step h3 { font-size: 1.15rem; margin-bottom: .3em; }
.step p { margin: 0; color: var(--muted); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 26px 16px; border-radius: var(--radius); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.stat b { display: block; font-family: var(--font-head); font-size: 2.6rem; color: var(--green); line-height: 1.1; }
.stat span { font-size: .95rem; color: #d8efeb; }

/* Values */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { background: var(--white); border-radius: var(--radius); padding: 28px; border-left: 5px solid var(--lavender); box-shadow: 0 4px 14px rgba(33,33,33,.04); }
.value:nth-child(even) { border-left-color: var(--green); }
.value h3 { font-size: 1.12rem; display: flex; align-items: center; gap: 10px; }
.value h3 .ic { color: var(--teal); }
.value p { margin: 0; color: var(--muted); font-size: .97rem; }

/* Testimonials */
.testimonial { background: var(--white); border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.testimonial .stars { color: #f5b300; display: flex; gap: 2px; }
.testimonial .stars .ic { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.testimonial blockquote { margin: 0; font-size: 1.02rem; flex: 1; }
.testimonial cite { font-style: normal; display: flex; align-items: center; gap: 12px; font-size: .92rem; color: var(--muted); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--lavender); color: var(--ink); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; flex-shrink: 0; }
.testimonial cite b { display: block; color: var(--ink); font-family: var(--font-head); }

/* Story / case study cards */
.story-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: all .25s; }
.story-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.story-top { background: linear-gradient(135deg, var(--teal), var(--teal-deep)); color: var(--white); padding: 26px; position: relative; }
.story-top .result { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; color: var(--green); line-height: 1.1; }
.story-top small { color: var(--lavender); text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; }
.story-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.story-body h3 { font-size: 1.12rem; }
.story-body p { color: var(--muted); font-size: .97rem; flex: 1; }

/* Sector cards */
.sector-card { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); color: var(--ink); font-family: var(--font-head); font-weight: 600; transition: all .2s; }
.sector-card .icon-badge { margin: 0; width: 48px; height: 48px; }
.sector-card:hover { border-color: var(--teal); color: var(--teal); box-shadow: var(--shadow); transform: translateY(-3px); }
.sector-card .ic.arrow { margin-left: auto; width: 18px; height: 18px; color: var(--muted); }

/* News cards */
.news-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: all .25s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-thumb { aspect-ratio: 16/9; display: grid; place-items: center; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--lavender), var(--lav-soft)); color: var(--teal); }
.news-thumb .ic { width: 56px; height: 56px; stroke-width: 1.4; }
.news-thumb.t2 { background: linear-gradient(135deg, var(--teal), var(--teal-deep)); color: var(--green); }
.news-thumb.t3 { background: linear-gradient(135deg, #cdf7c6, var(--green)); color: var(--teal-deep); }
.news-thumb .tag { position: absolute; top: 14px; left: 14px; background: var(--white); color: var(--teal); font-size: .75rem; font-weight: 700; font-family: var(--font-head); padding: 5px 12px; border-radius: 999px; letter-spacing: .04em; }
.news-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.news-body .date { font-size: .84rem; color: var(--muted); margin-bottom: 8px; }
.news-body h3 { font-size: 1.12rem; }
.news-body h3 a { color: var(--ink); }
.news-body h3 a:hover { color: var(--teal); }
.news-body p { color: var(--muted); font-size: .96rem; flex: 1; }

/* Q&A library */
.qa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.qa-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; gap: 14px; align-items: flex-start; }
.qa-item .icon-badge { width: 42px; height: 42px; margin: 0; border-radius: 10px; flex-shrink: 0; }
.qa-item .icon-badge .ic { width: 20px; height: 20px; }
.qa-item h4 { font-size: 1rem; margin-bottom: .35em; }
.qa-item p { font-size: .92rem; color: var(--muted); margin: 0; line-height: 1.55; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-bar button { border: 1px solid var(--line); background: var(--white); padding: 8px 18px; border-radius: 999px; font-family: var(--font-head); font-weight: 500; cursor: pointer; color: var(--ink); }
.filter-bar button.active, .filter-bar button:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }

/* FAQ */
.faq { display: grid; gap: 14px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; transition: border-color .2s; }
.faq details[open] { border-color: var(--teal); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--lav-soft); color: var(--teal); display: grid; place-items: center; font-size: 1.3rem; line-height: 1; transition: all .2s; }
.faq details[open] summary::after { content: "–"; background: var(--green); color: var(--ink); }
.faq details > div { padding: 0 0 20px; color: var(--muted); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--teal-deep), var(--teal)); border-radius: var(--radius-lg); padding: 56px; display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; color: var(--white); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(59,217,38,.35), transparent 65%); }
.cta-band h2 { color: var(--white); margin-bottom: .3em; }
.cta-band p { color: #d8efeb; margin: 0; }
.cta-band .btn-row { position: relative; z-index: 1; }

/* Article / prose */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.7rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.5em; }
.prose p, .prose li { color: #333; }
.prose blockquote { margin: 1.6em 0; padding: 20px 26px; background: var(--lav-soft); border-left: 5px solid var(--teal); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.06rem; }
.callout { background: var(--lav-soft); border: 1px solid var(--lav-mid); border-radius: var(--radius); padding: 24px 26px; margin: 1.6em 0; }
.callout.green { background: rgba(59,217,38,.1); border-color: rgba(59,217,38,.35); }
.callout h4 { margin-bottom: .4em; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 60px; align-items: start; }
.sidebar { position: sticky; top: 110px; display: grid; gap: 22px; }
.sidebar .card:hover { transform: none; }
.article-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: .9rem; color: var(--lavender); margin-top: 10px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta .ic { width: 16px; height: 16px; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 0 0 2em; border-radius: var(--radius); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 520px; }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); }
thead th { background: var(--teal); color: var(--white); font-family: var(--font-head); font-weight: 600; }
tbody tr:nth-child(even) { background: var(--lav-soft); }
tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; }
.toc { display: flex; flex-wrap: wrap; gap: 10px; }
.toc a { padding: 8px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .9rem; color: var(--ink); font-weight: 500; }
.toc a:hover { border-color: var(--teal); color: var(--teal); }

/* Team */
.team-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; text-align: center; transition: all .25s; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-photo { width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 18px; background: linear-gradient(135deg, var(--lavender), var(--teal)); display: grid; place-items: center; color: var(--white); font-family: var(--font-head); font-size: 2rem; font-weight: 700; border: 5px solid var(--lav-soft); }
.team-card h3 { font-size: 1.1rem; margin-bottom: .2em; }
.team-card .role { color: var(--teal); font-weight: 600; font-size: .92rem; }
.team-card .quals { display: block; font-size: .82rem; color: var(--muted); margin-top: 4px; }

/* Events */
.event { display: grid; grid-template-columns: 110px 1fr auto; gap: 26px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.event-date { background: var(--teal); color: var(--white); border-radius: 12px; text-align: center; padding: 14px 8px; font-family: var(--font-head); }
.event-date b { display: block; font-size: 2rem; line-height: 1; color: var(--green); }
.event-date span { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.event h3 { font-size: 1.2rem; margin-bottom: .3em; }
.event .meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: .9rem; color: var(--muted); }
.event .meta span { display: inline-flex; gap: 6px; align-items: center; }
.event .meta .ic { width: 16px; height: 16px; color: var(--teal); }

/* Forms */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .92rem; margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: .98rem; background: var(--white); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(9,121,105,.12); }
.form textarea { min-height: 140px; resize: vertical; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.form .consent input { width: auto; margin-top: 5px; }
.form-success { display: none; background: rgba(59,217,38,.12); border: 1px solid var(--green); border-radius: 12px; padding: 16px 20px; font-weight: 500; }
.form-success.show { display: block; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.contact-item .icon-badge { margin: 0; width: 50px; height: 50px; }
.contact-item b { font-family: var(--font-head); display: block; }
.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; background: linear-gradient(135deg, var(--lav-soft), var(--lav-mid)); display: grid; place-items: center; color: var(--teal); text-align: center; padding: 20px; }

.map-embed { padding: 0; display: block; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Pills / tags */
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.pill-list li { background: var(--white); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; font-size: .92rem; font-weight: 500; }
.section--teal .pill-list li { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: var(--white); }

/* Visual blocks (illustrations without images) */
.visual { border-radius: var(--radius-lg); background: linear-gradient(145deg, var(--lav-soft), var(--lav-mid)); padding: 40px; position: relative; overflow: hidden; min-height: 360px; display: grid; place-items: center; }
.visual::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: var(--lavender); opacity: .5; top: -60px; right: -60px; }
.visual::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: var(--green); opacity: .25; bottom: -40px; left: -30px; }
.visual-card { position: relative; z-index: 1; background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-lg); width: 100%; max-width: 360px; }
.visual-card .bar { height: 10px; border-radius: 999px; background: var(--lav-mid); margin: 8px 0 16px; overflow: hidden; }
.visual-card .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--green)); border-radius: 999px; }
.visual-card .row { display: flex; justify-content: space-between; font-size: .9rem; }
.visual-card .row b { font-family: var(--font-head); }
.visual-card .big { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: var(--teal); line-height: 1.1; }
.chart-bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; margin: 16px 0 6px; }
.chart-bars i { flex: 1; background: var(--lav-mid); border-radius: 6px 6px 0 0; }
.chart-bars i.on { background: linear-gradient(180deg, var(--green), var(--teal)); }

/* Site map */
.sitemap-cols { columns: 3; column-gap: 40px; }
.sitemap-cols > div { break-inside: avoid; margin-bottom: 30px; }
.sitemap-cols ul { list-style: none; padding: 0; }
.sitemap-cols li { padding: 5px 0; border-bottom: 1px dashed var(--line); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #bdbdbd; font-size: .95rem; position: relative; }
.footer-top { border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-top .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 44px; padding-bottom: 44px; flex-wrap: wrap; }
.footer-top h3 { color: var(--white); margin: 0; font-size: 1.6rem; }
.footer-top p { margin: 4px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr 1.3fr; gap: 36px; padding-top: 60px; padding-bottom: 50px; }
.site-footer .logo { color: var(--white); }
.site-footer .logo small { color: #9a9a9a; }
.site-footer .logo-mark::after { border-color: var(--ink); }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; border-radius: 3px; background: var(--green); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #cfcfcf; }
.site-footer a:hover { color: var(--green); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ic { width: 18px; height: 18px; color: var(--green); margin-top: 4px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: .85rem; }
.socials a:hover { background: var(--green); color: var(--ink); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: .86rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }

.back-to-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: var(--ink); border: 0; display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 24px rgba(0,0,0,.2); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; z-index: 90; }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .mega { width: 640px; }
}
/* Medium laptops: drop the header CTA button (it's also in the top bar) so the logo never gets squeezed */
@media (max-width: 1320px) {
  .nav-cta .btn { display: none; }
}
@media (max-width: 1180px) {
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); background: var(--white); padding: 90px 20px 30px; overflow-y: auto; transform: translateX(100%); transition: transform .3s ease; box-shadow: -20px 0 60px rgba(0,0,0,.15); z-index: 120; }
  body.nav-open .main-nav { transform: none; }
  body.nav-open .site-header { z-index: 130; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(33,33,33,.45); z-index: 110; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav > ul > li > a, .main-nav > ul > li > button { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.05rem; }
  .mega { position: static; transform: none; width: auto; display: none; grid-template-columns: 1fr; opacity: 1; visibility: visible; box-shadow: none; border: 0; border-radius: 0; }
  .main-nav li.has-mega:hover .mega { transform: none; }
  .main-nav li.open .mega { display: grid; transform: none; }
  .mega-col { padding: 6px 8px 10px 16px; }
  .mega-aside { display: none; }
  .nav-toggle { display: inline-flex; position: relative; z-index: 130; }
  .nav-mobile-cta { display: grid; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
  .nav-mobile-cta .btn { justify-content: center; }
  .mega-col li a { padding: 10px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 980px) {
  .nav-cta .btn { display: none; }
  .hero .container, .split, .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .grid-3, .grid-4, .values-grid, .qa-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; padding: 40px 30px; }
  .sitemap-cols { columns: 2; }
  .topbar-tag { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4, .values-grid, .qa-grid, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .check-list.two-col { columns: 1; }
  .event { grid-template-columns: 80px 1fr; }
  .event .btn { grid-column: 1 / -1; justify-content: center; }
  .feature-panel { padding: 28px; }
  .sitemap-cols { columns: 1; }
  .topbar .container { justify-content: center; }
  .topbar-links a:nth-child(2) { display: none; }
  .hero .container { padding-top: 60px; padding-bottom: 70px; }
  .step { padding: 80px 22px 22px; }

  /* Phones: tighter spacing, full-width actions, compact header */
  .container { padding: 0 16px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .lead { font-size: 1.05rem; }
  .section-head { margin-bottom: 32px; }
  .topbar .container { min-height: 36px; }
  .topbar-links { gap: 14px; font-size: .82rem; }
  .topbar-links a:nth-child(3) { display: none; }
  .nav-wrap { min-height: 68px; }
  .logo { font-size: 1.15rem; gap: 8px; }
  .logo-mark { width: 36px; height: 36px; border-radius: 10px; }
  .logo-mark svg { width: 22px; height: 22px; }
  .logo small { display: none; }
  .btn-row .btn { flex: 1 1 100%; justify-content: center; }
  .hero-card { padding: 24px 20px; }
  .hero-badges { gap: 12px 18px; margin-top: 24px; }
  .page-hero .container { padding-top: 48px; padding-bottom: 52px; }
  .card, .testimonial { padding: 24px; }
  .visual { padding: 24px; min-height: 0; }
  .cta-band { padding: 32px 22px; border-radius: var(--radius); }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 20px 10px; }
  .stat b { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 44px; }
  .footer-top .container { padding-top: 34px; padding-bottom: 34px; }
  .footer-top h3 { font-size: 1.3rem; }
  .footer-bottom .container { flex-direction: column; text-align: center; align-items: center; }
  .filter-bar { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .filter-bar button { flex-shrink: 0; }
  .toc { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .toc a { flex-shrink: 0; }
  th, td { padding: 11px 12px; }
  table { font-size: .9rem; min-width: 460px; }
  .faq details { padding: 0 18px; }
  .faq summary { font-size: 1rem; }
  .back-to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
  .mega-col li a { font-size: 1rem; }
}
@media (max-width: 380px) {
  .topbar-links a:nth-child(2) { display: none; }
  .stats { grid-template-columns: 1fr; }
}
