/* ==========================================================================
   Lander system, rebuilt on Refactoring UI (Wathan & Schoger)

   Used by landing.html, landing_audit_vertical.html, landing_vertical.html
   and landing_lead_capture.html, after landing-mimetic.css (which stays as
   is: the report, pricing and docs pages share it).

   The book's rules this file follows, by section:
   1  Limit your choices: every value below comes from a scale defined here
      (spacing, type, weight, line-height, color, radius, shadow).
   2  Hierarchy: size, weight AND color, two weights, three text colors;
      labels de-emphasized; section titles that act as labels kept small.
   3  Layout: start with too much white space; more space around a group
      than inside it; text capped at 45-75 characters; one content column.
   4  Color: warm greys in HSL, 9 shades; text meets WCAG (4.5:1 small,
      3:1 large).
   5  Depth: light comes from above; five elevations, each a two-part
      shadow; fewer borders.
   6  Finishing touches: one primary action per screen; buttons in a
      primary / secondary / tertiary hierarchy; supercharged quotes.

   !important appears only where a template's own <style> block (which
   loads after this file) or an inline style would otherwise win.
   ========================================================================== */

/* 1. Scales -------------------------------------------------------------- */
:root {
  /* Spacing: no two values closer than ~25%. */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  /* Type: hand-picked, px, set per breakpoint (relative sizing doesn't
     scale). Line-height falls as size rises. */
  --t12: 12px; --t14: 14px; --t16: 16px; --t18: 18px; --t20: 20px;
  --t24: 24px; --t30: 30px; --t36: 36px; --t48: 48px;
  --t-display: var(--t48);
  --t-h2: var(--t36);
  --t-label-h: var(--t24);
  --w-normal: 400; --w-strong: 500;

  /* Warm greys (hue 45). Text: 900 primary, 700 secondary, 600 tertiary;
     500 for the large muted half of a headline. */
  --g900: hsl(45 10% 7%);
  --g800: hsl(45 7% 18%);
  --g700: hsl(45 6% 30%);
  --g600: hsl(45 5% 38%);
  --g500: hsl(45 5% 46%);
  --g400: hsl(45 6% 58%);
  --g300: hsl(45 10% 80%);
  --g200: hsl(45 18% 90%);
  --g100: hsl(40 40% 97%);
  --white: #fff;

  /* Primary (green) and accent (issue red) shades */
  --green-700: hsl(132 46% 27%);
  --green-500: hsl(132 44% 43%);
  --green-100: hsl(110 30% 92%);
  --red-700: hsl(18 85% 38%);
  --red-100: hsl(18 80% 95%);

  /* Radius: one personality. Controls 10, cards 16, panels 24. */
  --r-control: 10px; --r-card: 16px; --r-panel: 24px;

  /* Elevation: five two-part shadows. The tight dark shadow (no ambient
     light under the object) fades as the object rises. */
  --e1: 0 1px 2px hsl(45 10% 10% / .08), 0 1px 3px hsl(45 10% 10% / .06);
  --e2: 0 1px 2px hsl(45 10% 10% / .06), 0 4px 10px -2px hsl(45 10% 10% / .08);
  --e3: 0 2px 4px hsl(45 10% 10% / .04), 0 12px 24px -8px hsl(45 10% 10% / .14);
  --e4: 0 24px 48px -16px hsl(45 10% 10% / .22);
  --e5: 0 32px 64px -16px hsl(45 10% 10% / .3);

  --hair: hsl(45 10% 10% / .1);
  --wrap: 1200px;
  --gutter: 40px;
  --col: calc(var(--wrap) + 2 * var(--gutter));

  /* Old names the shared stylesheet and templates read */
  --ink: var(--g900); --cream: var(--g100); --cream-2: var(--g200);
  --muted: var(--g600); --rule: var(--g200); --line: var(--hair);
  --soft-shadow: var(--e2);
}
body { background: var(--g100); color: var(--g900); }

/* 2. Type ---------------------------------------------------------------- */
.mute { color: var(--g500); }
.hero h1, .section h2, .cta-block h2, .lp-steps h2, .lp-quotes h2, .seo-detail h2 { text-wrap: balance; }
/* Labels are a last resort: no eyebrows above headings. */
.section-kicker, .av-intent, .lp-eyebrow, .builder-kicker { display: none !important; }

