/* ==============================================
   RESET
   ============================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ==============================================
   DESIGN TOKENS
   ============================================== */
:root {
  --bg-page:         #f6f8fa;
  --bg-card:         #ffffff;
  --bg-inset:        #eef0f4;
  --dark-surface:    #13253a;
  --dark-inset:      #07101c;
  --dark-border:     rgba(255,255,255,0.08);
  --dark-border-mid: rgba(255,255,255,0.10);
  --dark-text:       #f8fafc;
  --dark-muted:      #94a3b8;
  --teal:            #0891b2;
  --teal-bright:     #22d3ee;
  --teal-dim:        #0e6a87;
  --teal-fill:       rgba(8,145,178,0.08);
  --border-soft:     rgba(0,0,0,0.06);
  --border-mid:      rgba(0,0,0,0.08);
  --border-strong:   rgba(0,0,0,0.12);
  --border-section:  rgba(15,23,42,0.18);
  --text-main:       #0f172a;
  --text-muted:      #475569;
  --text-light:      #475569;
  --font-display:    'Outfit', sans-serif;
  --font-body:       'DM Sans', sans-serif;
  --font-mono:       'DM Mono', monospace;
  --shadow:          0 1px 3px rgba(0,0,0,0.03), 0 4px 16px rgba(0,0,0,0.05);
  --shadow-sm:       0 1px 3px rgba(0,0,0,0.03), 0 4px 16px rgba(0,0,0,0.05);
  --radius-sm:       6px;
  --radius-md:       8px;
  --radius-lg:       12px;
  --radius-xl:       20px;
}

/* ==============================================
   BASE
   ============================================== */
html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 100vw;
}

main { flex: 1; }
a { text-decoration: none; }

/* ==============================================
   LAYOUT
   ============================================== */
.container {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 0 5vw;
}

.simple-page-rail {
  max-width: 760px;
  margin-left: 0;
  margin-right: auto;
  width: 100%;
}

/* ==============================================
   NAVIGATION
   ============================================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 1.25rem 5vw;
  background: rgba(246,248,250,0.92);
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo img {
  height: 32px;
  width: auto;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.nav-logo-text span { color: var(--teal); }

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  min-width: 0;
}

.nav-links a {
  color: #334155;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-links a.active { color: var(--teal); }
.nav-links a:hover  { color: var(--text-main); }

/* ==============================================
   BUTTONS
   ============================================== */
.btn-nav {
  background: #0891b2;
  border: 1px solid #0891b2;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  color: #ffffff !important;
  transition: all 0.2s;
}

.btn-nav:hover {
  background: #06b6d4;
  border-color: #06b6d4;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(8,145,178,0.2);
}

.btn-nav.active { background: #06b6d4; border-color: #06b6d4; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #0891b2;
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid #0891b2;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary:hover {
  background: #06b6d4;
  border-color: #06b6d4;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(8,145,178,0.25);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #0f172a;
  border: 1px solid rgba(0,0,0,0.12);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-outline:hover { border-color: var(--text-main); }

/* ==============================================
   SHARED SECTION HELPERS
   ============================================== */
.section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border-section);
}

.section-border-bottom {
  border-bottom: 1px solid var(--border-section);
  padding-bottom: 3.5rem;
}

.page-home main > .section {
  position: relative;
  padding-top: 0;
  padding-bottom: 0;
  border-top: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.page-home main > .section:last-child {
  padding-bottom: 3rem;
}

.home-section-divider {
  height: 1px;
  background: var(--border-section);
  width: 100%;
  margin: 3rem 0;
}

.home-section-divider-hero {
  margin-top: 1rem;
  margin-bottom: 3rem;
}

.home-section-divider-final-cta {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 600px;
}

.section-center { text-align: center; }
.section-center .section-sub { margin: 0 auto; }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.hero-sub,
.hero-body,
.hero-desc,
.page-qa-lite .hero p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.hero-sub,
.hero-desc,
.page-qa-lite .hero p {
  margin-bottom: 2rem;
}

.section-eyebrow,
.feature-num,
.about-section-label,
.info-card-label,
.privacy-section-label,
.tiers-label,
.how-step-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Hero badge (shared) */
.hero-badge {
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,0,0,0.03);
  border: 1px solid var(--border-strong);
  padding: 0.3rem 1rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  display: inline-block;
}

