/* Prowortex design system. Same visual language as Lead Engine: Plus Jakarta Sans, deep emerald, calm off-white. */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --accent: #0b6e4f;
  --accent-dark: #08543c;
  --accent-soft: rgba(11, 110, 79, 0.08);
  --accent-soft-2: rgba(11, 110, 79, 0.14);
  --bg: #fafbf9;
  --card: #ffffff;
  --ink: #15181c;
  --muted: #676d66;
  --line: rgba(21, 24, 28, 0.1);
  --line-strong: rgba(21, 24, 28, 0.2);
  --warn: #8a5a12;
  --warn-bg: #fbf1de;
  --danger: #9b1c1c;
  --danger-bg: #fdf0f0;
  --ok-bg: #e9f6ef;
  --side: #14181b;
  --side-text: #c9cfc8;
  --side-label: #8e958d;

  --font: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  --step-3: clamp(2.2rem, 1.5rem + 3vw, 3.9rem);

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: clamp(3rem, 2rem + 4vw, 5.5rem);
  --radius: 12px;
  --radius-lg: 18px;
  --measure: 38rem;
  --container: 72rem;
  --shadow: 0 1px 2px rgba(21, 24, 28, 0.04), 0 8px 24px rgba(21, 24, 28, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--step-0)/1.65 var(--font); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { line-height: 1.12; margin: 0 0 var(--space-2); letter-spacing: -0.025em; font-weight: 800; }
h1 { font-size: var(--step-3); letter-spacing: -0.035em; }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); letter-spacing: -0.015em; font-weight: 700; }
p { margin: 0 0 var(--space-2); max-width: var(--measure); }
.lede { font-size: 1.15rem; color: var(--muted); }
.eyebrow { font-size: var(--step--1); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 0 0 var(--space-1); }
.eyebrow a { text-decoration: none; }
.pill { display: inline-block; padding: 0.4rem 0.9rem; border-radius: 8px; background: var(--accent-soft-2); color: var(--accent-dark); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 var(--space-3); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-2); }
.section { padding: var(--space-5) 0; }
.section--tint { background: var(--accent-soft); }
.section--line { border-top: 1px solid var(--line); }
.stack > * + * { margin-top: var(--space-2); }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff; padding: 0.75rem 1rem; z-index: 100; }
.skip-link:focus { left: var(--space-1); top: var(--space-1); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0.7rem 1.4rem; border: 2px solid var(--accent); border-radius: 10px; background: var(--accent); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.2; transition: background 0.15s, border-color 0.15s; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn--secondary { background: var(--card); color: var(--accent); border-color: var(--accent-soft-2); border-width: 1.5px; }
.btn--secondary:hover { background: var(--accent-soft); color: var(--accent-dark); border-color: var(--accent); }
.btn--small { padding: 0.5rem 1.1rem; font-size: var(--step--1); }
.btn--danger { background: var(--danger); border-color: var(--danger); }
.btn--danger:hover { background: #7a1616; border-color: #7a1616; }
.btn--on-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn--on-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }

/* Logo */
.brand { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand svg { width: 2.1rem; height: 2.1rem; flex: none; }
.brand-word { font-size: 1.05rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1; }

/* Header */
.site-header { background: rgba(250, 251, 249, 0.96); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); min-height: 4.6rem; flex-wrap: wrap; }
.menu-toggle { display: none; min-height: 44px; min-width: 44px; padding: 0.5rem 0.9rem; border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--card); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.primary-nav { width: 100%; padding-bottom: var(--space-2); }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.primary-nav a { display: flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; font-weight: 600; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--accent); }
.primary-nav .btn { color: #fff; margin-top: var(--space-1); }
.primary-nav .btn:hover { color: #fff; }
.js .menu-toggle { display: inline-flex; align-items: center; }
.js .primary-nav[data-collapsed="true"] { display: none; }
@media (min-width: 52rem) {
  .menu-toggle, .js .menu-toggle { display: none; }
  .js .primary-nav[data-collapsed="true"] { display: block; }
  .primary-nav { width: auto; padding-bottom: 0; }
  .primary-nav ul { flex-direction: row; align-items: center; gap: var(--space-3); }
  .primary-nav .btn { margin-top: 0; }
}

/* Hero */
.hero { padding: var(--space-5) 0; }
.hero h1 { max-width: 16ch; }
.hero .lede { max-width: 34rem; }
.hero-grid { display: grid; gap: var(--space-4); align-items: center; }
@media (min-width: 64rem) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; } }

