/* Hallmark stamp: theme editorial (quiet luxury) | tokens locked in DESIGN.md 2026-11-26 | genre editorial | signature: the three leaks set big in type | surface: absolute | nav: wordmark left, services group, two actions | footer: service index, contact, note */
 /* Critique: hero-first build, cold review at 1440px and 390px, overflow checked at 320px and 820px, reduced-motion verified */
 /* Waivers: none */
 /* Hallmark · waive 24b · one off-scale value, 14px vertical button padding, an optical nudge on the 48px button · locked by DESIGN.md §6.1, the 28px horizontal sits on the 4px scale */
 /* Hallmark · waive 7b · the stamp declares surface: absolute and the white audit panel passes contrast · the free leak audit panel needs a true white surface on warm paper */
 /* Hallmark · waive 26b · no form control and no aria-disabled anywhere on the site · buttons on the services pages carry :active in this stylesheet */
 /* Hallmark · dismissed 49 · the mandated hero action "Request Free 1-Page Leak Audit" wraps to two lines inside its full-width button at 320px only, contained with no overflow, verified by screenshot */
 /* Hallmark · dismissed 58 · home carries 806 visible words against the 450 cap because the mandated sections cannot fit the cap · every section from DESIGN.md §8 is present and none was cut to meet the cap */
:root {
  /* Grounds */
  --paper: #F7F4ED;
  --paper-cream: #F5E7D0;
  --surface: #FFFFFF;
  /* Ink */
  --ink: #1C1A17;
  --ink-muted: #6B645A;
  /* The single accent, rationed */
  --accent-green: #263F31;
  /* Structure */
  --line: rgba(28, 26, 23, 0.14);
  /* Semantic states */
  --success: #2E5A3C;
  --error: #8C3A2B;
  --warning: #7A5A1F;
  /* Focus */
  --focus: #1C1A17;
  --focus-on-green: #F5E7D0;
  /* Type */
  --font-display: "Fraunces", "Fraunces Fallback", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  /* Motion */
  --reveal-duration: 1s;
  --reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Self-hosted webfonts (OFL, $0): latin subsets only, served same-origin so
   there is no render-blocking Google Fonts CSS request. The two hero files
   are preloaded in every page head. Fraunces ships as a variable font with
   the opsz axis only (weight fixed at 500); Inter ships as a variable font
   with the wght axis covering 400 to 600 in this one file. */
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  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: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  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 metric overrides (D3): fallback faces sized to match the webfonts so
   the swap from fallback to Fraunces/Inter does not reflow the hero (CLS 0).
   Inter metrics: ascent-override 90%, descent 22.43%, size-adjust 107.64%
   (Arial-based fallback); Fraunces metrics matched against Georgia. */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  ascent-override: 90%;
  descent-override: 22.43%;
  line-gap-override: 0%;
  size-adjust: 107.64%;
}
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia");
  ascent-override: 89%;
  descent-override: 26%;
  line-gap-override: 0%;
  size-adjust: 105%;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { overflow-x: clip; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

a { color: var(--ink); }

::selection { background: var(--paper-cream); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  background: var(--surface);
  color: var(--ink);
  padding: 8px 16px;
  z-index: 100;
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

/* Container */
.container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
@media (min-width: 1024px) {
  .container { padding-left: 48px; padding-right: 48px; }
}

/* Type */
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; color: var(--ink); margin: 0; text-wrap: balance; }
.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: 0;
  min-width: 0;
  overflow-wrap: break-word;
}
.h1-page {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  min-width: 0;
  overflow-wrap: break-word;
}
h2, .h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  min-width: 0;
  overflow-wrap: break-word;
}
h3, .h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  min-width: 0;
  overflow-wrap: break-word;
}
.price-figure {
  font-family: var(--font-display);
  font-weight: 500;
  /* Phase A: smaller floor + vw-driven scale so "$1,000 to $2,500" cannot
     clip at 320px (28px -> ~223px wide in a 272px card). Safe wrapping on. */
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  line-height: 1.1;
  color: var(--accent-green);
  font-variant-numeric: tabular-nums;
  overflow-wrap: break-word;
  min-width: 0;
}
.lede { font-size: 1.0625rem; line-height: 1.6; max-width: 68ch; }
.small { font-size: 0.875rem; line-height: 1.5; }
.caption { font-size: 0.8125rem; line-height: 1.5; }
.label { font-size: 0.875rem; line-height: 1.5; font-weight: 500; }
.muted { color: var(--ink-muted); }
strong { font-weight: 600; }