/* Feature row (index + try) */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.page-home .feature-row {
  gap: 3.5rem;
  align-items: start;
}

.page-home .report-output-row {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
}

.feature-row > *,
.page-home .hero > *,
.page-qa-lite .hero > * {
  min-width: 0;
}

.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }

.feature-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

/* Check list (index + try) */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.check-list li svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

/* UI dark card (index + try) */
.ui-card {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-width: 0;
  max-width: 100%;
}

.ui-card-hd, .ui-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--dark-border);
  background: rgba(0,0,0,0.2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--dark-text);
}

.ui-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  color: var(--dark-muted);
  font-weight: 600;
}

.ui-status-dot {
  width: 6px;
  height: 6px;
  background: #0891b2;
  border-radius: 50%;
}

.dark-card-body {
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}

.dark-card-body.compact {
  gap: 0.9rem;
}

/* Dark section block */
.section-dark {
  background: #0b1828;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-xl);
  margin-top: 1.5rem;
  padding-left: 3rem;
  padding-right: 3rem;
  overflow: hidden;
}

.section-dark .section-eyebrow { color: #22d3ee; }
.section-dark .section-title   { color: #f8fafc; }
.section-dark .section-sub     { color: var(--dark-muted); }

/* ==============================================
   FOOTER
   ============================================== */
footer {
  background: var(--bg-inset);
  border-top: 1px solid var(--border-section);
  margin-top: 3rem;
}

.page-home footer {
  margin-top: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 3rem;
  padding: 2.5rem 5vw;
  max-width: 1140px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-brand img { height: 32px; width: auto; }

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.footer-brand-name span { color: var(--teal); }

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.55;
  margin-bottom: 0.5rem;
}

.footer-copy { font-size: 0.72rem; color: var(--text-light); }

.footer-nav {
  position: static;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  display: flex;
  gap: 3rem;
}

.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-main);
  margin-bottom: 0.9rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col ul a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--text-main); }

/* ==============================================
   MOBILE — SHARED BREAKPOINTS
   ============================================== */
@media (max-width: 960px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-nav   { flex-wrap: wrap; gap: 2rem; }
  .feature-row  { grid-template-columns: 1fr; gap: 3rem; }
  .feature-row.reverse .feature-text   { order: 1; }
  .feature-row.reverse .feature-visual { order: 2; }
}

@media (max-width: 600px) {
  .section-dark { padding-left: 1.25rem; padding-right: 1.25rem; }
}

@media (max-width: 520px) {
  .nav-links { gap: 1rem; }
  .btn-nav   { padding: 0.4rem 0.9rem; font-size: 0.8rem; }
}

@media (max-width: 480px) {
  .site-nav { width: 100vw; padding-inline: 1rem; }
  .nav-logo img { height: 26px; }
  .nav-logo-text { display: none; }
  .nav-links { gap: 0; }
  .btn-nav {
    max-width: 112px;
    padding: 0.42rem 0.6rem;
    font-size: 0.72rem;
    line-height: 1.12;
    text-align: center;
    white-space: normal;
  }
  .nav-links a:not(.btn-nav) { display: none; }
  .report-summary { grid-template-columns: 1fr; }
}

/* ==============================================
   HOME PAGE (.page-home)
   ============================================== */
.page-home .hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
  padding: 3.5rem 0 2rem;
}