/* Illustration (decorative, no real data) */
.mock { position: relative; padding: 1.5rem; background-image: radial-gradient(rgba(11, 110, 79, 0.18) 1.2px, transparent 1.2px); background-size: 18px 18px; border-radius: var(--radius-lg); }
.mock-window { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.75rem 1rem; background: #f1f3ef; border-bottom: 1px solid var(--line); font-size: 0.75rem; font-weight: 700; color: var(--accent-dark); }
.mock-bar i { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #d5d9d2; display: inline-block; }
.mock-bar span { margin-left: auto; letter-spacing: 0.06em; text-transform: uppercase; }
.mock-row { display: flex; align-items: center; gap: 0.8rem; padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); }
.mock-row:last-child { border-bottom: 0; }
.mock-icon { width: 2rem; height: 2rem; border-radius: 8px; background: var(--accent-soft-2); color: var(--accent-dark); font-weight: 800; font-size: 0.8rem; display: grid; place-items: center; flex: none; }
.mock-text { flex: 1; min-width: 0; }
.mock-text strong { display: block; font-size: 0.9rem; line-height: 1.3; }
.mock-text small { color: var(--muted); font-size: 0.78rem; }
.mock-tag { font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.6rem; border-radius: 999px; background: var(--accent-soft-2); color: var(--accent-dark); white-space: nowrap; }
.mock-float { position: absolute; background: var(--card); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); padding: 0.45rem 0.9rem; font-size: 0.8rem; font-weight: 700; display: flex; align-items: center; gap: 0.45rem; }
.mock-float::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--accent); }
.mock-float--a { top: 0.2rem; left: 0.4rem; }
.mock-float--b { bottom: 0.4rem; right: 0.6rem; }

/* Cards and grids */
.grid { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 40rem) { .grid--2, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-3); display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(21, 24, 28, 0.03); }
.card > :last-child { margin-bottom: 0; }
.card .btn { align-self: flex-start; margin-top: auto; }
.card--path { border-top: 4px solid var(--accent); }
.card h2 a, .card h3 a { color: inherit; text-decoration: none; }
.card h2 a:hover, .card h3 a:hover { color: var(--accent); text-decoration: underline; }
.card h2 { font-size: var(--step-1); }
.badge { display: inline-block; align-self: flex-start; padding: 0.2rem 0.65rem; border-radius: 999px; background: var(--accent-soft-2); color: var(--accent-dark); font-size: 0.78rem; font-weight: 700; margin-bottom: var(--space-1); }
.badge--warn { background: var(--warn-bg); color: var(--warn); }
.badge--off { background: #edeeec; color: var(--muted); }

/* Steps */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
@media (min-width: 40rem) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; padding-top: var(--space-2); border-top: 3px solid var(--accent); }
.steps li::before { content: counter(step); display: block; font-weight: 800; color: var(--accent); font-size: var(--step-1); }
.steps h3 { font-size: var(--step-0); margin-bottom: 0.25rem; }
.steps p { margin: 0; color: var(--muted); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: var(--space-2) 0; min-height: 44px; font-weight: 700; }
.faq details p, .faq details .prose { color: var(--muted); }

