/* WebMonitor marketing site — self-contained, responsive, no framework.
   Placeholder branding (WEB-66 base, extended for the multi-page build WEB-93).
   Colours/brand swap on board approval (WEB-65). No external fonts/CDNs. */

:root {
  --brand: #0b5fff;
  --brand-dark: #0a3fb0;
  --ink: #0f1729;
  --ink-soft: #475069;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-alt: #f5f8ff;
  --bg-band: #ffffff;
  --up: #16a34a;
  --warn: #d97706;
  --down: #dc2626;
  --seo: #7c3aed;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 23, 41, 0.08);
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
p { margin: 0 0 1rem; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--brand);
  color: #fff; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; border-radius: 8px; }

/* Buttons */
.btn {
  display: inline-block; font-weight: 600; font-size: .98rem;
  padding: 11px 20px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: transform .05s ease, background .15s ease, box-shadow .15s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(11,95,255,.25); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; }
.btn-block { display: block; width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 22px; height: 22px; border-radius: 6px;
  background: linear-gradient(135deg, var(--brand), var(--seo));
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.5);
}
.brand-name { font-size: 1.15rem; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 22px; margin-left: 8px; }
.nav-links a { color: var(--ink-soft); font-weight: 500; }
.nav-links a:hover { color: var(--brand); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--brand); font-weight: 600; }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }

