/* ====================================================================
   SERVICE PAGES — shared by the four service pages.

   Plain scrolling pages, no pinned stage. The colors, fonts, header,
   phone menu, footer and the diagram ink (.g-*) are the same as
   index.html; if a brand color changes there, change it here too.
   ==================================================================== */
:root {
    --c-surface:           #f2efe9;
    --c-surface-raised:    #faf8f3;
    --c-surface-sunken:    #e6e1d6;
    --c-surface-invert:    #575349;
    --c-on-surface:        #3e3a32;
    --c-on-surface-muted:  #6e695d;
    --c-on-surface-faint:  #736c5d;
    --c-on-surface-invert: #f2efe9;
    --c-line:              rgba(62, 58, 50, 0.14);
    --c-line-strong:       rgba(62, 58, 50, 0.26);
    --c-brand:             #2c5c46;
    --c-brand-soft:        #a6d6bb;   /* only ever used on the charcoal; 4.7:1 there */
    --c-on-brand:          #faf6ee;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; overflow-x: hidden;
    background: var(--c-surface); color: var(--c-on-surface);
    font: 17px/1.6 "Inter", system-ui, sans-serif; font-feature-settings: "kern";
}
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; font-weight: 400; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--c-brand); color: var(--c-on-brand); }
:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 3px; }

/* ---- Type ---- */
.display { font-family: "Fraunces", Georgia, serif; font-weight: 400; }
.mono {
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
}
.faint { color: var(--c-on-surface-faint); }
.muted { color: var(--c-on-surface-muted); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 40px; } }

/* ---- Buttons ---- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 26px; border-radius: 9999px;
    border: 1px solid var(--c-on-surface); background: var(--c-on-surface); color: var(--c-surface);
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
    transition: background-color .3s, border-color .3s, color .3s;
}
.btn:hover, .btn:focus-visible { background: var(--c-brand); border-color: var(--c-brand); color: var(--c-on-brand); }
.btn-sm { padding: 9px 20px; font-size: 12px; }
.btn-light { background: var(--c-surface); border-color: var(--c-surface); color: var(--c-on-surface); }
.tel {
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
    border-bottom: 1px solid var(--c-line-strong); padding-bottom: 3px;
    transition: border-color .3s, color .3s;
}
.tel:hover { color: var(--c-brand); border-color: var(--c-brand); }

/* ---- Header ---- */
.hdr {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in oklab, var(--c-surface) 88%, transparent);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--c-line);
}
.hdr-in {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    max-width: 1360px; margin: 0 auto; padding: 16px 20px;
}
@media (min-width: 768px) { .hdr-in { padding: 16px 40px; } }
.logo { font-family: "Fraunces", Georgia, serif; font-size: 25px; line-height: 1; white-space: nowrap; }
.logo span { color: var(--c-brand); }
.hdr-nav { display: none; gap: 28px; }
.hdr-nav a, .hdr-phone { color: var(--c-on-surface-muted); transition: color .3s; }
.hdr-nav a:hover, .hdr-phone:hover, .hdr-nav a[aria-current] { color: var(--c-on-surface); }
.hdr-right { display: flex; align-items: center; gap: 20px; }
.hdr-phone, .hdr .btn-sm { display: none; }
.nav-toggle { display: flex; width: 36px; height: 36px; margin-right: -4px; align-items: center; justify-content: center; }
@media (min-width: 640px) { .hdr-phone, .hdr .btn-sm { display: inline-flex; } }
@media (min-width: 1024px) { .hdr-nav { display: flex; } .nav-toggle { display: none; } }

