/* Styles the PHP site needs that the compiled Tailwind sheet does not contain.
 *
 * app.css is generated from the React build and only includes classes that
 * build actually used. Two things fall outside it:
 *
 *   .is-active, the class assets/js/app.js toggles on the selected tab. In
 *                 React the active state was inline style driven by component
 *                 state, so no class was ever emitted for Tailwind to see.
 *   .w-fit, used by a ported page; absent from the React class set.
 *
 * Keep this file small. Anything reusable belongs in the React source so both
 * implementations get it from the same place.
 */

/* Self-hosted web fonts (2026-10-09).
 *
 * Were loaded from Google Fonts: a third-party stylesheet, then a second
 * origin for the files, both discovered late. The swap from fallback to web
 * font moved text after first paint, which is most of the pricing page's
 * 0.12 CLS. The files are the same Google woff2 (latin and latin-ext only;
 * Spanish needs nothing beyond latin), served from /assets/fonts/ and the
 * two upright latin files preloaded in head.php.
 *
 * The "Fallback" faces are Arial and Times New Roman scaled to the web
 * fonts' average glyph width and vertical metrics (measured with fontTools),
 * so the text that paints before the swap occupies the same box and the swap
 * moves nothing. Liberation Sans/Serif are metric-compatible stand-ins for
 * Linux and Android. The stacks in app.css name them second. */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/assets/fonts/plus-jakarta-sans-normal-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/assets/fonts/plus-jakarta-sans-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: italic; font-weight: 600; font-display: swap; src: url('/assets/fonts/plus-jakarta-sans-italic-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: italic; font-weight: 600; font-display: swap; src: url('/assets/fonts/plus-jakarta-sans-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('/assets/fonts/cormorant-garamond-normal-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('/assets/fonts/cormorant-garamond-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 400; font-display: swap; src: url('/assets/fonts/cormorant-garamond-italic-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 400; font-display: swap; src: url('/assets/fonts/cormorant-garamond-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans Fallback'; src: local('Arial'), local('ArialMT'), local('Liberation Sans'); size-adjust: 106.05%; ascent-override: 97.88%; descent-override: 20.93%; line-gap-override: 0%; }
@font-face { font-family: 'Cormorant Garamond Fallback'; src: local('Times New Roman'), local('TimesNewRomanPSMT'), local('Liberation Serif'); size-adjust: 97.07%; ascent-override: 95.19%; descent-override: 29.57%; line-gap-override: 0%; }

.w-fit { width: fit-content; }

/* Text tokens darkened for contrast (2026-10-09, Lighthouse).
 *
 * champagne-700 #8A6D28 measured 4.03:1 inside .pill-champagne (its 14% gold
 * wash composites to about #F0E9D7) and 4.41:1 on bone-100; ink-faint #7C887F
 * was 3.34:1 on bone-100 and carried 10-12px labels. #7D6220 clears 4.5 on
 * every light surface down to bone-200 (4.82:1 on the pill), #5F6B63 the same
 * (4.60:1 on the pill). The pages were moved to the new hex classes, which
 * app.css cannot know about, so they are defined here, and the two custom
 * properties are overridden so .eyebrow, .pill-champagne and placeholders
 * follow. Asserted in scripts/check-contrast.py. */
:root {
  --champagne-700: #7D6220;
  --ink-faint: #5F6B63;
}
.text-\[\#7D6220\] { color: #7D6220; }
.hover\:text-\[\#7D6220\]:hover { color: #7D6220; }
.text-\[\#5F6B63\] { color: #5F6B63; }
/* .pill-clay on its light wash: clay-600 #A85E38 measured 3.89:1 (terracotta #B86A4C since 2026-11-07, 3.86:1). The dark
 * surface variant in app.css (.on-forest .pill-clay) outranks this on
 * specificity and keeps its own light clay. */
.pill-clay { color: #8E4E37; }
/* Terracotta #B86A4C (Aday's heritage accent, 2026-11-07) is 3.86:1 on ivory:
 * icons and fills only. Small clay text uses Aday's bronze #8E4E37. */
.text-\[\#8E4E37\] { color: #8E4E37; }

/* .h-auto, paired with w-full on the feature-page hero illustrations. React
 * never emitted it (it always sized images through a wrapper), so it tripped
 * check-php.py as an unstyled class.
 *
 * Nothing is visibly broken without it: those imgs carry width and height
 * attributes, so the browser derives an intrinsic aspect ratio and already
 * resolves height to auto. It is declared anyway so the class means what it
 * says, the moment one of those images loses its dimension attributes, the
 * presentational height hint would take over and stretch it. */
.h-auto { height: auto; }

/* .illus, the four practice-type illustrations wherever they appear as a set.
 *
 * The industry pages each open with one at its authored 1024x1024, which suits a
 * hero column. Everywhere the four are shown together, the industries index
 * cards and the homepage industry panels, a square is the wrong shape: it pushes
 * the card's actual copy off a phone screen entirely. A centred 3:2 window is
 * safe on all four, because every composition seats its subject in the middle
 * third with cream margin above and below, so the crop removes only background.
 *
 * This lives here rather than inline because app.css carries no object-fit or
 * aspect-ratio utility at all, the React build never emitted one, and three
 * templates need the identical treatment.
 *
 * No hover transform: the design system forbids scale or lift on interactive
 * state (specs/01), and these sit inside link cards. */
.illus {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}

/* Breakpoint variants the compiled sheet does not carry.
 *
 * app.css only contains classes the React build actually emitted, and React
 * never used these two, so the industry-page hero, which stacks a copy column
 * over an illustration on mobile and sits them side by side from lg up, was
 * rendering with its copy still centred and still carrying the mobile top
 * margin at desktop width. Silent failure: scripts/check-php.py only validates
 * unprefixed class names, so a missing `lg:` variant does not trip the gate.
 *
 * 64rem matches the `@media (width>=64rem)` block app.css uses for its own lg
 * utilities, read from the compiled sheet rather than assumed, so the two
 * cannot drift apart at the boundary. */
@media (width >= 64rem) {
  .lg\:text-left { text-align: left; }
  .lg\:mt-0 { margin-top: 0; }
}

/* Selected tab. Colour only, the design system forbids scale or lift on
 * interactive state (specs/01). */
[data-tab].is-active {
  background: #1F2E2A;
  color: #FBFAF6;
}

/* Gold-filled variants keep their own background; only the text needs fixing. */
[data-tab].is-active.bg-\[\#B5944E\] {
  background: #B5944E;
  color: #18241F;
}

/* .pill-champagne inside a selected tab.
 *
 * The pill is authored for a light surface: #7D6220 text on a 14% gold wash.
 * Inside .is-active that wash composites over #1F2E2A instead of bone, landing
 * the pair at 2.32:1, so the "two months free" badge, the one thing the
 * billing toggle exists to sell, was the least legible text on the pricing
 * page. app.css already ships an inverted treatment for dark surfaces under
 * .on-forest / .surface-forest, but a tab is not a forest section, so the
 * selected tab needs its own rule.
 *
 * Solid champagne-300 rather than the translucent wash: on a chip this small
 * a fill reads as a badge and a wash reads as noise, and it measures 9.63:1.
 * Asserted in scripts/check-contrast.py as "badge on selected tab". */
[data-tab].is-active .pill-champagne {
  background: #E8C98A;
  border-color: #E8C98A;
  color: #18241F;
}

/* Focus ring parity with the React build. */
[data-tab]:focus-visible,
[data-acc-trigger]:focus-visible {
  outline: 2px solid #A8863A;
  outline-offset: 2px;
}

/* Tab chips -------------------------------------------------------------
 *
 * Four homepage tab groups, industries, the bilingual conversation, features
 * and locations, used to render their *selected* appearance as an inline
 * style computed in PHP from $isFirst. Two consequences, both visible on the
 * live page:
 *
 *   1. app.js toggles .is-active, but an inline style outranks any class rule,
 *      so the highlight never moved. Clicking "Med Spas" swapped the panel
 *      while the first tab stayed lit, the open panel and the selected tab
 *      disagreed with each other.
 *   2. :hover could not apply for the same reason. Tabs elsewhere on the page
 *      are styled with Tailwind classes and did hover, so whether a tab
 *      responded to the pointer depended on which group it belonged to.
 *
 * PHP now passes only the accent, as custom properties, and encodes no state.
 * State lives here, where the cascade can resolve it.
 *
 * Specificity: [data-tab].is-active above fills the plain tab groups forest
 * green. Every selector here carries .tab-* as well, so it outranks that rule
 * on specificity rather than on source order. */
[data-tab].tab-chip {
  background: rgba(31, 46, 42, 0.05);
  border: 1px solid rgba(31, 46, 42, 0.11);
  color: #4A5651;
}

[data-tab].tab-chip:hover {
  background: rgba(31, 46, 42, 0.09);
  border-color: rgba(31, 46, 42, 0.22);
  color: #1F2E2A;
}

[data-tab].tab-chip.is-active {
  background: var(--tab-wash);
  border-color: var(--tab-edge);
  color: var(--tab-accent);
}

/* The gold-filled conversation switch (English / Spanish). */
[data-tab].tab-gold {
  color: #4A5651;
}

[data-tab].tab-gold:hover {
  background: rgba(138, 109, 40, 0.10);
  color: #1F2E2A;
}

[data-tab].tab-gold.is-active {
  background: #7D6220;
  color: #FFFFFF;
}

/* The six feature cards, which are tabs shaped like cards. */
[data-tab].tab-card {
  background: #F5F0E5;
  border: 1px solid rgba(31, 46, 42, 0.10);
}

[data-tab].tab-card:hover {
  background: #F1ECE3;
  border-color: rgba(31, 46, 42, 0.20);
}

[data-tab].tab-card.is-active {
  background: rgba(181, 148, 78, 0.10);
  border-color: rgba(181, 148, 78, 0.35);
}

.tab-card-icon {
  color: #5F6B63;
}

[data-tab].tab-card.is-active .tab-card-icon {
  color: #7D6220;
}

/* Same freeze as the icon: the card title had its colour written inline from
 * $isFirst, so the first card stayed gold whichever card was
 * actually selected. */
.tab-card-title {
  color: #4A5651;
}

[data-tab].tab-card.is-active .tab-card-title {
  color: #7D6220;
}

/* Feature preview mockups ------------------------------------------------
 *
 * The preview panel is near-black, rgba(7,12,26,0.95), but each mockup's
 * header row was authored for a light card and never updated: #1F2E2A title
 * text above an #E5DDC9 rule. On that panel the title was effectively
 * invisible, which is what the header row looked like on every feature.
 *
 * The status pill was worse. bg-[#2E4438]/12 is an opacity-modifier class the
 * compiled sheet never emitted, so the pill had no fill whatsoever and only
 * its dark-green text rendered, on near-black.
 *
 * check-contrast.py did not catch either one: it asserts a fixed list of
 * documented pairs and these were never on it. They are now. */
.mock-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.mock-title {
  color: #F1EDE4;
}

.mock-badge {
  background: rgba(232, 201, 138, 0.16);
  border: 1px solid rgba(232, 201, 138, 0.30);
  color: #E8C98A;
}

/* Blog definition callouts.
 *
 * They borrow .pill-champagne for its colours, but that class is a chip style:
 * 11px, bold, letter-spaced and text-transform:uppercase. All four inherit into
 * the callout's body, which is a full sentence, so every definition on the
 * blog has been rendering as a wall of uppercase since the port. The label
 * above it is meant to be uppercase and keeps the chip treatment. */
.def-body {
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}

/* Pointer feedback is a hover affordance, so it belongs with the states above
 * rather than being left to a utility class that only some groups carried. */
[data-tab] {
  cursor: pointer;
}

/* Tab strips scroll rather than stack on a phone.
 *
 * Four chips reading "Personal Injury", "Immigration" and so
 * on wrap to four near-full-width rows on a 390px screen, pushing the panel
 * they control off the fold. A single swipeable row keeps the control and its
 * result on the same screen. Above 640px they wrap as before. */
@media (width < 40rem) {
  .tab-strip {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Bleed to the section's edges so the row reads as scrollable rather than
       as a cramped list that happens to be clipped. */
    margin-inline: -1.5rem;
    padding-inline: 1.5rem;
    padding-bottom: 0.25rem;
  }

  .tab-strip::-webkit-scrollbar {
    display: none;
  }

  .tab-strip > [data-tab] {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
}

/*
 * .nav-current, the navbar entry matching the current route.
 *
 * Neither implementation marked the active page: every route rendered a nav
 * whose six items were styled identically, so the header gave no indication of
 * where you were. Emitted alongside aria-current="page" so the cue is not
 * colour-only.
 */
.nav-current {
  color: #7D6220;
  font-weight: 600;
}

nav .nav-current {
  position: relative;
}

nav .nav-current::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 1px;
  /* #B5944E is only 2.8:1 on the #FBFAF6 navbar. The champagne reads as an
     accent elsewhere but fails WCAG 1.4.11 as a state indicator, so the
     underline uses the same #7D6220 as the label (5.44:1). */
  background: #7D6220;
}

/* ── Cookie consent banner and preferences modal ─────────────────────────────
 * Selectors for includes/consent-banner.php, added 2026-09-27.
 *
 * These are hand-written, not Tailwind: the banner is ported from the parent
 * repo, where it ships its own CSS, and rewriting it in utility classes would
 * make a shared component diverge from the other two product sites for no gain.
 *
 * Here rather than in an inline <style> for two reasons. It is ~7KB that would
 * otherwise re-download on all 118 pages instead of being cached once with the
 * rest of this file, which head.php already loads before the banner renders.
 * And check-php.py resolves classes only against app.css and site.css, so an
 * inline block makes every one of these read as an unstyled class.
 *
 * The palette is this site's (#1F2E2A green, #7D6220 gold, #F5F0E5 cream), not
 * the parent's. The two badge colour pairs are checked by check-contrast.py.
 */
  #ada-consent-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 2147483646;
    background: #FFFFFF;
    border-top: 1px solid #E5DDC9;
    box-shadow: 0 -8px 24px -12px rgba(31, 46, 42, 0.18);
    padding: 20px 24px;
    display: none;
    font-family: 'Plus Jakarta Sans', 'Plus Jakarta Sans Fallback', system-ui, -apple-system, sans-serif;
    font-size: 14px;
    color: #4A5651;
    line-height: 1.6;
  }
  #ada-consent-banner.ada-consent-open { display: block; }
  #ada-consent-banner .ada-consent-shell {
    max-width: 1100px; margin: 0 auto;
    display: flex; align-items: flex-start; gap: 24px; flex-wrap: wrap;
  }
  #ada-consent-banner .ada-consent-copy { flex: 1 1 380px; }
  #ada-consent-banner .ada-consent-copy strong { color: #1F2E2A; font-weight: 700; }
  #ada-consent-banner .ada-consent-copy a { color: #7D6220; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
  #ada-consent-banner .ada-consent-actions {
    display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
    flex-shrink: 0;
  }
  #ada-consent-banner button.ada-consent-btn,
  #ada-consent-modal button.ada-consent-btn {
    font-family: inherit; font-size: 12px; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    padding: 10px 18px; border-radius: 9999px; border: 1px solid transparent;
    cursor: pointer; transition: background .15s, border-color .15s;
    background: #1F2E2A; color: #FBFAF6;
  }
  #ada-consent-banner button.ada-consent-btn:hover,
  #ada-consent-modal button.ada-consent-btn:hover { background: #2E4438; }
  #ada-consent-banner button.ada-consent-btn.ada-consent-secondary,
  #ada-consent-modal button.ada-consent-btn.ada-consent-secondary {
    background: transparent; color: #1F2E2A; border-color: #C9BFAC;
  }
  #ada-consent-banner button.ada-consent-btn.ada-consent-secondary:hover,
  #ada-consent-modal button.ada-consent-btn.ada-consent-secondary:hover { background: #F5F0E5; }
  #ada-consent-banner button.ada-consent-btn.ada-consent-tertiary {
    background: transparent; color: #4A5651; border: none; padding: 10px 12px;
    text-transform: none; letter-spacing: 0.02em; font-size: 13px; font-weight: 600;
    text-decoration: underline; text-underline-offset: 3px;
  }
  #ada-consent-banner button.ada-consent-btn.ada-consent-tertiary:hover { color: #1F2E2A; }
  #ada-consent-banner button.ada-consent-btn:focus-visible,
  #ada-consent-modal button.ada-consent-btn:focus-visible {
    outline: 2px solid #7D6220; outline-offset: 2px;
  }

  /* A plain wrapper on desktop so the three buttons read as one row; it only
     becomes a 50/50 grid on phones. */
  #ada-consent-banner .ada-consent-choice { display: contents; }

  /* Mobile: the three-button row measures wider than a phone and iOS renders
     it unwrapped with the accept button clipped off-screen. Reject and Accept
     sit side by side at 50% each, Customize is a centered text link beneath,
     and the explanatory detail is hidden so the copy drops from four sentences
     to two. Purpose and both policy links stay visible. */
  @media (max-width: 640px) {
    #ada-consent-banner { padding: 12px 14px 14px; font-size: 12.5px; line-height: 1.5; max-height: 45vh; overflow-y: auto; }
    #ada-consent-banner .ada-consent-shell { gap: 10px; }
    #ada-consent-banner .ada-consent-detail { display: none; }
    #ada-consent-banner .ada-consent-actions {
      width: 100%;
      flex-direction: column-reverse; /* DOM order Customize/choice -> choice renders on top */
      align-items: stretch;
      gap: 6px;
    }
    #ada-consent-banner .ada-consent-choice {
      display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%;
    }
    #ada-consent-banner button.ada-consent-btn { width: 100%; text-align: center; padding: 11px 10px; font-size: 11px; }
    #ada-consent-banner button.ada-consent-btn.ada-consent-tertiary { width: auto; align-self: center; padding: 4px 10px; font-size: 12px; }
  }

  #ada-consent-modal {
    position: fixed; inset: 0; z-index: 2147483647;
    display: none;
    background: rgba(31, 46, 42, 0.55);
    padding: 24px;
    align-items: center; justify-content: center;
    font-family: 'Plus Jakarta Sans', 'Plus Jakarta Sans Fallback', system-ui, sans-serif;
  }
  #ada-consent-modal.ada-consent-open { display: flex; }
  #ada-consent-modal .ada-consent-modal-card {
    background: #FFFFFF; border-radius: 20px; padding: 32px;
    max-width: 560px; width: 100%; max-height: 88vh; overflow-y: auto;
    box-shadow: 0 24px 60px -12px rgba(31, 46, 42, 0.35);
  }
  #ada-consent-modal h3 {
    font-family: 'Cormorant Garamond', 'Cormorant Garamond Fallback', Georgia, serif;
    font-size: 28px; font-weight: 600; color: #1F2E2A;
    margin: 0 0 8px; letter-spacing: -0.01em;
  }
  #ada-consent-modal p.ada-consent-lede { font-size: 14px; color: #4A5651; line-height: 1.7; margin: 0 0 22px; }
  #ada-consent-modal p.ada-consent-lede a { color: #7D6220; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
  #ada-consent-modal .ada-consent-category {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 14px 0; border-top: 1px solid #E5DDC9;
  }
  #ada-consent-modal .ada-consent-category:first-of-type { border-top: none; }
  #ada-consent-modal .ada-consent-category .ada-consent-body { flex: 1; }
  #ada-consent-modal .ada-consent-category .ada-consent-title {
    font-weight: 700; color: #1F2E2A; margin: 0 0 4px; font-size: 14px;
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  }
  #ada-consent-modal .ada-consent-category .ada-consent-desc {
    font-size: 13px; color: #4A5651; line-height: 1.6; margin: 0;
  }
  #ada-consent-modal .ada-consent-badge {
    font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700;
    padding: 3px 8px; border-radius: 4px;
  }
  /* Both badge colours checked against their background for WCAG AA by
     scripts/check-contrast.py. */
  #ada-consent-modal .ada-consent-badge.always { background: #DCE9E1; color: #1B4433; }
  #ada-consent-modal .ada-consent-badge.reserved { background: #F0EBE0; color: #5A5142; }

  /* Switch */
  #ada-consent-modal .ada-switch {
    flex-shrink: 0; position: relative; width: 44px; height: 24px;
    display: inline-block; margin-top: 2px;
  }
  #ada-consent-modal .ada-switch input { opacity: 0; width: 0; height: 0; }
  #ada-consent-modal .ada-switch-track {
    position: absolute; inset: 0;
    background: #C9BFAC; border-radius: 24px; transition: background .15s;
    cursor: pointer;
  }
  #ada-consent-modal .ada-switch-track::before {
    content: ''; position: absolute; left: 3px; top: 3px;
    width: 18px; height: 18px; background: #FFFFFF; border-radius: 50%;
    transition: transform .15s;
  }
  #ada-consent-modal .ada-switch input:checked + .ada-switch-track { background: #7D6220; }
  #ada-consent-modal .ada-switch input:checked + .ada-switch-track::before { transform: translateX(20px); }
  #ada-consent-modal .ada-switch input:disabled + .ada-switch-track { background: #B6CFC1; cursor: not-allowed; }
  #ada-consent-modal .ada-switch input:disabled + .ada-switch-track::before { background: #2E4438; }
  #ada-consent-modal .ada-switch input:focus-visible + .ada-switch-track { outline: 2px solid #7D6220; outline-offset: 2px; }

  #ada-consent-modal .ada-consent-modal-actions {
    display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; justify-content: flex-end;
  }


