/* ============================================================
   ReadyIQ marketing site — shared stylesheet
   No external fonts or scripts are loaded (system font stack
   only) — partly a performance choice, partly a deliberate GDPR
   one: a remotely-loaded font (e.g. Google Fonts) sends every
   visitor's IP address to a third party before they've agreed to
   anything, which is exactly the kind of quiet third-party call
   this site avoids by design. See the deployment guide.
   ============================================================ */

:root {
  --navy: #14233B;
  --navy-2: #1C3355;
  --blue: #2E6CDB;
  --blue-dark: #1F4FA8;
  --green: #1FA971;
  --green-bg: #E9F8F1;
  --amber: #B9790A;
  --amber-bg: #FDF1DE;
  --red: #C94A4A;
  --red-bg: #FBEAEA;
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --border: #E4E2DA;
  --text: #1B2430;
  --text-muted: #5B6472;
  --text-faint: #8991A0;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(20,35,59,0.04), 0 8px 24px rgba(20,35,59,0.06);
  --maxw: 1120px;
  /* 2026-09-22 addition: brand gradient + mint accent, matching the
     dashboard's login/signup screens (same hex values as those pages'
     .login-panel-dark/.auth-panel-dark and the checkmark in logo.svg) --
     used on header/footer/hero/CTA-band so the marketing site and the
     product itself read as one brand. --blue-on-dark is the lighter
     accent-blue tone those same screens use for links/accents ON the
     gradient, since the base --blue doesn't have enough contrast against
     --grad-1/--grad-2 for body-size text. */
  --grad-1: #0c1c33;
  --grad-2: #1e5fc4;
  --mint: #3FD08C;
  --blue-on-dark: #8FBBF2;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 14px; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: 42px; }
h2 { font-size: 28px; }
h3 { font-size: 19px; }
p { margin: 0 0 16px; color: var(--text); }
.muted { color: var(--text-muted); }
.faint { color: var(--text-faint); font-size: 13.5px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---- header / nav ---- */
/* 2026-09-22: dark gradient header (was a plain white bar) -- matches the
   dashboard login/signup screens. The glow overlay is the same trick those
   pages use (two soft radial-gradients over the linear one), kept subtle
   since the header is short. */
header.site-header {
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(160deg, var(--grad-1) 0%, var(--grad-2) 100%);
}
header.site-header::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 200px at 10% 0%, rgba(255,255,255,0.10), transparent 70%);
  pointer-events: none;
}
header.site-header .wrap {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px; gap: 16px;
}
header.site-header .logo-link { display: flex; align-items: center; }
header.site-header .logo-link img { height: 30px; width: auto; }
nav.main-nav { display: flex; align-items: center; gap: 26px; }
nav.main-nav a {
  color: rgba(255,255,255,0.82); font-weight: 500; font-size: 14.5px;
}
nav.main-nav a:hover { color: #fff; text-decoration: none; }
nav.main-nav a.active { color: var(--mint); }
.nav-cta {
  background: var(--blue); color: #fff !important; padding: 9px 18px;
  border-radius: var(--radius-sm); font-weight: 600 !important;
}
.nav-cta:hover { background: var(--blue-dark); text-decoration: none !important; }

/* mobile nav toggle (no JS framework — CSS-only checkbox pattern). The
   dropped-down panel itself stays light/white -- easier to read as a menu
   list than trying to carry the dark gradient into every link state, and
   it reads as a normal "light menu under a dark bar" pattern. Only the
   closed-state hamburger icon needs to flip to white to stay visible on
   the dark header behind it. */
.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; }
@media (max-width: 760px) {
  nav.main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: flex-start; gap: 0;
    max-height: 0; overflow: hidden; transition: max-height 0.2s ease;
  }
  nav.main-nav a { color: var(--text); padding: 14px 24px; width: 100%; border-top: 1px solid var(--border); }
  nav.main-nav a:hover { color: var(--blue); }
  nav.main-nav a.active { color: var(--blue); }
  .nav-toggle:checked ~ nav.main-nav { max-height: 400px; }
  .nav-toggle-label {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.3); border-radius: var(--radius-sm);
  }
  .nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
    content: ""; display: block; width: 18px; height: 2px; background: #fff;
    position: relative;
  }
  .nav-toggle-label span::before { position: absolute; top: -6px; }
  .nav-toggle-label span::after { position: absolute; top: 6px; }
}