/* 3. Column -------------------------------------------------------------- */
.lx-wrap, .section,
.lp-steps > *, .lp-quotes > *, .seo-detail > *, .seo-inner, .seo-body > .seo-related {
  box-sizing: border-box; width: 100%;
  max-width: var(--col) !important;
  margin-left: auto !important; margin-right: auto !important;
  padding-left: var(--gutter) !important; padding-right: var(--gutter) !important;
}
.lp-steps-inner { width: 100% !important; }

/* 4. Buttons and fields: primary, secondary, tertiary; light from above -- */
.lx-hero .hero-audit-form > button[type="submit"], .cta-audit-form [type="submit"] {
  min-height: 48px; padding: 0 var(--s5); border-radius: var(--r-control);
  font-size: var(--t16); font-weight: var(--w-strong); white-space: nowrap;
  background: var(--g900); color: var(--white); border: 0;
  box-shadow: inset 0 1px 0 hsl(0 0% 100% / .12), var(--e1);
}
.lx-hero .hero-audit-form > button[type="submit"]:hover { background: var(--g800); }
.lx-hero .hero-audit-form > button[type="submit"]:active { box-shadow: inset 0 1px 2px hsl(0 0% 0% / .3); }
/* Fields read as inset: shadow along the top edge. */
.lx-hero .url-input-shell {
  min-height: 48px; border-radius: var(--r-control); background: var(--white);
  border: 1px solid var(--g300); box-shadow: inset 0 1px 2px hsl(45 10% 10% / .06);
}
.lx-hero .url-input-shell input { font-size: var(--t16); font-family: inherit; padding: 12px 40px 12px 44px !important; color: var(--g900); }
.lx-hero .url-link-icon { left: 16px !important; color: var(--g500); }
/* Secondary: white, raised, no heavy outline. */
.lp-install-btn, .lp-secondary-btn, .btn-ghost {
  display: inline-flex; align-items: center; gap: var(--s2); min-height: 40px; padding: 0 var(--s4) !important;
  border-radius: var(--r-control) !important; background: var(--white) !important; color: var(--g900) !important;
  border: 0 !important; box-shadow: var(--e1), inset 0 0 0 1px var(--hair) !important;
  font-size: var(--t14) !important; font-weight: var(--w-strong) !important;
}
/* The nav call button is secondary: the scan field is the page's one
   primary action. */
.nav-cta {
  border-radius: var(--r-control) !important; background: var(--white) !important; color: var(--g900) !important;
  box-shadow: var(--e1), inset 0 0 0 1px var(--hair) !important; border: 0 !important; font-weight: var(--w-strong);
}
.nav-cta:hover { box-shadow: var(--e2), inset 0 0 0 1px var(--hair) !important; }
.btn-primary { border-radius: var(--r-control); padding: 12px var(--s5); font-size: var(--t16); }
.btn-primary:hover { transform: none; }

/* 5. Hero: headline, one paragraph, the scan field, one line ------------- */
.lx-hero { padding: var(--s9) 0 var(--s8); }
.lx-hero-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--s5); align-items: center !important;
}
.lx-hero-copy, .lx-hero .hero-content {
  grid-column: 1 / span 7; display: flex; flex-direction: column;
  padding-right: var(--s6); max-width: none !important;
}
.lx-hero-visual, .lx-hero .hero-visual { grid-column: 8 / span 5; min-width: 0; max-width: 100%; }
.lx-hero h1 {
  font-size: var(--t-display) !important; font-weight: var(--w-strong) !important; line-height: 1.1 !important;
  letter-spacing: -0.03em !important; margin: 0 0 var(--s5) !important; color: var(--g900); text-wrap: pretty;
}
.lx-lead, .lx-hero .hero-sub {
  font-size: var(--t18) !important; line-height: 1.6; color: var(--g700);
  max-width: 34em; margin: 0 0 var(--s6);
}
.lx-hero .hero-scan-panel { border: 0 !important; box-shadow: none !important; padding: 0 !important; background: none !important; max-width: 520px; margin: 0; }
.lx-hero .hero-audit-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s2); max-width: 520px; margin: 0; }
.lx-hero #leadForm { grid-template-columns: minmax(0, 1fr); }
.lx-hero .scan-tags, .lx-hero .scan-note {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4);
  margin: var(--s3) 0 0; padding: 0; justify-content: flex-start;
}
.scan-tags span, .scan-note {
  font-family: var(--font); font-size: var(--t14); line-height: 1.5; color: var(--g600);
  border: 0; background: none; padding: 0; text-transform: none; letter-spacing: 0;
}
.lx-hero .hero-form-error { margin: var(--s2) 0 0; }
.lx-hero .lp-secondary, .lx-hero .lp-agency-link { margin: var(--s4) 0 0; font-size: var(--t14); color: var(--g600); }