.page-home .hero h1 {
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.page-home .hero h1 .accent { color: var(--teal); }

.hero-sub {
  max-width: 440px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Benchmark card */
.card-wrap { position: relative; padding-top: 1rem; min-width: 0; }

.page-home .card-wrap { margin-top: 2.5rem; }

.page-home main > .section-dark {
  border-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
  padding: 3rem 4vw;
}

.hero-card {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border-mid);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
  min-width: 0;
}

.hero-card-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--dark-border);
  background: rgba(0,0,0,0.2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--dark-text);
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-card-tag {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--teal-bright);
  background: rgba(8,145,178,0.12);
  border: 1px solid rgba(8,145,178,0.25);
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-card-body { padding: 0.95rem; display: grid; gap: 0.75rem; }

.report-summary { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }

.report-chip { border-radius: 7px; padding: 0.55rem 0.8rem; min-width: 0; }
.report-chip.pass   { background: rgba(34,197,94,0.08);  border: 1px solid rgba(34,197,94,0.25); }
.report-chip.review { background: rgba(234,179,8,0.08);  border: 1px solid rgba(234,179,8,0.25); }
.report-chip.reject { background: rgba(239,68,68,0.08);  border: 1px solid rgba(239,68,68,0.25); }

.report-chip-value { font-size: 0.88rem; font-weight: 700; }
.report-chip.pass   .report-chip-value { color: #4ade80; }
.report-chip.review .report-chip-value { color: #facc15; }
.report-chip.reject .report-chip-value { color: #f87171; }
.report-chip-sub { font-size: 0.67rem; color: var(--dark-muted); margin-top: 2px; }

.reason-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
}

.reason-box-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #22d3ee;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.reason-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  color: var(--dark-muted);
  padding: 0.22rem 0;
  gap: 1rem;
}

.reason-row span:first-child { min-width: 0; }

.reason-count { font-family: var(--font-mono); color: #22d3ee; font-size: 0.72rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 1rem 1.1rem 1.1rem;
  border-top: 1px solid var(--dark-border);
}

.hero-stat { text-align: center; }
.hero-stat-value { font-size: 0.95rem; font-weight: 700; color: #22d3ee; line-height: 1.2; white-space: nowrap; }
.hero-stat-label { font-size: 0.64rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dark-muted); }

/* Validation card */
.active-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--teal);
  background: rgba(8,145,178,0.10);
  border: 1px solid rgba(8,145,178,0.25);
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
}

.val-body { padding: 1.25rem; }

.val-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--dark-muted);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--dark-border);
}

.val-line:last-of-type { border-bottom: none; }

.val-line.total {
  border-top: 1px solid var(--dark-border-mid);
  border-bottom: none;
  padding-top: 0.6rem;
  margin-top: 0.2rem;
  font-weight: 600;
  color: var(--dark-text);
  font-size: 0.95rem;
}

.val-amount { font-family: var(--font-mono); }

.val-pass {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.9rem;
  padding: 0.55rem 0.85rem;
  background: rgba(8,145,178,0.08);
  border: 1px solid rgba(8,145,178,0.2);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal);
}

.val-pass .conf { margin-left: auto; font-size: 0.7rem; color: #64748b; font-family: var(--font-mono); }

.report-card-body {
  padding: 1.3rem 1.45rem;
}

.report-row {
  display: grid;
  grid-template-columns: minmax(6.8rem, 0.48fr) minmax(0, 1fr);
  gap: 1.1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--dark-border-mid);
}

.report-row:first-child { padding-top: 0; }
.report-row:last-child { border-bottom: none; padding-bottom: 0; }

.report-row span {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.45;
  color: #67e8f9;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.report-row strong {
  min-width: 0;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.5;
  color: #f8fafc;
  overflow-wrap: anywhere;
}

.reason-token-list {
  display: grid;
  gap: 0.42rem;
}

.reason-token-list code {
  display: block;
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  color: #cffafe;
  background: rgba(8,145,178,0.14);
  border: 1px solid rgba(34,211,238,0.22);
  border-radius: 7px;
  padding: 0.42rem 0.6rem;
  letter-spacing: 0;
}