/* Forms */
.field { margin-bottom: var(--space-2); }
label, .label { display: block; font-weight: 700; margin-bottom: 0.3rem; }
.hint { color: var(--muted); font-size: var(--step--1); margin: 0.2rem 0 0; }
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], select, textarea {
  width: 100%; min-height: 44px; padding: 0.65rem 0.8rem; font: inherit; color: var(--ink); background: var(--card); border: 1.5px solid #8d948c; border-radius: 10px; }
textarea { min-height: 9rem; resize: vertical; }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--danger); background: var(--danger-bg); }
input[type="checkbox"] { width: 1.25rem; height: 1.25rem; accent-color: var(--accent); }
label.check { display: flex; gap: 0.6rem; align-items: center; min-height: 44px; font-weight: 600; }
.error-text { color: var(--danger); font-weight: 700; margin: 0.3rem 0 0; }
.error-text::before { content: "Error: "; }
.req { font-weight: 400; color: var(--muted); font-size: var(--step--1); }
.notice { padding: var(--space-2); border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); max-width: var(--measure); }
.notice--ok { background: var(--ok-bg); border-color: #b5dcc6; }
.notice--error { background: var(--danger-bg); border-color: #e5b4b4; color: var(--danger); font-weight: 700; }
.notice--warn { background: var(--warn-bg); border-color: #e6cf9d; color: var(--warn); font-weight: 700; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { border-collapse: collapse; width: 100%; min-width: 28rem; }
th, td { text-align: left; padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { background: #f3f5f1; font-size: var(--step--1); }

/* Footer */
.site-footer { background: var(--ink); color: #e9eeea; padding: var(--space-4) 0 var(--space-3); margin-top: var(--space-5); }
.site-footer a { color: #e9eeea; }
.site-footer a:hover { color: #fff; }
.site-footer h2 { font-size: var(--step-0); color: #fff; margin-bottom: var(--space-1); letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-grid { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 40rem) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand { font-size: 1.1rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; margin: 0 0 var(--space-1); }
.footer-note { margin: var(--space-3) 0 0; padding-top: var(--space-2); border-top: 1px solid #3a4540; font-size: var(--step--1); color: #bcc6c0; max-width: none; }

/* Content pages */
.prose { max-width: var(--measure); }
.prose h2 { margin-top: var(--space-3); }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25rem; max-width: var(--measure); }
.checklist { list-style: none; padding: 0 !important; margin: 0 0 var(--space-2); }
.checklist li { position: relative; padding: 0.4rem 0 0.4rem 1.75rem; }
.checklist li::before { content: ""; position: absolute; left: 0.25rem; top: 0.95rem; width: 0.7rem; height: 0.4rem; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }
.draft-banner { background: var(--warn-bg); border-bottom: 1px solid #e6cf9d; padding: 0.6rem var(--space-2); text-align: center; font-weight: 700; color: var(--warn); }
.wrap { max-width: 40rem; margin: 0 auto; padding: var(--space-5) var(--space-2); }

/* ---------------- Admin ---------------- */
.admin-shell { display: block; min-height: 100vh; background: var(--bg); }
.admin-side { background: var(--side); color: var(--side-text); }
.admin-side-top { display: flex; align-items: center; justify-content: space-between; padding: 0.8rem var(--space-2); gap: var(--space-2); }
.admin-brand { display: inline-flex; align-items: center; gap: 0.6rem; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.95rem; min-height: 44px; }
.admin-brand:hover { color: #fff; }
.admin-brand svg { width: 1.9rem; height: 1.9rem; }
.admin-toggle { display: none; min-height: 44px; padding: 0.4rem 0.9rem; border-radius: 10px; border: 1.5px solid rgba(255, 255, 255, 0.35); background: transparent; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.js .admin-toggle { display: inline-flex; align-items: center; }
.admin-nav { padding: 0 var(--space-1) var(--space-2); }
.js .admin-nav[data-collapsed="true"] { display: none; }
.admin-nav h2 { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--side-label); margin: var(--space-2) 0.8rem 0.3rem; font-weight: 700; }
.admin-nav a { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; min-height: 44px; padding: 0.5rem 0.8rem; border-radius: 10px; color: var(--side-text); text-decoration: none; font-weight: 600; }
.admin-nav a:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.admin-nav a[aria-current="page"] { background: var(--accent); color: #fff; }
.admin-nav form { margin: var(--space-2) 0.8rem 0; }
.count-dot { min-width: 1.4rem; padding: 0.05rem 0.45rem; border-radius: 999px; background: #c98a1c; color: #14181b; font-size: 0.75rem; font-weight: 800; text-align: center; }
.admin-main { padding: var(--space-3) var(--space-2) var(--space-5); min-width: 0; }
.admin-page { max-width: 62rem; margin: 0 auto; }
.admin-head { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: flex-end; justify-content: space-between; margin-bottom: var(--space-3); }
.admin-head h1 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); margin: 0 0 0.3rem; }
.admin-head p { margin: 0; color: var(--muted); }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 1px 2px rgba(21, 24, 28, 0.03); margin-bottom: var(--space-3); overflow: hidden; }
.panel-head { display: flex; flex-wrap: wrap; gap: var(--space-1); align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 1.05rem; margin: 0; letter-spacing: -0.01em; }
.panel-body { padding: 1.25rem; }
.tiles { display: grid; gap: var(--space-2); grid-template-columns: 1fr; padding: 1.25rem; }
@media (min-width: 40rem) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { background: #f8f9f6; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.25rem; }
.tile h3 { font-size: 1rem; margin: 0; }
.tile p { margin: 0; color: var(--muted); font-size: var(--step--1); }
.tile .badge { margin: 0.15rem 0; }
.status-summary { display: inline-block; padding: 0.35rem 0.85rem; border-radius: 999px; font-size: 0.8rem; font-weight: 800; background: var(--accent); color: #fff; }
.status-summary--warn { background: #c98a1c; color: #14181b; }
.panel .table-wrap { border: 0; border-radius: 0; }
.admin-form { padding: 1.25rem; }
.panel > form.admin-form { margin: 0; }
.seo-box { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-2); background: #f8f9f6; margin: var(--space-3) 0; }
.seo-box summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.danger-zone { margin: var(--space-4) 0 0; padding: 1.25rem; border: 1px solid #e5b4b4; border-radius: var(--radius-lg); background: #fffafa; }
.filter-row { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: flex-end; padding: 1.25rem; border-bottom: 1px solid var(--line); }
.filter-row .field { margin: 0; min-width: 10rem; }
.filter-row .btn { margin: 0; }
.facts { display: grid; grid-template-columns: 1fr; gap: 0.15rem var(--space-2); margin: 0; padding: 1.25rem; }
.facts dt { font-weight: 700; margin-top: var(--space-1); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
@media (min-width: 40rem) { .facts { grid-template-columns: 14rem 1fr; } .facts dt { margin-top: 0; } }
.preline { white-space: pre-wrap; overflow-wrap: anywhere; max-width: var(--measure); background: #f8f9f6; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-2); margin: 0; }
.admin-main .notice { margin-bottom: var(--space-2); }

.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: var(--space-3) var(--space-2); background: var(--bg); }
.login-card { width: 100%; max-width: 26rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: var(--space-4) var(--space-3); }
.login-card .brand { margin-bottom: var(--space-3); }
.login-card h1 { font-size: 1.6rem; }

@media (min-width: 62rem) {
  .admin-shell { display: grid; grid-template-columns: 16.5rem 1fr; align-items: start; }
  .admin-side { position: sticky; top: 0; height: 100vh; overflow-y: auto; }
  .admin-toggle, .js .admin-toggle { display: none; }
  .js .admin-nav[data-collapsed="true"] { display: block; }
  .admin-main { padding: var(--space-4) var(--space-4) var(--space-5); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Keep a little air between a card's last line of text and its button. */
.card > :nth-last-child(2) { margin-bottom: var(--space-2); }

/* =====================================================================
   Public site visual layer. Presentation only. Loaded after site.css.
   Motion is limited to one-time entrances and small hover states, and is
   switched off for visitors who ask for reduced motion (rules at the end).
   ===================================================================== */
:root {
  --accent-2: #12936a;
  --ink-2: #1d2a24;
  --grad-hero: radial-gradient(60rem 32rem at 85% -10%, rgba(18, 147, 106, 0.16), transparent 60%), radial-gradient(40rem 26rem at -10% 20%, rgba(11, 110, 79, 0.08), transparent 60%);
  --shadow-lift: 0 2px 4px rgba(21, 24, 28, 0.05), 0 18px 40px rgba(11, 110, 79, 0.14);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
html { scroll-padding-top: 5.5rem; }

/* Header: stays in reach, quietly */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(250, 251, 249, 0.88); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.primary-nav a { position: relative; }
@media (min-width: 52rem) {
  .primary-nav li:not(:last-child) a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.55rem; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
  .primary-nav li:not(:last-child) a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
}

/* Type */
h1 { font-size: clamp(2.35rem, 1.5rem + 3.8vw, 4.1rem); line-height: 1.04; letter-spacing: -0.04em; }
h2 { font-size: clamp(1.65rem, 1.25rem + 1.5vw, 2.4rem); letter-spacing: -0.03em; }
.lede { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.28rem); line-height: 1.6; }
.pill { background: #fff; border: 1px solid rgba(11, 110, 79, 0.22); box-shadow: 0 1px 2px rgba(21, 24, 28, 0.04); border-radius: 999px; }
.section-head { max-width: 46rem; margin-bottom: var(--space-4); }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* Hero */
.hero { position: relative; background: var(--grad-hero); overflow: clip; }
.hero h1 { max-width: 14ch; }
.hero--home h1 { max-width: 13ch; }
.hero-grid { align-items: center; gap: var(--space-4); }
@media (min-width: 64rem) { .hero-grid { grid-template-columns: 1.02fr 0.98fr; } .hero { padding: clamp(3.5rem, 6vw, 6rem) 0; } }
.hero-art { width: 100%; max-width: 36rem; margin-inline: auto; }
.hero-art svg { display: block; width: 100%; height: auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }
.hero-actions .btn { min-height: 52px; padding-inline: 1.6rem; font-size: 1.02rem; }
.hero-note { margin: var(--space-2) 0 0; font-size: var(--step--1); color: var(--muted); }

/* Buttons */
.btn { box-shadow: 0 1px 2px rgba(21, 24, 28, 0.08); transition: background 0.18s, border-color 0.18s, transform 0.18s var(--ease), box-shadow 0.18s; gap: 0.5rem; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(11, 110, 79, 0.25); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.1rem; height: 1.1rem; transition: transform 0.2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--secondary { box-shadow: none; }
.btn--secondary:hover { box-shadow: 0 8px 20px rgba(21, 24, 28, 0.08); }
.btn--light { background: #fff; color: var(--accent-dark); border-color: #fff; }
.btn--light:hover { background: #e4f1ea; border-color: #e4f1ea; color: var(--accent-dark); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); box-shadow: none; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; box-shadow: none; }

/* Icons and tiles */
.icon { width: 1.5rem; height: 1.5rem; flex: none; }
.icon-tile { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; background: linear-gradient(145deg, #e4f1ea, #f4faf7); color: var(--accent); border: 1px solid rgba(11, 110, 79, 0.16); margin-bottom: var(--space-2); }
.icon-tile .icon { width: 1.5rem; height: 1.5rem; }

/* Cards: layered, with a quiet lift */
.card { position: relative; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s; background: linear-gradient(180deg, #fff, #fcfdfb); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(11, 110, 79, 0.28); }
.card--path { border-top: 0; padding: var(--space-4) var(--space-3) var(--space-3); overflow: hidden; }
.card--path::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.card--path::after { content: ""; position: absolute; right: -3rem; top: -3rem; width: 9rem; height: 9rem; border-radius: 50%; background: radial-gradient(circle, rgba(18, 147, 106, 0.12), transparent 70%); pointer-events: none; }
.card--path h3 { font-size: 1.45rem; }
.card--path p { color: var(--muted); }
.grid--paths { gap: var(--space-3); }
@media (min-width: 52rem) { .grid--paths { grid-template-columns: repeat(2, 1fr); } }

/* Section surfaces */
.section--tint { background: linear-gradient(180deg, #eef6f2, #f6faf8); }
.section--ink { background: radial-gradient(50rem 24rem at 90% 0%, rgba(18, 147, 106, 0.35), transparent 60%), linear-gradient(160deg, #0f2a21, #14181b 70%); color: #eaf1ed; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .lede, .section--ink p { color: #c5d3cb; }
.section--ink .pill { background: rgba(255, 255, 255, 0.08); color: #bfe8d6; border-color: rgba(255, 255, 255, 0.22); }

/* Lead Engine feature */
.feature { display: grid; gap: var(--space-4); align-items: center; }
@media (min-width: 60rem) { .feature { grid-template-columns: 0.95fr 1.05fr; } }
.feature-art { width: 100%; max-width: 34rem; margin-inline: auto; }
.feature-art svg { display: block; width: 100%; height: auto; }
.feature .badge { background: rgba(127, 212, 178, 0.18); color: #bfe8d6; border: 1px solid rgba(127, 212, 178, 0.35); }
.feature .tagline { font-size: 1.2rem; color: #fff; font-weight: 700; margin-bottom: var(--space-1); }
.feature .support { color: #a9cdbd; font-size: var(--step--1); letter-spacing: 0.02em; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: var(--space-2) 0 0; padding: 0; }
.chips li { padding: 0.35rem 0.8rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); color: #dbe9e2; font-size: 0.85rem; font-weight: 600; }

/* Compare: product or custom */
.compare { display: grid; gap: var(--space-3); }
@media (min-width: 52rem) { .compare { grid-template-columns: 1fr 1fr; } }
.compare > div { padding: var(--space-3); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.compare h3 { display: flex; align-items: center; gap: 0.6rem; }
.compare .icon { color: var(--accent); }
.split { display: grid; gap: var(--space-4); align-items: center; }
@media (min-width: 60rem) { .split { grid-template-columns: 1fr 1fr; } .split--flip > :first-child { order: 2; } }
.split-art { width: 100%; max-width: 30rem; margin-inline: auto; }
.split-art svg { display: block; width: 100%; height: auto; }

/* One four-stage workflow */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); position: relative; }
.flow li { position: relative; padding: 0 0 0 4.2rem; min-height: 3.2rem; border-top: 0; }
.flow li::before { content: ""; position: absolute; left: 1.55rem; top: 3.2rem; bottom: calc(-1 * var(--space-3)); width: 2px; background: linear-gradient(var(--accent), rgba(11, 110, 79, 0.15)); }
.flow li:last-child::before { display: none; }
.flow .flow-node { position: absolute; left: 0; top: 0; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: #fff; border: 2px solid var(--accent); color: var(--accent); display: grid; place-items: center; z-index: 1; box-shadow: 0 6px 16px rgba(11, 110, 79, 0.15); }
.flow .flow-node .icon { width: 1.4rem; height: 1.4rem; }
.flow .flow-node b { font-size: 1.1rem; font-weight: 800; }
.flow h3 { font-size: 1.15rem; margin: 0.15rem 0 0.25rem; }
.flow p { margin: 0; color: var(--muted); }
.flow .flow-step { display: block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
@media (min-width: 52rem) {
  .flow { grid-template-columns: repeat(4, 1fr); }
  .flow li { padding: 4.4rem 0 0; }
  .flow li::before { left: 3.2rem; right: calc(-1 * var(--space-3)); top: 1.55rem; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--accent), rgba(11, 110, 79, 0.2)); transform-origin: left; }
  .js .reveal:not(.is-in) .flow li::before { transform: scaleX(0); }
  .js .reveal.is-in .flow li::before { transform: scaleX(1); transition: transform 0.7s var(--ease) 0.25s; }
}

/* About: principles as cards, mission and vision as feature panels */
.about-body { max-width: none; }
.about-body > h2 { margin-top: var(--space-4); max-width: var(--measure); }
.about-body > h2:first-child { margin-top: 0; }
.about-body > p { max-width: var(--measure); }
.about-body ul { list-style: none; padding: 0; margin: var(--space-3) 0 0; display: grid; gap: var(--space-2); max-width: none; }
@media (min-width: 40rem) { .about-body ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .about-body ul { grid-template-columns: repeat(3, 1fr); } }
.about-body li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-3); box-shadow: 0 1px 2px rgba(21, 24, 28, 0.03); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.about-body li:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.about-body li strong { display: block; color: var(--accent-dark); font-size: 1.05rem; margin-bottom: 0.3rem; }
.mv { display: grid; gap: var(--space-3); }
@media (min-width: 52rem) { .mv { grid-template-columns: 1fr 1fr; } }
.mv > div { padding: var(--space-4) var(--space-3); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; }
.mv > div::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(var(--accent), var(--accent-2)); }
.mv h2 { font-size: 1.1rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.mv p { font-size: 1.12rem; line-height: 1.6; color: var(--ink-2); max-width: none; }

/* Custom solutions */
.callout { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-3); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(21, 24, 28, 0.03); }
.callout .icon-tile { margin: 0; flex: none; }
.callout > div { min-width: 0; }
.callout h2 { font-size: 1.35rem; }
.callout .prose { max-width: none; }
.callout--accent { background: linear-gradient(145deg, #eef6f2, #fff); border-color: rgba(11, 110, 79, 0.2); }
@media (max-width: 36rem) { .callout { flex-direction: column; gap: var(--space-2); } }
.cta-band .container { display: grid; gap: var(--space-3); align-items: center; }
@media (min-width: 52rem) { .cta-band .container { grid-template-columns: 1fr auto; } }
.cta-band .btn-row { margin-top: 0; }

/* Dark panel for diagrams drawn for a dark background */
.art-panel { background: radial-gradient(30rem 16rem at 90% 0%, rgba(18, 147, 106, 0.4), transparent 60%), linear-gradient(160deg, #0f2a21, #14181b 75%); border-radius: var(--radius-lg); padding: var(--space-3) var(--space-2); box-shadow: 0 24px 50px rgba(11, 110, 79, 0.18); }
.art-panel svg { filter: none; }
.art-caption--dark { fill: #a9b8b0; }

/* FAQ */
.faq details { transition: background 0.2s; }
.faq details[open] { background: rgba(11, 110, 79, 0.03); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); padding-inline: 0.25rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 500; color: var(--accent); transition: transform 0.2s var(--ease); line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div, .faq details > p { padding: 0 0.25rem var(--space-2); }

/* Footer: a touch of depth */
.site-footer { background: radial-gradient(40rem 18rem at 100% 0%, rgba(18, 147, 106, 0.22), transparent 60%), var(--ink); }

/* Scroll entrances. Content is fully visible without JavaScript. */
.js .reveal:not(.is-in) { opacity: 0; transform: translateY(14px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }

/* Illustrations. Base state is the finished picture; animation plays it in once. */
.art text { font-family: var(--font); }
.art-label text { font-size: 16px; font-weight: 700; fill: #4d554f; letter-spacing: 0.02em; }
.art-stage text { fill: #15181c; font-size: 17px; font-weight: 700; }
.art-caption { font-family: var(--font); font-size: 14px; font-weight: 600; fill: #7e867f; }
.art-tangle { fill: none; stroke: #b9c1b8; stroke-width: 2; stroke-dasharray: 3 7; stroke-linecap: round; }
.art [class*="a-"] { transform-box: fill-box; transform-origin: center; }
.js .art:not(.is-playing) .a-in, .js .art:not(.is-playing) .a-pop, .js .art:not(.is-playing) .a-slide-l, .js .art:not(.is-playing) .a-slide-r, .js .art:not(.is-playing) .a-slide-d, .js .art:not(.is-playing) .a-grow { opacity: 0; }
.a-draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .art:not(.is-playing) .a-draw { stroke-dashoffset: 1; }
.art.is-playing .a-in { animation: art-in 0.6s var(--ease) both; }
.art.is-playing .a-pop { animation: art-pop 0.55s var(--ease) both; }
.art.is-playing .a-slide-l { animation: art-slide-l 0.6s var(--ease) both; }
.art.is-playing .a-slide-r { animation: art-slide-r 0.6s var(--ease) both; }
.art.is-playing .a-slide-d { animation: art-slide-d 0.6s var(--ease) both; }
.art.is-playing .a-draw { animation: art-draw 0.8s var(--ease) both; }
.art.is-playing .a-grow { transform-origin: left center; animation: art-grow 0.9s var(--ease) both; }
.art .d1 { animation-delay: 0.05s; } .art .d2 { animation-delay: 0.2s; } .art .d3 { animation-delay: 0.35s; } .art .d4 { animation-delay: 0.5s; }
.art .d5 { animation-delay: 0.65s; } .art .d6 { animation-delay: 0.8s; } .art .d7 { animation-delay: 0.95s; } .art .d8 { animation-delay: 1.1s; }
.art .d9 { animation-delay: 1.25s; } .art .d10 { animation-delay: 1.4s; } .art .d11 { animation-delay: 1.55s; }
@keyframes art-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes art-pop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes art-slide-l { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes art-slide-r { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@keyframes art-slide-d { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes art-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes art-grow { from { transform: scaleX(0.05); } to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .js .reveal:not(.is-in) { opacity: 1; transform: none; }
  .js .reveal:not(.is-in) .flow li::before { transform: none; }
  .js .art:not(.is-playing) .a-in, .js .art:not(.is-playing) .a-pop, .js .art:not(.is-playing) .a-slide-l, .js .art:not(.is-playing) .a-slide-r, .js .art:not(.is-playing) .a-slide-d, .js .art:not(.is-playing) .a-grow { opacity: 1; }
  .js .art:not(.is-playing) .a-draw { stroke-dashoffset: 0; }
  .card:hover, .btn:hover, .about-body li:hover { transform: none; }
}

.grid + .prose { margin-top: var(--space-4, 1.5rem); }
.section--ink .card { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.16); box-shadow: none; }
.section--ink .card p { color: #c5d3cb; }
.section--ink .prose + .grid, .section--ink .grid + .prose { margin-top: var(--space-4, 1.5rem); }
.section--ink .icon-tile { background: rgba(255, 255, 255, 0.1); color: #bfe8d6; }