/* Example finding card (pages without the scan animation): a raised light
   window on a soft field, matching the animation. */
.lx-hero .finding-stack {
  max-width: 100%; padding: var(--s5); border-radius: var(--r-panel);
  background: radial-gradient(120% 90% at 15% 0%, hsl(95 25% 87%) 0%, hsl(95 25% 87% / 0) 60%),
              radial-gradient(110% 90% at 100% 100%, hsl(40 55% 87%) 0%, hsl(40 55% 87% / 0) 55%), var(--g200);
}
.lx-hero .finding-bg { display: none; }
.lx-hero .finding-main { background: var(--white); color: var(--g900); border: 0; border-radius: var(--r-card); box-shadow: var(--e4); padding: var(--s6); }
.lx-hero .finding-header, .lx-hero .finding-metrics, .lx-hero .finding-chart { border-color: var(--g200); }
.lx-hero .finding-kicker, .lx-hero .finding-metric-label, .lx-hero .finding-chart-label {
  color: var(--g600); font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: var(--t12);
}
.lx-hero .finding-title { color: var(--g900); font-weight: var(--w-strong); font-size: var(--t20); line-height: 1.3; letter-spacing: -0.01em; }
.lx-hero .finding-desc, .lx-hero .finding-status { color: var(--g700); font-size: var(--t14); line-height: 1.5; }
.lx-hero .finding-metric-value { color: var(--g900); font-weight: var(--w-strong); font-size: var(--t24); }
.lx-hero .finding-severity {
  font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: var(--t12);
  color: var(--red-700); background: var(--red-100); border: 0; border-radius: 6px;
}

/* 6. Proof band under the hero ------------------------------------------- */
.lx-proof { border-top: 1px solid var(--hair); }
.lx-proof-row {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: var(--s7); padding-top: var(--s6); padding-bottom: var(--s6);
}
.lx-figures { display: flex; gap: var(--s8); }
/* Label and value as one unit; the value carries the weight. */
.lx-figure { display: flex; flex-direction: column; gap: var(--s1); }
.lx-figure b { font-size: var(--t24); line-height: 1.2; font-weight: var(--w-strong); letter-spacing: -0.02em; color: var(--g900); }
.lx-figure span { font-size: var(--t14); color: var(--g600); }

.lx-proof-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s6) var(--s8); padding-top: var(--s6); padding-bottom: var(--s6); align-items: start;
}
.lx-proof-grid > * { margin: 0 !important; }
.lx-proof-grid .lp-install, .lx-proof-grid .lp-wedge, .lx-proof-grid .hero-logos { grid-column: 1; }
.lx-proof-grid .lp-proof, .lx-proof-grid .lp-trust { grid-column: 2; }
.lx-proof-grid .lp-proof { grid-row: 1 / span 2; border: 0; padding: 0; }
.lx-proof-grid .lp-proof blockquote { font-size: var(--t16); line-height: 1.6; color: var(--g700); margin: 0; }
.lx-proof-grid .lp-proof figcaption { font-size: var(--t14); color: var(--g600); margin-top: var(--s1); }
.lx-proof-grid .lp-install { border: 0; background: none; padding: 0; }
.lx-proof-grid .lp-install-kicker { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: var(--t16); line-height: 1.5; color: var(--g700); margin: 0 0 var(--s3); }
.lx-proof-grid .lp-install-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s4); }
.lx-proof-grid .lp-install-row .scan-tags { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); margin: 0; }
.lx-proof-grid .lp-wedge { font-size: var(--t16); line-height: 1.6; color: var(--g700); max-width: 34em; }
.lx-proof-grid .lp-trust { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s4); }
.lx-proof-grid .lp-trust-count { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: var(--t14); color: var(--g600); }
.lx-proof-grid .lp-trust-logos { display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; }
/* Icons are heavy: lower their contrast so they sit beside the text. */
.lx-proof-grid .lp-trust-logos img { height: 20px; opacity: .5; mix-blend-mode: multiply; }