.report-row-stack {
  grid-template-columns: 1fr;
  gap: 0.42rem;
}

.report-row-stack strong {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 500;
  color: #e2e8f0;
}

.report-row-risk {
  margin: 0.1rem -0.35rem;
  padding: 0.85rem 0.35rem;
  background: rgba(250,204,21,0.07);
  border: 1px solid rgba(250,204,21,0.16);
  border-radius: 9px;
}

.report-row-risk span { color: #facc15; }

.report-row-risk strong {
  color: #fef3c7;
  font-size: 0.9rem;
  font-weight: 700;
}

.report-sample-card .ui-status {
  font-size: 0.72rem;
  color: #fef3c7;
  background: rgba(250,204,21,0.10);
  border: 1px solid rgba(250,204,21,0.18);
  border-radius: 999px;
  padding: 0.18rem 0.58rem;
  font-weight: 700;
}

.report-sample-card .ui-status-dot { background: #facc15; }

.rule-card-body { padding: 0.9rem 1.1rem; display: flex; flex-direction: column; gap: 6px; }

.rule-entry {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--dark-border);
  border-radius: 7px;
  padding: 0.6rem 0.85rem;
}

.rule-entry-q { font-size: 0.8rem; font-weight: 600; color: var(--dark-text); margin-bottom: 5px; line-height: 1.4; }
.rule-entry-a { font-size: 0.75rem; color: var(--teal-bright); line-height: 1.45; font-weight: 500; }
.rule-entry-a.warn { color: #facc15; }

.rule-summary {
  margin-top: 0.2rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--dark-border-mid);
  border-radius: 7px;
  background: rgba(8,145,178,0.08);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: #cbd5e1;
}

/* Privacy grid */
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }

.privacy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  box-shadow: var(--shadow-sm);
}

.privacy-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--teal-fill);
  border: 1px solid rgba(8,145,178,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
}

.privacy-icon svg { color: var(--teal); }
.privacy-card h4 { font-family: var(--font-display); font-size: 0.9rem; font-weight: 600; color: var(--text-main); margin-bottom: 0.3rem; }
.privacy-card p  { font-size: 0.8rem; color: var(--text-muted); line-height: 1.55; }

/* Tiers */
.tiers-wrap { margin-top: 2.25rem; }
.tiers-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }

.product-suite-intro {
  max-width: 680px;
  margin: 0 0 2rem;
  text-align: left;
}

.product-suite-intro .section-sub {
  max-width: 680px;
  margin: 0;
}

.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  border-radius: 16px;
  padding: 1.4rem;
  transition: border-color 0.2s;
  box-shadow: var(--shadow-sm);
}

.tier-card:hover { border-color: rgba(8,145,178,0.25); }
.foundation-card { border-color: rgba(8,145,178,0.35); background: rgba(8,145,178,0.03); width: 100%; }

.tier-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.24rem 0.7rem;
}

.tier-badge.foundation { background: var(--teal); color: #ffffff; border: 1px solid var(--teal); }
.tier-badge.addon      { background: transparent; color: var(--teal); border: 1px solid rgba(8,145,178,0.35); }
.tier-badge.future     { background: transparent; color: var(--text-muted); border: 1px solid var(--border-mid); }

.tier-name { font-size: 1.15rem; font-weight: 700; color: var(--text-main); margin-bottom: 0.7rem; }
.foundation-card .tier-name { font-size: 1.45rem; }
.tier-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

.tiers-label {
  margin: 1.35rem 0 1rem;
  color: var(--text-muted);
}

.tiers-link { display: inline-block; margin-top: 1rem; color: var(--teal); font-size: 0.92rem; font-weight: 600; }
.tiers-link:hover { color: var(--teal-dim); }

/* How grid */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }

.how-step {
  padding: 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
}