/* ---- hero / page-hero ---- */
/* 2026-09-22: both the home page's full .hero (title + mockup) and every
   other page's shorter .page-hero (title + one-line lede) now carry the
   same dark gradient + glow as the header, so the "dark band up top" reads
   as one deliberate piece across the whole site. Content sections below
   stay on the normal light surfaces -- see the .page-hero split in
   privacy.html/terms.html, where the hero band was cut back to just the
   title + date line so the long legal text underneath stays on a light,
   easy-to-read background rather than running the gradient the full
   length of the page. */
.hero, .page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(160deg, var(--grad-1) 0%, var(--grad-2) 100%);
}
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(560px 420px at 12% 0%, rgba(255,255,255,0.10), transparent 60%),
    radial-gradient(420px 420px at 100% 100%, rgba(255,255,255,0.08), transparent 55%);
}
.hero > .wrap, .page-hero > .wrap { position: relative; z-index: 1; }
.hero h1, .page-hero h1 { max-width: 780px; color: #fff; }
.hero .lede, .page-hero .lede { color: rgba(255,255,255,0.80); }
.hero .faint, .page-hero .faint { color: rgba(255,255,255,0.55); }
.hero { padding: 64px 0 56px; }
.page-hero { padding: 48px 0 40px; }
.hero .eyebrow {
  display: inline-block; background: rgba(255,255,255,0.14); color: #fff;
  font-weight: 600; font-size: 13px; padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero .lede { font-size: 19px; max-width: 620px; margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }

.btn {
  display: inline-block; padding: 13px 24px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary { background: var(--surface); color: var(--navy); border-color: rgba(255,255,255,0.4); }
.btn-secondary:hover { border-color: #fff; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---- sections / cards ---- */
section { padding: 56px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head .kicker { color: var(--blue); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 8px; display: block; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px; background: var(--navy); color: #fff;
  font-weight: 700; font-size: 14px; margin-bottom: 14px;
}
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--text); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px;
  border-radius: 5px; background: var(--green-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5 6 11.5 13 4.5' fill='none' stroke='%233FD08C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* ---- band / CTA strip ---- */
.band {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--grad-1) 0%, var(--grad-2) 100%);
  color: #fff; border-radius: var(--radius); padding: 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(420px 260px at 90% 10%, rgba(255,255,255,0.10), transparent 60%);
}
.band > * { position: relative; z-index: 1; }
.band h2, .band p { color: #fff; }
.band p { color: rgba(255,255,255,0.72); margin-bottom: 0; max-width: 520px; }

/* ---- pricing ---- */
.price-card { text-align: center; }
.price-card .price { font-size: 36px; font-weight: 800; margin: 6px 0 2px; }
.price-card .price small { font-size: 15px; font-weight: 500; color: var(--text-muted); }
.price-card.featured { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46,108,219,0.12), var(--shadow); position: relative; }
.price-card .badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
}

/* ---- forms ---- */
form.card label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; margin-top: 16px; }
form.card label:first-of-type { margin-top: 0; }
form.card input[type="text"], form.card input[type="email"], form.card input[type="password"], form.card select, form.card textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit; color: var(--text); background: #fff;
}
form.card textarea { resize: vertical; min-height: 110px; }
form.card input:focus, form.card select:focus, form.card textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46,108,219,0.15);
}
.field-hint { font-weight: 400; color: var(--text-faint); }
.hidden { display: none; }