.hero-logos, .lx-team { display: flex; align-items: center; gap: var(--s3); font-family: var(--font); text-transform: none; letter-spacing: 0; }
.team-line { font-size: var(--t14); color: var(--g600); }
.team-logos { display: inline-flex; align-items: center; gap: var(--s2); }
.team-logos img {
  width: 32px; height: 32px; border-radius: 8px; object-fit: cover;
  filter: grayscale(1) contrast(1.05); opacity: .75; box-shadow: var(--e1);
}

/* 7. Sections ---------------------------------------------------------- */
.section { padding-top: var(--s10) !important; padding-bottom: 0 !important; scroll-margin-top: 88px; }
.section:last-of-type { padding-bottom: var(--s10) !important; }
.section h2 {
  font-size: var(--t-h2); font-weight: var(--w-strong); line-height: 1.15; letter-spacing: -0.025em;
  max-width: 22em; margin: 0 0 var(--s4); color: var(--g900);
}
.section-sub { font-size: var(--t18); line-height: 1.6; color: var(--g700); max-width: 34em; margin: 0; }
/* More space around a group than inside it: heading to its line 16,
   heading block to content 48, section to section 128. */
.section > h2 + *, .section > .section-sub + * { margin-top: var(--s7) !important; }
.product-loop > .builder-strip, .product-loop > .integrations-wall, .product-loop > .dashboard-strip { margin-top: var(--s5) !important; }

.lp-steps, .lp-quotes, .seo-detail, .seo-body { border-top: 0 !important; padding: var(--s10) 0 0 !important; }
.seo-detail { padding-bottom: var(--s10) !important; }
main > section:last-of-type { padding-bottom: var(--s9) !important; }
main > section.seo-body:last-of-type, .seo-body { padding-bottom: 0 !important; }
.seo-inner { padding-top: 0 !important; padding-bottom: 0 !important; }
/* Blocks inside one band group closer than separate sections do. */
.seo-block { margin: 0 0 var(--s9) !important; max-width: none; }
.seo-block:last-of-type { margin-bottom: var(--s8) !important; }
.seo-body > .seo-related { padding-bottom: var(--s8) !important; }
.seo-body:not(:has(h2, .seo-related a, .pain-card, .faq-q)) { display: none !important; }

.lp-steps h2, .seo-detail h2 {
  font-family: var(--font) !important; font-size: var(--t-h2) !important; font-weight: var(--w-strong) !important;
  line-height: 1.15 !important; letter-spacing: -0.025em !important; text-transform: none !important;
  color: var(--g900) !important; max-width: 22em; margin: 0 0 var(--s7) !important;
}
/* Section titles that act as labels ("What's costing you", "How it works",
   "Questions", "What it usually turns out to be") stay small: the content
   under them is the focus. */
.seo-h2, .lp-quotes h2 {
  font-family: var(--font) !important; font-size: var(--t-label-h) !important; font-weight: var(--w-strong) !important;
  line-height: 1.3 !important; letter-spacing: -0.015em !important; text-transform: none !important;
  color: var(--g900) !important; margin: 0 0 var(--s5) !important;
}
.seo-related-h { font-family: var(--font) !important; text-transform: none !important; letter-spacing: 0 !important; font-size: var(--t14) !important; color: var(--g600) !important; margin-bottom: var(--s2) !important; }
.seo-related a { color: var(--g700); font-size: var(--t14); }
.seo-related a:hover { color: var(--g900); }