.how-step-num   { color: #22d3ee; margin-bottom: 0.5rem; }
.how-step-title { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: #f8fafc; margin-bottom: 0.4rem; }
.how-step-desc  { font-size: 0.82rem; color: var(--dark-muted); line-height: 1.55; }

/* CTA block */
.cta-block {
  background: #0f1d2e;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.cta-block h2 { font-family: var(--font-display); font-size: 1.85rem; font-weight: 700; color: #f8fafc; letter-spacing: -0.025em; margin-bottom: 0.75rem; }
.cta-block p  { font-size: 1.05rem; color: var(--dark-muted); line-height: 1.75; }
.cta-block .btn-outline       { color: #f8fafc; border-color: rgba(255,255,255,0.2); }
.cta-block .btn-outline:hover { border-color: rgba(255,255,255,0.52); color: #f8fafc; }
.cta-actions { display: flex; flex-direction: column; gap: 0.75rem; min-width: 210px; }

/* Home mobile */
@media (max-width: 960px) {
  .page-home .hero { grid-template-columns: 1fr; text-align: center; gap: 3rem; padding: 3rem 0 2rem; }
  .page-home .card-wrap { margin-top: 0; }
  .hero-sub    { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .how-grid    { grid-template-columns: 1fr; }
  .page-home .report-output-row { grid-template-columns: 1fr; }
  .tiers-grid  { grid-template-columns: 1fr; }
  .cta-block   { grid-template-columns: 1fr; text-align: center; }
  .cta-actions { align-items: center; }
}

@media (max-width: 600px) {
  .privacy-grid   { grid-template-columns: 1fr; }
  .hero-stats     { grid-template-columns: repeat(2, 1fr); }
  .tiers-grid     { grid-template-columns: 1fr; }
  .report-summary { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 520px) {
  .page-home .hero-actions { flex-direction: column; align-items: center; }
  .page-home .hero-actions a { width: 100%; max-width: 360px; justify-content: center; }
  .report-row { grid-template-columns: 1fr; gap: 0.35rem; }
  .report-summary { grid-template-columns: 1fr; }
}

/* ==============================================
   ABOUT PAGE (.page-about)
   ============================================== */
.page-about .hero {
  padding: 3rem 0 0.5rem;
}

.page-about .hero h1 {
  margin-bottom: 1.5rem;
}

.page-about .hero h1 span { color: var(--teal); }

.hero-body {
  margin-bottom: 1.1rem;
}

.about-content { padding-bottom: 2.25rem; }

.about-section {
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-section);
}

.about-section-label {
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.about-section h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.about-list li {
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  line-height: 1.55;
}

.about-list li::before { content: "—"; color: var(--teal); font-weight: 700; flex-shrink: 0; margin-top: 0.05em; }

.status-note { margin-top: 1.5rem; padding-top: 1.15rem; border-top: 1px solid var(--border-section); }
.status-note h2 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--text-main); margin-bottom: 0.75rem; letter-spacing: -0.01em; }
.status-note p  { font-size: 0.95rem; color: var(--text-muted); line-height: 1.75; }

/* ==============================================
   CONTACT PAGE (.page-contact)
   ============================================== */
.page-contact footer { margin-top: 2rem; }

.page-contact .hero {
  padding: 3rem 0 1.5rem;
}

.page-contact .hero h1 {
  margin-bottom: 1.25rem;
}

.hero-desc {
  max-width: 720px;
}

.page-contact .hero-desc { max-width: 720px; }

.benchmark-link { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border-section); }
.benchmark-link p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 0.6rem; }
.benchmark-link a { color: var(--teal); font-weight: 600; }
.benchmark-link a:hover { text-decoration: underline; }

@media (max-width: 520px) {
  .page-contact .btn-primary { width: 100%; justify-content: center; box-sizing: border-box; }
}

/* ==============================================
   REQUEST BENCHMARK PAGE (.page-benchmark)
   ============================================== */
.page-benchmark .hero { padding: 3rem 0 1.25rem; }

.page-benchmark .hero h1 {
  margin-bottom: 1.25rem;
  max-width: 720px;
}

.page-benchmark .hero h1 span { color: var(--teal); }

.hero-cta-block { margin-top: 2.25rem; }

.hero-note {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 1.25rem 0 2rem;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.info-card-label { color: var(--teal); margin-bottom: 0.9rem; }
.info-card h3    { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--text-main); margin-bottom: 0.85rem; }

.info-list { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }

.info-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.5;
}

.info-list li::before { content: "—"; color: var(--teal); font-weight: 700; flex-shrink: 0; margin-top: 0.05em; }

.privacy-section {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow);
}

.privacy-section-label { color: var(--teal); margin-bottom: 0.75rem; }
.privacy-section h3    { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--text-main); margin-bottom: 1rem; }