/* Homepage hero (home.php, es.php), 2026-10-06. The copy column is much taller than
   the illustration, so on wide screens the illustration sits level with the headline
   and stays in view while the copy scrolls past. Not compiled in app.css, so it is here. */
@media (min-width: 1024px) {
  .hero-art { position: sticky; top: 7rem; margin-top: 3.5rem; }
}

/* Below lg the hero is one column, and the photo used to land after the whole
   copy column, a full screen of text below the headline. .hero-copy dissolves
   into the grid (display: contents) so its children can be ordered around the
   photo: the photo first, then everything up to the h1, then the rest. The DOM
   order, and with it reading order for screen readers, is unchanged; desktop is
   untouched. The space-y margins still apply because they are DOM-sibling
   selectors, so row-gap is zeroed to keep the spacing it had. (2026-10-08) */
@media (max-width: 1023.98px) {
  .hero-split.hero-split { row-gap: 0; }
  .hero-split > .hero-copy { display: contents; }
  .hero-copy > * { order: 3; }
  /* The eyebrow pill (always the first child) and the h1 or its wrapper.
     Kept as separate rules: :has() cannot nest, and one invalid selector
     drops the whole list. */
  .hero-copy > :first-child { order: 1; }
  .hero-copy > h1 { order: 1; }
  .hero-copy > :has(h1) { order: 1; }
  /* The photo leads on phones, above the eyebrow and headline (Brandon, 2026-10-09). */
  .hero-split > :not(.hero-copy) { order: 0; margin-top: 0; margin-bottom: 2rem; }
  /* Grid items are blockified, so an inline-flex pill would stretch full width. */
  .hero-copy > .inline-flex { justify-self: start; }
  .hero-copy.text-center > .inline-flex { justify-self: center; }
}

/* hero_media(): scene photo with the product drawing as a card on its corner (2026-10-08). */
.hero-media { position: relative; padding: 0 0 30% 0; }
.hero-media__accent {
  position: absolute; right: -14px; top: -14px; width: 42%; height: 46%;
  border-radius: 28px; background: #E8D9AE;
}
.hero-media__photo {
  position: relative; display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px;
  box-shadow: 0 28px 60px -32px rgba(31, 46, 42, 0.45);
}
.hero-media__card {
  position: absolute; left: -20px; bottom: 0; width: 54%;
  border-radius: 20px; overflow: hidden; background: #FBFAF6;
  border: 1px solid #E5DDC9; box-shadow: 0 24px 48px -24px rgba(31, 46, 42, 0.45);
}
.hero-media__card img { display: block; width: 100%; height: auto; }
@media (max-width: 639px) {
  .hero-media { padding: 0; }
  .hero-media__accent { right: -8px; top: -8px; }
  .hero-media__card { position: relative; left: auto; width: 78%; margin: -18% auto 0; }
}
/* Below lg the photo leads the hero, so it has to stay short enough for the
   headline to land on the first screen (2026-10-09): the drawing card is hidden
   and the photo is cropped to a wide banner. Desktop keeps both. */
@media (max-width: 1023.98px) {
  .hero-media { padding: 0; }
  .hero-media__card { display: none; }
  .hero-media__photo { aspect-ratio: 16 / 9; object-position: center 40%; }
}

/* lg:justify-start is used in templates but was never compiled into app.css, so
   button rows meant to sit left on wide screens stayed centered (2026-10-06). */
@media (min-width: 1024px) {
  .lg\:justify-start { justify-content: flex-start; }
}

/* ── Feature demos (includes/feature-demo.php, assets/js/feature-demos.js), 2026-10-06 ──
   A fixed square like the SVGs they replace. Every size is a container unit, so the
   card scales like an image and nothing reflows while it plays. */
