/* Self-hosted fonts (SIL Open Font License); no third-party font requests */
@font-face { font-family: "Saira"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/saira-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Saira"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/saira-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Saira"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/saira-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Saira"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/saira-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }

/* AM Financial
   Direction: deep evergreen and the logo's leaf green, framing bright, ledger-ruled content.
   One signature element: the sample job-profit report in the hero. Everything else stays quiet. */

:root {
  color-scheme: light;
  --evergreen: #0c1712;      /* primary dark surface */
  --evergreen-2: #13211a;    /* raised dark surface */
  --evergreen-3: #1b2d23;    /* borders and fills on dark */
  --leaf: #4cc22e;           /* logo green, used on dark */
  --leaf-hi: #67d64a;        /* hover on dark */
  --forest: #23711a;         /* logo deep green, used on light */
  --forest-d: #1a5513;
  --mint: #ebf5e6;           /* green wash on light */
  --ink: #101511;
  --muted: #555c57;
  --line: #dfe4df;
  --paper: #ffffff;
  --paper-2: #f3f5f2;
  --on-dark: #eef2ee;
  --on-dark-2: #a3ada6;
  --loss: #b23a1f;

  --f-display: "Saira", "Arial Narrow", Arial, sans-serif;
  --f-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--forest-d); }

h1, h2, h3 {
  font-family: var(--f-display);
  line-height: 1.05;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; }
h1 span { display: block; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700; letter-spacing: -.02em; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.005em; line-height: 1.2; }
p { margin: 0 0 1em; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 2px; }

.eyebrow {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .01em;
  color: var(--forest);
  margin: 0 0 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px;
  font-family: var(--f-display); font-weight: 700; font-size: 1rem; letter-spacing: .005em;
  text-decoration: none; text-align: center;
  color: #07130b; background: var(--leaf);
  border: 2px solid var(--leaf); border-radius: var(--r-sm);
  padding: .7em 1.35em;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--leaf-hi); border-color: var(--leaf-hi); color: #07130b; }