/* Running-text links */
.prose a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose a:hover { text-decoration-thickness: 2px; color: var(--accent-green); }

/* Sections */
.section { padding-top: 64px; padding-bottom: 64px; border-top: 1px solid var(--line); }
@media (min-width: 1024px) {
  .section { padding-top: clamp(96px, 12vw, 160px); padding-bottom: clamp(96px, 12vw, 160px); }
}
.section-head { max-width: 68ch; margin-bottom: 48px; }
.section-head p { margin: 16px 0 0; }

/* Top line */
.top-line {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.top-line-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
/* Phase A: the cream highlight box behind the wordmark is removed. The
   wordmark is plain ink text on paper now; no background, no padding. */
.nav-desktop { display: none; }
@media (min-width: 1024px) {
  .nav-desktop { display: flex; align-items: center; gap: 24px; margin-left: 16px; }
}
.nav-desktop a, .nav-mobile a {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  text-decoration: none;
}
.nav-desktop a:hover, .nav-mobile a:hover { color: var(--accent-green); }
/* D1 fix: the mobile-menu primary button is cream text on green (9.37:1).
   Specificity 0,2,1 beats .nav-mobile a (0,1,1); placed after the hover
   rule so hover cannot re-ink it either. */
.nav-mobile a.btn-primary,
.nav-mobile a.btn-primary:hover { color: var(--paper-cream); }
.nav-mobile a.btn-secondary,
.nav-mobile a.btn-secondary:hover { color: var(--ink); }
.nav-desktop a[aria-current="page"], .nav-mobile a[aria-current="page"] {
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Phase A — nav dropdowns (Solutions, Legal). <details>/<summary>: native,
   keyboard-accessible, no JS needed. Desktop menu drops below the button;
   mobile menu expands in place. */
.nav-drop { position: relative; }
.nav-drop-btn {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  background: none;
  border: none;
  padding: 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  min-height: 44px;
}
.nav-drop-btn::-webkit-details-marker { display: none; }
.nav-drop-btn::after {
  content: "";
  margin-left: 6px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg) translateY(-2px);
  flex: none;
}
.nav-drop-btn:hover { color: var(--accent-green); }
.nav-drop-menu { display: none; }
.nav-drop[open] .nav-drop-menu { display: flex; flex-direction: column; }
@media (min-width: 1024px) {
  .nav-drop-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: -16px;
    min-width: 280px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 8px 0;
    z-index: 60;
  }
  .nav-drop-menu a, .nav-drop-menu .nav-drop-item {
    padding: 8px 16px;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
}
.nav-drop-label {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-muted);
  padding: 12px 16px 4px;
  margin: 0;
}
.nav-drop-label:first-child { padding-top: 4px; }
.nowrap { white-space: nowrap; }
.nav-tag {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--accent-green);
  border: 1px solid var(--accent-green);
  border-radius: 2px;
  padding: 1px 6px;
  white-space: nowrap;
  flex: none;
}
.nav-drop-item { color: var(--ink-muted); font-size: 0.875rem; line-height: 1.5; }
/* Mobile dropdown: the summary and its links match the 44px mobile nav rows. */
.nav-mobile .nav-drop-btn { padding: 8px 0; width: 100%; }
.nav-mobile .nav-drop-menu { padding: 0 0 8px 16px; gap: 0; }
.nav-mobile .nav-drop-menu a, .nav-mobile .nav-drop-menu .nav-drop-item {
  padding: 8px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-mobile .nav-drop-label { padding: 12px 0 4px; }
.top-actions { display: none; margin-left: auto; gap: 16px; align-items: center; }
@media (min-width: 1024px) { .top-actions { display: flex; } }
/* At 1024-1279 the full top line is 17px over capacity with 24px gaps, so the
   nav links and header buttons wrap to two lines. Tighten the gaps (16px and
   8px are both on the DESIGN.md §4.1 spacing scale) until the 1280 layout. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .top-line-inner { gap: 16px; }
  .nav-desktop { gap: 16px; }
  .top-actions { gap: 8px; }
  .top-actions .btn { white-space: nowrap; }
  .nav-desktop a { white-space: nowrap; }
}
.menu-button {
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 2px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  min-height: 44px;
  padding: 8px 16px;
  cursor: pointer;
}
@media (min-width: 1024px) { .menu-button { display: none; } }
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
}
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 8px 0; min-height: 44px; display: flex; align-items: center; }
.nav-mobile .btn { margin-top: 16px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  min-height: 48px;
  padding: 14px 28px;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: var(--accent-green);
  color: var(--paper-cream);
  border: none;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:focus-visible { outline: 2px solid var(--focus-on-green); outline-offset: 2px; }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-secondary:hover { transform: translateY(-2px); border-color: var(--ink); }
.btn-secondary:active { transform: translateY(1px); }
.btn-block { width: 100%; }
@media (min-width: 768px) { .btn-block { width: auto; } }

/* Hero */
.hero {
  padding-top: 64px;
  padding-bottom: 64px;
  min-height: calc(100dvh - 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 1024px) {
  .hero { padding-top: 96px; padding-bottom: 96px; }
}
/* Gate 99 fix: was max-width: 68ch. ch is the width of "0" in the CURRENT font,
   so the box was 661px in the Arial/Georgia fallback and 729px in Inter/Fraunces;
   the centred box then jumped 34px sideways on the font swap (desktop CLS 0.008).
   A fixed px width freezes the box across the swap; 730px preserves the
   webfont-rendered design exactly (measured 729px at 1440px). */
.hero-inner { max-width: 730px; }
.hero h1 { margin-bottom: 24px; }
.hero .lede { margin: 0 0 32px; }
.hero-actions { display: flex; flex-direction: column; gap: 16px; align-items: stretch; flex-wrap: wrap; }
@media (min-width: 768px) {
  .hero-actions { flex-direction: row; align-items: center; }
}
.hero-price { margin: 32px 0 0; }
.hero-rule { border: none; border-top: 1px solid var(--line); margin: 48px 0 0; width: 64px; }

/* Numbered leaks */
.leak-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.leak-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 1024px) {
  .leak-item { grid-template-columns: 64px 1fr 1fr; gap: 24px; align-items: baseline; }
}
.leak-number {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--ink-muted);
}
.leak-item p { margin: 8px 0 0; }
.leak-item p:first-of-type { margin-top: 0; }
.leak-fix { color: var(--ink); }

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.service {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.service-icon { color: var(--ink); margin-bottom: 16px; }
.service-icon svg { width: 24px; height: 24px; }
.service h3 { margin-bottom: 8px; }
.service .service-leak { margin: 0 0 16px; }
.service .service-price { margin: 0 0 24px; }
.service .btn { margin-top: auto; align-self: flex-start; }
.service details { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 16px; }
.service summary {
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.service details p, .service details ul { margin: 8px 0 0; }
.service details ul { padding-left: 24px; }
.service details li { margin-bottom: 8px; }
.service-coming { color: var(--ink-muted); }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step { border-top: 1px solid var(--line); padding-top: 24px; min-width: 0; }
.step-number {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--ink-muted);
  display: block;
  margin-bottom: 8px;
}
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; }

