/* Infracast marketing site — shared styles (extracted from the original index.html) */
:root {
      --bg: #0f172a;
      --bg-alt: #1e293b;
      --bg-card: #1e293b;
      --bg-card2: #162032;
      --text: #e2e8f0;
      --text-muted: #bcc8d8;
      --text-dim: #a8b6c8;
      --primary: #3b82f6;
      --primary-hover: #1d4ed8;
      --primary-btn: #2563eb;
      --primary-glow: rgba(59, 130, 246, 0.2);
      --accent: #22c55e;
      --accent-alt: #10b981;
      --accent-glow: rgba(34, 197, 94, 0.15);
      --purple: #8b5cf6;
      --purple-glow: rgba(139, 92, 246, 0.15);
      --orange: #f97316;
      --red: #ef4444;
      --border: #334155;
      --border-light: #1e293b;
      --glass: rgba(30, 41, 59, 0.6);
    }

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

    html { scroll-behavior: smooth; scroll-padding-top: 86px; }
    section[id] { scroll-margin-top: 86px; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', 'Helvetica Neue', sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

    /* ─── BUTTONS ─── */
    .btn {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 9px 20px; border-radius: 8px; font-size: 0.9rem;
      font-weight: 600; text-decoration: none; cursor: pointer;
      border: none; transition: all 0.2s; white-space: nowrap;
    }
    .btn-primary {
      background: var(--primary-btn); color: #fff;
      box-shadow: 0 0 20px rgba(59, 130, 246, 0.25);
    }
    .btn-primary:hover {
      background: var(--primary-hover);
      box-shadow: 0 0 28px rgba(59, 130, 246, 0.4);
      transform: translateY(-1px);
    }
    .btn-secondary {
      background: transparent; color: var(--text);
      border: 1px solid var(--border);
    }
    .btn-secondary:hover { border-color: var(--text-muted); background: rgba(255,255,255,0.04); }
    .btn-lg { padding: 14px 30px; font-size: 1.05rem; border-radius: 10px; }
    .btn-xl { padding: 16px 36px; font-size: 1.15rem; border-radius: 12px; }
    .btn-ghost {
      background: transparent; color: var(--text-muted);
      border: 1px solid var(--border);
    }
    .btn-ghost:hover { color: var(--text); border-color: var(--text-muted); }
    .btn-accent {
      background: linear-gradient(135deg, var(--accent) 0%, var(--accent-alt) 100%);
      color: #052e16;
      box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
    }
    .btn-accent:hover {
      box-shadow: 0 0 32px rgba(34, 197, 94, 0.35);
      transform: translateY(-1px);
    }

    /* ─── SECTIONS ─── */
    section { padding: 56px 0; }
    .section-label {
      font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
      text-transform: uppercase; color: var(--primary); margin-bottom: 16px;
    }
    .section-title {
      font-size: clamp(1.8rem, 3.5vw, 2.6rem);
      font-weight: 800; letter-spacing: -0.02em; line-height: 1.15;
      margin-bottom: 20px;
    }
    .section-sub {
      font-size: 1.05rem; color: var(--text-muted);
      max-width: 600px; line-height: 1.7;
    }
    .section-header { margin-bottom: 64px; }
    .text-center { text-align: center; }
    .text-center .section-sub { margin: 0 auto; }

    /* ─── DISCOVERY PLUGINS ─── */
    .plugins-section { background: var(--bg-alt); }
    .plugin-category { margin-bottom: 40px; }
    .plugin-category-label {
      font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
      letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 16px;
      padding-bottom: 8px; border-bottom: 1px solid var(--border);
    }
    .plugin-grid { display: flex; flex-wrap: wrap; gap: 10px; }
    .plugin-badge {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 8px 14px; border-radius: 8px;
      font-size: 0.82rem; font-weight: 600;
      border: 1px solid transparent;
      background: var(--bg-card);
      transition: transform 0.2s, box-shadow 0.2s;
    }
    .plugin-badge:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
    .plugin-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
    .plugins-note {
      text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-top: 40px;
      font-style: italic;
    }

    /* ─── TIER CHIPS ─── */
    .tier-chip {
      display: inline-block; padding: 3px 9px; border-radius: 999px;
      font-size: 0.66rem; font-weight: 700; letter-spacing: 0.05em;
      text-transform: uppercase; vertical-align: middle; white-space: nowrap;
    }
    .tier-core { background: rgba(34,197,94,0.14); color: #4ade80; border: 1px solid rgba(34,197,94,0.35); }
    .tier-pro { background: rgba(59,130,246,0.14); color: #60a5fa; border: 1px solid rgba(59,130,246,0.35); }
    .tier-biz { background: rgba(139,92,246,0.14); color: #a78bfa; border: 1px solid rgba(139,92,246,0.35); }
    .tier-ent { background: rgba(249,115,22,0.14); color: #fb923c; border: 1px solid rgba(249,115,22,0.35); }
    .tier-entpro { background: linear-gradient(135deg,#7f1d1d,#b91c1c); color: #fee2e2; border: 1px solid #ef4444; }
    .feature-card h3 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
    .chip-legend {
      display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
      margin: 0 0 44px; font-size: 0.82rem; color: #cbd5e1;
    }
    .chip-legend span.item { display: inline-flex; align-items: center; gap: 7px; }

    /* ─── PACK HEADERS (discovery) ─── */
    .pack-head {
      display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
      margin-bottom: 6px;
    }
    .pack-head .pack-name {
      font-size: 0.95rem; font-weight: 700; color: var(--text);
      text-transform: none; letter-spacing: 0;
    }
    .pack-sub {
      font-size: 0.8rem; color: var(--text-dim); margin-bottom: 16px;
      padding-bottom: 10px; border-bottom: 1px solid var(--border);
    }

    /* ─── MODULES MATRIX ─── */
    .modules-section {
      background: var(--bg); border-top: 1px solid var(--border);
      padding-top: 88px;
    }
    .mod-group { margin-bottom: 36px; }
    .mod-group-title {
      font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
      letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 14px;
      padding-bottom: 8px; border-bottom: 1px solid var(--border);
    }
    .mod-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
    @media (max-width: 780px) { .mod-list { grid-template-columns: 1fr; } }
    .mod-row {
      display: grid; grid-template-columns: 1fr auto auto;
      align-items: center; column-gap: 12px;
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: 10px; padding: 12px 16px;
    }
    @media (max-width: 1050px) {
      .mod-row { grid-template-columns: 1fr auto; row-gap: 8px; }
      .mod-row .mod-name { grid-column: 1 / -1; }
    }
    .mod-row .mod-name { font-size: 0.88rem; font-weight: 600; line-height: 1.4; }
    .mod-row .mod-price {
      font-size: 0.8rem; font-weight: 700; color: var(--accent);
      white-space: nowrap; text-align: right;
    }
    .mod-row .mod-price.free { color: var(--text-dim); font-weight: 600; }
    .modules-note {
      text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-top: 32px;
    }

    /* ─── PRICING ─── */
    .pricing-section { background: var(--bg-alt); }
    .pricing-grid {
      display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
    }
    .pricing-card {
      background: var(--glass); backdrop-filter: blur(12px);
      border: 1px solid var(--border); border-radius: 16px;
      padding: 28px 20px; display: flex; flex-direction: column;
      transition: transform 0.2s, box-shadow 0.3s;
      position: relative; overflow: hidden;
    }
    .pricing-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(0,0,0,0.35); }
    .pricing-card.featured {
      border-color: var(--primary); background: rgba(59, 130, 246, 0.07);
      box-shadow: 0 0 0 1px rgba(59,130,246,0.2), 0 20px 48px rgba(0,0,0,0.3);
    }
    .pricing-card.federal-card {
      border-color: rgba(239, 68, 68, 0.3);
      background: rgba(239, 68, 68, 0.04);
    }
    .plan-badge {
      position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
      background: var(--primary-btn); color: #fff;
      font-size: 0.68rem; font-weight: 800; padding: 4px 14px;
      border-radius: 0 0 8px 8px; text-transform: uppercase; letter-spacing: 0.08em;
      white-space: nowrap;
    }
    .plan-badge.gov { background: linear-gradient(90deg, #1e3a8a, #7f1d1d); }
    .plan-name { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; margin-top: 16px; }
    .plan-price { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 4px; }
    .plan-price span { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); }
    .plan-price.custom { font-size: 1.4rem; color: var(--text-muted); }
    .plan-desc { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
    .plan-features { list-style: none; flex: 1; margin-bottom: 24px; }
    .plan-features li {
      display: flex; align-items: flex-start; gap: 8px;
      font-size: 0.8rem; color: var(--text-muted); padding: 5px 0; line-height: 1.4;
    }
    .plan-features li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
    .plan-cta { margin-top: auto; }
    .btn-plan {
      display: block; text-align: center; padding: 11px 16px;
      border-radius: 8px; font-size: 0.85rem; font-weight: 700;
      text-decoration: none; transition: all 0.2s;
    }
    .btn-plan-primary { background: var(--primary-btn); color: #fff; }
    .btn-plan-primary:hover { background: var(--primary-hover); }
    .btn-plan-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
    .btn-plan-outline:hover { border-color: var(--text-muted); background: rgba(255,255,255,0.04); }
    .btn-plan-gov { background: linear-gradient(135deg, #1e3a8a, #7f1d1d); color: white; }
    .btn-plan-gov:hover { opacity: 0.85; }

    .pricing-note {
      text-align: center; color: var(--text-muted); font-size: 0.9rem;
      margin-top: 40px;
    }

    @media (max-width: 1100px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
    @media (max-width: 768px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 480px) { .pricing-grid { grid-template-columns: 1fr; } }

    /* ─── CTA SECTION ─── */
    .cta-section {
      background: var(--bg);
      text-align: center;
    }
    .cta-inner {
      background: linear-gradient(135deg,
        rgba(59, 130, 246, 0.12) 0%,
        rgba(139, 92, 246, 0.08) 50%,
        rgba(34, 197, 94, 0.06) 100%);
      border: 1px solid rgba(59, 130, 246, 0.2);
      border-radius: 24px; padding: 80px 40px;
      position: relative; overflow: hidden;
    }
    .cta-inner::before {
      content: '';
      position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
      width: 600px; height: 600px;
      background: radial-gradient(ellipse, rgba(59,130,246,0.1), transparent 70%);
      pointer-events: none;
    }
    .cta-inner h2 {
      font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800;
      letter-spacing: -0.02em; margin-bottom: 20px; position: relative;
    }
    .cta-inner p {
      font-size: 1.1rem; color: var(--text-muted); margin-bottom: 40px; position: relative;
    }
    .cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

    /* ─── FOOTER ─── */
    footer {
      background: var(--bg-alt); border-top: 1px solid var(--border);
      padding: 60px 0 32px;
    }
    .footer-grid {
      display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 48px;
      margin-bottom: 48px;
    }
    .footer-brand .logo { font-size: 1.2rem; margin-bottom: 14px; display: inline-flex; }
    .footer-brand p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; max-width: 260px; }
    .footer-col h4 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 16px; }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .footer-col a { color: var(--text-dim); text-decoration: none; font-size: 0.87rem; transition: color 0.2s; }
    .footer-col a:hover { color: var(--text); }
    .footer-bottom {
      border-top: 1px solid var(--border); padding-top: 28px;
      display: flex; justify-content: space-between; align-items: center;
      flex-wrap: wrap; gap: 12px;
    }
    .footer-bottom p { font-size: 0.82rem; color: var(--text-dim); }
    .footer-links { display: flex; gap: 24px; }
    .footer-links a { font-size: 0.82rem; color: var(--text-dim); text-decoration: none; }
    .footer-links a:hover { color: var(--text-muted); }

    @media (max-width: 900px) {
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .footer-brand { grid-column: 1 / -1; }
    }
    @media (max-width: 500px) {
      .footer-grid { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; text-align: center; }
      .footer-links { flex-wrap: wrap; justify-content: center; }
    }

    /* ─── GRADIENT TEXT ─── */
    .gradient-text {
      background: linear-gradient(135deg, var(--primary), var(--purple));
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    }
    .accent-text { color: var(--accent); }
    .muted { color: var(--text-muted); }

    /* ─── DIVIDER ─── */
    .divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); margin: 0; }

/* ═════════ v2 additions ═════════ */
a { color: #93c5fd; }
a:hover { color: #bfdbfe; }
:focus-visible { outline: 3px solid #fbbf24; outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fbbf24; color: #111; padding: 10px 16px; border-radius: 6px; z-index: 300; font-weight: 700; }
.skip-link:focus { left: 8px; }
main { display: block; padding-top: 66px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header / nav */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(15, 23, 42, 0.92);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(51, 65, 85, 0.6);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.logo { font-size: 1.4rem; font-weight: 800; color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 10px; letter-spacing: -0.02em; }
.logo:hover { color: var(--text); }
.logo-icon { font-size: 1.5rem; }
.logo-text span { color: var(--primary); }
.nav-center { display: flex; align-items: center; gap: 8px; }
.nav-links { display: flex; gap: 2px; list-style: none; }
.nav-links a { color: #dbe4ef; text-decoration: none; font-size: 0.9rem; font-weight: 500; padding: 8px 12px; border-radius: 6px; display: block; transition: color 0.2s, background 0.2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 8px; padding: 9px 10px; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
@media (max-width: 1020px) {
  .nav-toggle { display: flex; }
  .nav-center, .nav-cta { display: none; }
  .site-header.open .nav-center, .site-header.open .nav-cta { display: flex; }
  .site-header.open { max-height: 100vh; overflow-y: auto; }
  .site-header .container { flex-wrap: wrap; height: auto; min-height: 66px; padding-top: 8px; padding-bottom: 8px; }
  .nav-center, .nav-cta { width: 100%; }
  .nav-links { flex-direction: column; width: 100%; }
  .nav-links a { padding: 12px 4px; font-size: 1rem; border-bottom: 1px solid var(--border-light); }
  .nav-cta { padding-bottom: 14px; }
}

/* page structure */
.page-hero { padding: 72px 0 48px; border-bottom: 1px solid var(--border); background: radial-gradient(ellipse at 50% -20%, rgba(59,130,246,0.14), transparent 60%); }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; margin-bottom: 18px; max-width: 880px; }
.page-hero p.lead { font-size: 1.1rem; color: var(--text-muted); max-width: 760px; line-height: 1.7; }
.crumbs { font-size: 0.82rem; color: var(--text-dim); margin-bottom: 14px; }
.alt { background: var(--bg-alt); }
.prose { max-width: 800px; }
.prose p, .prose li { color: var(--text-muted); font-size: 1rem; line-height: 1.75; margin-bottom: 12px; }
.prose ul { padding-left: 22px; margin-bottom: 14px; }
.prose strong { color: var(--text); }
h2.h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 14px; }
h3.h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.lede { color: var(--text-muted); max-width: 720px; margin-bottom: 32px; font-size: 1.02rem; line-height: 1.7; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 26px; }
.card p, .card li { color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; }
.card ul { padding-left: 20px; margin: 10px 0; }
.card .eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #93c5fd; margin-bottom: 8px; }
.note { border-left: 4px solid #fbbf24; background: rgba(251,191,36,0.07); padding: 14px 18px; border-radius: 0 8px 8px 0; color: var(--text-muted); font-size: 0.95rem; margin: 20px 0; }
.note strong { color: var(--text); }
.cert { background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.3); border-radius: 10px; padding: 14px 18px; font-weight: 600; color: var(--text); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; }
dl.ids { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; }
dl.ids dt { color: var(--text-dim); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
dl.ids dd { font-weight: 700; font-family: ui-monospace, Menlo, Consolas, monospace; }

/* outcomes */
.outcome { padding: 26px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; }
.outcome h3 { font-size: 1.1rem; margin-bottom: 8px; }
.outcome p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; margin-bottom: 10px; }

/* tables */
.table-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: 12px; }
.table-wrap:focus-visible { outline-offset: 0; }
table.cmp { border-collapse: collapse; width: 100%; min-width: 1100px; font-size: 0.86rem; }
.pricing-wide { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
table.cmp th, table.cmp td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: center; vertical-align: middle; }
table.cmp th:first-child, table.cmp td:first-child { text-align: left; position: sticky; left: 0; background: var(--bg-card2); z-index: 1; min-width: 240px; }
table.cmp thead th { background: var(--bg-card); font-size: 0.82rem; position: sticky; top: 0; }
table.cmp thead th:first-child { z-index: 2; background: var(--bg-card); }
table.cmp tr.group th { text-align: left; background: #0b1220; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; }
table.cmp .yes { color: #4ade80; font-weight: 700; }
table.cmp .addon { color: #fcd34d; }
table.cmp .no { color: var(--text-dim); }
table.cmp .price { color: var(--text-muted); font-weight: 600; white-space: nowrap; }
.tbl { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
.tbl th, .tbl td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; }
.tbl th { color: var(--text-dim); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.tbl td { color: var(--text-muted); }
.tbl td:first-child { color: var(--text); font-weight: 600; }
.lists-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .lists-2 { grid-template-columns: 1fr; } }
.lists-2 ul { padding-left: 20px; }
.lists-2 li { color: var(--text-muted); margin-bottom: 6px; }
.counted { border-top: 4px solid #22c55e; }
.notcounted { border-top: 4px solid #64748b; }

/* cta band */
.cta3 { background: var(--bg); padding: 24px 0 56px; }
.cta3 .cta-inner { padding: 40px 32px; }
.cta3 h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta3 p { margin-bottom: 26px; }
.btn-primary:hover { color: #fff; }
.site-footer { background: var(--bg-alt); }
.footer-cert { font-size: 0.82rem; color: var(--text-muted); margin-top: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.tier-gov { background: linear-gradient(135deg,#1e3a8a,#7f1d1d); color: #fff; border: 1px solid #60a5fa; }
.tier-core { color: #86efac; } .tier-pro { color: #93c5fd; } .tier-biz { color: #c4b5fd; } .tier-ent { color: #fdba74; }
.feat-badges { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
table.cmp caption { caption-side: top; }
.plugin-badge { color: var(--text) !important; }

/* ═════════ v3: polish ═════════ */
/* contrast: muted #bcc8d8 = 10.5:1 on #0f172a, 8.6:1 on #1e293b; dim #a8b6c8 = 8.7:1 / 7.1:1 */
.nav-links a { font-weight: 600; }
.section-label, .card .eyebrow { color: #93c5fd; }

/* home hero */
.hero2 { padding: 56px 0 40px; background: radial-gradient(ellipse at 50% -10%, rgba(59,130,246,0.16), transparent 60%), var(--bg); }
.hero-label { display: inline-block; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #93c5fd; margin-bottom: 16px; }
.hero2 h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; max-width: 960px; margin-bottom: 18px; }
.hero2 .lead { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--text-muted); max-width: 800px; line-height: 1.65; margin-bottom: 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-bottom: 40px; }
.link-cta { color: #bfdbfe; font-weight: 600; font-size: 1rem; text-decoration: underline; text-underline-offset: 4px; }
.link-cta:hover { color: #fff; }
@media (min-width: 900px) { .hero-ctas { flex-wrap: nowrap; } }

/* browser frame */
.frame { margin: 0; max-width: 1080px; }
.frame-bar { display: flex; align-items: center; gap: 6px; background: #1e293b; border: 1px solid var(--border); border-bottom: 0; border-radius: 12px 12px 0 0; padding: 9px 14px; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #475569; display: block; }
.frame-bar span { margin-left: 10px; font-size: 0.78rem; color: var(--text-dim); font-family: ui-monospace, Menlo, Consolas, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frame-body { position: relative; border: 1px solid var(--border); border-radius: 0 0 12px 12px; overflow: hidden; background: #0b1220; box-shadow: 0 24px 60px rgba(0,0,0,0.45); }
.frame-body img { display: block; width: 100%; height: auto; }
.frame figcaption { font-size: 0.85rem; color: var(--text-dim); margin-top: 10px; }
.hero-frame { margin: 0 auto; }

/* screenshots; the sample-data label sits outside the image (figcaption / frame bar) */
.shot { margin: 0; position: relative; }
.shot .shot-img { position: relative; }
.shot img { width: 100%; height: auto; display: block; border-radius: 10px; border: 1px solid var(--border); background: #0b1220; }
.shot figcaption { font-size: 0.85rem; color: var(--text-dim); margin-top: 8px; line-height: 1.5; }
.shot-stack { display: grid; gap: 18px; }

/* audience cards */
.audience { padding: 8px 0 24px; margin-top: 0; }
.audience .container { align-items: stretch; }
.aud-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; transition: transform .2s, border-color .2s; height: 100%; }
.aud-card:hover { transform: translateY(-3px); border-color: var(--primary); color: var(--text); }
.aud-card .aud-tag { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.aud-gov .aud-tag { color: #93c5fd; }
.aud-com .aud-tag { color: #86efac; }
.aud-card h2 { font-size: 1.35rem; margin-bottom: 8px; }
.aud-card p { color: var(--text-muted); font-size: 0.97rem; line-height: 1.6; margin-bottom: 16px; }
.aud-card .go { margin-top: auto; color: #bfdbfe; font-weight: 700; }

/* workflow: alternating side-by-side, image ~55% */
.flow { max-width: none; margin: 0; }
.flow-intro { margin-bottom: 28px; }
.step { display: grid; grid-template-columns: 40fr 60fr; gap: 28px; align-items: center; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.step.rev { grid-template-columns: 60fr 40fr; }
.step.rev .step-text { order: 2; }
.step-text { align-self: center; }
.step-num { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--primary-btn); color: #fff; font-weight: 800; align-items: center; justify-content: center; margin-bottom: 10px; }
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: 0.98rem; line-height: 1.65; margin-bottom: 10px; }
.step .see { font-size: 0.9rem; color: #cbd5e1; }
.step .see::before { content: "You see: "; font-weight: 700; color: var(--text); }
.step .see.plain::before { content: ""; }
@media (max-width: 860px) { .step, .step.rev { grid-template-columns: 1fr; gap: 20px; padding: 20px; } .step.rev .step-text { order: 0; } }
.flow-link { display: flex; flex-direction: column; align-items: center; padding: 0; margin: 0; color: #dbeafe; font-size: 0.9rem; font-weight: 600; text-align: center; }
.flow-link::before { content: ""; width: 2px; height: 14px; background: #475569; }
.flow-link span { background: rgba(59,130,246,0.14); border: 1px solid rgba(147,197,253,0.4); border-radius: 999px; padding: 5px 16px; line-height: 1.3; }
.flow-link .arrow { background: none; border: 0; padding: 0; font-size: 1.3rem; line-height: 1; color: #93c5fd; margin-top: 2px; }
.flow-link .arrow:only-child { margin: 0; }

/* compact inline cta */
.cta-inline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 28px; padding: 16px 22px; border: 1px solid rgba(59,130,246,0.3); background: rgba(59,130,246,0.08); border-radius: 12px; }
.cta-inline p { color: var(--text); font-weight: 600; margin: 0; }
.cta-inline .links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* downloads */
.downloads { padding: 40px 0 8px; }
.dl-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.dl { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; text-decoration: none; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; color: var(--text); transition: border-color .2s, transform .2s; }
.dl:hover { border-color: var(--primary); color: var(--text); transform: translateY(-2px); }
.dl svg { grid-row: 1 / span 3; width: 40px; height: 48px; }
.dl b { font-size: 0.97rem; }
.dl .dl-desc { color: var(--text-muted); font-size: 0.85rem; line-height: 1.45; }
.dl .dl-get { margin-top: 8px; color: #bfdbfe; font-size: 0.85rem; font-weight: 700; }
.dl .dl-get::before { content: "↓ "; }

/* footer */
.footer-ids { font-size: 0.78rem; color: var(--text-dim); margin-top: 6px; }
.footer-bottom p { color: var(--text-dim); }
.footer-col a, .footer-links a { color: #cbd5e1; }
.footer-cert { color: #cbd5e1; }

/* gaps */
.page-hero { padding: 56px 0 36px; }
.lede { margin-bottom: 24px; }
.footer-bottom { padding-top: 20px; }
.footer-bottom .footer-ids { margin: 0; font-size: 0.78rem; }
.footer-brand p { max-width: 300px; }
.outcome a, .link-arrow { color: #bfdbfe; }
.hero-frame { max-width: none; margin: 0; }
@media (min-width: 900px) { .hero-frame .frame-body img { max-height: 620px; object-fit: cover; object-position: top left; } }
.outcome { display: flex; flex-direction: column; }
.outcome .link-arrow { margin-top: auto; padding-top: 6px; }
.dl { align-content: start; }
.dl-strip { align-items: stretch; }
.cta3 .cta-inner { text-align: center; }
.cta3 .cta-inner p { margin-left: auto; margin-right: auto; max-width: 640px; }
.step-text { min-width: 0; }


/* ═════════ v4: design-review fixes ═════════ */
/* sample-data label: never over pixels */
.tag-sample { display: inline-block; margin-right: 8px; padding: 1px 8px; border: 1px solid rgba(251,191,36,0.6); background: rgba(251,191,36,0.1); color: #fde68a; border-radius: 5px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: 1px; white-space: nowrap; }
.frame-bar .tag-sample { margin: 0 0 0 auto; font-family: -apple-system, 'Segoe UI', Roboto, sans-serif; }
.shot-link { display: block; cursor: zoom-in; border-radius: 10px; }
.shot-link:focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; }
.shot-link picture { display: block; }
.shot-open { color: #bfdbfe; font-weight: 600; white-space: nowrap; }
.shot-open:hover { color: #fff; }
.shot figcaption { font-size: 0.9rem; margin-top: 10px; }
.frame-body .shot-link { border-radius: 0; }

/* workflow: text on top, screenshot full width below */
.step, .step.rev { display: flex; flex-direction: column; align-items: stretch; gap: 20px; padding: 28px; }
.step.rev .step-text { order: 0; }
.step-text { align-self: flex-start; max-width: 860px; }
.step-text .step-num { margin-bottom: 12px; }
.step .shot img { border-radius: 10px; }
@media (max-width: 860px) { .step, .step.rev { padding: 20px; gap: 16px; } }

/* two-column sections with a screenshot: text top-aligned, wider image */
.shot-grid { grid-template-columns: 2fr 3fr; align-items: start; }
@media (max-width: 860px) { .shot-grid { grid-template-columns: 1fr; } }

/* what you get: equal-height cards, link pinned to bottom */
.alt .grid-2 { align-items: stretch; }
.outcome { height: 100%; }
.outcome h3 { min-height: 1.5em; line-height: 1.3; }
.outcome p:last-of-type:not(:only-child) { margin-bottom: 14px; }

/* downloads: aligned cards, link pinned to the bottom */
.dl-strip { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.dl { grid-template-rows: auto auto 1fr auto; height: 100%; }
.dl svg { grid-row: 1 / span 2; }
.dl b { align-self: end; line-height: 1.3; }
.dl .dl-desc { align-self: start; margin-top: 4px; }
.dl .dl-get { grid-column: 1 / -1; grid-row: 4; align-self: end; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }

/* final CTA: centered, one primary + two secondary */
.cta3 .cta-inner { text-align: center; }
.cta3 .cta-inner h2, .cta3 .cta-inner p { margin-left: auto; margin-right: auto; text-align: center; }
.cta3 .cta-buttons { justify-content: center; }
.cta3 .btn-secondary { border-color: #64748b; color: #f1f5f9; }
.cta3 .btn-secondary:hover { border-color: #cbd5e1; }

/* pricing */
.pricing-grid { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 1400px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card .tier-chip { font-size: 0.82rem; padding: 4px 12px; }
.plan-desc, .pricing-card .plan-features li { color: var(--text-muted); }
.pricing-note.terms-note { margin-top: 28px; font-size: 1rem; color: var(--text-muted); }
.pricing-note.terms-note a { color: #bfdbfe; text-decoration: underline; text-underline-offset: 3px; }
.worked .card p, .worked .card li, .worked .card .see { color: var(--text-muted); }
.card .see.muted { color: var(--text-muted); font-size: 0.9rem; }

/* comparison table */
.table-wrap { max-height: 78vh; overflow: auto; }
/* wide screens: no horizontal scroll needed, so let the header stick to the page */
@media (min-width: 1340px) { .table-wrap { max-height: none; overflow: visible; } table.cmp thead th { top: 66px; } table.cmp { min-width: 0; } }
table.cmp { font-size: 0.97rem; border-collapse: separate; border-spacing: 0; }
table.cmp th, table.cmp td { padding: 12px 14px; }
table.cmp thead th { font-size: 0.95rem; position: sticky; top: 0; z-index: 3; background: #243247; border-bottom: 2px solid #475569; }
table.cmp thead th:first-child { z-index: 4; background: #243247; }
table.cmp .tier-chip { font-size: 0.85rem; padding: 5px 14px; }
table.cmp tbody tr:nth-child(odd) > th, table.cmp tbody tr:nth-child(odd) > td { background: #172338; }
table.cmp tbody tr:nth-child(even) > th, table.cmp tbody tr:nth-child(even) > td { background: #202e45; }
table.cmp tbody tr.group > th { background: #0b1220; color: #cbd5e1; font-size: 0.8rem; }
table.cmp tbody th[scope=row] { font-weight: 600; color: var(--text); }
table.cmp td { color: var(--text-muted); }
table.cmp .addon { color: #fde68a; font-weight: 600; }
table.cmp .no { color: #94a3b8; }
table.cmp .price { color: #e2e8f0; }
@media (max-width: 700px) {
  .step, .step.rev { padding: 16px 8px; }
  .step .step-text, .step .shot figcaption { padding: 0 6px; }
  .shot figcaption { font-size: 0.88rem; }
}