/* ---- Phone menu (same as index.html) ---- */
.nav-scrim {
    position: fixed; inset: 0; z-index: 60; background: rgba(36, 31, 26, .5);
    opacity: 0; pointer-events: none; transition: opacity .4s cubic-bezier(.16,1,.3,1);
}
.nav-scrim.open { opacity: 1; pointer-events: auto; }
.nav-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 70;
    display: flex; flex-direction: column; width: min(86vw, 340px); padding: 18px 24px 28px;
    background: var(--c-surface); border-left: 1px solid var(--c-line);
    transform: translateX(101%);
    /* Hidden as well as moved: off-screen alone leaves every link in it in
       the Tab order. visibility waits for the slide to finish on the way out. */
    visibility: hidden;
    transition: transform .45s cubic-bezier(.16,1,.3,1), visibility 0s linear .45s;
    overflow-y: auto; overscroll-behavior: contain;
}
.nav-drawer.open { transform: none; visibility: visible; transition: transform .45s cubic-bezier(.16,1,.3,1); }
.nav-drawer-top { display: flex; align-items: center; justify-content: space-between; }
.nav-drawer nav { margin-top: 40px; border-top: 1px solid var(--c-line); }
.nav-link {
    display: block; padding: 17px 0; border-bottom: 1px solid var(--c-line);
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 14px; letter-spacing: .14em; text-transform: uppercase; transition: color .3s;
}
.nav-link:hover, .nav-link:focus-visible { color: var(--c-brand); }
.nav-drawer-foot { margin-top: auto; padding-top: 40px; display: grid; gap: 12px; }
.nav-drawer-foot .btn { width: 100%; padding: 16px; }
.nav-drawer-foot .btn-line { background: transparent; color: var(--c-on-surface); border-color: var(--c-line-strong); }
body.nav-open { overflow: hidden; }

.call-fab {
    position: fixed; z-index: 55; right: 14px; bottom: 14px;
    display: flex; align-items: center; gap: .5rem; padding: 14px 20px; border-radius: 9999px;
    background: var(--c-brand); color: var(--c-on-brand);
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
    box-shadow: 0 10px 30px -8px rgba(20, 17, 14, .55);
}
@media (min-width: 640px) { .call-fab { display: none; } }
.ico { width: 14px; height: 14px; flex: none; }

/* ====================================================================
   THE PAGE
   ==================================================================== */

/* 1. Top */
.sv-top { padding: 56px 0 56px; }
.sv-top-grid { display: grid; gap: 40px; }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; color: var(--c-on-surface-faint); }
.eyebrow b { font-weight: 400; color: var(--c-brand); }
.eyebrow i { width: 28px; height: 1px; background: var(--c-line-strong); }
.sv-h1 {
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(40px, 6.2vw, 78px); line-height: 1.02; letter-spacing: -.012em;
    margin: 20px 0 20px; max-width: 15ch;
}
.lead { font-size: 19px; line-height: 1.6; color: var(--c-on-surface-muted); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 34px; }
.glance { align-self: end; border-top: 1px solid var(--c-line-strong); }
.glance div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--c-line); }
.glance dt { color: var(--c-on-surface-faint); }
.glance dd { margin: 0; font-size: 17px; line-height: 1.45; }
@media (min-width: 900px) {
    .sv-top { padding: 72px 0 64px; }
    .sv-top-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, .8fr); gap: 72px; }
    .lead { font-size: 21px; }
}

/* Bands */
.band { border-top: 1px solid var(--c-line); padding: 64px 0; }
@media (min-width: 900px) { .band { padding: 72px 0; } }
.band-head { display: grid; gap: 14px; margin-bottom: 36px; }
.h2 { font-family: "Fraunces", Georgia, serif; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -.008em; max-width: 20ch; }
.band p.body { font-size: 18px; line-height: 1.65; color: var(--c-on-surface-muted); max-width: 36em; }
.band p.body + p.body { margin-top: 16px; }