.btn:active { transform: translateY(1px); }
.btn-sm { white-space: nowrap; min-height: 42px; padding: .5em 1.05em; font-size: .95rem; }
.btn-lg { min-height: 56px; padding: .85em 1.6em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.32); }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--evergreen); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 23, 18, .94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding-top: env(safe-area-inset-top, 0px);
}
.nav { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 1.12rem; flex-shrink: 0; }
.brand:hover { color: #fff; }
.brand img { width: 36px; }
.brand span { display: flex; flex-direction: column; line-height: 1.02; }
.brand small { font-weight: 600; font-size: .78rem; letter-spacing: .02em; color: var(--leaf); margin-top: 2px; }
.menu { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.menu a { color: var(--on-dark-2); text-decoration: none; font-weight: 600; font-size: .98rem; white-space: nowrap; }
.menu a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-phone { color: #fff; text-decoration: none; font-family: var(--f-display); font-weight: 600; font-size: .98rem; white-space: nowrap; }
.nav-phone:hover { color: var(--leaf); }
.menu-btn { display: none; width: 46px; height: 46px; background: none; border: 1px solid rgba(255,255,255,.22); border-radius: var(--r-sm); cursor: pointer; position: relative; }
.menu-icon, .menu-icon::before, .menu-icon::after { position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-icon { top: 50%; margin-top: -1px; }
.menu-icon::before, .menu-icon::after { content: ""; left: 0; margin-left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 520px at 85% 10%, rgba(76,194,46,.13), transparent 70%),
    var(--evergreen);
  color: var(--on-dark);
  padding: 88px 0 0;
  overflow: hidden;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 72px; align-items: center; }
.hero .eyebrow { color: var(--leaf); }
.hero h1 { color: #fff; }
.lead { font-size: 1.24rem; line-height: 1.55; color: #c9d1cb; max-width: 34em; margin-top: 1.4rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 18px; }
.hero-note { font-size: .98rem; color: var(--on-dark-2); max-width: 32em; margin: 0; }

.hero-visual { position: relative; justify-self: end; width: 100%; max-width: 420px; padding-bottom: 120px; }
.portrait { margin: 0; position: relative; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 28%; border-radius: var(--r-lg); }
.portrait figcaption { position: absolute; top: 18px; left: 18px; background: rgba(12,23,18,.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; padding: 9px 14px; border-radius: var(--r-sm); line-height: 1.25; }
.portrait figcaption b { display: block; font-family: var(--f-display); font-size: 1rem; }
.portrait figcaption span { font-size: .84rem; color: #c9d1cb; }

/* Signature element: the sample report */
.report {
  position: absolute; left: -72px; bottom: 0;
  width: min(350px, 94%);
  background: #fff; color: var(--ink);
  border-radius: var(--r-md);
  padding: 18px 20px 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.04);
}
.report-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.report-head b { font-family: var(--f-display); font-size: 1.02rem; }
.report-head span { font-size: .78rem; color: var(--muted); }
.report table { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
.report th { text-align: left; font-weight: 600; font-size: .76rem; color: var(--muted); padding: 8px 0 4px; }
.report th:last-child { text-align: right; }
.report td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.report td:last-child { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.report td b { min-width: 3.2ch; text-align: right; font-family: var(--f-display); }
.report .bar { display: block; width: 72px; height: 6px; border-radius: 3px; background: var(--paper-2); position: relative; overflow: hidden; }
.report .bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--forest); border-radius: 3px; }
.report .loss td { color: var(--loss); }
.report .loss .bar::after { background: var(--loss); }
.report-foot { margin: 10px 0 0; font-size: .82rem; line-height: 1.4; color: var(--muted); }

.proof { list-style: none; margin: 72px 0 0; padding: 28px 0 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid rgba(255,255,255,.09); }
.proof li { display: flex; flex-direction: column; gap: 2px; }
.proof b { font-family: var(--f-display); font-weight: 700; font-size: 1.18rem; color: #fff; }
.proof span { font-size: .92rem; color: var(--on-dark-2); line-height: 1.4; }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section.alt { background: var(--paper-2); }
.sec-head { margin-bottom: 52px; max-width: 760px; }
.sec-head h2 { margin-bottom: .35em; }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.split-head { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.split-head h2 { margin: 0; }
.split-head .sec-lead, .split-head > div > :last-child { margin-bottom: 0; }
.sec-lead { color: var(--muted); font-size: 1.12rem; max-width: 40em; }
.center .sec-lead { margin-left: auto; margin-right: auto; }

/* ---------- Start here ---------- */
.paths-sec { padding: 104px 0; }
.paths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.path { display: flex; flex-direction: column; gap: 12px; padding: 28px 26px 26px; text-decoration: none; color: var(--ink); border-right: 1px solid var(--line); transition: background-color .15s; }
.path:first-child { padding-left: 0; }
.path:last-child { border-right: 0; }
.path:hover { background: var(--mint); color: var(--ink); }
.path:first-child:hover { padding-left: 0; }
.path-q { font-family: var(--f-display); font-weight: 700; font-size: 1.32rem; line-height: 1.18; letter-spacing: -.01em; }
.path-a { color: var(--muted); font-size: 1rem; flex: 1; }
.path-go { font-family: var(--f-display); font-weight: 700; font-size: .98rem; color: var(--forest); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------- Services ---------- */
.who { margin-top: 14px; font-size: .98rem; color: var(--ink); padding: 12px 16px; background: var(--paper); border-left: 3px solid var(--forest); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.svc-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.svc-group { background: var(--paper); border-radius: var(--r-md); padding: 34px 30px 18px; border-top: 4px solid var(--forest); }
.svc-group:nth-child(2) { border-top-color: #3a9a2a; }
.svc-group:nth-child(3) { border-top-color: var(--leaf); }
.svc-group header { margin-bottom: 14px; }
.svc-group h3 { font-size: 1.45rem; margin-bottom: .3em; }
.svc-group header p { color: var(--muted); font-size: 1rem; margin: 0; }
.svc-group dl { margin: 0; }
.svc-group dl div { padding: 18px 0; border-top: 1px solid var(--line); }
.svc-group dt { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.svc-group dd { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.55; }

/* ---------- Software strip ---------- */
.tools { background: var(--paper); border-bottom: 1px solid var(--line); padding: 30px 0; }
.tools-in { display: flex; align-items: center; gap: 16px 44px; flex-wrap: wrap; }
.tools-h { margin: 0; font-size: .98rem; color: var(--muted); }
.tools-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 32px; }
.tools-list li { font-family: var(--f-display); font-weight: 700; font-size: 1.08rem; color: #39403b; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-md); padding: 32px 26px 26px; background: var(--paper); }
.plan h3 { font-size: 1.5rem; margin-bottom: .35em; }
.plan-line { font-size: 1rem; line-height: 1.45; color: var(--muted); margin: 0 0 22px; min-height: 2.9em; }
.plan.featured .plan-line { color: #c3ccc6; }
.plan-for b { display: block; font-family: var(--f-display); font-size: .92rem; color: var(--forest); margin-bottom: 2px; }
.plan.featured .plan-for b { color: var(--leaf); }
.plan-notes { margin: -6px 0 22px; padding: 14px 16px; background: var(--paper-2); border-radius: var(--r-sm); }
.plan-notes p { font-size: .88rem; line-height: 1.5; color: var(--muted); margin: 0; }
.plan-notes p + p { margin-top: 8px; }
.plan-level { font-size: .92rem; font-weight: 600; color: var(--muted); margin: 0 0 22px; }
.price { font-family: var(--f-display); font-weight: 800; font-size: 2.7rem; line-height: 1; letter-spacing: -.02em; margin: 0 0 16px; font-variant-numeric: tabular-nums; }
.price .from { display: block; font-family: var(--f-body); font-weight: 600; font-size: .86rem; letter-spacing: 0; color: var(--muted); margin-bottom: 6px; }
.price .per { font-size: 1.05rem; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-left: 2px; }
.plan-for { font-size: .98rem; line-height: 1.5; color: var(--ink); padding-bottom: 18px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.ticks { list-style: none; margin: 0 0 26px; padding: 0; flex: 1; }
.ticks li { position: relative; padding-left: 28px; margin: 10px 0; font-size: .98rem; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: .38em; width: 12px; height: 7px; border-left: 2.5px solid var(--forest); border-bottom: 2.5px solid var(--forest); transform: rotate(-45deg); }

.plan.featured { background: var(--evergreen); color: var(--on-dark); border-color: var(--evergreen); box-shadow: 0 30px 60px -20px rgba(12,23,18,.55); }
.plan.featured h3 { color: #fff; }
.plan.featured .plan-level, .plan.featured .price .from, .plan.featured .price .per { color: var(--on-dark-2); }
.plan.featured .plan-for { color: #d5dcd7; border-color: var(--evergreen-3); }
.plan.featured .ticks li { color: var(--on-dark); }
.plan.featured .ticks li::before { border-color: var(--leaf); }
.badge { position: absolute; top: -13px; left: 26px; margin: 0; background: var(--leaf); color: #07130b; font-family: var(--f-display); font-weight: 700; font-size: .82rem; padding: 4px 12px; border-radius: 999px; }



/* ---------- Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.steps li { padding: 30px 28px 0 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.n { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--evergreen); color: var(--leaf); font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; margin-bottom: 18px; }
.steps p { color: var(--muted); font-size: 1rem; }
.proc-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 48px; }
.proc-cta span { color: var(--muted); font-size: 1rem; }

/* ---------- About ---------- */
.section.dark { background: var(--evergreen); color: var(--on-dark); }
.dark h2 { color: #fff; }
.dark .eyebrow { color: var(--leaf); }
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; align-items: center; }
.about-photo { margin: 0; background: var(--evergreen-2); border-radius: var(--r-lg); overflow: hidden; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-photo figcaption { padding: 24px 28px 28px; }
.quote { font-family: var(--f-display); font-weight: 600; font-size: 1.22rem; line-height: 1.35; color: #fff; margin: 0 0 14px; }
.sig { margin: 0; font-weight: 700; color: #fff; display: flex; flex-direction: column; }
.sig span { font-weight: 400; color: var(--on-dark-2); font-size: .92rem; }
.about-copy > p { color: #c3ccc6; max-width: 38em; }
.values { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 32px; }
.values li { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; border-top: 2px solid var(--leaf); }
.values b { color: #fff; font-family: var(--f-display); font-size: 1.08rem; }
.values span { color: var(--on-dark-2); font-size: .95rem; line-height: 1.5; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
.faq-grid .sec-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faqs { border-top: 2px solid var(--ink); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; position: relative; padding: 22px 48px 22px 0; font-family: var(--f-display); font-weight: 700; font-size: 1.12rem; line-height: 1.3; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2.5px solid var(--forest); border-bottom: 2.5px solid var(--forest); transform: rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
summary:hover { color: var(--forest); }
details p { color: var(--muted); margin: 0; padding: 0 48px 24px 0; max-width: 40em; }

/* ---------- Get started ---------- */
.start { background: var(--evergreen); color: var(--on-dark); position: relative; overflow: hidden; }
.start::before { content: ""; position: absolute; width: 760px; height: 760px; left: -260px; bottom: -420px; background: radial-gradient(circle, rgba(76,194,46,.12), transparent 65%); pointer-events: none; }
.start .wrap { position: relative; }
.start h2 { color: #fff; max-width: 13ch; }
.start .eyebrow { color: var(--leaf); }
.start-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.start-lead { font-size: 1.15rem; color: #c3ccc6; max-width: 30em; }
.next { list-style: none; margin: 32px 0 0; padding: 0; counter-reset: nx; }
.next li { counter-increment: nx; position: relative; padding: 0 0 22px 48px; display: flex; flex-direction: column; }
.next li::before { content: counter(nx); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--leaf); color: var(--leaf); font-family: var(--f-display); font-weight: 700; font-size: .92rem; display: flex; align-items: center; justify-content: center; }
.next li:not(:last-child)::after { content: ""; position: absolute; left: 14.5px; top: 34px; bottom: 4px; width: 1px; background: var(--evergreen-3); }
.next b { color: #fff; font-family: var(--f-display); font-size: 1.05rem; }
.next span { color: var(--on-dark-2); font-size: .96rem; }
.direct { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--evergreen-3); display: flex; flex-direction: column; gap: 4px; }
.direct p { margin: 0 0 4px; color: var(--on-dark-2); font-size: .98rem; }
.direct a { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; color: #fff; text-decoration: none; width: fit-content; }
.direct a:hover { color: var(--leaf); }
.direct span { font-size: .92rem; color: var(--on-dark-2); margin-top: 4px; }

.form { background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: 36px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); display: grid; gap: 18px; }
.form-head h3 { font-size: 1.5rem; margin: 0 0 4px; }
.form-head p { margin: 0; font-size: .9rem; color: var(--muted); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 7px; font-weight: 600; font-size: .95rem; min-width: 0; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink);
  background: #fbfcfb; border: 1px solid #c5cec6; border-radius: var(--r-sm);
  padding: .75em .85em; width: 100%; min-height: 50px;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.form textarea { min-height: 0; resize: vertical; }
.form select { appearance: none; -webkit-appearance: none; padding-right: 2.4em; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; background-color: #fff; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(35,113,26,.18); }
.form [aria-invalid="true"] { border-color: var(--loss); box-shadow: 0 0 0 3px rgba(212,85,58,.14); }
.form .btn { margin-top: 4px; }
.form-note { font-size: .84rem; line-height: 1.5; color: var(--muted); margin: 0; }
.form-status { margin: 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--forest-d); background: var(--mint); padding: 12px 14px; border-radius: var(--r-sm); }
.form-status.err { color: #9c3a22; background: #fbebe6; padding: 12px 14px; border-radius: var(--r-sm); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }


/* ---------- Footer ---------- */
.site-footer { background: var(--evergreen); color: var(--on-dark-2); padding: 64px 0 30px; font-size: .96rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--leaf); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.foot.foot-wide { grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 32px; }
.foot-slogan { margin-top: 16px; font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; color: #fff; }
.foot-h { font-family: var(--f-display); font-weight: 700; color: #fff; margin-bottom: 10px; }
.foot p { line-height: 1.9; }
.legal { border-top: 1px solid var(--evergreen-3); padding-top: 22px; margin-top: 40px; font-size: .84rem; line-height: 1.6; }

/* ---------- Mobile action bar ---------- */
.mbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .menu { gap: 20px; }
  .nav-phone { display: none; }
}
@media (max-width: 1020px) {
  .hero-grid, .about, .faq-grid, .start-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-visual { justify-self: start; max-width: 420px; }
  .report { left: auto; right: -40px; }
  .faq-grid .sec-head { position: static; }
  .split-head { grid-template-columns: 1fr; align-items: start; }
  .paths { grid-template-columns: repeat(2, 1fr); }
  .path:nth-child(2) { border-right: 0; }
  .path:nth-child(3) { padding-left: 0; }
  .path:nth-child(n+3) { border-top: 1px solid var(--line); }
  .svc-groups { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; gap: 36px; }
  .plan-line { min-height: 0; }
  .ops-grid, .custom { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps li:nth-child(n+3) { margin-top: 12px; }
  .proof { grid-template-columns: repeat(2, 1fr); }
  .about-photo { max-width: 460px; }

  .menu-btn { display: block; }
  .nav-actions { margin-left: auto; }
  .menu {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--evergreen);
    padding: 8px max(24px, env(safe-area-inset-left, 0px)) 22px;
    border-bottom: 1px solid var(--evergreen-3);
    box-shadow: 0 20px 40px rgba(0,0,0,.35);
  }
  .menu.open { display: flex; }
  .menu a { padding: 14px 0; font-size: 1.1rem; color: #fff; border-bottom: 1px solid var(--evergreen-3); }
  .menu a:last-child { border-bottom: 0; }
}
@media (max-width: 680px) {
  body { font-size: 17px; padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  :root { --header-h: 64px; }
  .wrap { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
  .section { padding: 76px 0; }
  .paths-sec { padding: 72px 0; }
  .hero { padding-top: 52px; }
  .lead { font-size: 1.12rem; }
  .cta-row .btn { width: 100%; }
  .nav-actions .btn { display: none; }
  .hero-visual { max-width: none; padding-bottom: 0; }
  .portrait img { aspect-ratio: 1 / 1; object-position: 50% 22%; }
  .report { position: relative; left: auto; right: auto; width: auto; margin: -56px 16px 0; }
  .proof { grid-template-columns: 1fr 1fr; gap: 20px 16px; margin-top: 52px; }
  .paths, .plans, .steps, .values, .foot, .row2 { grid-template-columns: 1fr; }
  .path, .path:first-child, .path:nth-child(3) { padding: 24px 0; border-right: 0; }
  .path + .path { border-top: 1px solid var(--line); }
  .path:hover { background: none; }
  .steps li, .steps li + li { padding: 26px 0 0; border-left: 0; margin-top: 0; }
  .steps li + li { border-top: 1px solid var(--line); margin-top: 20px; }
  .svc-group { padding: 28px 22px 10px; }
  .form { padding: 24px 20px; }
  .badge { left: 20px; }
    .plan h3 { min-height: 0; }

  .mbar {
    display: grid; grid-template-columns: auto 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px max(16px, env(safe-area-inset-left, 0px)) calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(12,23,18,.96);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--evergreen-3);
    transition: transform .25s;
  }
  .mbar.hide { transform: translateY(110%); }
  .mbar-call { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border: 2px solid rgba(255,255,255,.3); border-radius: var(--r-sm); color: #fff; text-decoration: none; font-family: var(--f-display); font-weight: 700; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Brand and hero additions ---------- */
.report-tag { font-size: .74rem; font-weight: 700; color: var(--forest-d); background: var(--mint); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.report-head .report-tag { color: var(--forest-d); }

/* ---------- Pricing qualifications ---------- */
.qual { max-width: 860px; margin: 40px auto 0; text-align: center; }
.qual p { font-size: 1rem; line-height: 1.6; color: var(--ink); margin: 0 0 12px; }
.qual-commit { color: var(--muted) !important; }
.qual-commit b { color: var(--ink); }

/* ---------- Custom engagement ---------- */
.custom { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px 56px; margin-top: 56px; padding: 40px; background: var(--evergreen-2); color: var(--on-dark); border-radius: var(--r-lg); }
.custom-kicker { font-family: var(--f-display); font-weight: 600; color: var(--leaf); margin: 0 0 6px; }
.custom h3 { font-size: 1.6rem; color: #fff; margin-bottom: .2em; }
.custom-price { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; color: #fff; margin-bottom: 14px; }
.custom-intro > p:not(.custom-kicker):not(.custom-price) { color: #c3ccc6; max-width: 34em; }
.custom-intro .btn { margin-top: 6px; }
.custom-scope-h { font-family: var(--f-display); font-weight: 700; color: #fff; margin: 0 0 6px; }
.custom .ticks { margin: 0; }
.custom .ticks li { color: var(--on-dark); }
.custom .ticks li::before { border-color: var(--leaf); }

/* ---------- Operations and projects ---------- */
.ops-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.ops, .projects { background: var(--paper); border-radius: var(--r-lg); padding: 40px 36px; }
.ops h2, .projects h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.ops .sec-lead, .projects .sec-lead { font-size: 1.04rem; }
.ops-list { list-style: none; margin: 8px 0 20px; padding: 0; border-top: 2px solid var(--ink); }
.ops-list li { padding: 13px 0 13px 22px; border-bottom: 1px solid var(--line); position: relative; font-weight: 600; font-size: 1rem; line-height: 1.4; }
.ops-list li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 8px; height: 8px; border-radius: 2px; background: var(--forest); }
.proj-list { margin: 8px 0 20px; border-top: 2px solid var(--ink); }
.proj-list div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.proj-list dt { font-family: var(--f-display); font-weight: 700; font-size: 1.12rem; margin-bottom: 2px; }
.proj-list dd { margin: 0; color: var(--muted); font-size: 1rem; }
.ops-note { font-size: .94rem; line-height: 1.55; color: var(--ink); background: var(--mint); padding: 12px 14px; border-radius: var(--r-sm); margin: 0; }

/* ---------- Form fields ---------- */
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label { flex-direction: row; font-weight: 600; font-size: .95rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tag-req, .tag-opt { font-size: .76rem; font-weight: 600; padding: 1px 7px; border-radius: 999px; }
.tag-req { color: var(--forest-d); background: var(--mint); }
.tag-opt { color: var(--muted); background: var(--paper-2); }
.field-err { margin: 0; font-size: .88rem; font-weight: 600; color: #a33a20; }
.field-err:empty { display: none; }
.form-status:focus { outline: none; }

/* ---------- Footer portal line ---------- */
.portal-line { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-bottom: 28px; margin-bottom: 40px; border-bottom: 1px solid var(--evergreen-3); }
.portal-line p { margin: 0; color: var(--on-dark-2); }
.portal-line b { color: #fff; margin-right: 8px; }
.site-footer .portal-line a { font-family: var(--f-display); font-weight: 700; color: var(--leaf); }
.site-footer .portal-line a:hover { color: var(--leaf-hi); }

@media (max-width: 680px) {
  .custom, .ops, .projects { padding: 28px 22px; }
  .custom .btn { width: 100%; }
  .qual { text-align: left; }
}

/* Comfortable touch targets for contact and portal links */
.direct a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer .portal-line a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 680px) {
  .foot p a { display: inline-block; padding: 6px 0; }
}

/* ---------- Footer columns ---------- */
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin: 0 0 8px; line-height: 1.4; }
.foot-col .foot-h a { color: #fff; }
.foot-stack { display: flex; flex-direction: column; gap: 24px; }
.foot-contact { line-height: 1.9; margin: 14px 0 16px; }
.foot-brand .btn { color: #07130b; }
.foot-brand .btn:hover { color: #07130b; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.legal p { margin: 0; }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer .legal-links a { color: var(--on-dark-2); text-decoration: underline; }

/* ---------- Homepage additions ---------- */
.ind-strip { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.ind-strip > p { margin: 0; font-family: var(--f-display); font-weight: 700; }
.svc-more { margin: 14px 0 0; font-weight: 600; font-size: .98rem; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.chips a:hover { border-color: var(--forest); color: var(--forest-d); background: var(--mint); }

/* ---------- Subpages ---------- */
.page-hero { background: radial-gradient(800px 420px at 85% 0%, rgba(76,194,46,.12), transparent 70%), var(--evergreen); color: var(--on-dark); padding: 40px 0 72px; }
.page-hero .eyebrow { color: var(--leaf); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.6rem); max-width: 18ch; }
.page-hero .lead { margin-top: 1rem; }
.page-hero-guide h1 { max-width: 22ch; }
.crumbs ol { list-style: none; margin: 0 0 36px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .92rem; color: var(--on-dark-2); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: #5f6b63; }
.crumbs a { color: var(--on-dark-2); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #fff; }

.sub-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; padding-top: 72px; padding-bottom: 40px; align-items: start; }
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 0; }
.prose .guide h2, .guide h2 { margin-top: 1.6em; }
.guide h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 1.06rem; }
.prose p { color: #2a312c; }
.sub-sec + .sub-sec { margin-top: 56px; }
.checks { list-style: none; margin: 0 0 1em; padding: 0; }
.checks li { position: relative; padding-left: 28px; margin: 10px 0; line-height: 1.5; }
.checks li::before { content: ""; position: absolute; left: 3px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--forest); border-bottom: 2.5px solid var(--forest); transform: rotate(-45deg); }
.points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 32px; border-top: 2px solid var(--ink); }
.points li { padding: 20px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.points b { font-family: var(--f-display); font-size: 1.12rem; }
.points span { color: var(--muted); font-size: 1rem; line-height: 1.55; }
.guide-note { margin-top: 40px; font-size: .92rem !important; color: var(--muted) !important; border-top: 1px solid var(--line); padding-top: 16px; }
.sub-side { position: sticky; top: calc(var(--header-h) + 24px); }
.side-box { background: var(--paper-2); border-radius: var(--r-md); padding: 24px 24px 12px; }
.side-h { font-family: var(--f-display); font-weight: 700; margin: 0 0 6px; }
.side-box ul { list-style: none; margin: 0 0 20px; padding: 0; }
.side-box li { margin: 0; }
.side-box li a, .side-box p a { display: inline-block; padding: 5px 0; font-weight: 600; font-size: .98rem; }
.side-box p { margin: 0 0 14px; }

.related { padding: 56px 0 96px; }
.related h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 24px; }
.related.hub { padding-top: 72px; }
.hub-intro { color: var(--muted); margin-bottom: 28px; }
.rcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.rcard { display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid var(--line); border-top: 3px solid var(--forest); border-radius: var(--r-md); background: var(--paper); color: var(--ink); text-decoration: none; transition: border-color .15s, background-color .15s; }
.rcard:hover { background: var(--mint); border-color: var(--forest); color: var(--ink); }
.rcard-k { font-size: .82rem; font-weight: 700; color: var(--forest); }
.rcard-t { font-family: var(--f-display); font-weight: 700; font-size: 1.18rem; line-height: 1.25; }
.rcard-d { color: var(--muted); font-size: .96rem; line-height: 1.5; }

.cta-band { background: var(--evergreen); color: var(--on-dark); padding: 64px 0; }
.cta-band-in { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: .3em; }
.cta-band p { color: var(--on-dark-2); margin: 0; max-width: 36em; }
.cta-band-btns { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 1100px) {
  .foot.foot-wide { grid-template-columns: repeat(3, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 1020px) {
  .sub-grid { grid-template-columns: 1fr; gap: 40px; }
  .sub-side { position: static; }
}
@media (max-width: 680px) {
  .foot.foot-wide { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .foot-col li a { display: inline-block; padding: 4px 0; }
  .points { grid-template-columns: 1fr; }
  .sub-grid { padding-top: 48px; }
  .page-hero { padding-bottom: 56px; }
  .cta-band-btns .btn { width: 100%; }
  .legal { flex-direction: column; }
}
.side-box li a, .side-box p a { text-decoration: none; }
.side-box li a:hover, .side-box p a:hover { text-decoration: underline; }
.area-strip { margin-top: 44px; }
.area-strip + .ind-strip { margin-top: 16px; }
.ind-strip > p { min-width: 11.5em; }
.hub-h2 { margin-top: 56px; }
.related.hub h2 { margin-bottom: 20px; }
.foot-company { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 16px; }
.foot.foot-wide { grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr 1fr; gap: 28px; }
.office-box { background: var(--mint); border-radius: var(--r-md); padding: 26px 28px 10px; }
.office-box h2 { font-size: 1.4rem; }
.prose .rcards { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
@media (max-width: 1100px) { .foot.foot-wide { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .foot.foot-wide { grid-template-columns: 1fr 1fr; } .ind-strip > p { min-width: 0; width: 100%; } }

/* ---------- Subpage hero with a sample visual ---------- */
.ph-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.page-hero.has-visual { padding-bottom: 64px; }
.page-hero.has-visual h1 { max-width: 16ch; }
.ph-visual .report { position: static; width: 100%; max-width: 460px; margin-left: auto; }
.sample-job .report-head { flex-wrap: wrap; row-gap: 6px; }
.sample-job table { font-size: .88rem; }
.sample-job th[scope="row"] { text-align: left; font-weight: 600; padding: 6px 0; border-bottom: 1px solid var(--line); }
.sample-job th[scope="row"] span { display: block; font-weight: 400; font-size: .74rem; color: var(--muted); }
.sample-job td { text-align: right; padding: 6px 0 6px 12px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sample-job td:last-child { display: table-cell; }
.sample-job thead th { text-align: right; padding-left: 12px; }
.sample-job thead th:first-child { text-align: left; padding-left: 0; }
.sample-job .sj-total th, .sample-job .sj-total td { font-weight: 700; border-top: 2px solid var(--ink); }
.sample-job .sj-key th, .sample-job .sj-key td { background: var(--mint); }
.sample-job .sj-key td { font-weight: 700; color: var(--forest-d); }
.sample-job .sj-key th { padding-left: 6px; }
.sample-job .sj-key td:last-child { padding-right: 6px; }

/* ---------- Scope notes and merged regions ---------- */
.scope-note { font-size: .96rem !important; background: var(--paper-2); border-left: 3px solid var(--forest); padding: 12px 14px; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.region { padding: 22px 0; border-top: 1px solid var(--line); }
.region:first-of-type { border-top: 2px solid var(--ink); }
.region h3 { font-size: 1.2rem; margin-bottom: .4em; }
.region p { margin-bottom: .6em; }
.region-towns { color: var(--muted) !important; font-size: .96rem !important; }

/* Footer: five columns plus brand */
.foot.foot-wide { grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr 1fr; }
.foot-col li a[href^="mailto"] { word-break: break-all; }

@media (max-width: 1100px) { .foot.foot-wide { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1020px) {
  .ph-grid { grid-template-columns: 1fr; gap: 36px; }
  .ph-visual .report { margin-left: 0; }
}
@media (max-width: 680px) {
  .foot.foot-wide { grid-template-columns: 1fr 1fr; }
  .sample-job { padding: 16px 14px 14px; }
  .sample-job table { font-size: .84rem; }
}
@media (max-width: 680px) { .ph-visual .report { margin: 0; width: 100%; } }
.foot-col .foot-h { line-height: 1.3; }
.sample-job .sj-diff { margin: 12px 0 0; padding: 10px 12px; background: var(--paper-2); border-radius: var(--r-sm); font-size: .9rem; font-weight: 600; line-height: 1.45; color: var(--ink); }
/* Narrow phones (≤360px): let hero grids shrink and keep long headline words inside the screen */
@media (max-width: 1020px) {
  .hero-grid, .about, .faq-grid, .start-grid, .ph-grid, .sub-grid { grid-template-columns: minmax(0, 1fr); }
}
h1, h2 { overflow-wrap: break-word; }
@media (max-width: 360px) {
  h1 { font-size: 2.15rem; }
  .page-hero h1 { font-size: 1.95rem; }
  .eyebrow { font-size: .92rem; }
}
.direct a[href^="mailto"] { overflow-wrap: anywhere; }
@media (max-width: 360px) {
  .direct a { font-size: 1.05rem; }
  .report-tag { white-space: normal; }
}
@media (max-width: 1020px) { .ops-grid, .custom, .plans { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 360px) { .custom, .ops, .projects { padding: 24px 16px; } }
/* Header collapses to the menu button below 1180px (nav + CTA no longer fit at ~1024px) */
@media (max-width: 1180px) {
  .menu-btn { display: block; }
  .nav-actions { margin-left: auto; }
  .menu {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--evergreen);
    padding: 8px max(24px, env(safe-area-inset-left, 0px)) 22px;
    border-bottom: 1px solid var(--evergreen-3);
    box-shadow: 0 20px 40px rgba(0,0,0,.35);
  }
  .menu.open { display: flex; }
  .menu a { padding: 14px 0; font-size: 1.1rem; color: #fff; border-bottom: 1px solid var(--evergreen-3); }
  .menu a:last-child { border-bottom: 0; }
}
.ph-grid { align-items: start; } .ph-visual { padding-top: 8px; }

/* ---------- Discovery questionnaire ---------- */
.start-time { color: var(--on-dark-2); font-size: .98rem; margin-top: -.4em; }
.dq-wrap { min-width: 0; }
.dq { background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: 30px 32px 28px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.dq[aria-busy="true"] { opacity: .85; }
.dq-top { margin-bottom: 18px; }
.dq-count { margin: 0 0 8px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.dq-bar { height: 6px; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.dq-bar span { display: block; height: 100%; width: 0; background: var(--forest); border-radius: 999px; transition: width .25s ease; }
.dq-title { font-size: 1.55rem; margin: 0 0 18px; }
.dq-title:focus { outline: none; }
.dq-title:focus-visible { outline: 3px solid var(--leaf); outline-offset: 4px; }
.dq-q { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.dq-legend { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; padding: 0; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dq-hint { margin: -4px 0 12px; font-size: .92rem; color: var(--muted); }
.dq-cards { display: grid; gap: 10px; }
.dq-cols-1 { grid-template-columns: minmax(0, 1fr); }
.dq-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dq-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dq-card { position: relative; display: block; cursor: pointer; }
.dq-input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.dq-card-body { display: flex; align-items: center; gap: 12px; min-height: 56px; height: 100%; padding: 12px 14px; border: 1.5px solid #cfd8d0; border-radius: var(--r-md); background: #fbfcfb; font-size: 1rem; line-height: 1.35; transition: border-color .12s, background-color .12s, box-shadow .12s; }
.dq-card:hover .dq-card-body { border-color: var(--forest); background: #f6faf4; }
.dq-card-label { flex: 1; min-width: 0; }
.dq-icon { flex: none; width: 24px; height: 24px; fill: none; stroke: var(--forest); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dq-tick, .dq-dot { flex: none; width: 20px; height: 20px; border: 1.5px solid #9aa79c; background: #fff; position: relative; }
.dq-tick { border-radius: 5px; }
.dq-dot { border-radius: 50%; }
.dq-card:has(.dq-input:checked) .dq-card-body { border-color: var(--forest); background: var(--mint); box-shadow: inset 0 0 0 1px var(--forest); }
.dq-card:has(.dq-input:checked) .dq-tick { background: var(--forest); border-color: var(--forest); }
.dq-card:has(.dq-input:checked) .dq-tick::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.dq-card:has(.dq-input:checked) .dq-dot { border-color: var(--forest); }
.dq-card:has(.dq-input:checked) .dq-dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--forest); }
.dq-card:has(.dq-input:focus-visible) .dq-card-body { outline: 3px solid var(--leaf); outline-offset: 2px; }
.dq-invalid .dq-card-body, .dq-field.dq-invalid input, .dq-field.dq-invalid select { border-color: var(--loss); }
.dq .field { margin-bottom: 16px; }
.dq .field label { font-weight: 600; font-size: .95rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dq input[type=text], .dq input[type=email], .dq input[type=tel], .dq textarea, .dq select { font: inherit; font-size: 1rem; color: var(--ink); background: #fbfcfb; border: 1.5px solid #c5cec6; border-radius: var(--r-sm); padding: .75em .85em; width: 100%; min-height: 50px; }
.dq textarea { min-height: 0; resize: vertical; }
.dq select { appearance: none; -webkit-appearance: none; padding-right: 2.4em; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.dq input:focus, .dq textarea:focus, .dq select:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(35,113,26,.18); background-color: #fff; }
.dq .row2 { gap: 0 16px; }
.dq-prices { background: var(--paper-2); border-left: 3px solid var(--forest); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 12px 16px; margin: 0 0 18px; }
.dq-prices p { margin: 0; font-size: .97rem; line-height: 1.5; }
.dq-note { background: var(--mint); border-radius: var(--r-sm); padding: 10px 14px; font-size: .95rem; margin: 0 0 16px; }
.dq-link { background: none; border: 0; padding: 0 2px; font: inherit; font-weight: 600; color: var(--forest); text-decoration: underline; cursor: pointer; min-height: 32px; }
.dq-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.dq-nav .dq-next { margin-left: auto; min-width: 150px; }
.dq-nav .btn[disabled] { opacity: .65; cursor: progress; }
.dq-suggest { border: 1.5px solid var(--forest); border-radius: var(--r-md); padding: 16px 18px 6px; margin-bottom: 20px; background: #f6faf4; }
.dq-suggest p { margin: 0 0 10px; }
.dq-suggest-label { font-size: .86rem; font-weight: 700; color: var(--forest-d); }
.dq-suggest-text { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; line-height: 1.3; }
.dq-why { margin: 0 0 10px; }
.dq-why summary { font-family: var(--f-body); font-weight: 600; font-size: .95rem; padding: 4px 0; color: var(--forest-d); }
.dq-why summary::after { display: none; }
.dq-why ul { margin: 6px 0 0; padding-left: 20px; font-size: .94rem; }
.dq-muted { color: var(--muted); font-size: .92rem; }
.dq-sum { border-top: 1px solid var(--line); padding: 12px 0 4px; }
.dq-sum-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dq-sum h4 { font-family: var(--f-display); font-size: 1rem; margin: 0; }
.dq-edit { background: none; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 6px 14px; font: inherit; font-weight: 600; font-size: .9rem; color: var(--forest-d); cursor: pointer; min-height: 40px; }
.dq-edit:hover { border-color: var(--forest); background: var(--mint); }
.dq-sum dl { margin: 6px 0 8px; }
.dq-sum-row { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 4px 14px; padding: 3px 0; font-size: .95rem; }
.dq-sum dt { color: var(--muted); }
.dq-sum dd { margin: 0; overflow-wrap: anywhere; }
.dq-preview-flag { background: #f9eeda; padding: 8px 12px; border-radius: var(--r-sm); }
.dq-done h3 { font-size: 1.6rem; }
.dq-done h3:focus { outline: none; }
.dq-fallback { background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: 32px; }
.dq-fallback h3 { font-size: 1.5rem; }
.dq-fallback-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
.start-grid { align-items: start; }
@media (max-width: 680px) {
  .dq { padding: 22px 16px 20px; border-radius: var(--r-md); }
  .dq-cols-2, .dq-cols-3 { grid-template-columns: minmax(0, 1fr); }
  .dq-title { font-size: 1.3rem; }
  .dq-sum-row { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 5px 0; }
  .dq-nav .dq-next { min-width: 0; flex: 1; }
  .dq-fallback { padding: 22px 18px; }
  .dq-fallback-links .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .dq-bar span { transition: none; } }
.dq-nav [hidden] { display: none; }
/* Questionnaire: fixed stage tracker */
.dq-stages { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.dq-stages li { display: flex; flex-direction: column; gap: 4px; font-size: .78rem; font-weight: 600; color: var(--muted); line-height: 1.2; }
.dq-stage-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid #b6c0b8; background: #fff; }
.dq-stages li.done .dq-stage-dot { background: var(--forest); border-color: var(--forest); }
.dq-stages li.current { color: var(--ink); }
.dq-stages li.current .dq-stage-dot { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(35,113,26,.2); }
.dq-why { background: #fff; border-radius: var(--r-sm); padding: 10px 12px; margin: 0 0 10px; }
.dq-why-h { font-weight: 700; font-size: .9rem; color: var(--forest-d); margin: 0 0 4px !important; }
.dq-why p:last-child { margin: 0; font-size: .97rem; line-height: 1.5; }
.dq-budget { background: #f9eeda; border-radius: var(--r-sm); padding: 10px 12px; font-size: .97rem; line-height: 1.5; }
@media (max-width: 680px) { .dq-stages .dq-stage-label { display: none; } .dq-stages { grid-template-columns: repeat(6, auto); justify-content: start; gap: 10px; } }
.dq-sum-list { margin: 0; padding-left: 18px; } .dq-sum-list li { margin: 0 0 2px; }

/* ---------- Free calculators (/tools/) ---------- */
.calc-wrap { padding-top: 56px; }
.calc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 30px 60px -36px rgba(12,23,18,.45); overflow: hidden; margin-top: -40px; position: relative; }
.calc-in { padding: 32px; display: grid; gap: 18px; align-content: start; }
.calc-out { background: var(--evergreen); color: var(--on-dark); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.calc-h { font-size: 1.25rem; margin: 0; }
.calc-out .calc-h { color: #fff; }
.calc-sub { margin: 0; color: var(--muted); font-size: .96rem; }
.calc-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.calc-field label { font-weight: 600; font-size: .95rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.calc-input { display: flex; align-items: stretch; border: 1px solid #c5cec6; border-radius: var(--r-sm); background: #fbfcfb; transition: border-color .15s, box-shadow .15s; }
.calc-input:focus-within { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(35,113,26,.18); background: #fff; }
.calc-input span { display: flex; align-items: center; padding: 0 12px; color: var(--muted); font-weight: 600; }
.calc-money span { padding-right: 0; }
.calc-pct span, .calc-unit span { padding-left: 0; }
.calc-input input { font: inherit; font-size: 1.05rem; color: var(--ink); border: 0; background: transparent; padding: .7em .75em; min-height: 50px; width: 100%; min-width: 0; outline: none; }
.calc-input input[readonly] { color: var(--muted); }
.calc-input:has(input[aria-invalid="true"]) { border-color: var(--loss); box-shadow: 0 0 0 3px rgba(212,85,58,.14); }
.calc-hint { margin: 0; font-size: .86rem; line-height: 1.45; color: var(--muted); }
.calc-row2, .calc-row3 { display: grid; gap: 14px; }
.calc-row2 { grid-template-columns: 1fr 1fr; }
.calc-row3 { grid-template-columns: 1.2fr 1fr 1fr; }
.calc-items { border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 16px; background: var(--paper-2); }
.calc-items summary { padding: 14px 0; font-size: .96rem; }
.calc-items-grid { display: grid; gap: 14px; padding: 4px 0 18px; }
.calc-privacy { margin: 4px 0 0; font-size: .84rem; color: var(--muted); }
.calc-stats { margin: 0; display: grid; gap: 0; }
.calc-stat { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--evergreen-3); }
.calc-stat dt { color: var(--on-dark-2); font-size: .96rem; }
.calc-stat dd { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; color: #fff; text-align: right; white-space: nowrap; }
.calc-stat-big { flex-direction: column; align-items: flex-start; gap: 2px; padding-top: 4px; }
.calc-stat-big dd { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: var(--leaf); text-align: left; line-height: 1.1; }
.calc-verdict { margin: 0; padding: 14px 16px; border-radius: var(--r-sm); background: var(--evergreen-2); color: var(--on-dark); font-size: .98rem; line-height: 1.5; border-left: 4px solid var(--on-dark-2); }
.calc-verdict:empty { display: none; }
.calc-verdict.is-ok { border-left-color: var(--leaf); }
.calc-verdict.is-warn { border-left-color: #e0b13c; }
.calc-verdict.is-bad { border-left-color: #e0623c; }
.calc-noscript { grid-column: 1 / -1; margin: 0; padding: 16px 32px; background: #fff4e5; }
.calc-table-wrap { overflow-x: auto; margin: 8px 0 1.2em; }
.calc-table { border-collapse: collapse; width: 100%; max-width: 440px; font-size: 1rem; }
.calc-table caption { text-align: left; font-weight: 700; font-family: var(--f-display); padding-bottom: 8px; }
.calc-table th, .calc-table td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.calc-table thead th { border-bottom: 2px solid var(--ink); font-size: .92rem; }
.calc-table td:last-child { font-weight: 700; color: var(--forest); }
.calc-disclaimer { margin-top: 18px; font-size: .88rem; color: var(--muted); }
@media (max-width: 1020px) {
  .calc { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .calc { margin-top: -28px; border-radius: var(--r-md); }
  .calc-in, .calc-out { padding: 24px 18px; }
  .calc-row3 { grid-template-columns: 1fr 1fr; }
  .calc-row3 > :first-child { grid-column: 1 / -1; }
  .calc-row2 { grid-template-columns: 1fr; }
}
.calc-costs { display: grid; gap: 10px; }
.calc-costs-head, .calc-costs-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: center; }
.calc-costs-head span { font-weight: 700; font-size: .88rem; color: var(--muted); }
.calc-costs-label { font-weight: 600; font-size: .95rem; }
@media (max-width: 680px) {
  .calc-costs-head, .calc-costs-row { grid-template-columns: 1fr 1fr; }
  .calc-costs-head span:first-child { display: none; }
  .calc-costs-label { grid-column: 1 / -1; margin-top: 4px; }
}

/* ---------- Homepage: differentiation section ---------- */
.diff-head { max-width: 820px; }
.diff-sec .sec-lead { color: var(--on-dark-2); margin: 0 0 .7em; }
.diff-sec h2 { color: #fff; }
.diff-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.diff-card { background: var(--evergreen-2); border: 1px solid var(--evergreen-3); border-top: 3px solid var(--leaf); border-radius: var(--r-md); padding: 28px 26px; }
.diff-card h3 { color: #fff; font-size: 1.3rem; margin: 0 0 12px; }
.diff-card p { color: var(--on-dark-2); margin: 0 0 .7em; line-height: 1.6; }
.diff-card p:last-child { margin-bottom: 0; }
.diff-cta { margin: 40px 0 0; }
/* ---------- Industry directory cards ---------- */
.ind-dir { margin-top: 56px; }
.ind-dir-h { font-size: 1.4rem; margin: 0 0 20px; }
.icards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.icard .rcard-t { font-size: 1.15rem; }
.icard-go { margin-top: auto; padding-top: 8px; font-family: var(--f-display); font-weight: 700; font-size: .96rem; color: var(--forest); }
.icard-go::after { content: " →"; }
/* ---------- Trust section and testimonials ---------- */
.trust-sec .sec-head { margin-bottom: 0; }
.trust-sec .sec-lead { margin: 0 0 .7em; }
.tm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 40px; }
.tm { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.tm blockquote { margin: 0; }
.tm blockquote p { margin: 0; font-size: 1.05rem; line-height: 1.6; }
.tm figcaption { display: flex; flex-direction: column; gap: 2px; font-size: .95rem; }
.tm figcaption span, .tm figcaption small { color: var(--muted); }
/* ---------- Industry pages ---------- */
.ind-hero .lead + .lead { margin-top: .6em; }
.ind-hero h1 { max-width: 22ch; }
.metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.metric { border: 1px solid var(--line); border-top: 3px solid var(--forest); border-radius: var(--r-md); padding: 20px 22px; background: var(--paper); }
.metric h3 { font-size: 1.12rem; margin: 0 0 10px; }
.metric p { font-size: .98rem !important; margin: 0 0 8px; line-height: 1.55; }
.metric p:last-child { margin-bottom: 0; }
.fin-ex { background: var(--paper-2); border-radius: var(--r-md); padding: 22px 24px; margin: 8px 0 20px; }
.fin-ex-tag { display: inline-block; margin: 0 0 12px; font-size: .82rem !important; font-weight: 700; color: var(--forest) !important; background: var(--mint); padding: 3px 10px; border-radius: 999px; }
.fin-ex-scroll { overflow-x: auto; }
.fin-ex-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.fin-ex-table th, .fin-ex-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.fin-ex-table th[scope="row"] { font-weight: 600; }
.fin-ex-table td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fin-ex-table thead th { font-size: .88rem; color: var(--muted); border-bottom: 2px solid var(--ink); }
.fin-ex-table thead th:not(:first-child) { text-align: right; }
.fin-ex-table tr.key th, .fin-ex-table tr.key td { font-weight: 700; color: var(--ink); }
.fin-ex-table tr.key td { color: var(--forest); font-family: var(--f-display); }
.fin-ex-result { margin: 14px 0 6px; font-weight: 700; }
.fin-ex-note { margin: 0; font-size: .9rem !important; color: var(--muted) !important; }
.fin-ex-lesson h3 { font-size: 1.15rem; margin: 0 0 8px; }
.prose h3 { font-size: 1.2rem; margin: 1.4em 0 .4em; }
.prose .metric h3, .prose .fin-ex-lesson h3, .prose .insight h3 { margin-top: 0; }
.insight { background: var(--mint); border-left: 4px solid var(--forest); border-radius: var(--r-sm); padding: 18px 22px; margin-top: 20px; }
.insight-k { margin: 0 0 4px; font-size: .82rem !important; font-weight: 700; color: var(--forest) !important; text-transform: uppercase; letter-spacing: .04em; }
.insight h3 { font-size: 1.15rem; margin: 0 0 6px; }
.insight p { margin: 0 0 6px; }
@media (max-width: 1020px) {
  .diff-cards, .icards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .diff-cards, .icards, .metrics { grid-template-columns: 1fr; }
  .fin-ex { padding: 18px 16px; }
  .fin-ex-table { font-size: .95rem; }
  .fin-ex-table td { white-space: normal; }
}
.trust-sec { padding: 88px 0; }

/* ---------- About page ---------- */
.about-cta { margin-top: 28px; }
.about-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: center; }
.about-hero h1 { max-width: 20ch; font-size: clamp(2rem, 3.8vw, 3.1rem); }
.about-hero .lead + .lead { margin-top: .6em; }
.about-hero-photo { margin: 0; }
.about-hero-photo img { width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.about-page { padding-top: 80px; padding-bottom: 40px; }
.ab-sec { max-width: 760px; margin: 0 auto 72px; }
.ab-wide { max-width: none; }
.ab-wide > h2, .ab-wide > .ab-intro { max-width: 760px; margin-left: auto; margin-right: auto; }
.ab-sec h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 0 0 .6em; }
.ab-sec p { font-size: 1.08rem; line-height: 1.7; color: #2a312c; }
.ab-intro { color: var(--muted) !important; }
.ab-pull { color: var(--forest); border-left: 5px solid var(--leaf); padding-left: 20px; }
.ab-list { list-style: none; margin: 1em 0; padding: 0; display: grid; gap: 10px; }
.ab-list li { background: var(--paper-2); border-radius: var(--r-sm); padding: 14px 18px; font-weight: 600; }
.ab-questions { margin: .6em 0 1em; padding-left: 1.2em; }
.ab-questions li { font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; margin: 6px 0; }
.ab-aside { background: var(--mint); border-radius: var(--r-lg); padding: 36px 40px; max-width: 840px; }
.ab-short p { color: var(--muted); }
.xp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: 28px; }
.xp-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.xp-card { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--forest); border-radius: var(--r-md); padding: 22px; }
.xp-card h3 { font-size: 1.12rem; margin: 0 0 8px; }
.xp-card p { font-size: .98rem !important; line-height: 1.55 !important; margin: 0; color: var(--muted) !important; }
.xp-card .xp-n { font-family: var(--f-display); font-weight: 800; color: var(--leaf) !important; font-size: 1.4rem !important; margin-bottom: 6px; }
@media (max-width: 1020px) {
  .about-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-hero-photo { max-width: 420px; }
  .xp-3 { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .about-page { padding-top: 48px; }
  .ab-sec { margin-bottom: 52px; }
  .ab-aside { padding: 26px 20px; }
}
.ab-sec.ab-wide > h2, .ab-sec.ab-wide > .ab-intro { max-width: 760px; margin-left: auto; margin-right: auto; }
.fin-ex-sub { margin: 16px 0 4px; font-weight: 700; font-size: .95rem !important; }
.ab-narrow { max-width: 760px; margin: 0 auto; }
.ab-sec h3 { font-size: 1.3rem; margin: 1.6em 0 .5em; }
.ab-sec .xp-card h3 { margin: 0 0 8px; }