/* 8. Cards: white on the page, raised with e1, no outlines -------------- */
.loop-grid, .how, .compare-grid, .testimonials-grid { gap: var(--s4) !important; }
.loop-item, .how-step, .compare-col, .testimonial-card, .lp-quote, .pain-card, .step-chip,
.builder-strip, .dash-copy {
  padding: var(--s5) !important; border-radius: var(--r-card) !important;
  background: var(--white) !important; border: 0 !important; box-shadow: var(--e1) !important;
}
.loop-item { min-height: 0; gap: var(--s3); }
.loop-item h3, .how-step h3, .builder-strip h3, .dash-copy h3, .wins-copy h3, .wins-detail h3,
.compare-col h3, .compare-col h4, .compare-col strong, .pain-card strong, .testimonial-card footer strong {
  font-weight: var(--w-strong); letter-spacing: -0.01em; color: var(--g900);
}
.loop-item h3, .how-step h3 { font-size: var(--t20); line-height: 1.3; }
.pain-card strong { font-size: var(--t16); line-height: 1.4; }
.loop-item p, .how-step p, .compare-col p, .builder-strip p, .dash-copy p, .wins-copy p,
.integrations-copy p, .pain-card span, .step-chip {
  color: var(--g700); font-size: var(--t16); line-height: 1.6; max-width: 34em;
}
.compare-col p, .pain-card span, .step-chip { font-size: var(--t14) !important; line-height: 1.5 !important; }
.loop-item p { margin-top: var(--s1); }
.how-num, .how-step .tick, .compare-tag, .testimonial-card footer span, .lp-quote figcaption,
.wins-tab-tag, .wins-tab-lift, .wins-impact, .wins-impact * {
  font-family: var(--font) !important; text-transform: none !important; letter-spacing: 0 !important;
}
.how-num, .how-step .tick, .compare-tag, .testimonial-card footer span, .lp-quote figcaption, .wins-tab-tag, .loop-num {
  font-size: var(--t14) !important; color: var(--g600) !important;
}
/* No half-empty rows. */
.pain-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.seo-point-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }

/* Supercharge the defaults: the quote is the visual element. */
.testimonial-card, .lp-quote { position: relative; padding-top: var(--s7) !important; }
.testimonial-card::before, .lp-quote::before {
  content: "\201C"; position: absolute; top: var(--s3); left: var(--s5);
  font-family: Georgia, "Times New Roman", serif; font-size: var(--t48); line-height: 1; color: var(--green-500);
}
.testimonial-card p, .lp-quote blockquote { font-size: var(--t18) !important; line-height: 1.55; letter-spacing: -0.01em; color: var(--g900); }

/* The one emphasized card in its row stays dark; its secondary text is
   hand-picked from the dark background, not grey-on-color. */
.compare-col.compare-us { background: var(--g900) !important; box-shadow: var(--e3) !important; }
.compare-col.compare-us strong, .compare-col.compare-us h3 { color: var(--white); }
.compare-col.compare-us p, .compare-col.compare-us .compare-tag { color: hsl(45 12% 74%) !important; }

.builder-strip { padding: var(--s6) var(--s7) !important; gap: var(--s7); color: var(--g900); }
.integrations-wall { border: 0; padding: 0; }
.dash-panel { border-radius: var(--r-card); box-shadow: var(--e3); border: 0; }
.wins-wrap { border: 0; border-radius: var(--r-card); box-shadow: var(--e2); }
.wins-tabs { border-bottom: 1px solid var(--g200); }
.wins-surface, .wins-metrics { display: none !important; }
.wins-tab.sel { background: var(--white); }
.wins-impact-rev { font-weight: var(--w-strong); letter-spacing: -0.02em; }
.wins-impact span:not(.wins-impact-rev) { color: var(--g600); font-size: var(--t14); }

/* Questions: one readable column. */
.faq-grid { grid-template-columns: minmax(0, 1fr) !important; max-width: 760px; gap: 0 !important; }
.faq-q { border-bottom: 1px solid var(--g200) !important; }
.faq-q summary { font-weight: var(--w-strong) !important; font-size: var(--t16) !important; color: var(--g900) !important; }