/* 2. Problem: label on the left, words on the right */
.split { display: grid; gap: 18px; }
.split .h2, .split-2 .h2 { margin: 14px 0 20px; }
@media (min-width: 900px) {
    .split { grid-template-columns: 220px minmax(0, 1fr); gap: 48px; }
    /* The problem: headline and words side by side, so it stays one short band. */
    .split-2 { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
    .split-2 .h2 { margin-bottom: 0; }
}

/* 3. How it works */
.steps { display: grid; gap: 44px; counter-reset: s; }
.step-vis {
    margin: 0 0 22px; padding: 14px;
    background: var(--c-surface-raised); border: 1px solid var(--c-line); border-radius: 16px;
    box-shadow: 0 18px 40px -28px rgba(62, 58, 50, .5);
}
.step-vis svg { width: 100%; height: auto; }
.step-node { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: var(--c-on-surface-faint); }
.step-node span {
    flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
    border: 1px solid var(--c-line-strong); background: var(--c-surface); letter-spacing: .04em;
}
.step-node em { font-style: normal; }
.step h3 { font-family: "Fraunces", Georgia, serif; font-size: 24px; line-height: 1.2; margin-bottom: 8px; }
.step p { font-size: 16px; line-height: 1.6; color: var(--c-on-surface-muted); }
.step:last-child .step-node span { background: var(--c-brand); border-color: var(--c-brand); color: var(--c-on-brand); }
@media (min-width: 900px) {
    .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
}

/* The diagrams: paper shapes, faint ink, brand green only on the outcome. */
.g-p  { fill: var(--c-surface); stroke: var(--c-on-surface); stroke-opacity: .5; stroke-width: 1.4; }
.g-l  { stroke: var(--c-on-surface); stroke-opacity: .32; stroke-width: 1.5; stroke-linecap: round; }
.g-d  { stroke: var(--c-on-surface); stroke-opacity: .3; stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 2 6; }
.g-m  { fill: var(--c-on-surface); fill-opacity: .16; }
.g-a  { fill: var(--c-brand); }
.g-as { stroke: var(--c-brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.g-ad { stroke: var(--c-brand); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 2 6; }
.g-w  { fill: var(--c-on-brand); }
.g-ws { stroke: var(--c-on-brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.g-o6 { opacity: .6; } .g-o3 { opacity: .3; }
.g-t  { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: .12em; fill: var(--c-on-surface); fill-opacity: .55; }
.g-ta { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: .12em; fill: var(--c-brand); }

/* 4. What you get + the sample */
.get { display: grid; gap: 48px; align-items: start; }
@media (min-width: 900px) { .get { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } }
.checks { margin-top: 28px; border-top: 1px solid var(--c-line); }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--c-line); font-size: 17px; line-height: 1.5; }
.checks svg { width: 18px; height: 18px; margin-top: 3px; color: var(--c-brand); }

.sample {
    padding: 22px; border-radius: 22px;
    background: var(--c-surface-raised); border: 1px solid var(--c-line);
    box-shadow: 0 30px 60px -40px rgba(62, 58, 50, .6);
}
.sample-head { display: flex; justify-content: space-between; gap: 12px; color: var(--c-on-surface-faint); padding-bottom: 14px; border-bottom: 1px solid var(--c-line); }
.sample-cap { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--c-on-surface-faint); }
/* A spoken line (whisper, recording) */
.say { padding: 20px 0 6px; }
.say .who { color: var(--c-on-surface-faint); margin-bottom: 8px; display: block; }
.say blockquote { font-family: "Fraunces", Georgia, serif; font-size: 22px; line-height: 1.4; }
.keys { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.key { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 9999px; border: 1px solid var(--c-line-strong); font-size: 15px; }
.key.on { background: var(--c-brand); border-color: var(--c-brand); color: var(--c-on-brand); }
.key b { font-family: "IBM Plex Mono", ui-monospace, monospace; font-weight: 500; }
/* Text bubbles */
.thread { display: grid; gap: 10px; padding-top: 18px; }
.bubble { max-width: 88%; padding: 12px 16px; border-radius: 18px; font-size: 16px; line-height: 1.5; }
.bubble.in { background: var(--c-surface-sunken); border-bottom-left-radius: 6px; }
.bubble.out { justify-self: end; background: var(--c-brand); color: var(--c-on-brand); border-bottom-right-radius: 6px; }
.stamp { justify-self: center; color: var(--c-on-surface-faint); font-size: 11px; }

/* 5. FAQ */
.faq { border-top: 1px solid var(--c-line-strong); }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary {
    display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
    padding: 22px 0; cursor: pointer; list-style: none;
    font-family: "Fraunces", Georgia, serif; font-size: 21px; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: "IBM Plex Mono", monospace; font-size: 20px; color: var(--c-on-surface-faint); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; font-size: 17px; line-height: 1.65; color: var(--c-on-surface-muted); max-width: 40em; }

/* 6. Closing + footer (dark) */
.close { background: var(--c-surface-invert); color: var(--c-on-surface-invert); padding: 72px 0 0; }
.close .h2 { max-width: 18ch; margin: 16px 0 18px; font-size: clamp(34px, 4.6vw, 58px); }
.close p.body { font-size: 18px; line-height: 1.6; opacity: .82; max-width: 34em; }
.close .tel { border-color: rgba(255,255,255,.35); }
.close .tel:hover { color: #fff; border-color: #fff; }
.close .btn-light:hover { background: var(--c-brand); border-color: var(--c-brand); color: var(--c-on-brand); }
.next {
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    margin-top: 48px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14);
}
.next .display { font-size: 24px; }
.next:hover .display { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.foot { padding: 48px 0 28px; }
.foot-grid { display: grid; gap: 32px; margin-bottom: 36px; }
.foot-grid .mono { opacity: .75; margin-bottom: 12px; }
.foot-grid p:not(.mono) { font-size: 15px; line-height: 1.7; opacity: .82; }
.foot-word {
    font-family: "Fraunces", Georgia, serif; white-space: nowrap; text-align: center; line-height: .85;
    font-size: clamp(40px, calc(11vw / var(--pz, 1)), 150px); user-select: none;
    color: color-mix(in oklab, var(--c-on-surface-invert) 16%, transparent);
}
.foot-base { display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: space-between; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); opacity: .75; }
@media (min-width: 640px) { .foot-base { flex-direction: row; } }
@media (min-width: 768px) { .foot-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 639px) { .foot { padding-bottom: 88px; } }
.foot-legal { display: flex; gap: 18px; }
.foot-legal a { border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 2px; }
.foot-legal a:hover { border-color: #fff; }

/* Privacy, terms and the 404: one column of plain reading. */
.legal { padding: 56px 0 72px; }
.legal .sv-h1 { max-width: 20ch; }
.legal-body { max-width: 44em; }
.legal-body .updated { font-size: 12px; line-height: 1.5; color: var(--c-on-surface-faint); margin-bottom: 36px; }
.legal-body h2 { font-family: "Fraunces", Georgia, serif; font-size: 24px; line-height: 1.25; margin: 40px 0 12px; }
.legal-body p, .legal-body li { font-size: 17px; line-height: 1.65; color: var(--c-on-surface-muted); }
.legal-body p + p { margin-top: 14px; }
.legal-body ul { list-style: disc; padding-left: 1.3em; margin-top: 10px; }
.legal-body li + li { margin-top: 6px; }
.legal-body a { color: var(--c-brand); border-bottom: 1px solid currentColor; }
.legal-body strong { color: var(--c-on-surface); font-weight: 500; }

/* A sample list (Missed Money Finder) */
.finds { padding-top: 4px; }
.finds li { display: grid; gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--c-line); }
.finds li:last-child { border-bottom: 0; padding-bottom: 4px; }
.finds .nm { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.finds .nm span:first-child { font-family: "Fraunces", Georgia, serif; font-size: 19px; }
.finds .nm .mono { color: var(--c-brand); font-size: 11px; }
.finds p { font-size: 15px; line-height: 1.55; color: var(--c-on-surface-muted); }

/* Short screens — a laptop with Windows scaling hands the page a window
   only 550–700 pixels tall. There the page is drawn smaller as a whole, the
   way the browser's own zoom-out would, to match the home page. The footer
   word is sized off the window's width, so it is divided back out. */
@media (min-width: 1024px) and (max-height: 700px) { html { zoom: .85; --pz: .85; } }
@media (min-width: 1024px) and (max-height: 620px) { html { zoom: .75; --pz: .75; } }
