/* Bookkeeping by Gio — mobile-first styles */

:root {
  --teal: #496E5A;
  --teal-deep: #3A5A49;
  --celadon: #91C499;
  --white: #FFFFFF;
  --ink: #1F2E26;
  --muted: #4F6157;
  --mist: #EEF5EF;
  --line: #D5E5D8;

  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --body: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(18px, 5vw, 48px);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1rem/1.6 var(--body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  overflow-x: clip; /* clip doesn't break the sticky header the way hidden can */
}
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -0.015em; line-height: 1.08; }
h3 { font-family: var(--body); font-weight: 600; line-height: 1.3; }
a { color: inherit; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--celadon); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px;
  border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem var(--body); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, transform .2s cubic-bezier(.2, .7, .2, 1), box-shadow .2s;
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 44px; padding: 0 20px; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); }
.btn-ghost { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn-ghost:hover { background: rgba(73, 110, 90, .08); }
.btn-light { background: #fff; color: var(--teal); }
.btn-light:hover { background: var(--mist); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  padding-top: env(safe-area-inset-top);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(31, 46, 38, .35); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: .28em; min-height: 44px; font: 600 1.25rem var(--display); letter-spacing: -0.01em; text-decoration: none; color: var(--teal); }
.logo span { color: var(--ink); }
.logo-avatar { flex: none; width: 36px; height: 36px; margin-right: .3em; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--celadon); }
.nav-links { display: none; gap: 28px; align-items: center; }
.nav-links a:not(.btn) {
  text-decoration: none; font-weight: 500; color: var(--muted); padding-block: 6px;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 2px no-repeat;
  transition: color .2s, background-size .3s cubic-bezier(.2, .7, .2, 1);
}
.nav-links a:not(.btn):hover, .nav-links a[aria-current] { color: var(--teal); background-size: 100% 2px; }

.menu-btn { width: 48px; height: 48px; margin-right: -12px; border: 0; background: none; display: grid; place-items: center; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.menu-btn span { position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -7px; }
.menu-btn span::after { top: 7px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu sheet */
.mobile-menu {
  position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top)) 0 0 0; z-index: 35;
  background: #fff; padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  animation: sheet .22s ease-out;
}
.mobile-menu nav { display: grid; }
.mobile-menu nav a {
  font: 600 1.75rem var(--display); text-decoration: none; color: var(--ink);
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.mobile-menu-ctas { display: grid; gap: 12px; }
@keyframes sheet { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
body.menu-open { overflow: hidden; }
body.menu-open .action-bar { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--mist); padding-block: 40px 56px; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 40px; }
.hero h1 { font-size: clamp(2.6rem, 10vw, 4.6rem); max-width: 11ch; }
.lede { margin-top: 18px; font-size: 1.125rem; color: var(--muted); max-width: 36ch; }
.hero-ctas { display: grid; gap: 12px; margin-top: 28px; }
.hero-meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.based { display: flex; align-items: center; gap: 8px; font-size: .95rem; color: var(--muted); }
.based svg { flex: none; }

.deco { position: absolute; pointer-events: none; }
.deco-dollar { width: 120px; right: -44px; top: -34px; transform: rotate(12deg); opacity: .3; }
.deco-dollar text { font: 600 300px var(--display); fill: var(--celadon); }
.deco-books { width: 150px; left: -40px; bottom: -24px; opacity: .45; }
.deco-books rect { fill: var(--celadon); }
.deco-books .pages { fill: #fff; opacity: .7; }
.deco-books .spine { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; opacity: .7; }

/* Ledger card: the one standout element */
.ledger {
  margin: 0; justify-self: center; width: 100%; max-width: 440px;
  background: #fff; border-radius: 20px; padding: 22px;
  box-shadow: 0 1px 0 var(--line), 0 24px 48px -24px rgba(58, 90, 73, .35);
  font-variant-numeric: tabular-nums;
}
.ledger-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ledger-title { font-weight: 600; font-size: 1.05rem; }
.ledger-head small { color: var(--muted); font-size: .85rem; }
.row { display: grid; grid-template-columns: 1fr auto 22px; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.amt { font-weight: 600; }
.amt.neg { color: var(--muted); }
.tick {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--celadon) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F2E26' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
  animation: pop .4s cubic-bezier(.3, 1.6, .5, 1) both;
}
/* Ticks land as each row's digits finish rolling (see script.js odometer timing) */
.row:nth-of-type(2) .tick { animation-delay: 1.3s; }
.row:nth-of-type(3) .tick { animation-delay: 1.45s; }
.row:nth-of-type(4) .tick { animation-delay: 1.6s; }
.row:nth-of-type(5) .tick { animation-delay: 1.75s; }
/* With JS, hold the ledger animation until the card is on screen */
.js .ledger:not(.is-live) .tick,
.js .ledger:not(.is-live) .stamp { animation-play-state: paused; }
/* Restart the tick + stamp animations when the card rolls to a new month */
.ledger.is-reset .tick, .ledger.is-reset .stamp { animation: none; }

/* Odometer digits */
.odo-line { display: inline-flex; vertical-align: baseline; }
.odo-line > span { display: block; height: 1.25em; line-height: 1.25em; }
.odo { overflow: hidden; }
.odo-strip { display: flex; flex-direction: column; transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); will-change: transform; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ledger-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; font-weight: 600; }
.stamp {
  background: var(--teal); color: #fff; border: 1.5px solid var(--teal);
  font-size: .8rem; font-weight: 600; padding: 5px 12px; border-radius: 999px;
  /* Waits in white while the digits roll, then turns green as the Net total lands (~2.8s). */
  animation: stamp-done .5s 2.8s both;
}
@keyframes stamp-done {
  0% { background: #fff; color: var(--muted); border-color: var(--line); transform: scale(1); }
  55% { background: var(--teal); color: #fff; border-color: var(--teal); transform: scale(1.12); }
  100% { background: var(--teal); color: #fff; border-color: var(--teal); transform: scale(1); }
}
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }

/* Sections */
.section { padding-block: 56px; }
.tint { background: var(--mist); }
.sec-head { max-width: 560px; margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(2rem, 6.5vw, 2.9rem); }
.sec-head p { margin-top: 12px; font-size: 1.05rem; color: var(--muted); }

/* Services: ledger-style rows */
.services { border-top: 2px solid var(--ink); }
.svc {
  display: grid; grid-template-columns: 72px 1fr; grid-template-areas: "art title" "art desc";
  column-gap: 16px; row-gap: 4px; align-items: start;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.svc h3 { grid-area: title; font-size: 1.2rem; align-self: end; }
.svc p { grid-area: desc; color: var(--muted); max-width: 52ch; }
.svc p strong { color: var(--ink); font-weight: 600; }
.svc-group { margin: 0 0 12px; font-size: 1rem; font-weight: 600; color: var(--teal); }
.services + .svc-group { margin-top: 40px; }

/* Service illustrations */
.svc-art { grid-area: art; width: 100%; height: auto; aspect-ratio: 5 / 4; background: var(--mist); border-radius: 14px; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
:is(.svc-art, .step-art) * { stroke-linecap: round; stroke-linejoin: round; }
:is(.svc-art, .step-art) .paper { fill: #fff; stroke: var(--teal); stroke-width: 2; }
:is(.svc-art, .step-art) .txt { fill: none; stroke: var(--line); stroke-width: 3; }
:is(.svc-art, .step-art) .hl { fill: none; stroke: var(--teal); stroke-width: 3; }
:is(.svc-art, .step-art) .arrow { fill: none; stroke: var(--teal); stroke-width: 2.5; }
:is(.svc-art, .step-art) .match { fill: none; stroke: var(--celadon); stroke-width: 2; stroke-dasharray: 3 4; }
:is(.svc-art, .step-art) .dot-a { fill: var(--celadon); }
:is(.svc-art, .step-art) .dot-b { fill: var(--teal); }
:is(.svc-art, .step-art) .bar { fill: var(--celadon); }
:is(.svc-art, .step-art) .bar-hi { fill: var(--teal); }
:is(.svc-art, .step-art) .badge { fill: var(--teal); }
:is(.svc-art, .step-art) .check { fill: none; stroke: #fff; stroke-width: 2.5; }
.svc-art .gear { fill: none; stroke: var(--teal); stroke-width: 5; stroke-dasharray: 4.3 4.3; }
.svc-art .gear-hub { fill: #fff; stroke: var(--teal); stroke-width: 3; }
.svc-art .ring { fill: #fff; stroke: var(--celadon); stroke-width: 2; stroke-dasharray: 2.5 2.5; }
.step-art .handset { fill: #fff; }
.step-art .bubble { fill: var(--celadon); }
.step-art .txt-on { fill: none; stroke: #fff; stroke-width: 3; }
.step-art .cols { fill: none; stroke: var(--teal); stroke-width: 2; }
.step-art .card { fill: var(--celadon); stroke: var(--teal); stroke-width: 2; }
.step-art .cal-top { fill: var(--teal); }
.step-art .ring { fill: #fff; stroke: var(--celadon); stroke-width: 2; stroke-dasharray: 3 3; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: step; }
.steps li { transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s; background: #fff; border-radius: 16px; padding: 12px 12px 20px; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.step-art { grid-row: 1; grid-column: 1 / -1; width: 100%; height: auto; aspect-ratio: 3 / 1; background: var(--mist); border-radius: 12px; }
.steps li::before { grid-row: 2; grid-column: 1; }
.steps li > div { grid-row: 2; grid-column: 2; padding-right: 8px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--teal); color: #fff; font: 600 1.2rem var(--display);
}
.steps h3 { font-size: 1.15rem; margin-bottom: 4px; }
.steps p { color: var(--muted); }

/* Trust strip */
.trust { border-bottom: 1px solid var(--line); }
.trust-list { list-style: none; margin: 0 auto; padding-block: 18px; display: grid; grid-template-columns: 1fr; gap: 10px; }
.trust-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.trust-list svg { flex: none; width: 22px; height: 22px; fill: var(--celadon); stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.trust-list svg circle { stroke: none; }

/* Pain points */
.pains { display: grid; gap: 12px; }
.pain {
  display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; row-gap: 14px; align-content: start;
  padding: 22px 22px 18px; background: #fff; border-radius: 18px; text-decoration: none;
  border: 1.5px solid transparent; transition: border-color .2s, transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s;
}
.pain p { font: 600 clamp(1.25rem, 4.6vw, 1.5rem)/1.25 var(--display); letter-spacing: -0.01em; }
.pain span { font-weight: 600; font-size: .95rem; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.pain:hover { border-color: var(--celadon); }
.pain p, .pain span { grid-column: 2; }
.pain-icon { grid-row: 1 / span 2; width: 56px; height: 56px; background: var(--mist); border-radius: 14px; }
.pain-icon * { stroke-linecap: round; stroke-linejoin: round; }
.pain-icon .paper { fill: #fff; stroke: var(--teal); stroke-width: 2; }
.pain-icon .txt { fill: none; stroke: var(--line); stroke-width: 2.5; }
.pain-icon .hl { fill: none; stroke: var(--teal); stroke-width: 2.5; }
.pain-icon .cal-top { fill: var(--teal); }
.pain-icon .bar { fill: var(--celadon); }
.pain-icon .badge { fill: var(--teal); }
.pain-icon .mark { font: 700 14px var(--body); fill: #fff; text-anchor: middle; }
.pain-icon .clock { fill: #fff; stroke: var(--teal); stroke-width: 2.5; }
.pain-icon .hand { fill: none; stroke: var(--teal); stroke-width: 2.5; }
.pain:active { transform: scale(.98); }
.pains-bridge { margin-top: 28px; font-size: 1.05rem; color: var(--muted); }
.pains-bridge a { color: var(--teal); font-weight: 600; }

/* About */
.about { display: grid; gap: 28px; align-items: center; }
.about-photo {
  width: 100%; height: auto; border-radius: 20px;
  display: block; background: var(--mist);
}
.about-copy h2 { font-size: clamp(2rem, 6.5vw, 2.9rem); margin-bottom: 16px; }
.about-copy p { color: var(--muted); font-size: 1rem; max-width: 56ch; }
.about-copy p + p { margin-top: 14px; }
.about-copy .about-aside { margin-top: 18px; font-style: italic; font-size: .95rem; }
.about-proof { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.about-proof li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .97rem; }
.about-proof svg { flex: none; width: 22px; height: 22px; fill: var(--celadon); stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.about-proof svg circle { stroke: none; }
.about-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 26px; }
.about-cta .about-ig { margin-top: 0; }
.certs { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.certs img { height: 72px; width: auto; }
.about-ig { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 18px; font-weight: 600; color: var(--teal); }
.about-ig svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* Closing call to action */
.callout { padding: 40px 24px; border-radius: 24px; background: var(--teal); color: #fff; text-align: center; }
.callout h2 { font-size: clamp(2rem, 6.5vw, 2.9rem); }
.callout p { margin: 12px auto 28px; color: #E3EFE5; font-size: 1.1rem; max-width: 40ch; }
.callout-ctas { display: grid; gap: 12px; }
.btn-outline-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); }

/* Pricing: how it works (no price list yet) */
.pricing { display: grid; gap: 16px; }
.price-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: pstep; }
.price-steps li { position: relative; padding: 20px 20px 20px 64px; background: #fff; border-radius: 16px; }
.price-steps li::before {
  counter-increment: pstep; content: counter(pstep);
  position: absolute; left: 20px; top: 20px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--mist); color: var(--teal); font: 600 1rem var(--display);
}
.price-steps h3 { font-size: 1.1rem; margin-bottom: 4px; }
.price-steps p { color: var(--muted); }
.price-card { padding: 26px 22px; border-radius: 20px; background: var(--teal); color: #fff; }
.price-card h3 { font-size: 1.2rem; margin-bottom: 16px; }
.includes { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.includes li { display: flex; align-items: flex-start; gap: 10px; color: #E3EFE5; }
.includes svg { flex: none; width: 22px; height: 22px; margin-top: 1px; fill: var(--celadon); stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.includes svg circle { stroke: none; }
.price-note { font-size: .92rem; color: #CFE3D3; margin-bottom: 20px; }
.price-card .btn { width: 100%; background: #fff; color: var(--teal); }
.price-card .btn:hover { background: var(--mist); }
.price-alt { margin-top: 12px; text-align: center; font-size: .95rem; color: #E3EFE5; }
.price-alt a { color: #fff; font-weight: 600; }

/* FAQ: compact question cards; answers slide open (script.js) */
.faq { display: grid; gap: 10px; }
.faq-col { display: grid; gap: 10px; align-content: start; }
#faq .sec-head p a { color: var(--teal); font-weight: 600; }
.faq details { background: #fff; border-radius: 14px; transition: box-shadow .2s; }
.faq details:not([open]):hover { box-shadow: 0 0 0 1.5px var(--line); }
.faq details[open] { background: #fff; box-shadow: 0 0 0 1.5px var(--celadon); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  min-height: 56px; padding: 14px 16px 14px 18px;
  font-weight: 600; font-size: 1rem; line-height: 1.35;
  cursor: pointer; list-style: none; border-radius: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23496E5A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .28s cubic-bezier(.2, .8, .2, 1);
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq summary:hover { color: var(--teal); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 18px 18px; color: var(--muted); font-size: .97rem; }

/* Contact */
.contact-grid { display: grid; gap: 32px; }
.contact-grid .sec-head { margin-bottom: 24px; }
.me { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.photo { flex: none; width: 84px; height: 84px; border-radius: 50%; object-fit: cover; background: var(--mist); }
.me p { color: var(--muted); }
.direct { display: grid; gap: 10px; }
.direct a {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 18px;
  background: var(--mist); border-radius: 14px; text-decoration: none; font-weight: 600;
  transition: box-shadow .2s;
}
.direct a:hover { box-shadow: 0 0 0 2px var(--celadon); }
.direct svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.direct small { display: block; font-weight: 400; font-size: .9rem; color: var(--muted); }

.form { display: grid; gap: 14px; padding: 24px; background: var(--mist); border-radius: 20px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; min-height: 52px; padding: 13px 14px;
  font: 400 1rem var(--body); color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  -webkit-appearance: none; appearance: none;
}
.form select {
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F6157' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
  padding-right: 42px;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(145, 196, 153, .45); }
.form [aria-invalid="true"] { border-color: #B3412E; }
.hp { position: absolute; left: -9999px; }
.form-note { margin-top: -4px; text-align: center; font-size: .9rem; color: var(--muted); }
.form-status { min-height: 1.5em; font-size: .95rem; }
.form-status.error { color: #B3412E; }
.form-done { text-align: center; padding: 40px 24px; }
.form-done h3 { font: 600 1.8rem var(--display); margin-bottom: 8px; }
.form-done p { color: var(--muted); }

/* Footer */
.site-footer { position: relative; overflow: hidden; background: var(--teal-deep); color: #E3EFE5; padding-block: 56px calc(104px + env(safe-area-inset-bottom)); }
.site-footer .wrap { position: relative; z-index: 1; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .logo { color: #fff; }
.site-footer .logo span { color: var(--celadon); }
.foot { display: grid; gap: 28px; }
.foot-tag { margin-top: 10px; max-width: 32ch; }
.foot-head { margin-bottom: 8px; font-size: .95rem; font-weight: 600; color: var(--celadon); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot-contact { display: grid; gap: 4px; }
.foot-contact a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.foot-icon { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(145, 196, 153, .35); }
.foot-icon svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.foot-icon svg .dot { fill: #fff; stroke: none; }
.foot-contact a:hover .foot-icon { background: rgba(145, 196, 153, .2); }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.foot-links a { display: inline-block; padding: 8px 0; }
.fine { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .85rem; opacity: .75; }
/* Footer decorations: same shapes as the hero, quieter on dark green */
.site-footer .deco-dollar { width: 160px; right: -40px; top: -30px; bottom: auto; opacity: .12; }
.site-footer .deco-books { width: 150px; left: auto; right: 24px; bottom: calc(80px + env(safe-area-inset-bottom)); opacity: .14; }

/* Mobile sticky action bar */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), opacity .25s;
}
.action-bar .btn { min-height: 50px; padding: 0 12px; }
.action-bar.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }

/* Motion
   One entrance on load (hero), a one-time reveal as sections scroll in, and
   feedback on hover/press. Reveals use the `translate` property so they never
   fight hover effects that use `transform`. All of it is off for reduced motion. */
@keyframes rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
.hero-copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero .ledger { animation: rise .9s .18s cubic-bezier(.2, .7, .2, 1) both; }

/* Scroll reveal: script.js adds .reveal-ready, then .is-in as each element enters */
.reveal-ready [data-reveal] { opacity: 0; translate: 0 22px; }
.reveal-ready [data-reveal].is-in {
  opacity: 1; translate: 0 0;
  transition: opacity .7s ease, translate .7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}

/* Mobile menu: links slide in one after another */
.mobile-menu nav a, .mobile-menu-ctas { animation: rise .45s cubic-bezier(.2, .7, .2, 1) both; }
.mobile-menu nav a:nth-child(2) { animation-delay: .04s; }
.mobile-menu nav a:nth-child(3) { animation-delay: .08s; }
.mobile-menu nav a:nth-child(4) { animation-delay: .12s; }
.mobile-menu nav a:nth-child(5) { animation-delay: .16s; }
.mobile-menu nav a:nth-child(6) { animation-delay: .2s; }
.mobile-menu-ctas { animation-delay: .24s; }

/* Hover feedback only where hover exists (no sticky hover on phones) */
@media (hover: hover) {
  .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 20px -10px rgba(58, 90, 73, .6); }
  .btn-ghost:hover, .btn-light:hover, .btn-outline-light:hover { transform: translateY(-1px); }
  .btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
  .pain:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -20px rgba(58, 90, 73, .5); }
  .steps li:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -20px rgba(58, 90, 73, .45); }
  .svc:hover .svc-art { transform: scale(1.05) rotate(-1.5deg); }
}

/* Tablet / desktop */
@media (min-width: 600px) {
  .trust-list { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
  .hero-ctas { display: flex; flex-wrap: wrap; }
  .form { grid-template-columns: 1fr 1fr; padding: 32px; }
  .form .full { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
  :root { --header-h: 76px; }
  .logo-avatar { width: 40px; height: 40px; }
  .nav-links { display: flex; }
  .menu-btn, .mobile-menu, .action-bar { display: none !important; }
  .hero { padding-block: 88px 104px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; align-items: center; }
  .deco-dollar { width: 300px; right: -80px; top: -50px; opacity: .25; }
  .deco-books { width: 220px; left: -30px; bottom: -20px; }
  .section { padding-block: 104px; }
  .sec-head { margin-bottom: 40px; }
  .step-art { aspect-ratio: 2 / 1; }
  .steps li { padding: 16px 16px 24px; }
  .about-copy p { font-size: 1.05rem; }
  .foot-links { display: grid; gap: 0; }
  .site-footer .deco-dollar { width: 280px; right: -20px; top: -60px; }
  .site-footer .deco-books { width: 220px; right: auto; left: -30px; bottom: -24px; }
  .svc { grid-template-columns: 140px 1fr 1.4fr; grid-template-areas: "art title desc"; column-gap: 40px; align-items: center; padding: 24px 0; }
  .svc h3 { align-self: center; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { grid-template-columns: 1fr; gap: 18px; }
  .steps li::before { margin-left: 8px; }
  .steps li > div { grid-row: 3; grid-column: 1; padding-inline: 8px; }
  .trust-list { padding-block: 24px; }
  .pains { grid-template-columns: 1fr 1fr; gap: 16px; }
  .pain { min-height: 150px; padding: 28px 28px 22px; grid-template-columns: 64px 1fr; column-gap: 20px; }
  .pain-icon { width: 64px; height: 64px; }
  .about { grid-template-columns: 1fr 1fr; gap: 56px; }
  .callout { padding: 64px 48px; }
  .callout-ctas { display: flex; justify-content: center; gap: 12px; }
  .pricing { grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
  .price-card { padding: 36px 32px; }
  .faq { grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
  .faq-col { gap: 12px; }
  .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
  .site-footer { padding-bottom: 48px; }
  .foot { grid-template-columns: 1.5fr 1fr 1fr; }
}

@media (min-width: 1200px) {
  .trust-list { grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 12px 16px; }
  .trust-list li { white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