/* Pricing table */
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td {
  text-align: left;
  vertical-align: top;
  padding: 24px 24px 24px 0;
  border-bottom: 1px solid var(--line);
}
.price-table th:last-child, .price-table td:last-child { padding-right: 0; }
.price-table thead th { border-bottom: 1px solid var(--ink); }
.price-table th { font-weight: 500; font-size: 0.875rem; line-height: 1.5; }
.price-table td p { margin: 8px 0 0; }
.price-table td p:first-child { margin-top: 0; }
.price-table .price-cell { /* Phase A: no nowrap — the cell wraps safely instead of clipping. */ }
@media (max-width: 767px) {
  .price-table, .price-table tbody, .price-table tr, .price-table td { display: block; }
  .price-table thead { display: none; }
  .price-table tr { padding: 8px 0; }
  .price-table td { border-bottom: none; padding: 4px 0; }
  .price-table tr { border-bottom: 1px solid var(--line); }
}
.scope-guard { margin: 24px 0 0; max-width: 68ch; }

/* Audit section */
.audit-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 32px 24px;
}
@media (min-width: 1024px) { .audit-panel { padding: 48px; } }
.audit-panel .audit-mark {
  display: inline-block;
  width: 48px;
  border-top: 1px solid var(--accent-green);
  margin-bottom: 24px;
}
.audit-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 1024px) { .audit-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; } }
/* The audit panel's second column is 391-519px wide; the two actions side by
   side need about 648px, so both wrapped to two lines at every desktop width.
   Stack them full-width inside the panel instead. */