.fd { position: relative; aspect-ratio: 1 / 1; container-type: inline-size; background: #FBFAF6; color: #1F2E2A; overflow: hidden; }
.fd-inner { position: absolute; inset: 0; padding: 5.5cqw; display: flex; flex-direction: column; gap: 2.6cqw; font-size: 2.75cqw; line-height: 1.38; }
.fd *, .fd *::before, .fd *::after { box-sizing: border-box; }
.fd p { margin: 0; }
.fd b { font-weight: 700; }
.fd small { display: block; color: #4A5651; font-size: 2.25cqw; line-height: 1.3; }
.fd-top { display: flex; align-items: center; gap: 2cqw; padding: 2cqw 3cqw; background: #FFFFFF; border: 0.4cqw solid #1F2E2A; border-radius: 2.6cqw; }
.fd-title { font-weight: 700; font-size: 2.9cqw; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fd-dots { display: inline-flex; gap: 1cqw; } .fd-dots i { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: #2E4438; } .fd-dots i:nth-child(2) { background: #B5944E; } .fd-dots i:nth-child(3) { background: #8F5E3A; }
.fd-dot-lg { width: 3.4cqw; height: 3.4cqw; border-radius: 50%; background: #2E4438; }
.fd-chip { display: inline-block; padding: 0.7cqw 2cqw; border-radius: 99px; background: #F1E9D6; color: #6E5520; font-size: 2.2cqw; font-weight: 700; }
.fd-chip-ok { background: #2E4438; color: #FBFAF6; }
.fd-chip-flag { background: #FFFFFF; color: #7D6220; border: 0.35cqw solid #B5944E; }
.fd-toast { margin-top: auto; padding: 2.2cqw 3cqw; border-radius: 2.4cqw; background: #1F2E2A; color: #FBFAF6; font-weight: 600; font-size: 2.5cqw; }

/* Live layer: only what the timeline has reached is shown. Static frame = everything,
   except a card that has moved on (data-hide). */
.fd:not(.fd-live) [data-hide] { visibility: hidden; }
.fd-live [data-at] { opacity: 0; transform: translateY(1.2cqw); transition: opacity .35s ease, transform .35s ease; }
.fd-live [data-at].is-on { opacity: 1; transform: none; }
.fd-live [data-grow] { opacity: 1; transform: scaleY(0); transform-origin: bottom; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.fd-live [data-grow].is-on { transform: scaleY(1); }
.fd .fd-rest { color: transparent; }
.fd .is-typing .fd-typed::after { content: ""; display: inline-block; width: 0.35cqw; height: 1em; margin-left: 0.2cqw; vertical-align: -0.12em; background: currentColor; animation: fd-caret .8s steps(1) infinite; }
@keyframes fd-caret { 50% { opacity: 0; } }
.fd-swap { display: inline-grid; } .fd-swap > * { grid-area: 1 / 1; transition: opacity .3s ease; }
.fd-swap > :nth-child(2) { opacity: 0; } .fd-swap.is-swapped > :nth-child(1) { opacity: 0; } .fd-swap.is-swapped > :nth-child(2) { opacity: 1; }
.fd:not(.fd-live) .fd-swap > :nth-child(1) { opacity: 0; } .fd:not(.fd-live) .fd-swap > :nth-child(2) { opacity: 1; }

/* Inbox */
.fd-inbox { flex: 1; display: grid; grid-template-columns: 34% 1fr; gap: 2.4cqw; min-height: 0; }
.fd-list, .fd-thread { background: #FFFFFF; border: 0.4cqw solid #1F2E2A; border-radius: 2.6cqw; padding: 2cqw; display: flex; flex-direction: column; gap: 1.6cqw; min-height: 0; }
.fd-row { position: relative; display: flex; gap: 1.6cqw; align-items: center; padding: 1.4cqw; border-radius: 1.8cqw; border: 0.3cqw solid #E5DDC9; background: #FBFAF6; font-size: 2.4cqw; }
.fd-row-on { background: #EEF2EC; border-color: #2E4438; }
.fd-av { width: 3.2cqw; height: 3.2cqw; flex: none; border-radius: 0.9cqw; background: #B5944E; } .fd-row-on .fd-av { background: #2E4438; }
.fd-badge { position: absolute; right: 1.2cqw; top: 1.2cqw; font-style: normal; font-size: 1.9cqw; font-weight: 700; color: #FBFAF6; background: #7D6220; border-radius: 99px; padding: 0 1.2cqw; }
.fd-msg { padding: 1.6cqw 2.2cqw; border-radius: 2cqw; font-size: 2.35cqw; max-width: 92%; }
.fd-in { background: #F5F0E5; border: 0.3cqw solid #E5DDC9; }
.fd-out { align-self: flex-end; background: #2E4438; color: #FBFAF6; }
.fd-lang { display: inline-block; margin-right: 1.2cqw; padding: 0 1cqw; border-radius: 0.8cqw; background: #1F2E2A; color: #FBFAF6; font-size: 1.9cqw; font-weight: 700; }
.fd-meta { align-self: flex-end; font-size: 1.95cqw; color: #2E4438; font-weight: 700; }
.fd-event { font-size: 2.1cqw; color: #4A5651; text-align: center; border-top: 0.3cqw dashed #E5DDC9; padding-top: 1.2cqw; }
.fd-note { font-size: 2.1cqw; background: #FBF4DF; border: 0.3cqw solid #E8C98A; border-radius: 1.6cqw; padding: 1.2cqw 1.8cqw; }
.fd-assign { align-self: flex-start; font-size: 2.1cqw; font-weight: 700; color: #1F2E2A; background: #EEF2EC; border-radius: 99px; padding: 0.6cqw 2cqw; }

/* Pipeline */
.fd-board { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.8cqw; min-height: 0; }
.fd-col { background: #F5F0E5; border: 0.4cqw solid #1F2E2A; border-radius: 2.4cqw; padding: 1.6cqw; display: flex; flex-direction: column; gap: 1.6cqw; }
.fd-col-win { background: #EEF2EC; }
.fd-colh { font-size: 2.1cqw; font-weight: 700; color: #7D6220; min-height: 5.6cqw; }
.fd-col-win .fd-colh { color: #2E4438; }
.fd-card { background: #FFFFFF; border: 0.35cqw solid #1F2E2A; border-radius: 1.8cqw; padding: 1.4cqw; font-size: 2.2cqw; }
.fd-card small { font-size: 1.85cqw; margin-bottom: 1cqw; }
.fd-card .fd-chip { font-size: 1.8cqw; padding: 0.5cqw 1.4cqw; }
.fd-card-ghost i { display: block; height: 1.2cqw; border-radius: 99px; background: #C8CEC9; margin: 0.6cqw 0; } .fd-card-ghost i + i { width: 60%; background: #E5DDC9; }
.fd-card-live { box-shadow: 0 1.2cqw 2.4cqw -1.4cqw rgba(31,46,42,.45); }

/* Automations */
.fd-clock { font-weight: 700; color: #7D6220; font-size: 2.6cqw; }
.fd-flow { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.4cqw; position: relative; }
.fd-flow::before { content: ""; position: absolute; left: 3.3cqw; top: 3cqw; bottom: 3cqw; border-left: 0.4cqw dashed #C8CEC9; }
.fd-step { position: relative; display: flex; align-items: center; gap: 2cqw; background: #FFFFFF; border: 0.4cqw solid #1F2E2A; border-radius: 2.2cqw; padding: 1.5cqw 2cqw; font-size: 2.45cqw; }
.fd-step > span:nth-child(2) { flex: 1; }
.fd-num { width: 3.4cqw; height: 3.4cqw; flex: none; display: grid; place-items: center; border-radius: 50%; background: #F1E9D6; color: #6E5520; font-weight: 700; font-size: 2cqw; }
.fd-tick { color: #2E4438; font-weight: 700; font-size: 2.8cqw; }
.fd-step:last-child { border-color: #8F5E3A; } .fd-step:last-child .fd-num { background: #8F5E3A; color: #FBFAF6; }
.fd-quiet { margin-top: auto; font-size: 2.2cqw; color: #4A5651; text-align: center; }

/* Voice */
.fd-wave { display: inline-flex; align-items: center; gap: 0.6cqw; height: 3.4cqw; } .fd-wave i { width: 0.6cqw; height: 40%; border-radius: 99px; background: #2E4438; }
.fd-wave i:nth-child(2) { height: 100%; } .fd-wave i:nth-child(3) { height: 70%; } .fd-wave i:nth-child(4) { height: 45%; }
.fd-live .fd-wave i { animation: fd-wave 1s ease-in-out infinite; } .fd-live .fd-wave i:nth-child(2) { animation-delay: .15s; } .fd-live .fd-wave i:nth-child(3) { animation-delay: .3s; } .fd-live .fd-wave i:nth-child(4) { animation-delay: .45s; }
@keyframes fd-wave { 50% { transform: scaleY(.45); } }
.fd-top .fd-onair { font-size: 2cqw; font-weight: 700; color: #2E4438; background: #EEF2EC; border-radius: 99px; padding: 0.4cqw 1.6cqw; }
.fd-call { flex: 1; display: flex; flex-direction: column; gap: 1.6cqw; background: #FFFFFF; border: 0.4cqw solid #1F2E2A; border-radius: 2.6cqw; padding: 2.4cqw; min-height: 0; }
.fd-line { max-width: 84%; padding: 1.5cqw 2.2cqw; border-radius: 2cqw; font-size: 2.4cqw; }
.fd-a { background: #F1E9D6; border-top-left-radius: 0.6cqw; }
.fd-c { align-self: flex-end; background: #1F2E2A; color: #FBFAF6; border-top-right-radius: 0.6cqw; }
.fd-results { display: flex; flex-wrap: wrap; gap: 1.4cqw; }

/* Forms */
.fd-toggle { display: inline-grid; grid-template-columns: 1fr 1fr; border: 0.35cqw solid #1F2E2A; border-radius: 99px; overflow: hidden; font-size: 2cqw; font-weight: 700; }
.fd-toggle > span { padding: 0.4cqw 1.6cqw; transition: background .3s ease, color .3s ease; }
.fd-toggle > :first-child, .fd:not(.fd-live) .fd-toggle > :last-child, .fd-toggle.is-swapped > :last-child { background: #1F2E2A; color: #FBFAF6; }
.fd:not(.fd-live) .fd-toggle > :first-child, .fd-toggle.is-swapped > :first-child { background: transparent; color: #1F2E2A; }
.fd-form { flex: 1; display: flex; flex-direction: column; gap: 1.8cqw; background: #FFFFFF; border: 0.4cqw solid #1F2E2A; border-radius: 2.6cqw; padding: 2.6cqw; min-height: 0; }
.fd-field { display: flex; flex-direction: column; gap: 0.6cqw; font-size: 2.15cqw; font-weight: 700; color: #3A4742; }
.fd-input { display: block; border: 0.35cqw solid #C8CEC9; border-radius: 1.4cqw; padding: 1.1cqw 1.8cqw; font-weight: 400; font-size: 2.4cqw; color: #1F2E2A; min-height: 5.4cqw; }
.fd-field-cc .fd-input { border-color: #B5944E; background: #FBF4DF; }
.fd-consent { display: flex; gap: 1.4cqw; align-items: flex-start; font-size: 2cqw; color: #3A4742; }
.fd-box { flex: none; display: grid; place-items: center; width: 3cqw; height: 3cqw; border-radius: 0.7cqw; background: #2E4438; color: #FBFAF6; font-size: 2cqw; }
.fd-submit { align-self: flex-start; background: #1F2E2A; color: #FBFAF6; border-radius: 1.6cqw; padding: 1.2cqw 3.4cqw; font-weight: 700; font-size: 2.4cqw; }

/* Reporting */
.fd-tag { font-size: 2cqw; font-weight: 700; color: #7D6220; background: #F1E9D6; border-radius: 99px; padding: 0.4cqw 1.6cqw; }
.fd-sub { font-size: 2.2cqw; color: #4A5651; display: flex; align-items: center; gap: 1cqw; flex-wrap: wrap; }
.fd-key { display: inline-block; width: 2.2cqw; height: 2.2cqw; border-radius: 0.6cqw; } .fd-key-en, .fd-bar-en { background: #1F2E2A; } .fd-key-es, .fd-bar-es { background: #B5944E; }
.fd-chart { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.4cqw; align-items: end; background: #FFFFFF; border: 0.4cqw solid #1F2E2A; border-radius: 2.6cqw; padding: 2.6cqw 2.6cqw 2cqw; min-height: 0; }
.fd-group { display: flex; flex-direction: column; gap: 1cqw; height: 100%; }
.fd-bars { flex: 1; display: flex; align-items: flex-end; gap: 1cqw; border-bottom: 0.35cqw solid #C8CEC9; }
.fd-bar { flex: 1; border-radius: 1cqw 1cqw 0 0; }
.fd-group small { text-align: center; font-size: 1.9cqw; }
.fd-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8cqw; }
.fd-tile { background: #FFFFFF; border: 0.4cqw solid #1F2E2A; border-radius: 2.2cqw; padding: 1.6cqw 2cqw; }
.fd-tile b { display: block; font-size: 4.6cqw; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fd-tile small { font-size: 1.9cqw; }

/* Demo restyle (2026-11-11, Brandon: "Yes restyle to all match"). Same look as the
   drawings from scripts/make-illustrations.py: ivory ground with a dot grid and a
   gold glow, white cards with a hairline edge and a soft shadow instead of thick
   ink outlines, real words where the gray bars were. Overrides the rules above. */
.fd {
  background:
    radial-gradient(circle at 88% 8%, rgba(181,148,78,.20), rgba(181,148,78,0) 42%),
    radial-gradient(circle at 6% 96%, rgba(94,122,90,.14), rgba(94,122,90,0) 40%),
    radial-gradient(circle, rgba(31,46,42,.08) 0.16cqw, transparent 0.2cqw) 0 0 / 3.2cqw 3.2cqw,
    linear-gradient(135deg, #FBFAF6, #F1EBDD);
}
.fd-top, .fd-list, .fd-thread, .fd-col, .fd-card, .fd-step, .fd-call, .fd-form, .fd-chart, .fd-tile {
  border: 0.12cqw solid rgba(31,46,42,.10);
  box-shadow: 0 0.2cqw 0.4cqw rgba(31,46,42,.05), 0 2cqw 4cqw -1.6cqw rgba(31,46,42,.18);
}
.fd-top { border-radius: 2.4cqw; }
.fd-col { background: rgba(243,238,226,.85); box-shadow: none; border-radius: 2.4cqw; }
.fd-col-win { background: #E8F0E6; }
.fd-colh { color: #1F2E2A; letter-spacing: .01em; }
.fd-col-win .fd-colh { color: #3E5A3A; }
.fd-card { border-radius: 1.6cqw; box-shadow: 0 0.2cqw 0.4cqw rgba(31,46,42,.05), 0 1.2cqw 2.4cqw -1.2cqw rgba(31,46,42,.16); }
.fd-card-ghost { opacity: .78; }
.fd-card-ghost b { display: block; font-size: 2.1cqw; }
.fd-card-ghost small { margin: 0; }
.fd-card-live { box-shadow: 0 0.4cqw 0.8cqw rgba(31,46,42,.08), 0 2.6cqw 4.4cqw -1.6cqw rgba(31,46,42,.32); border-color: rgba(181,148,78,.55); }
.fd-row { border: 0; background: transparent; }
.fd-row-on { background: #F3EEE2; }
.fd-av { display: grid; place-items: center; width: 4.2cqw; height: 4.2cqw; border-radius: 50%; color: #FFFFFF; font-size: 1.7cqw; font-weight: 700; font-style: normal; }
.fd-row:nth-child(2) .fd-av { background: #5E7A5A; } .fd-row:nth-child(3) .fd-av { background: #B86A4C; } .fd-row:nth-child(4) .fd-av { background: #2E4438; }
.fd-in { background: #F3EEE2; border: 0; border-top-left-radius: 0.6cqw; }
.fd-out { background: #1F2E2A; border-top-right-radius: 0.6cqw; }
.fd-note { border: 0; background: #F3E7CC; }
.fd-assign { background: #E3ECE1; color: #3E5A3A; }
.fd-event { border-top: 0.15cqw solid #E6E1D3; }
.fd-badge { background: #B86A4C; }
.fd-flow::before { border-left: 0.3cqw dashed rgba(31,46,42,.18); }
.fd-step:last-child { border-color: rgba(31,46,42,.10); background: #1F2E2A; color: #FBFAF6; }
.fd-step:last-child small { color: #D9DED9; }
.fd-step:last-child .fd-num { background: #E8C98A; color: #1F2E2A; }
.fd-step:last-child .fd-tick { color: #E8C98A; }
.fd-num { background: #F3E7CC; color: #7D6220; }
.fd-tick { display: grid; place-items: center; width: 3.6cqw; height: 3.6cqw; border-radius: 50%; background: #5E7A5A; color: #FFFFFF; font-size: 2cqw; }
.fd-step:last-child .fd-tick { background: #E8C98A; color: #1F2E2A; }
.fd-a { background: #F3EEE2; }
.fd-chip { background: #F3E7CC; color: #7D6220; }
.fd-chip-ok { background: #E3ECE1; color: #3E5A3A; }
.fd-chip-flag { border: 0.25cqw solid #E8C98A; }
.fd-toggle { border: 0; background: #F3EEE2; padding: 0.4cqw; gap: 0.4cqw; }
.fd-toggle > span { border-radius: 99px; }
.fd-input { border: 0.2cqw solid #E6E1D3; background: #FBFAF6; }
.fd-field-cc .fd-input { border-color: #E8C98A; background: #FBF4DF; }
.fd-box { background: #5E7A5A; border-radius: 50%; }
.fd-submit { border-radius: 99px; }
.fd-toast { border-radius: 3cqw; text-align: center; box-shadow: 0 2cqw 4cqw -1.6cqw rgba(31,46,42,.45); }
.fd-bars { border-bottom: 0.2cqw solid #E6E1D3; }
.fd-bar { border-radius: 0.8cqw 0.8cqw 0 0; }
.fd-tile:first-child { background: #1F2E2A; color: #FBFAF6; border-color: #1F2E2A; }
.fd-tile:first-child small { color: #D9DED9; }
.fd-tag { background: #E3ECE1; color: #3E5A3A; }

/* section_photo(): a scene photo beside a text block (2026-10-08). Text left,
   photo right on wide screens; photo after the text below lg. */
.photo-split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) {
  .photo-split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; }
}
.section-photo { position: relative; margin: 0; }
.section-photo__accent {
  position: absolute; left: -14px; bottom: -14px; width: 46%; height: 50%;
  background: #E8D9AE; border-radius: 24px; z-index: 0;
}
.section-photo img {
  position: relative; z-index: 1; display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px;
  box-shadow: 0 24px 48px -24px rgba(31, 46, 42, 0.35);
}
@media (max-width: 639.98px) {
  .section-photo__accent { left: -8px; bottom: -8px; }
}

/* Hero stat rail (stat_rail() in functions.php) ---------------------------
 * One quiet card instead of a wrapped row with loose divider rules. Mobile:
 * figure | label rows split by hairlines. sm and up: three columns split by
 * vertical hairlines, figure over label. The figure is visually first but
 * follows its <dt> label in the markup, so a screen reader hears
 * "Written in both, not translated: EN / ES". */
.stat-rail {
  margin: 0;
  display: grid;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(31, 46, 42, 0.10);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(31, 46, 42, 0.04), 0 18px 40px -28px rgba(31, 46, 42, 0.28);
  overflow: hidden;
}
.stat-rail__item {
  display: grid;
  grid-template-columns: 6.25rem 1fr;
  align-items: center;
  column-gap: 1rem;
  padding: 1.1rem 1.35rem;
}
.stat-rail__item + .stat-rail__item { border-top: 1px solid rgba(31, 46, 42, 0.08); }
.stat-rail__figure {
  order: -1;
  margin: 0;
  font-family: 'Cormorant Garamond', 'Cormorant Garamond Fallback', Georgia, serif;
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1F2E2A;
  white-space: nowrap;
}
.stat-rail__label {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #4A5651;
  text-wrap: pretty;
}
@media (min-width: 640px) {
  .stat-rail { grid-template-columns: repeat(3, 1fr); }
  .stat-rail__item {
    grid-template-columns: 1fr;
    align-content: start;
    row-gap: 0.55rem;
    padding: 1.35rem 1.5rem 1.4rem;
  }
  .stat-rail__item + .stat-rail__item { border-top: 0; border-left: 1px solid rgba(31, 46, 42, 0.08); }
  .stat-rail__figure { font-size: 2rem; }
}

/* Coral Gables facts bar (trust_bar() in functions.php) --------------------
 * Eyebrow flanked by gold hairlines, then one panel whose cells are split by
 * 1px gaps over the rule colour, so the dividers stay exact at any wrap. */
.trust-bar { margin-top: 4rem; }
/* Home proof band (includes/home-sections.php): the bar is the whole section. */
.proof-band .trust-bar { margin-top: 0; }
.trust-bar__eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  color: #5F6B63;
}
.trust-bar__eyebrow::before,
.trust-bar__eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(181, 148, 78, 0), rgba(181, 148, 78, 0.55));
}
.trust-bar__eyebrow::after { background: linear-gradient(270deg, rgba(181, 148, 78, 0), rgba(181, 148, 78, 0.55)); }
.trust-bar__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(31, 46, 42, 0.08);
  border: 1px solid rgba(31, 46, 42, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px -30px rgba(31, 46, 42, 0.30);
}
.trust-bar__cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 1.15rem 1.1rem 1.2rem;
  background: #FCFBF8;
}
.trust-bar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.55rem;
  border-radius: 999px;
  color: #7D6220;
  background: rgba(181, 148, 78, 0.14);
  box-shadow: inset 0 0 0 1px rgba(181, 148, 78, 0.30);
}
.trust-bar__icon svg { width: 1.05rem; height: 1.05rem; }
.trust-bar__label {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1F2E2A;
}
.trust-bar__sub {
  text-wrap: pretty;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #4A5651;
}
@media (min-width: 1024px) {
  .trust-bar { margin-top: 5rem; }
  .proof-band .trust-bar { margin-top: 0; }
  .trust-bar__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trust-bar__cell {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.85rem;
    row-gap: 0.15rem;
    align-content: center;
    padding: 1.4rem 1.5rem;
  }
  .trust-bar__icon { grid-row: 1 / 3; align-self: center; margin-bottom: 0; }
}

/* Home hero photo stays in view on desktop. The copy column (headline, six
 * checklist items, CTAs, stat rail) runs roughly twice the photo's height,
 * which left a tall empty well under the photo; sticky lets the photo travel
 * with the copy instead. Only on the two home pages, which carry .hero-home. */
@media (min-width: 1024px) {
  .hero-home > .hero-art { position: sticky; top: 7.5rem; }
}
@media (max-width: 639.98px) {
  /* The eyebrow wraps to two lines on a phone and the flanking rules collapse
     to nothing, so it sits over the panel on its own, balanced. */
  .trust-bar { margin-top: 3rem; }
  .trust-bar__eyebrow { display: block; text-wrap: balance; padding: 0 1rem; letter-spacing: 0.16em; }
  .trust-bar__eyebrow::before, .trust-bar__eyebrow::after { content: none; }
  .trust-bar__cell { padding: 1rem 0.95rem 1.05rem; }
  .trust-bar__label { font-size: 0.8125rem; }
  .stat-rail__item { grid-template-columns: 5.5rem 1fr; padding: 1rem 1.15rem; }
  .stat-rail__figure { font-size: 1.6rem; }
}

/* Home founder note portrait (includes/home-sections.php). */
.founder-photo { width: 8rem; height: 8rem; }
@media (min-width: 640px) { .founder-photo { width: 10rem; height: 10rem; } }

/* hero_banner(): the photo on top of every hero without hero_media() (2026-10-09). */
.hero-banner { position: relative; margin: 0 0 2.5rem; }
.hero-banner__accent {
  position: absolute; right: -14px; top: -14px; width: 30%; height: 60%;
  border-radius: 28px; background: #E8D9AE;
}
.hero-banner img {
  position: relative; display: block; width: 100%; height: auto;
  aspect-ratio: 21 / 9; object-fit: cover; object-position: center 40%;
  border-radius: 24px; box-shadow: 0 28px 60px -32px rgba(31, 46, 42, 0.45);
}
/* Wide containers (pricing is max-w-7xl) would make a 520px-tall banner; cap it. */
@media (min-width: 1024px) {
  .hero-banner img { max-height: 22.5rem; }
}
@media (max-width: 1023.98px) {
  .hero-banner { margin-bottom: 2rem; }
  .hero-banner__accent { right: -8px; top: -8px; }
  .hero-banner img { aspect-ratio: 16 / 9; }
}

/* Skip-to-content link (2026-10-09): off-screen until focused. */
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.625rem 1rem; border-radius: 0.75rem; background: #1F2E2A; color: #FBFAF6; font-size: 0.875rem; font-weight: 600; transition: top 0.15s; }
.skip-link:focus { top: 1rem; outline: 2px solid #B5944E; outline-offset: 2px; }
main:focus { outline: none; }

/* Mobile action bar (includes/action-bar.php): call, demo, directions, pinned to
   the bottom below lg. Same component on all three product sites. The body gets
   matching bottom padding so the bar never covers the end of the footer. */
.action-bar { display: none; }
@media (max-width: 1023.98px) {
  .action-bar {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    background: #1F2E2A;
    border-top: 1px solid rgba(232, 201, 138, 0.25);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .action-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 4px; min-height: 64px; padding: 8px 4px;
    color: #F1EDE4; font-size: 13px; font-weight: 700; text-decoration: none;
  }
  .action-bar a + a { border-left: 1px solid rgba(241, 237, 228, 0.14); }
  .action-bar a:hover, .action-bar a:focus-visible { color: #E8C98A; background: rgba(255, 255, 255, 0.04); }
  .action-bar svg { width: 22px; height: 22px; color: #E8C98A; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}

/* Blog photos (2026-10-10): the post's photo under its header, and the same photo
   bleeding to the top edge of its card on /blog/ and /es/blog/. */
.post-photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 1rem; border: 1px solid rgba(31, 46, 42, 0.10); }
.blog-card__img { display: block; width: calc(100% + 3.5rem); max-width: none; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin: -1.75rem -1.75rem 0.25rem; border-radius: 1rem 1rem 0 0; }
.blog-card__img--sm { width: calc(100% + 3rem); margin: -1.5rem -1.5rem 0.25rem; }

/* page_hero() and photo_frame() (2026-10-11): one hero on every marketing page,
 * matched to yacontesta.com. Photo in a rounded frame, a champagne block behind
 * the lower-left corner, a reply card over it. Phones: headline, photo, then the
 * lead and buttons; lg and up: two columns with the photo spanning both rows. */
.page-hero { background: linear-gradient(180deg, #FBFAF6 0%, #F5F0E5 60%, #FBFAF6 100%); padding: 5rem 0 4rem; }
@media (min-width: 1024px) { .page-hero { padding: 7rem 0 5rem; } }
.page-hero__glow {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 1100px; height: 420px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(181, 148, 78, 0.10) 0%, transparent 72%);
}
.hero-grid { display: grid; grid-template-areas: "head" "photo" "body"; row-gap: 2rem; }
.hero-head { grid-area: head; }
.hero-photo { grid-area: photo; }
.hero-body { grid-area: body; }
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr;
    grid-template-areas: "head photo" "body photo"; column-gap: 3rem; row-gap: 1.5rem;
  }
  .hero-head { align-self: end; }
  .hero-body { align-self: start; }
  .hero-photo { align-self: center; }
}
.photo-frame { position: relative; padding: 0 0 28px 20px; }
.photo-frame__accent {
  position: absolute; left: 0; bottom: 0; width: 46%; height: 62%;
  border-radius: 28px; background: #E8D9AE;
}
.photo-frame__img {
  position: relative; display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px;
  box-shadow: 0 28px 60px -32px rgba(31, 46, 42, 0.45);
}
.proof-card {
  position: absolute; left: 0; bottom: 0; max-width: 300px; text-align: left;
  background: #FFFFFF; border: 1px solid #E5DDC9; border-radius: 18px;
  padding: 14px 16px; box-shadow: 0 18px 40px -20px rgba(31, 46, 42, 0.35);
}
.proof-card__kicker {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #2E4438; display: flex; align-items: center; gap: 6px;
}
.proof-card__dot { width: 8px; height: 8px; border-radius: 9999px; background: #2E4438; flex-shrink: 0; }
.proof-card__bubble {
  margin-top: 8px; background: #F5F0E5; border-radius: 14px 14px 14px 4px;
  padding: 10px 12px; font-size: 14px; line-height: 1.45; color: #1F2E2A;
}
.proof-card__note { margin-top: 6px; font-size: 11px; color: #5F6B63; }
/* Rotating reply card (2026-10-24): slides share one grid cell, the active one
   scrolls up into place. */
.proof-card--rotator { width: 300px; }
.proof-rotator__track { display: grid; overflow: hidden; }
.proof-rotator__slide {
  grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s;
}
.proof-rotator__slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease, transform .45s ease; }
.proof-rotator__slide.is-leaving { transform: translateY(-14px); }
.proof-rotator__dots { display: flex; gap: 5px; margin-top: 10px; }
.proof-rotator__dot { width: 6px; height: 6px; border-radius: 9999px; background: #E5DDC9; transition: background .3s, width .3s; }
.proof-rotator__dot.is-active { width: 16px; background: #2E4438; }
@media (prefers-reduced-motion: reduce) { .proof-rotator__slide, .proof-rotator__slide.is-active { transition: none; transform: none; } }
@media (max-width: 640px) {
  .photo-frame { padding: 0 0 0 12px; }
  .proof-card { position: relative; margin: -36px 0 0 8px; max-width: none; }
  .proof-card--rotator { width: auto; }
}
.hero-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; text-align: left; }
.hero-chips li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.4; color: #3A4742; }
.hero-chips__tick { flex-shrink: 0; width: 20px; height: 20px; border-radius: 9999px; background: rgba(46, 68, 56, 0.12); color: #2E4438; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
@media (max-width: 640px) { .hero-chips { grid-template-columns: 1fr; } }
.hero-head > .inline-flex { justify-self: center; }
@media (min-width: 1024px) { .hero-head > .inline-flex { justify-self: start; } }

/* Anchor targets under the sticky header (2026-10-11). */
.scroll-mt-24 { scroll-margin-top: 6rem; }

/* Missed Inquiry Calculator (includes/calculator.php, 2026-10-24). One card on
   the tool pages, both homepages, and all 17 practice pages. Inputs left,
   result right from lg up; stacked below. */
.lc-calc {
  max-width: 64rem; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 28px;
  padding: 24px; border-radius: 24px; background: #FFFFFF; border: 1px solid rgba(181, 148, 78, 0.2);
  box-shadow: 0 24px 60px -36px rgba(125, 98, 32, 0.45);
}
@media (min-width: 640px) { .lc-calc { padding: 40px; } }
@media (min-width: 1024px) { .lc-calc { grid-template-columns: 7fr 5fr; gap: 40px; align-items: start; } }
.lc-calc-inputs { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.lc-calc-hint { font-size: 14px; line-height: 1.6; color: #4A5651; }
.lc-calc-field { display: flex; flex-direction: column; gap: 10px; }
.lc-calc-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 700; color: #1F2E2A; }
.lc-calc-out {
  flex-shrink: 0; padding: 4px 12px; border-radius: 8px; font-size: 16px; font-weight: 800; color: #7D6220;
  background: rgba(181, 148, 78, 0.15); border: 1px solid rgba(181, 148, 78, 0.3); font-variant-numeric: tabular-nums;
}
.lc-calc-scale { display: flex; justify-content: space-between; font-size: 11px; color: #4A5651; font-variant-numeric: tabular-nums; }
.lc-calc-select {
  width: 100%; min-height: 48px; padding: 10px 40px 10px 14px; border-radius: 12px; font-size: 15px; font-weight: 600; color: #1F2E2A;
  background: #FBFAF6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237D6220' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1px solid rgba(31, 46, 42, 0.18); appearance: none; -webkit-appearance: none;
}
.lc-calc-select:focus-visible { outline: 2px solid #7D6220; outline-offset: 2px; }
.lc-calc-small { font-size: 12px; line-height: 1.55; color: #4A5651; }
.lc-calc-result {
  min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(181, 148, 78, 0.1) 0%, #FFFFFF 100%); border: 1px solid rgba(181, 148, 78, 0.25);
}
.lc-calc-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #7D6220; }
.lc-calc-rows { display: flex; flex-direction: column; gap: 6px; margin-top: -8px; }
.lc-calc-rows > div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: #4A5651; }
.lc-calc-rows dd { font-weight: 700; color: #1F2E2A; text-align: right; font-variant-numeric: tabular-nums; }
.lc-calc-lift { padding: 16px 0; border-top: 1px solid rgba(31, 46, 42, 0.1); border-bottom: 1px solid rgba(31, 46, 42, 0.1); }
.lc-calc-lift-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.lc-calc-pts { display: inline-flex; gap: 6px; }
.lc-calc-pt {
  min-height: 32px; padding: 4px 10px; border-radius: 9999px; font-size: 12px; font-weight: 700; color: #3A4742; cursor: pointer;
  background: #FFFFFF; border: 1px solid rgba(31, 46, 42, 0.16);
}
.lc-calc-pt[aria-pressed="true"] { background: #1F2E2A; border-color: #1F2E2A; color: #FFFFFF; }
.lc-calc-pt:focus-visible { outline: 2px solid #7D6220; outline-offset: 2px; }
.lc-calc-fromto { margin-top: 10px; font-size: 13px; color: #4A5651; font-variant-numeric: tabular-nums; }
.lc-calc-fromto span { font-weight: 700; color: #1F2E2A; }
.lc-calc-big { margin-top: 2px; font-family: 'Cormorant Garamond', 'Cormorant Garamond Fallback', serif; font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 600; line-height: 1.1; color: #1F2E2A; font-variant-numeric: tabular-nums; }
.lc-calc-big-unit { font-size: 0.5em; color: #4A5651; }
.lc-calc-total-label { font-size: 12px; font-weight: 600; color: #3A4742; }
.lc-calc-total-num { margin-top: 2px; font-size: 24px; font-weight: 800; color: #7D6220; font-variant-numeric: tabular-nums; }
.lc-calc-formula { margin-top: 2px; font-size: 12px; color: #4A5651; font-variant-numeric: tabular-nums; }
.lc-calc-note { font-size: 12px; line-height: 1.6; color: #4A5651; }
.lc-calc-fine { font-size: 11px; line-height: 1.55; color: #4A5651; }
.lc-calc-total { display: block; }

/* Plan picker, /start/ and /es/empezar/ (includes/plan-picker.php, 2026-10-24). Steps on
   the left, a sticky summary on the right from lg up; stacked on phones. */
.lc-pick { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
@media (min-width: 1024px) { .lc-pick { grid-template-columns: minmax(0, 1fr) 340px; } }
.lc-pick-main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.lc-pick-step { border: 1px solid rgba(31, 46, 42, 0.1); border-radius: 20px; background: #FFFFFF; padding: 22px; min-width: 0; }
@media (min-width: 640px) { .lc-pick-step { padding: 28px; } }
.lc-pick-legend { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; color: #1F2E2A; padding: 0 6px; }
.lc-pick-legend span { width: 28px; height: 28px; border-radius: 9999px; background: #1F2E2A; color: #FFFFFF; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.lc-pick-small { margin-top: 10px; font-size: 13px; line-height: 1.6; color: #4A5651; }
.lc-pick-small a { color: #7D6220; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.lc-pick-plans { margin-top: 14px; display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 768px) { .lc-pick-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lc-pick-plan { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 16px; border: 1.5px solid rgba(31, 46, 42, 0.16); cursor: pointer; background: #FBFAF6; }
.lc-pick-plan:has(input:checked) { border-color: #7D6220; background: rgba(181, 148, 78, 0.1); box-shadow: 0 0 0 1px #7D6220 inset; }
.lc-pick-plan input { position: absolute; top: 16px; right: 16px; accent-color: #7D6220; }
.lc-pick-plan-name { font-size: 16px; font-weight: 800; color: #1F2E2A; }
.lc-pick-plan-price { font-family: 'Cormorant Garamond', 'Cormorant Garamond Fallback', serif; font-size: 30px; font-weight: 600; color: #1F2E2A; line-height: 1.1; }
.lc-pick-plan-price small { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; color: #4A5651; }
.lc-pick-plan-packs { font-size: 13px; font-weight: 700; color: #7D6220; }
.lc-pick-plan-desc, .lc-pick-plan-line { font-size: 13px; line-height: 1.5; color: #3A4742; }
.lc-pick-count { margin-top: 12px; font-size: 14px; font-weight: 700; color: #1F2E2A; }
.lc-pick-group { margin-top: 16px; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #4A5651; }
.lc-pick-packs { margin-top: 8px; display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 640px) { .lc-pick-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lc-pick-pack { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border-radius: 12px; border: 1px solid rgba(31, 46, 42, 0.14); font-size: 14px; color: #1F2E2A; cursor: pointer; background: #FFFFFF; }
.lc-pick-pack:has(input:checked) { border-color: #2E4438; background: rgba(46, 68, 56, 0.07); font-weight: 600; }
.lc-pick-pack input, .lc-pick-setup input, .lc-pick-terms input { accent-color: #2E4438; width: 18px; height: 18px; flex-shrink: 0; }
.lc-pick-setups { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.lc-pick-setup { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; border: 1px solid rgba(31, 46, 42, 0.14); cursor: pointer; }
.lc-pick-setup[hidden] { display: none; }
.lc-pick-setup:has(input:checked) { border-color: #2E4438; background: rgba(46, 68, 56, 0.06); }
.lc-pick-setup span { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: #1F2E2A; }
.lc-pick-setup small { font-size: 13px; color: #4A5651; line-height: 1.5; }
.lc-pick-fields { margin-top: 14px; display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .lc-pick-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lc-pick-fields label span { display: block; font-size: 12px; font-weight: 700; color: #1F2E2A; margin-bottom: 4px; }
.lc-pick-terms { margin-top: 14px; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: #3A4742; }
.lc-pick-terms a { color: #7D6220; text-decoration: underline; text-underline-offset: 3px; }
.lc-pick-summary { border-radius: 20px; padding: 22px; background: linear-gradient(135deg, rgba(181, 148, 78, 0.1) 0%, #FFFFFF 100%); border: 1px solid rgba(181, 148, 78, 0.3); display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 1024px) { .lc-pick-summary { position: sticky; top: 96px; } }
.lc-pick-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #7D6220; }
.lc-pick-lines { display: flex; flex-direction: column; gap: 8px; }
.lc-pick-lines dt { font-size: 11px; font-weight: 700; color: #4A5651; }
.lc-pick-lines dd { font-size: 14px; color: #1F2E2A; line-height: 1.5; }
.lc-pick-total { padding-top: 12px; border-top: 1px solid rgba(31, 46, 42, 0.12); }
.lc-pick-total p { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: #3A4742; margin-top: 4px; }
.lc-pick-total strong { font-size: 18px; color: #1F2E2A; font-variant-numeric: tabular-nums; }
.lc-pick-total .lc-pick-small { display: block; }
.lc-pick-error { font-size: 14px; font-weight: 600; color: #8A3A2A; }
.lc-pick-done { padding: 14px; border-radius: 14px; background: rgba(46, 68, 56, 0.08); font-size: 14px; line-height: 1.6; color: #1F2E2A; }
.lc-pick-done-title { font-weight: 800; margin-bottom: 4px; }

/* Balanced three-across grid (2026-10-24): includes/practice-sections.php
   fcrm_grid3_class(). Six tracks, two per card; a short last row splits evenly. */
.lc-grid3 { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 768px) and (max-width: 1023px) {
  .lc-grid3 { grid-template-columns: 1fr 1fr; }
  .lc-grid3--odd > :last-child { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .lc-grid3 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .lc-grid3 > * { grid-column: span 2; }
  .lc-grid3--r2 > :nth-last-child(-n+2), .lc-grid3--r1 > :nth-last-child(-n+4) { grid-column: span 3; }
}
.lc-quote { font-size: 13px; font-style: italic; line-height: 1.5; color: #1F2E2A; border-left: 2px solid; padding-left: 10px; }

/* Inbox-thread example (2026-10-24): fcrm_thread(). */
.lc-thread {
  background: #FFFFFF; border: 1px solid rgba(31, 46, 42, 0.10); border-radius: 16px;
  padding: 16px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 10px 28px -22px rgba(31, 46, 42, 0.35);
}
.lc-thread__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.lc-thread__ch { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: #5F6B63; }
.lc-thread__ico { width: 14px; height: 14px; flex-shrink: 0; }
.lc-thread__tag { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 9999px; border: 1px solid; }
.lc-thread__in {
  align-self: flex-start; max-width: 92%; background: #F1EDE6; color: #1F2E2A;
  border-radius: 16px 16px 16px 4px; padding: 10px 13px; font-size: 14.5px; line-height: 1.45;
}
.lc-thread__said { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #5F6B63; }
.lc-thread__out { border-top: 1px dashed #E5DDC9; padding-top: 10px; }
.lc-thread__who { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: #2E4438; }
.lc-thread__ok { width: 14px; height: 14px; padding: 2px; border-radius: 9999px; background: rgba(46, 68, 56, 0.12); flex-shrink: 0; }
.lc-thread__does { margin-top: 5px; font-size: 13.5px; line-height: 1.55; color: #4A5651; }
.lc-ind-mock { background: #FBFAF6; padding: 22px; }
.lc-ind-mock .lc-thread { box-shadow: 0 18px 40px -26px rgba(31, 46, 42, 0.45); }

/* Header breakpoint (includes/header.php, 2026-10-25): the inline menu and language switch
   show from 1280px; below that the menu button and drawer. app.css is frozen and has no xl:
   utilities, so these live here. */
.nav-wide, .nav-wide-inline { display: none; }
@media (min-width: 1280px) {
  .nav-wide { display: flex; }
  .nav-wide-inline { display: inline-flex; }
  .nav-narrow { display: none !important; }
}

/* Resources menu and the phone/tablet panel (includes/header.php, 2026-10-27). The academy's
   header (learn-financecrm php/config/partials/nav.php) uses the same look. app.css is frozen,
   so these live here. */
.lc-dd { position: relative; }
.lc-dd-btn { display: inline-flex; align-items: center; gap: 4px; font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; transition: color .2s; }
.lc-dd-chev { transition: transform .2s; }
.lc-dd-panel { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); padding-top: 18px; width: 660px; display: none; z-index: 50; }
.lc-dd.is-open .lc-dd-panel { display: block; }
.lc-dd.is-open .lc-dd-chev { transform: rotate(180deg); }
@media (hover: hover) {
  .lc-dd:hover .lc-dd-panel, .lc-dd:focus-within .lc-dd-panel { display: block; }
  .lc-dd:hover .lc-dd-chev { transform: rotate(180deg); }
}
.lc-dd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; background: #FFFFFF; border: 1px solid rgba(31, 46, 42, 0.10); border-radius: 14px; box-shadow: 0 24px 48px -20px rgba(31, 46, 42, 0.30); }
.lc-dd-head { margin: 6px 12px 6px; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #7D6220; }
.lc-dd-row { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 10px; color: #1F2E2A; text-decoration: none; transition: background-color .15s; }
.lc-dd-row:hover, .lc-dd-row[aria-current="page"] { background: #FBFAF6; }
.lc-dd-tile { width: 34px; height: 34px; flex-shrink: 0; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: #F4EEDF; border: 1px solid rgba(181, 148, 78, 0.30); color: #7D6220; }
.lc-dd-title { display: block; font-size: 13.5px; font-weight: 600; color: #1F2E2A; line-height: 1.3; }
.lc-dd-one .lc-dd-panel { width: 330px; }
.lc-dd-grid > div { min-width: 0; }
.lc-dd-one .lc-dd-grid { grid-template-columns: 1fr; }
.lc-dd-row-short { align-items: center; }
.lc-dd-sub { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: #4A5651; line-height: 1.4; }

.lc-burger { position: relative; display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: background-color .2s; }
.lc-burger::before, .lc-burger::after { content: ''; position: absolute; left: 0; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s; }
.lc-burger::before { transform: translateY(-6px); }
.lc-burger::after { transform: translateY(6px); }
[aria-expanded="true"] > .lc-burger { background: transparent; }
[aria-expanded="true"] > .lc-burger::before { transform: rotate(45deg); }
[aria-expanded="true"] > .lc-burger::after { transform: rotate(-45deg); }
[data-menu-toggle] { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; }

/* A backdrop-filter makes the header the containing block for position:fixed children, which
   would trap the panel inside the bar; app.js adds .menu-open while the panel is open. */
header.menu-open { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: #FBFAF6 !important; }
.lc-panel { position: fixed; left: 0; right: 0; top: 72px; bottom: 0; overflow-y: auto; overscroll-behavior: contain; background: #FBFAF6; border-top: 1px solid rgba(31, 46, 42, 0.10); padding: 8px 16px 0; }
.lc-panel[hidden] { display: none !important; }
.lc-panel-list { list-style: none; margin: 0; padding: 0; }
.lc-panel-row { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 12px; border-radius: 12px; color: #1F2E2A; text-decoration: none; }
.lc-panel-row:hover, .lc-panel-row:active { background: rgba(31, 46, 42, 0.05); }
.lc-panel-row.is-current { background: #FFFFFF; box-shadow: inset 3px 0 0 #7D6220, 0 1px 2px rgba(31, 46, 42, 0.06); }
.lc-panel-main { justify-content: space-between; font-size: 16px; font-weight: 600; }
.lc-panel-main > svg { color: #9AA39D; flex-shrink: 0; }
.lc-panel-note { font-size: 12px; font-weight: 400; color: #5F6B63; }
.lc-panel-text { min-width: 0; }
.lc-panel .lc-dd-title { font-size: 15px; }
.lc-panel .lc-dd-sub { font-size: 13px; }
.lc-panel-head { margin: 20px 4px 6px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #7D6220; }
/* Resources' groups fold (2026-11-07): the heading is a 48px row with a chevron. */
.lc-panel-group { border-top: 1px solid rgba(31, 46, 42, 0.10); margin-top: 8px; }
.lc-panel-group + .lc-panel-group { margin-top: 0; }
.lc-panel-group > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 48px; margin: 0; padding: 0 12px; cursor: pointer; }
.lc-panel-group > summary::-webkit-details-marker { display: none; }
.lc-panel-chev { color: #9AA39D; transition: transform .2s; }
.lc-panel-group[open] .lc-panel-chev { transform: rotate(180deg); }
.lc-panel-group > ul { padding-bottom: 8px; }
/* The buttons stay pinned to the bottom of the open panel, so Book a demo is on screen without scrolling (2026-11-07). */
.lc-panel-foot { position: sticky; bottom: 0; display: grid; gap: 8px; margin: 16px -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #FBFAF6; border-top: 1px solid rgba(31, 46, 42, 0.10); box-shadow: 0 -8px 16px -12px rgba(31, 46, 42, 0.25); }
.lc-panel-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lc-panel-ghost { display: flex; align-items: center; justify-content: center; text-align: center; white-space: nowrap; min-height: 48px; padding: 6px 10px; border-radius: 12px; border: 1px solid rgba(31, 46, 42, 0.18); background: #FFFFFF; font-size: 14px; font-weight: 600; color: #1F2E2A; text-decoration: none; }
@media (max-width: 359px) { .lc-panel-pair { grid-template-columns: 1fr; } }

/* Footer link columns (includes/footer.php, 2026-10-27): the full width at lg, three across at
   md, and collapsible sections on phones. app.js closes them on phones; from md up they are
   always open and the heading is not a control. */
.lc-foot-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.lc-foot-brand { padding-bottom: 20px; }
.lc-foot-col { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.lc-foot-col summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 52px; cursor: pointer; }
.lc-foot-col summary::-webkit-details-marker { display: none; }
.lc-foot-col summary h2 { margin: 0; }
.lc-foot-chev { color: #9FB0A5; transition: transform .2s; }
.lc-foot-col[open] .lc-foot-chev { transform: rotate(180deg); }
.lc-foot-col ul { padding-bottom: 18px; }
.lc-foot-col li a { display: block; padding: 11px 0; }   /* 44px rows on phones (were about 20px) */
@media (max-width: 767px) { .lc-foot-grid { padding-bottom: 8px; } .lc-foot-col ul { padding-bottom: 8px; } .lc-foot-col ul > li { margin-block: 0 !important; } }
/* Copyright, legal links and the plan note (2026-11-07). Phones: centered, the links two to a row
 * as 44px targets. From 640px: one row with CSS dots between items, so none hangs at a line end. */
.lc-foot-base { display: grid; gap: 12px; justify-items: center; text-align: center; }
.lc-legal { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 22rem; }
.lc-legal a, .lc-legal button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; padding: 0 8px; background: none; border: 0; font: inherit; color: inherit; text-decoration: none; cursor: pointer; }
.lc-legal li:nth-of-type(odd):last-of-type { grid-column: 1 / -1; }   /* an odd last item (Cookie preferences) spans the row */
@media (min-width: 640px) {
  .lc-foot-base { grid-template-columns: auto 1fr; justify-items: start; align-items: center; text-align: left; column-gap: 24px; row-gap: 4px; }
  .lc-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; width: auto; max-width: none; justify-self: end; }
  .lc-legal li { display: flex; align-items: center; }
  .lc-legal li + li::before { content: '\2022'; padding: 0 10px; opacity: .6; }
  .lc-legal a, .lc-legal button { width: auto; min-height: 32px; padding: 0; }
  .lc-legal li:nth-of-type(odd):last-of-type { grid-column: auto; }
  .lc-legal-note { grid-column: 1 / -1; justify-self: end; }
}
@media (min-width: 768px) {
  .lc-foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .lc-foot-brand { grid-column: 1 / -1; padding-bottom: 0; max-width: 28rem; }
  .lc-foot-col { border-top: 0; }
  .lc-foot-col summary { min-height: 0; margin-bottom: 12px; cursor: default; pointer-events: none; }
  .lc-foot-chev { display: none; }
  .lc-foot-col ul { padding-bottom: 0; }
  .lc-foot-col li a { display: inline-block; padding: 0; }
}
@media (min-width: 1024px) {
  .lc-foot-grid { grid-template-columns: minmax(0, 1.6fr) repeat(5, minmax(0, 1fr)); gap: 32px; }
  .lc-foot-brand { grid-column: auto; max-width: none; padding-right: 16px; }
}
.nav-wide > a, .lc-dd-btn { white-space: nowrap; }
@media (max-width: 1279px) { [data-site-header] > div { gap: 8px; } [data-menu-toggle] { margin-right: -8px; } }
@media (max-width: 359px) { [data-site-header] > div { padding-left: 16px; padding-right: 16px; } }
@media (max-width: 359px) { [data-menu-toggle] { width: 40px; } }
/* The quick-action bar would cover the end of the open phone menu, which already has the
   same call and demo links; it steps aside while the menu is open. */
html.menu-locked .action-bar { display: none; }

/* Link in bio (pages/links.php, 2026-11-07). Same shape as adayinteractive.com/links,
   in this site's palette: bone page, forest ink, champagne accent. */
.lnk { background: #FBFAF6; min-height: 100vh; padding: 2.5rem 1rem 3rem; }
.lnk-wrap { max-width: 34rem; margin: 0 auto; }
.lnk-head { text-align: center; margin-bottom: 1.75rem; }
.lnk-logo { display: inline-flex; width: 4.25rem; height: 4.25rem; border-radius: 999px; background: #fff; border: 1px solid #E5DDC9; align-items: center; justify-content: center; box-shadow: 0 10px 30px -18px rgba(31,46,42,.3); }
.lnk-logo img { width: 2.5rem; height: 2.5rem; }
.lnk-name { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.85rem; font-weight: 600; color: #1F2E2A; margin: .75rem 0 .35rem; }
.lnk-tag { font-size: .9rem; color: #4A5651; line-height: 1.55; margin: 0 auto; max-width: 28rem; }
.lnk-cta { display: block; text-align: center; background: #1F2E2A; color: #FBFAF6; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 1rem; border-radius: .9rem; margin: 1.25rem 0 0; }
.lnk-cta:hover { background: #1F4535; }
.lnk-sec { margin-top: 2rem; }
.lnk-sec h2 { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #7D6220; margin: 0 0 .7rem .25rem; }
.lnk-list { display: grid; gap: .6rem; }
.lnk-link { position: relative; display: block; background: #fff; border: 1px solid #E5DDC9; border-radius: .9rem; padding: .9rem 2.6rem .9rem 1.1rem; text-decoration: none; transition: border-color .15s, transform .15s; }
.lnk-link:hover { border-color: #B5944E; transform: translateY(-1px); }
.lnk-link--accent { background: #F7F0E1; border-color: #E5D3A8; }
.lnk-title { display: block; color: #1F2E2A; font-weight: 600; font-size: .95rem; line-height: 1.35; }
.lnk-sub { display: block; color: #4A5651; font-size: .8rem; line-height: 1.45; margin-top: .2rem; }
.lnk-date { display: block; color: #7D6220; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .25rem; }
.lnk-arrow { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: #7D6220; }
.lnk-more { display: inline-block; margin: .6rem 0 0 .25rem; font-size: .8rem; color: #7D6220; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.lnk-social { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 2.25rem; }
.lnk-social a { display: inline-flex; width: 2.75rem; height: 2.75rem; border-radius: 999px; align-items: center; justify-content: center; background: #fff; border: 1px solid #E5DDC9; color: #1F2E2A; transition: border-color .15s, color .15s; }
.lnk-social a:hover { border-color: #B5944E; color: #7D6220; }
.lnk-social svg { width: 1.2rem; height: 1.2rem; }
.lnk-foot { margin-top: 1.25rem; text-align: center; font-size: .8rem; color: #4A5651; line-height: 1.7; }
.lnk-foot a { color: #1F2E2A; font-weight: 600; }

/* Header layout (2026-11-07): the bar on financecrm.pro and on the academy at learn.financecrm.pro
   must not shift when moving between them. The menu sits at the true center of the bar, out of
   the flow, so the width of the right-hand group (Book a demo here, the account buttons there)
   cannot move it. The right-hand group, with the phone icon in it, is pushed to the right edge
   at every width. The markup asks for text-[13.5px], which the frozen app.css does not have. */
[data-site-header] > div { position: relative; }
.nav-wide { font-size: 13.5px; }
@media (min-width: 1280px) { .nav-wide { position: absolute; left: 50%; transform: translateX(-50%); } }
.lc-right-group { margin-left: auto; }

/* Home hero checklist (hero_checklist(), 2026-11-07), as on theracrm.pro and yacontesta.pro:
   under the photo from lg up, at the end of the copy column on phones. */
.hero-checklist { list-style: none; margin-left: 0; padding: 0; column-gap: 1.5rem; row-gap: 1rem; }
.hero-checklist--side { display: none; }
@media (min-width: 1024px) {
  .hero-checklist--side { display: grid; }
  .hero-checklist--stack { display: none; }
}

/* Home hero sits higher (2026-11-07, Brandon: less space under the nav): less top padding than
   the other pages' heroes, and the photo starts at the top of the column instead of being
   centered against the longer copy, as on theracrm.pro and yacontesta.pro. */
.page-hero--home { padding-top: 2.5rem; }
@media (min-width: 1024px) {
  .page-hero--home { padding-top: 3.5rem; }
  .page-hero--home .hero-photo { align-self: start; }
}

/* Every page's hero sits as high as the home page's (2026-11-07, Brandon: "sub pages are lower
   than the home page and not aligned"). The hero is whatever holds the page's one <h1>: a
   page_hero() section, a hand-built hero section, or a blog post's header. Its top padding was
   anywhere from 80px to 144px on desktop; it is now the home hero's 40px on phones and 56px
   from lg. Only the big top-padding utilities are matched, and only on an element that
   contains the <h1>, so sections further down the page are untouched. A hero grid that
   centred its columns now lines them up at the top, so the photo starts level with the label.
   Browsers without :has() keep the old spacing. */
#main .page-hero,
#main :is([class~="pt-16"], [class~="pt-20"], [class~="pt-24"], [class~="pt-28"], [class~="py-14"], [class~="py-16"], [class~="py-20"]):has(h1) {
  padding-top: 2.5rem;
}
@media (min-width: 1024px) {
  #main .page-hero,
  #main :is([class~="pt-16"], [class~="pt-20"], [class~="pt-24"], [class~="pt-28"], [class~="py-14"], [class~="py-16"], [class~="py-20"]):has(h1) {
    padding-top: 3.5rem;
  }
  #main .page-hero .hero-photo { align-self: start; }
  #main .grid.items-center:has(h1) { align-items: start; }
}

/* Solo onboarding form (pages/onboarding.php, 2026-11-07). The choice chips reuse the plan
   picker's .lc-pick-pack. */
.lc-onb-sec { border: 0; margin: 0 0 28px; padding: 0 0 24px; border-bottom: 1px solid rgba(31, 46, 42, 0.10); min-width: 0; }
.lc-onb-legend { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: #1F2E2A; margin-bottom: 6px; }
.lc-onb-legend span { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 999px; background: #1F2E2A; color: #FBFAF6; font-size: 13px; }
.lc-onb-intro { font-size: 14px; color: #4A5651; line-height: 1.6; margin: 0 0 14px; }
.lc-onb-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .lc-onb-grid { grid-template-columns: 1fr 1fr; } .lc-onb-field.is-wide { grid-column: 1 / -1; } }
.lc-onb-label { display: block; font-size: 13px; font-weight: 700; color: #1F2E2A; margin-bottom: 6px; }
.lc-onb-label span { color: #8A3A2A; }
.lc-onb-help { font-size: 12.5px; color: #5F6B63; margin: -2px 0 8px; line-height: 1.5; }
.lc-onb-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.lc-onb .lc-pick-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }   /* 17 areas, two to a row even on phones */


/* Onboarding per plan (pages/onboarding.php, onboarding-hub.php, 2026-11-08): the steps in
   order with who does each, and the checklist (ticks kept per device by app.js). */
.lc-onb-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.lc-onb-step { display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(31, 46, 42, 0.10); }
.lc-onb-step:first-child { border-top: 0; }
.lc-onb-step-n { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 999px; border: 1px solid rgba(31, 46, 42, 0.25); color: #1F2E2A; font-size: 13px; font-weight: 700; background: #FFFFFF; }
.lc-onb-step-t { font-size: 16px; font-weight: 700; color: #1F2E2A; line-height: 1.4; }
.lc-onb-step-d { margin-top: 2px; font-size: 14px; color: #4A5651; line-height: 1.6; }
.lc-onb-who { display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; vertical-align: 2px; white-space: nowrap; }
.lc-onb-who.is-you { background: #1F2E2A; color: #FBFAF6; }
.lc-onb-who.is-we { background: #F5F0E5; color: #7D6220; border: 1px solid rgba(181, 148, 78, 0.45); }
.lc-onb-who.is-carriers { background: #ECE7DA; color: #4A5651; }
.lc-onb-checklist { display: grid; gap: 14px; }
.lc-onb-group { background: #FFFFFF; border: 1px solid rgba(31, 46, 42, 0.12); border-radius: 16px; padding: 18px 18px 8px; }
.lc-onb-group-t { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: #1F2E2A; margin-bottom: 6px; }
.lc-onb-group-t span { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 999px; background: #1F2E2A; color: #FBFAF6; font-size: 12px; }
.lc-onb-group ul { list-style: none; margin: 0; padding: 0; }
.lc-onb-item { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 10px 0; font-size: 14.5px; color: #1F2E2A; line-height: 1.5; cursor: pointer; border-top: 1px solid rgba(31, 46, 42, 0.08); }
.lc-onb-group li:first-child .lc-onb-item { border-top: 0; }
.lc-onb-item input { accent-color: #2E4438; width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.lc-onb-item:has(input:checked) span { color: #5F6B63; text-decoration: line-through; text-decoration-color: rgba(31, 46, 42, 0.35); }
.lc-onb-card { transition: border-color .15s, box-shadow .15s; }
.lc-onb-card:hover { border-color: rgba(181, 148, 78, 0.6) !important; box-shadow: 0 6px 24px rgba(31, 46, 42, 0.08); }

/* Growth playbook (2026-11-08): the offer card on practice pages and the
   practice picker on /guides/financial-firm-growth-playbook/ (includes/playbooks.php). */
.fcrm-pb-card { display: grid; grid-template-columns: 1fr; gap: 1.75rem; align-items: center; }
@media (min-width: 640px) { .fcrm-pb-card { grid-template-columns: 160px 1fr; } }
.fcrm-pb-select { width: 100%; border-radius: 0.75rem; padding: 0.75rem 2.5rem 0.75rem 1rem; font-size: 15px; color: #1F2E2A;
  border: 1px solid rgba(31,46,42,0.25); background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234A5651' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.9rem center;
  -webkit-appearance: none; appearance: none; }
/* Phones: a smaller cover keeps the card under about half a screen. */
@media (max-width: 639px) { .fcrm-pb-card { gap: 1.25rem; } .fcrm-pb-card img { max-width: 104px !important; } }


/* ════════════════════════════════════════════════════════════════════════
   Editorial layer (2026-11-08, Brandon: "look at how we redesigned yacontesta,
   do the same for financecrm.pro and align to clio.com", keeping the colour
   aligned with Aday Interactive's law pages). Principles borrowed from
   clio.com, nothing copied: a full-bleed photo hero with the header laid over
   it, large light headlines in one sans, solid 8px buttons beside a text link
   with an arrow, a figures strip, plain labels instead of pills, a dark footer
   that opens with one large line. Palette unchanged: ink #1F2E2A, deep ink
   #142019, gold text #7D6220, champagne #B5944E, light gold on dark #E8C98A.
   body.ed on every page (head.php); body.ed-overlay on / and /es/.
   Contrast: #FBFAF6 on #142019 17:1; #E8C98A on #142019 11:1; #C9D1CC 12:1;
   ink on champagne #B5944E 4.9:1.
   ════════════════════════════════════════════════════════════════════════ */

/* The logo (functions.php lc_logo()) */
.lc-logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.lc-logo__mark { flex-shrink: 0; display: block; border-radius: 9px; }
.lc-logo__text { display: flex; flex-direction: column; gap: 2px; }
.lc-logo__word { font-weight: 700; font-size: 20px; line-height: 1.05; letter-spacing: -0.025em; color: #1F2E2A; }
.lc-logo__tld { color: #7D6220; font-weight: 600; }
.lc-logo__sub { font-size: 10px; line-height: 1.2; letter-spacing: .02em; color: #5F6B63; }
.lc-logo--dark .lc-logo__mark { box-shadow: 0 0 0 1px rgba(232, 201, 138, 0.35); }
.lc-logo--dark .lc-logo__word { color: #FBFAF6; }
.lc-logo--dark .lc-logo__tld { color: #E8C98A; }
.lc-logo--dark .lc-logo__sub { color: #9FB0A5; font-size: 11px; }
a:hover .lc-logo__mark, a:focus-visible .lc-logo__mark { box-shadow: 0 0 0 2px rgba(181, 148, 78, 0.55); }
@media (max-width: 639px) { [data-site-header] .lc-logo__sub { display: none; } }

/* Buttons: solid, 8px corners, as on clio.com */
.ed .btn-champagne, .ed .btn-ghost { border-radius: 8px !important; }
.ed-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.5rem; border-radius: 8px; font-size: 15px; font-weight: 600; line-height: 1.2;
  transition: background-color .2s ease, transform .2s ease;
}
.ed-btn--gold { background: #B5944E; color: #142019; }
.ed-btn--gold:hover { background: #C7A962; }
.ed-btn svg, .ed-link svg { transition: transform .2s ease; }
.ed-btn:hover svg, .ed-link:hover svg { transform: translateX(3px); }
.ed-link {
  display: inline-flex; align-items: center; gap: .5rem; padding: .95rem .25rem;
  font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px;
}
.ed-link--dark { color: #FBFAF6; }
.ed-link--dark:hover { color: #E8C98A; }
.ed-btn:focus-visible, .ed-link:focus-visible { outline: 2px solid #E8C98A; outline-offset: 3px; }

/* Headlines: one sans, large and light, the second line in gold instead of a serif italic */
.ed main h1, .ed main h2 { font-weight: 500 !important; letter-spacing: -0.03em; }
.ed main :is(h1, h2) .font-serif { font-family: inherit; font-style: normal; font-weight: inherit !important; }
.ed main :is(h1, h2) .text-gradient-champagne { background: none; -webkit-text-fill-color: #7D6220; color: #7D6220; }
.ed main .on-forest :is(h1, h2) .text-gradient-champagne,
.ed main .surface-forest :is(h1, h2) .text-gradient-champagne { -webkit-text-fill-color: #E8C98A; color: #E8C98A; }
/* Section labels: plain text where a pill sat right above a headline */
.ed main .inline-flex.rounded-full:is(.pill-champagne, .pill-sage):has(+ h1, + h2) {
  background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important;
  color: #7D6220; font-size: 12.5px; font-weight: 700; letter-spacing: .14em;
}
.ed main .on-forest .inline-flex.rounded-full:is(.pill-champagne, .pill-sage):has(+ h1, + h2) { color: #E8C98A; }

/* Inner pages' hero: flatter ground, a larger lighter headline, square-cornered photo */
.ed .page-hero { background: #FBFAF6; }
.ed .page-hero__glow { display: none; }
.ed .page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.06; letter-spacing: -0.035em; }
.ed .page-hero h1 > .block { margin-top: .15em; }
.ed .photo-frame__accent { border-radius: 12px; background: #E8D9AE; }
.ed .photo-frame__img { border-radius: 10px; }
.ed .proof-card { border-radius: 10px; }
.ed .proof-card__bubble { border-radius: 8px 8px 8px 2px; }

/* Header: a clean bar; on the home pages it lies over the photo and turns solid on scroll */
.ed [data-site-header] { background: rgba(251, 250, 246, 0.94); }
.ed .nav-wide { font-size: 14px; color: #1F2E2A; }
.ed-overlay .site-topbar { background: #142019; border-color: rgba(255, 255, 255, 0.08); }
.ed-overlay .site-topbar p { color: #E8C98A; }
.ed-overlay .site-topbar span { color: #B9C2BD; }
.ed-overlay [data-site-header] { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transition: background-color .25s ease, border-color .25s ease; }
.ed-overlay [data-site-header].is-scrolled { background: rgba(20, 32, 25, 0.94); border-color: rgba(255, 255, 255, 0.08); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.ed-overlay header.menu-open { background: #142019 !important; }
.ed-overlay [data-site-header] .lc-logo__word { color: #FBFAF6; }
.ed-overlay [data-site-header] .lc-logo__tld { color: #E8C98A; }
.ed-overlay [data-site-header] .lc-logo__sub { color: #B9C2BD; }
.ed-overlay [data-site-header] .lc-logo__mark { box-shadow: 0 0 0 1px rgba(232, 201, 138, 0.35); }
.ed-overlay .nav-wide, .ed-overlay .nav-wide-inline, .ed-overlay .lc-dd-btn { color: #E4E8E4; }
.ed-overlay .nav-wide > a:hover, .ed-overlay .lc-dd-btn:hover, .ed-overlay .nav-wide-inline:hover { color: #E8C98A; }
.ed-overlay .nav-current { color: #FFFFFF; }
.ed-overlay [data-site-header] > div:first-child a[href^="tel:"], .ed-overlay [data-menu-toggle] { color: #FBFAF6; }
.ed-overlay [data-site-header] > div:first-child .btn-champagne { background: #B5944E; border-color: #B5944E; color: #142019; }
.ed-overlay [data-site-header] > div:first-child .btn-champagne:hover { background: #C7A962; border-color: #C7A962; }

/* The home hero (functions.php page_hero_bleed()) */
.ed-hero {
  position: relative; overflow: hidden; margin-top: -73px; background: #142019; color: #FBFAF6;
  min-height: min(100vh, 960px); display: flex; flex-direction: column; justify-content: flex-end;
}
.ed-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.ed-hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(20, 32, 25, 0.96) 0%, rgba(20, 32, 25, 0.55) 30%, transparent 58%),
    linear-gradient(90deg, rgba(20, 32, 25, 0.92) 0%, rgba(20, 32, 25, 0.74) 38%, rgba(20, 32, 25, 0.2) 72%, rgba(20, 32, 25, 0.28) 100%),
    linear-gradient(180deg, rgba(20, 32, 25, 0.6) 0%, transparent 20%);
}
.ed-hero__inner { position: relative; width: 100%; padding-top: 8.5rem; padding-bottom: 3rem; display: grid; gap: 2.5rem; align-items: end; }
.ed-hero__inner > * { min-width: 0; }
@media (min-width: 1024px) { .ed-hero__inner { grid-template-columns: minmax(0, 1fr) 320px; column-gap: 4rem; padding-top: 8rem; padding-bottom: 2.5rem; } }
.ed-hero__copy > * + * { margin-top: 1.25rem; }
.ed-kicker { font-size: 13px; font-weight: 600; letter-spacing: .01em; line-height: 1.5; max-width: 40rem; }
.ed-kicker--dark { color: #E8C98A; }
.ed-display {
  font-weight: 400; font-size: clamp(2.4rem, 4.3vw, 4.1rem); line-height: 1.03; letter-spacing: -0.04em;
  color: #FBFAF6; max-width: 17em; text-wrap: balance;
}
.ed-display__accent { display: block; color: #E8C98A; margin-top: .08em; }
.ed-hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.55; color: #D3D9D4; max-width: 38rem; }
.ed-hero__lead strong { color: #FBFAF6 !important; font-weight: 600; }
.ed-hero__ctas { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1.25rem; row-gap: .25rem; }
.ed-hero__ctas .ed-btn { margin-right: .25rem; }
.ed-hero__note { font-size: 14px; color: #C9D1CC; }
.ed-hero__note a { color: #E8C98A; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.ed-hero__card .proof-card { position: relative; margin: 0; width: 100%; max-width: 320px; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45); border-color: rgba(255, 255, 255, 0.6); }
.ed-strip { position: relative; border-top: 1px solid rgba(255, 255, 255, 0.14); background: rgba(20, 32, 25, 0.55); }
.ed-strip__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 auto; }
@media (min-width: 900px) { .ed-strip__row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ed-strip__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .35rem; padding: 1.4rem 1.25rem 1.6rem 0; }
.ed-strip__fig { margin: 0; font-size: clamp(1.75rem, 2.6vw, 2.4rem); font-weight: 400; letter-spacing: -0.03em; line-height: 1; color: #FBFAF6; }
.ed-strip__lab { font-size: 13px; line-height: 1.45; color: #B9C2BD; max-width: 15rem; }
@media (min-width: 900px) { .ed-strip__item + .ed-strip__item { border-left: 1px solid rgba(255, 255, 255, 0.14); padding-left: 1.5rem; } }
@media (max-width: 899px) { .ed-strip__item:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, 0.14); padding-left: 1rem; } .ed-strip__item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.14); } }
@media (max-width: 1023px) {
  .ed-hero { min-height: 0; }
  .ed-hero__bg { object-position: 70% top; }
  .ed-hero__shade { background: linear-gradient(0deg, #142019 0%, rgba(20, 32, 25, 0.8) 45%, rgba(20, 32, 25, 0.5) 100%); }
  .ed-hero__inner { padding-top: 7rem; padding-bottom: 2.25rem; }
}
@media (max-width: 639px) {
  .ed-hero__inner { padding-top: 6rem; }
  .ed-hero__ctas { flex-direction: column; align-items: stretch; }
  .ed-hero__ctas .ed-btn { margin-right: 0; }
  .ed-hero__ctas .ed-link { justify-content: center; }
  .ed-strip__lab { font-size: 12px; }
}

/* The section right after the home hero: the headline beside the copy */
.ed-h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 500; color: #1F2E2A; text-wrap: balance; }
.ed-intro__grid { display: grid; gap: 1.75rem; }
@media (min-width: 1024px) { .ed-intro__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 4rem; align-items: start; } }
.hero-checklist--intro { display: grid; }

/* Footer: deep ink, one large line on top */
.ed footer.on-forest { background: #142019 !important; }
.ed-foot-statement { font-size: clamp(2rem, 5vw, 4rem); font-weight: 400; line-height: 1.05; letter-spacing: -0.04em; color: #FBFAF6; padding-bottom: 3rem; margin-bottom: 3rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12); text-wrap: balance; }
.ed-foot-statement span { color: #E8C98A; }

/* Scroll reveal (app.js). Hidden only once app.js has marked the page, never with reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js-reveal [data-reveal].is-in { opacity: 1; transform: none; }
}

/* The home hero on phones and tablets (2026-11-08, Brandon: "improve home in mobile view"). The
   photo was a dim backdrop under a full screen of text. Now it is a clear band at the top: the
   person and the screen are visible, the headline starts over its lower edge where it fades into
   ink, the long label above the headline is dropped (the headline says it), and the type and
   buttons are tighter, so the button sits in the first screen. */
@media (max-width: 1023px) {
  .ed-hero__bg { inset: 0 0 auto 0; height: clamp(300px, 62vw, 560px); object-position: 66% 30%; }
  .ed-hero__shade {
    inset: 0 0 auto 0; height: clamp(300px, 62vw, 560px);
    background: linear-gradient(180deg, rgba(20, 32, 25, 0.55) 0%, rgba(20, 32, 25, 0.05) 26%, rgba(20, 32, 25, 0.15) 50%, rgba(20, 32, 25, 0.82) 80%, #142019 100%);
  }
  .ed-hero__inner { padding-top: clamp(150px, 41vw, 400px); }
  .ed-hero .ed-kicker { display: none; }
}
@media (max-width: 639px) {
  .ed-display { font-size: clamp(1.9rem, 8vw, 2.25rem); line-height: 1.05; letter-spacing: -0.035em; }
  .ed-hero__copy > * + * { margin-top: 1rem; }
  .ed-hero__lead { font-size: 1rem; }
  .ed-hero__ctas { gap: 0; }
  .ed-hero__ctas .ed-link { padding: .75rem .25rem .25rem; }
  .ed-hero__note { font-size: 13px; }
  .ed-hero__card .proof-card { max-width: none; }
}
/* The gold strip on one line on narrow phones (the Spanish one wrapped to two and pushed the home button
   under the action bar). */
@media (max-width: 420px) { .site-topbar { padding-left: 8px; padding-right: 8px; } .site-topbar p { font-size: 10px; letter-spacing: .04em; } }

/* Text on phones (2026-11-08, Brandon: "improve all text formatting", with a screenshot of a
   130-word paragraph set centred at 18px). Clio-style reading: on phones every text block that
   was centred for desktop is left-aligned (a ragged centred paragraph is hard to read), large body
   copy steps down to 17px with an even 1.6 line height, and paragraphs avoid one-word last lines.
   Buttons and chips that sat in a centred row start at the left edge with the text above them. */
.ed main p { text-wrap: pretty; }
@media (max-width: 639px) {
  .ed main .text-center:not(.ed-keep-center) { text-align: left; }
  .ed main .text-center:not(.ed-keep-center) > .mx-auto,
  .ed main .text-center:not(.ed-keep-center) .measure { margin-left: 0; margin-right: 0; }
  .ed main .text-center:not(.ed-keep-center) .justify-center { justify-content: flex-start; }
  .ed main p.text-lg, .ed main p.text-xl { font-size: 17px; line-height: 1.6; }
  .ed main p.text-base { line-height: 1.65; }
  .ed main h1 { text-wrap: balance; }
  .ed main h2 { text-wrap: balance; }
}
/* One typeface (2026-11-08): prices, figures and the few serif labels left from the old look take the
   sans, so a price no longer sits in Cormorant beside sans copy. Italic serif accents become upright. */
.ed main .font-serif, .ed .lc-calc-big, .ed .lc-pick-plan-price, .ed .lnk-name, .ed .stat-rail__figure, .ed #ada-consent-modal h3 {
  font-family: 'Plus Jakarta Sans', 'Plus Jakarta Sans Fallback', system-ui, sans-serif !important;
  font-style: normal !important; letter-spacing: -0.025em;
}
.ed main .font-serif.font-light, .ed main .font-serif.font-normal { font-weight: 400; }

/* The six-feature tabs on phones (2026-11-08, Brandon: "this layout is not useful on mobile", with
   screenshots). The cards were a 2x3 grid a screen tall, and the detail they switch sat below it, out of
   sight. Below 768px they are one row of compact chips (icon and title) you swipe sideways, sitting right
   above the detail, as clio.com does with its tabbed sections. The chip tapped scrolls into view (app.js). */
@media (max-width: 767px) {
  .ed [data-tabs]:has(> .tab-card) {
    display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; margin: 0 -16px 20px; padding: 2px 16px 6px;
    scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .ed [data-tabs]:has(> .tab-card)::-webkit-scrollbar { display: none; }
  .ed [data-tabs] > .tab-card {
    flex: 0 0 auto; flex-direction: row; align-items: center; justify-content: flex-start; gap: 8px;
    padding: 10px 14px; min-height: 44px; border-radius: 9999px; scroll-snap-align: start;
  }
  .ed [data-tabs] > .tab-card > div { margin: 0; }
  .ed [data-tabs] > .tab-card > div > span { display: none; }
  .ed [data-tabs] > .tab-card .tab-card-title { white-space: nowrap; font-size: 13.5px; display: block; -webkit-line-clamp: unset; overflow: visible; }
  .ed [data-tabs]:has(> .tab-card) ~ [data-panel] { border-radius: 16px; }
  .ed [data-tabs]:has(> .tab-card) + [data-panel], .ed [data-tabs]:has(> .tab-card) ~ [data-panel] { scroll-margin-top: 90px; }
}

/* 2027 AI Readiness Assessment (pages/tools-ai-readiness-assessment.php, 2026-11-10). None of these
   layouts exist in the compiled app.css: the pillar list, the answer cards, the score block and the
   five bars. Colours are the palette's own (ink, champagne, canopy, bronze, ivory). */
.lca-pillars { display: grid; gap: 12px; list-style: none; padding: 0; }
@media (min-width: 768px) { .lca-pillars { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.lca-num { display: block; font-size: 13px; font-weight: 700; color: #7D6220; letter-spacing: 0.08em; margin-bottom: 6px; }
.lca-group { margin-top: 36px; }
.lca-group:first-child { margin-top: 0; }
.lca-group__name { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #7D6220; margin-bottom: 12px; }
.lca-q { border: 1px solid #E5DDC9; padding: 20px; margin: 0 0 14px; min-width: 0; }
@media (min-width: 640px) { .lca-q { padding: 24px 28px; } }
.lca-q__text { font-size: 16px; font-weight: 600; line-height: 1.5; color: #1F2E2A; padding: 0; float: left; width: 100%; margin-bottom: 14px; }
.lca-q__n { color: #7D6220; }
.lca-opts { clear: both; display: grid; gap: 8px; }
.lca-opt { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1px solid rgba(31,46,42,0.16); border-radius: 12px; background: #FFFFFF; cursor: pointer; font-size: 15px; line-height: 1.5; color: #3A4742; min-height: 44px; }
.lca-opt:hover { border-color: rgba(181,148,78,0.6); }
.lca-opt input { margin-top: 4px; flex-shrink: 0; width: 18px; height: 18px; accent-color: #2E4438; }
.lca-opt:has(input:checked) { border-color: #2E4438; background: #F5F0E5; color: #1F2E2A; }
.lca-opt:has(input:focus-visible) { outline: 2px solid #B5944E; outline-offset: 2px; }
.lca-opt--unsure { color: #4A5651; font-size: 14px; }
.lca-submit { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
@media (min-width: 640px) { .lca-submit { flex-direction: row-reverse; justify-content: space-between; align-items: center; } }
.lca-score { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 640px) { .lca-score { flex-direction: row; align-items: center; gap: 32px; } }
.lca-score__num { display: flex; align-items: baseline; gap: 6px; flex-shrink: 0; }
.lca-score__big { font-size: 64px; line-height: 1; font-weight: 800; color: #1F2E2A; letter-spacing: -0.03em; }
.lca-score__of { font-size: 16px; font-weight: 600; color: #4A5651; }
.lca-bars { list-style: none; padding: 0; display: grid; gap: 16px; }
.lca-bars__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.lca-bar { height: 10px; border-radius: 9999px; background: #ECE7DA; overflow: hidden; }
.lca-bar > span { display: block; height: 100%; border-radius: 9999px; min-width: 4px; }
.lca-bar--strong { background: #2E4438; }
.lca-bar--uneven { background: #B5944E; }
.lca-bar--gap { background: #B86A4C; }
.lca-tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 9999px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; background: #1F2E2A; color: #FBFAF6; vertical-align: 2px; }
.lca-offer { background: #FFFFFF; border: 1px solid rgba(181,148,78,0.55); box-shadow: 0 1px 0 rgba(31,46,42,0.04); }

/* Product drawing beside the "How it works" steps on feature pages (2026-11-11). Desktop only. */
.lc-steps-fig { display: none; }
@media (min-width: 1024px) {
  .lc-steps-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: start; }
  .lc-steps-fig { display: block; position: sticky; top: 112px; margin: 0; }
  .lc-steps-fig img { display: block; width: 100%; height: auto; border-radius: 20px; border: 1px solid #E6E1D3; box-shadow: 0 24px 48px -28px rgba(31, 46, 42, 0.35); }
  .lc-steps-fig figcaption { margin-top: 10px; font-size: 12px; color: #5F6B63; text-align: center; }
}