.privacy-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }

.privacy-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  line-height: 1.55;
}

.privacy-list li::before { content: "✓"; color: var(--teal); font-weight: 700; flex-shrink: 0; font-size: 0.85rem; margin-top: 0.1em; }

@media (max-width: 960px) {
  .info-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .page-benchmark .btn-primary { width: 100%; justify-content: center; box-sizing: border-box; }
  .privacy-section { padding: 1.5rem; }
}

/* ==============================================
   QA LITE OVERVIEW PAGE (.page-qa-lite)
   ============================================== */
.page-qa-lite .hero {
  position: relative;
  padding: 3.5rem 0 3rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}

.page-qa-lite .hero h1 {
  margin-bottom: 1.2rem;
}

.page-qa-lite .hero h1 span { color: var(--teal); }

.page-qa-lite .hero p {
  max-width: 520px;
}

.page-qa-lite .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.feature-section { padding: 3.5rem 0; border-top: 1px solid var(--border-section); }

.feature-section-final {
  border-bottom: 1px solid var(--border-section);
  margin-bottom: 4rem;
}

.feature-num {
  color: var(--text-light);
  margin-bottom: 0.75rem;
  display: block;
}

.feature-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.2rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

/* Stat cards */
.hero-stat-card {
  background: var(--dark-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.dark-card-body .hero-stat-card {
  padding: 1rem;
  background: #13253a;
}

.stat-val { font-family: var(--font-mono); font-size: 1.3rem; font-weight: 600; color: #22d3ee; margin-bottom: 0.2rem; }
.stat-lbl { font-size: 0.8rem; color: var(--dark-muted); line-height: 1.4; }

/* Validation card (try.html) */
.val-card-top { padding: 1.5rem; background: var(--dark-surface); }

.val-card-top .val-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--dark-muted);
  margin-bottom: 0.5rem;
  padding: 0;
  border-bottom: none;
}

.val-card-top .val-line.total {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 0.5rem;
  margin-top: 0.5rem;
  font-weight: 600;
  color: #f8fafc;
  font-size: 1rem;
  margin-bottom: 0;
}

.val-card-bottom { background: #07101c; padding: 1.5rem; border-top: 1px solid var(--border-soft); }
.json-code { font-family: var(--font-mono); font-size: 0.75rem; color: var(--dark-muted); line-height: 1.6; }
.jk { color: #22d3ee; }
.js { color: #eab308; }
.jn { color: #c4b5fd; }

/* QA Lite mobile */
@media (max-width: 900px) {
  .page-qa-lite .hero { grid-template-columns: 1fr; text-align: center; gap: 2rem; padding: 3rem 0 2.5rem; }
  .page-qa-lite .hero p { margin-inline: auto; }
  .page-qa-lite .hero-actions { justify-content: center; }
  .feature-row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .page-qa-lite .hero-actions { flex-direction: column; align-items: center; }
  .page-qa-lite .hero-actions a { width: 100%; max-width: 320px; justify-content: center; }
}