.audit-grid .hero-actions { flex-direction: column; align-items: stretch; }
.audit-fields { list-style: none; margin: 24px 0; padding: 0; }
.audit-fields li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.audit-fields li:last-child { border-bottom: none; }
.audit-note { margin-top: 16px; }
.audit-actions { margin-top: 32px; }

/* Trust / FAQ */
.trust-list { list-style: none; margin: 0 0 48px; padding: 0; display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.trust-list li { border-top: 1px solid var(--line); padding-top: 16px; }
.trust-list p { margin: 8px 0 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq-list summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.3;
  min-height: 44px;
  display: flex;
  align-items: center;
}
/* Expansion indicator (M6): CSS-only "+" that turns into "×" when open. */
.service summary, .faq-list summary { list-style: none; }
.service summary::-webkit-details-marker, .faq-list summary::-webkit-details-marker { display: none; }
.service summary::after, .faq-list summary::after {
  content: "+";
  margin-left: auto;
  padding-left: 16px;
  flex: none;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}
.service details[open ] summary::after, .faq-list details[open ] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 16px 0 0; max-width: 68ch; }

/* Close + footer */
.close-section { text-align: left; }
.close-section .lede { margin: 16px 0 32px; }
.footer { border-top: 1px solid var(--line); padding-top: 48px; padding-bottom: 48px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Phase A: six footer groups (Solutions / Products & Tools / Live Demo /
   Pricing / Legal / Contact) — three columns at tablet, six at desktop. */
@media (min-width: 1280px) { .footer-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.footer h3 { margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--accent-green); text-decoration: underline; text-underline-offset: 3px; }
.footer-note { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }

/* Service page */
.page-intro { padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 1024px) { .page-intro { padding-top: 96px; padding-bottom: 96px; } }
.page-intro .lede { margin: 24px 0 0; }
/* 404 page: green hairline mark above the heading, actions spaced below the lede */
.page-mark {
  display: inline-block;
  width: 48px;
  border-top: 1px solid var(--accent-green);
  margin-bottom: 24px;
}
.page-actions { margin-top: 32px; }
.workflow-steps { list-style: none; margin: 0; padding: 0; }
.workflow-steps li { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 1024px) { .workflow-steps li { grid-template-columns: 64px 1fr; gap: 24px; } }
.workflow-steps p { margin: 0; }
.back-link { display: inline-block; margin-bottom: 24px; }

/* Legal pages: single 68ch measure, spacing on the 8px scale */
.legal { max-width: 68ch; }
.legal h2 { margin: 48px 0 16px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin: 32px 0 8px; }
.legal p { margin: 0 0 16px; }
.legal ul { margin: 0 0 16px; padding-left: 24px; }
.legal li { margin-bottom: 8px; }

/* Reveal (JS only; content visible without JS) */
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); transition: opacity var(--reveal-duration) var(--reveal-ease), transform var(--reveal-duration) var(--reveal-ease); }
.js.gsap-on .reveal { transition: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .skip-link { transition: none; }
  .service summary::after, .faq-list summary::after { transition: none; }
}