/* Steps on the audit pages */
.lp-step h3 { font-weight: var(--w-strong); }
.lp-step-n { font-family: var(--font) !important; font-size: var(--t14) !important; }
.rp-bar span, .rp-bar em { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.rp-bar em { flex: none; }

/* 9. Closing panel ---------------------------------------------------- */
.cta-block {
  box-sizing: border-box; width: calc(100% - 2 * var(--gutter)); max-width: var(--wrap);
  margin: var(--s10) auto 0 !important; padding: var(--s9) var(--s8) !important;
  border: 0; border-radius: var(--r-panel); background: var(--g900); box-shadow: var(--e3);
}
.cta-block h2 { font-weight: var(--w-strong); letter-spacing: -0.03em; font-size: var(--t48); line-height: 1.1; }
/* On the dark panel, secondary colors come from the panel, not grey. */
.cta-block h2 .mute { color: hsl(45 8% 60%); }
.cta-block p { color: hsl(45 12% 74%); }
.cta-audit-form [type="submit"] { background: var(--g100) !important; color: var(--g900) !important; min-height: 52px; box-shadow: var(--e2); }
.cta-audit-form [type="submit"]:hover { background: var(--white) !important; }

/* 10. Footer: static/css/footer.css (shared by every marketing page). */

/* 11. Phones: sizes set here, not scaled down from desktop ------------- */
@media (max-width: 960px) {
  :root { --gutter: 20px; --t-display: var(--t36); --t-h2: var(--t30); --t-label-h: var(--t20); }
  .lx-hero { padding: var(--s7) 0; }
  .lx-hero-grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--s7); }
  .lx-hero-copy, .lx-hero-visual, .lx-hero .hero-content, .lx-hero .hero-visual { grid-column: 1 / -1; padding-right: 0; }
  .lx-hero .hero-audit-form { grid-template-columns: minmax(0, 1fr); }
  .lx-lead, .lx-hero .hero-sub { font-size: var(--t16) !important; }
  .lx-proof-row { flex-direction: column; align-items: flex-start; gap: var(--s5); }
  .lx-figures { gap: var(--s6); }
  .lx-proof-grid { grid-template-columns: minmax(0, 1fr); }
  .lx-proof-grid > * { grid-column: 1 !important; grid-row: auto !important; }
  .section, .lp-steps, .lp-quotes, .seo-detail, .seo-body { padding-top: var(--s8) !important; }
  .section:last-of-type, .seo-detail, main > section:last-of-type, .seo-body > .seo-related { padding-bottom: var(--s8) !important; }
  .seo-block { margin-bottom: var(--s7) !important; }
  .seo-point-grid:has(> :nth-child(4):last-child) { grid-template-columns: minmax(0, 1fr) !important; }
  .cta-block { margin-top: var(--s8) !important; padding: var(--s7) var(--s5) !important; }
  .cta-block h2 { font-size: var(--t36); }
  .builder-strip { padding: var(--s5) !important; }
  .lp-step { padding-left: var(--s4) !important; }
  .lp-step-inline, .lp-step-inline .lp-step-view { border: 0 !important; box-shadow: none !important; background: none !important; padding: 0 !important; border-radius: 0 !important; }
  .lp-step-inline li, .lp-step-inline .tq-row { border: 0 !important; border-bottom: 1px solid var(--g200) !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; padding-left: 0 !important; padding-right: 0 !important; }
}
/* Phones: step cards one per row, so lines keep a readable length. */
@media (max-width: 640px) {
  .step-row, .pain-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .step-chip { font-size: var(--t16) !important; line-height: 1.55 !important; }
}
/* Heavy marks (number rings) get lower contrast so the text leads. */
.step-n { border-color: var(--g300) !important; color: var(--g600) !important; font-family: var(--font) !important; }
/* Hero: the headline starts at the top of the hero, level with the top of
   the visual, so it is the first thing read; less space above it. */
.lx-hero { padding-top: var(--s8); }
.lx-hero-grid { align-items: start !important; }
.lx-hero-copy, .lx-hero .hero-content { padding-top: var(--s6); }
@media (max-width: 960px) { .lx-hero { padding-top: var(--s6); } .lx-hero-copy, .lx-hero .hero-content { padding-top: 0; } }