/* ---- auth pages (signup / login / reset) ---- */
.auth-wrap { max-width: 420px; margin: 72px auto 0; padding: 0 16px 40px; }
.auth-wrap .logo-link { display: inline-flex; margin-bottom: 22px; }
.auth-wrap .logo-link img { height: 30px; width: auto; }
.auth-wrap .sub { margin-bottom: 22px; }
.auth-foot { font-size: 14.5px; color: var(--text-muted); }
.form-note { font-size: 13px; color: var(--text-muted); margin-top: 14px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; }
.checkbox-row input { margin-top: 3px; }
.checkbox-row label { margin: 0; font-weight: 400; font-size: 13.5px; color: var(--text-muted); }
/* honeypot field — hidden from real visitors, invisible trap for bots; see send.php */
.hp-field { position: absolute; left: -9999px; top: -9999px; }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 14.5px; margin-bottom: 20px; }
.alert-success { background: var(--green-bg); color: #0f6b45; border: 1px solid #bfe9d3; }
.alert-error { background: #FBEAEA; color: #9A2B2B; border: 1px solid #F1C6C6; }

/* ---- footer ---- */
/* 2026-09-22: dark gradient footer (was a light bar), matching the header
   so the page is bookended by the same brand treatment. .muted inside the
   footer (the "Inspection intelligence for..." blurb) is re-toned here too
   since the site-wide .muted { color: var(--text-muted); } rule is a dark
   grey that would be unreadable on this background. */
footer.site-footer {
  position: relative; overflow: hidden;
  border-top: none;
  background: linear-gradient(160deg, var(--grad-1) 0%, var(--grad-2) 100%);
  padding: 44px 0 30px; margin-top: 40px;
}
footer.site-footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px 300px at 90% 100%, rgba(255,255,255,0.08), transparent 60%);
}
footer.site-footer .wrap { position: relative; z-index: 1; }
footer.site-footer .foot-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 28px; }
footer.site-footer .foot-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: rgba(255,255,255,0.5); margin-bottom: 12px; }
footer.site-footer .foot-col a { display: block; color: rgba(255,255,255,0.78); font-size: 14.5px; margin-bottom: 8px; }
footer.site-footer .foot-col a:hover { color: #fff; }
footer.site-footer .muted { color: rgba(255,255,255,0.65) !important; }
footer.site-footer a { color: rgba(255,255,255,0.78); }
footer.site-footer a:hover { color: #fff; }
footer.site-footer .foot-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 20px; font-size: 13px; color: rgba(255,255,255,0.55); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
/* 2026-09-21 addition: trust/compliance badges in the footer's bottom bar,
   between the copyright line and "Company details" -- .foot-bottom is
   already a wrapping flex row, so this just becomes its third item. */
footer.site-footer .foot-badges { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
footer.site-footer .foot-badge { display: inline-flex; align-items: center; gap: 6px; }
footer.site-footer .foot-badge svg { color: var(--mint); flex-shrink: 0; }

/* ---- simple content pages (privacy/terms) ---- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 34px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }

/* ---- page hero (non-home pages) ---- */
.page-hero h1 { font-size: 34px; }

@media (max-width: 600px) {
  h1 { font-size: 30px; }
  .hero h1 { font-size: 32px; }
  h2 { font-size: 23px; }
  section { padding: 40px 0; }
  .band { padding: 30px 22px; flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Live-sales layout additions — stats bar, nav login links,
   product-preview mockup, feature spotlights, tier table.
   ============================================================ */

/* ---- secondary nav links (Demo / Client login) ---- */
/* Desktop: sits in the now-dark header, so a lighter tone + white-ish
   divider; mobile: drops into the light dropdown panel below the header
   (see .nav-toggle rules above), so it goes back to the site's normal
   light-surface link colors there. */
.nav-secondary { display: flex; align-items: center; gap: 18px; padding-right: 18px; margin-right: 4px; border-right: 1px solid rgba(255,255,255,0.18); }
.nav-secondary a { color: rgba(255,255,255,0.65); font-weight: 500; font-size: 14px; }
.nav-secondary a:hover { color: #fff; text-decoration: none; }
@media (max-width: 760px) {
  .nav-secondary { border-right: none; padding-right: 0; margin-right: 0; flex-direction: column; align-items: flex-start; gap: 0; }
  .nav-secondary a { color: var(--text-muted); padding: 14px 24px; width: 100%; border-top: 1px solid var(--border); }
  .nav-secondary a:hover { color: var(--navy); }
}

/* ---- hero layout with a visual alongside the copy ---- */
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---- stats bar ---- */
.stats-bar { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.stats-bar .stat { flex: 1 1 0; min-width: 150px; padding: 22px 24px; border-left: 1px solid var(--border); }
.stats-bar .stat:first-child { border-left: none; }
.stats-bar .stat .n { font-size: 26px; font-weight: 800; color: var(--navy); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.stats-bar .stat .l { font-size: 13.5px; color: var(--text-muted); margin-top: 2px; }
@media (max-width: 700px) {
  .stats-bar { flex-direction: column; }
  .stats-bar .stat { border-left: none; border-top: 1px solid var(--border); }
  .stats-bar .stat:first-child { border-top: none; }
}

/* ---- feature spotlight (alternating visual / copy) ---- */
.spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.spotlight + .spotlight { margin-top: 64px; }
.spotlight.reverse .spotlight-visual { order: 2; }
@media (max-width: 860px) {
  .spotlight, .spotlight.reverse .spotlight-visual { grid-template-columns: 1fr; order: initial; }
  .spotlight { grid-template-columns: 1fr; }
  .spotlight-visual { order: -1; }
}
.spotlight-text .kicker { color: var(--blue); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 8px; display: block; }
.spotlight-text ul.check-list { margin-top: 18px; }

/* ---- product-preview mockup (illustrative, not real client data) ---- */
.mockup {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.mockup-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--navy); }
.mockup-bar span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.35); }
.mockup-body { padding: 20px; }
.mockup-example-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-faint); background: var(--bg); border: 1px solid var(--border); padding: 3px 8px; border-radius: 999px; margin-bottom: 12px; }
.mockup-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mockup-head h4 { margin: 0; font-size: 16px; font-weight: 700; color: var(--text); }
.mockup-head .sub { font-size: 12.5px; color: var(--text-faint); }
.chip { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.chip-good { background: #E5EEFC; color: var(--blue-dark); }
.chip-outstanding { background: var(--green-bg); color: #147a51; }
.chip-review { background: var(--red-bg); color: #9A2B2B; }
.chip-requires { background: var(--amber-bg); color: var(--amber); }
.mockup-rows { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.mockup-row { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.mockup-row .label { width: 118px; flex: none; color: var(--text-muted); }
.mockup-row .bar-track { flex: 1; height: 8px; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); overflow: hidden; }
.mockup-row .bar-fill { height: 100%; border-radius: 999px; background: var(--blue); }
.mockup-row .bar-fill.mean { background: var(--text-faint); }
.mockup-row .bar-fill.severe { background: var(--red); }
.mockup-row .bar-fill.caution { background: var(--amber); }
.mockup-row .val { width: 46px; flex: none; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--text); }
.mockup-row .val .unit { font-weight: 400; color: var(--text-faint); font-size: 11px; }
.mockup-cols { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; padding: 0 0 6px; border-bottom: 1px solid var(--border); }
.mockup-cols span { font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-faint); }
.mockup-cols .c-label { width: 118px; flex: none; }
.mockup-cols .c-bar { flex: 1; }
.mockup-cols .c-val { width: 46px; flex: none; text-align: right; }
.mockup-divider { border-top: 1px solid var(--border); margin: 16px 0; }
.mockup-note { font-size: 12.5px; color: var(--text-faint); }
.mockup-quote { font-size: 13.5px; color: var(--text); background: var(--bg); border-left: 3px solid var(--blue); padding: 10px 12px; border-radius: 0 8px 8px 0; margin-bottom: 10px; }

/* ---- product-preview mockup: provider trajectory variant (illustrative, not real client data) ---- */
.mockup-loc { font-size: 12.5px; color: var(--text-faint); }
.traj-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; margin-top: 8px; }
.traj-badge.volatile { background: var(--amber-bg); color: var(--amber); }
.spark-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 18px 0; }
.spark-block .spark-label { font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 6px; }
.spark-block svg { display: block; width: 100%; height: auto; }
.spark-dates { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--text-faint); margin-top: 2px; }
.bench-rows { display: flex; flex-direction: column; gap: 16px; }
.bench-row .bench-head { display: flex; align-items: baseline; justify-content: space-between; font-size: 13.5px; color: var(--text-muted); margin-bottom: 6px; }
.bench-row .bench-head .bench-val { font-size: 15px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.bench-track { position: relative; height: 8px; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); }
.bench-fill { height: 100%; border-radius: 999px; background: var(--blue); }
.bench-marker { position: absolute; top: -3px; width: 2px; height: 14px; border-radius: 1px; }
.bench-marker.portfolio { background: var(--green); }
.bench-marker.national { background: var(--text-faint); }
.bench-deltas { display: flex; justify-content: space-between; font-size: 11.5px; margin-top: 6px; }
.bench-deltas .good { color: var(--green); font-weight: 600; }
.bench-deltas .bad { color: var(--red); font-weight: 600; }

/* ---- product-preview mockup: distinctive-language variant (illustrative, not real client data) ---- */
.lang-phrase { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.lang-stats { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; }
.lang-stat { flex: 1 1 0; min-width: 108px; }
.lang-stat-l { font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 4px; min-height: 26px; }
.lang-stat-v { font-size: 14px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.lang-dist-row { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.lang-dist-label { flex: none; font-size: 12px; color: var(--text-muted); }
.lang-dist-track { flex: 1; display: block; height: 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); overflow: hidden; }
.lang-dist-fill { display: block; height: 100%; border-radius: 999px; background: var(--blue); }
.lang-examples { background: var(--bg); border-radius: var(--radius-sm); padding: 4px 16px 14px; }
.lang-example { padding: 12px 0 12px 12px; border-left: 3px solid var(--blue); margin-top: 12px; font-size: 13px; color: var(--text); }
.lang-example .meta { font-size: 11.5px; color: var(--text-faint); margin-top: 4px; }

/* ---- pricing tier table ---- */
.tier-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tier-table th, .tier-table td { padding: 16px 20px; text-align: left; border-top: 1px solid var(--border); }
.tier-table thead th { border-top: none; background: var(--bg); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-faint); font-weight: 700; }
.tier-table td.tier-name { font-weight: 700; color: var(--text); }
.tier-table td.tier-homes { color: var(--text-muted); font-size: 14px; }
.tier-table td.tier-price { font-weight: 800; font-size: 17px; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tier-table td.tier-price small { font-weight: 500; font-size: 13px; color: var(--text-muted); }
.tier-table tr.featured td { background: #F3F7FE; }
.tier-table tr.featured td.tier-name::after { content: "Most common"; display: inline-block; margin-left: 8px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; background: var(--blue); color: #fff; padding: 2px 8px; border-radius: 999px; vertical-align: 2px; }
@media (max-width: 700px) {
  .tier-table, .tier-table thead, .tier-table tbody, .tier-table th, .tier-table td, .tier-table tr { display: block; }
  .tier-table thead { display: none; }
  .tier-table tr { border-top: 1px solid var(--border); padding: 14px 18px; }
  .tier-table tr:first-child { border-top: none; }
  .tier-table td { border-top: none; padding: 3px 0; }
  .tier-table td.tier-price { font-size: 19px; margin-top: 4px; }
}