/* Hero */
.hero { padding: 64px 0 56px; background: linear-gradient(180deg, var(--bg-alt), #fff); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--brand); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; margin-bottom: .6rem; }
.lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 38ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 12px; }
.hero-note { color: var(--ink-soft); font-size: .9rem; }

/* Secondary-page header */
.page-head { padding: 56px 0 8px; background: linear-gradient(180deg, var(--bg-alt), #fff); }
.page-lede { max-width: 60ch; margin-top: .4rem; }

/* Hero status card */
.hero-card { display: flex; justify-content: center; }
.status-card {
  width: 100%; max-width: 380px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px;
}
.status-row { display: flex; align-items: center; gap: 10px; padding: 12px 6px; border-bottom: 1px solid var(--line); }
.status-row:last-of-type { border-bottom: none; }
.status-site { font-weight: 600; font-size: .95rem; flex: 1; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot-up { background: var(--up); box-shadow: 0 0 0 4px rgba(22,163,74,.15); }
.dot-down { background: var(--down); box-shadow: 0 0 0 4px rgba(220,38,38,.15); }
.status-pill { font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill-up { background: rgba(22,163,74,.12); color: var(--up); }
.pill-warn { background: rgba(217,119,6,.12); color: var(--warn); }
.pill-down { background: rgba(220,38,38,.12); color: var(--down); }
.pill-seo { background: rgba(124,58,237,.12); color: var(--seo); }
.status-foot { color: var(--ink-soft); font-size: .82rem; padding-top: 12px; text-align: center; }

/* Bands */
.band { padding: 64px 0; }
.band-alt { background: var(--bg-alt); }
.section-lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 60ch; }
.provisional { color: var(--warn); font-weight: 600; }

/* CTA band */
.band-cta { background: linear-gradient(135deg, var(--brand), var(--seo)); color: #fff; text-align: center; }
.band-cta h2 { color: #fff; }
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.band-cta .hero-note { color: rgba(255,255,255,.85); }
.band-cta .btn-primary { background: #fff; color: var(--brand); box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.band-cta .btn-primary:hover { background: #f3f6ff; color: var(--brand-dark); }

/* Pain / value grid */
.pain-grid, .feature-grid, .trust-grid { display: grid; gap: 22px; margin-top: 32px; }
.pain-grid { grid-template-columns: repeat(2, 1fr); }
.pain h3 { font-size: 1.1rem; }
.pain p { color: var(--ink-soft); margin: 0; }

/* Features */
.feature-grid { grid-template-columns: repeat(4, 1fr); }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.feature-icon { font-size: 1.7rem; margin-bottom: 8px; }
.feature h3 { font-size: 1.08rem; }
.feature p { color: var(--ink-soft); margin: 0; font-size: .96rem; }
.roadmap-note { margin-top: 26px; color: var(--ink-soft); font-size: .92rem; font-style: italic; max-width: 70ch; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff;
  font-weight: 700; margin-bottom: 12px;
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--ink-soft); margin: 0; }
.how-cta, .faq-cta, .pricing-foot { margin-top: 32px; text-align: center; }
.pricing-foot { color: var(--ink-soft); font-size: .92rem; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; align-items: stretch; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; display: flex; flex-direction: column;
}
.plan-featured { border-color: var(--brand); box-shadow: 0 14px 40px rgba(11,95,255,.18); position: relative; }
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; padding: 5px 12px; border-radius: 999px;
}
.plan-name { font-size: 1.25rem; margin-bottom: .2em; }
.plan-price { margin: 0; }
.plan-price .amount { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.02em; }
.plan-price .per { color: var(--ink-soft); font-weight: 600; }
.plan-sub { color: var(--ink-soft); font-size: .85rem; margin: 2px 0 0; }
.plan-for { color: var(--ink-soft); font-weight: 600; margin: 12px 0 14px; font-size: .95rem; }
.plan-list { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.plan-list li { padding: 7px 0 7px 26px; position: relative; color: var(--ink); font-size: .96rem; border-bottom: 1px solid var(--line); }
.plan-list li:last-child { border-bottom: none; }
.plan-list li::before { content: "✓"; position: absolute; left: 0; color: var(--up); font-weight: 700; }
/* "Coming soon" tiers (WEB-96): published but not yet sellable at 1.0. */
.plan-soon { position: relative; opacity: .92; }
.plan-badge-soon { background: var(--ink-soft); }
.btn-disabled {
  background: var(--line); color: var(--ink-soft); border-color: var(--line);
  box-shadow: none; cursor: not-allowed; pointer-events: none;
}
.btn-disabled:hover { transform: none; }

/* Related links row */
.related { padding: 28px 0; border-top: 1px solid var(--line); }
.related-label { text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; color: var(--ink-soft); font-weight: 600; margin: 0 0 .3rem; }
.related-row { margin: 0; font-weight: 600; }
.related-row span { color: var(--ink-soft); font-weight: 400; }

/* Comparison table */
.compare-table { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.compare-tr { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 0; border-bottom: 1px solid var(--line); }
.compare-tr:last-child { border-bottom: none; }
.compare-tr > span { padding: 14px 16px; }
.compare-head { background: var(--bg-alt); font-weight: 700; }
.compare-head span:nth-child(2) { color: var(--brand); }
.compare-axis { font-weight: 600; color: var(--ink-soft); }
.compare-tr > span:nth-child(2) { border-left: 1px solid var(--line); font-weight: 600; }
.compare-tr > span:nth-child(3) { border-left: 1px solid var(--line); color: var(--ink-soft); }
@media (max-width: 680px) {
  .compare-tr { grid-template-columns: 1fr; }
  .compare-tr > span:nth-child(2), .compare-tr > span:nth-child(3) { border-left: none; border-top: 1px solid var(--line); }
  .compare-head { display: none; }
}

/* Trust */
.trust-grid { grid-template-columns: repeat(3, 1fr); }
.trust h3 { font-size: 1.1rem; }
.trust p { color: var(--ink-soft); margin: 0; }

/* FAQ */
.faq { margin-top: 28px; max-width: 760px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 4px 18px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--brand); font-weight: 700; font-size: 1.2rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); margin: 0 0 14px; }

/* Footer */
.site-footer { background: var(--ink); color: #c7d0e0; padding: 48px 0 28px; margin-top: 8px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.footer-brand .brand-name { color: #fff; }
.footer-tag { color: #94a0b8; margin-top: 10px; max-width: 32ch; }
.footer-col h4 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: #c7d0e0; }
.footer-col a:hover { color: #fff; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 18px; }
.footer-legal p { color: #94a0b8; font-size: .85rem; margin: 0; }

/* Blog hub cards */
.blog-grid { grid-template-columns: repeat(3, 1fr); }
.blog-card-title { font-size: 1.15rem; margin: 0 0 .4em; }
.blog-card-title a { color: var(--ink); }
.blog-card-title a:hover { color: var(--brand); }
.feature .blog-card-more { font-weight: 600; font-size: .92rem; }

/* Article prose */
.article-prose { max-width: 720px; }
.article-prose h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-top: 1.4em; }
.article-prose .section-lede { font-size: 1.18rem; color: var(--ink); }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .lede { max-width: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .pain-grid, .feature-grid, .steps, .pricing-grid, .trust-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0; }
  .band { padding: 48px 0; }
  .nav-cta .btn-ghost { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