/* Phase A — Pillar 1 featured strip (directly below the hero). The old hero
   H1 becomes this strip's H2, verbatim; the three workflow cards live here. */
.pillar-strip { padding-top: 64px; padding-bottom: 64px; border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .pillar-strip { padding-top: 96px; padding-bottom: 96px; } }
.pillar-strip .strip-kicker {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--accent-green);
  margin: 0 0 16px;
}
.pillar-strip h2 { margin-bottom: 16px; }
.pillar-strip .lede { margin: 0 0 48px; }

/* Phase A — Solutions overview (Pillar 1 Live + Pillar 2 Early access). */
.solutions-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .solutions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pillar-card { border-top: 1px solid var(--line); padding-top: 24px; min-width: 0; }
.pillar-card h3 { margin-bottom: 8px; }
.pillar-card p { margin: 8px 0 0; }
.pillar-card ul { list-style: none; margin: 16px 0 0; padding: 0; }
.pillar-card li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.pillar-card li:last-child { border-bottom: none; }
.pillar-card .btn { margin-top: 24px; }

/* Phase A — status labels (locked taxonomy, G4: every Pillar 2/3 mention
   carries its label). */
.status-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  border: 1px solid var(--accent-green);
  border-radius: 2px;
  padding: 2px 8px;
  white-space: nowrap;
  vertical-align: middle;
}
.status-label.status-live { color: var(--paper-cream); background: var(--accent-green); border-color: var(--accent-green); }
.status-label.status-early { color: var(--accent-green); background: transparent; }
.status-label.status-internal { color: var(--ink-muted); border-color: var(--ink-muted); }
.status-label.status-dev { color: var(--ink-muted); border-color: var(--ink-muted); }
.status-label.status-external { color: var(--ink); border-color: var(--ink); }

/* Phase A — Products & Tools preview on home + the /tools hub. */
.tools-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .tools-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tool-card { border-top: 1px solid var(--line); padding-top: 24px; min-width: 0; display: flex; flex-direction: column; }
.tool-card h3 { margin-bottom: 8px; }
.tool-card p { margin: 8px 0 0; }
.tool-card .tool-status { margin: 0 0 8px; }
.tool-card .btn { margin-top: 24px; align-self: flex-start; }
.tool-card .tool-meta { margin-top: auto; padding-top: 16px; }

/* Phase A — pricing page + tools hub page intros. */
.page-list { list-style: none; margin: 0; padding: 0; }
.page-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.page-list li:last-child { border-bottom: none; }

/* Demo page (internal sandbox demo only) */
.demo { max-width: 68ch; }
.demo-meta { color: var(--ink-muted); font-size: 14px; margin: 0 0 24px; }
.demo-phone { background: var(--surface); border: 1px solid var(--line); border-radius: 2px; padding: 20px 20px 8px; margin: 0 0 16px; }
.demo-phone p { margin: 0 0 12px; }
.demo-phone .who { font-size: 13px; color: var(--ink-muted); }
.demo-phone .time { font-size: 13px; color: var(--ink-muted); }
.demo-note { background: var(--paper-cream); border-left: 3px solid var(--accent-green); padding: 16px 20px; margin: 24px 0 0; font-size: 15px; }
.demo-note p { margin: 0 0 8px; }
.demo-note p:last-child { margin: 0; }
.demo-table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0 0; }
.demo-table th, .demo-table td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.demo-table th { font-size: 13px; font-weight: 500; color: var(--ink-muted); }
.demo-footer { border-top: 1px solid var(--line); padding: 40px 0 64px; color: var(--ink-muted); font-size: 14px; }
.demo-footer a { color: var(--accent-green); }
