/* REGOMNIS / OMO Reports — landing page styles
   Palette and type per OMO_KB_01 Brand Identity — not a generic default. */

:root {
  --navy: #1E2761;
  --ice: #CADCFC;
  --charcoal: #1A1A2E;
  --paper: #F4F6FC;
  --white: #FFFFFF;
  --oxide: #9E3B26;
  --status-mismatch: #DC2626;
  --status-match: #1B7F4C;
  --status-ambiguous: #B8860B;

  --font-serif: Cambria, Georgia, "Times New Roman", serif;
  --font-sans: Calibri, "Segoe UI", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --max-width: 1120px;
  --content-width: 720px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.55;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

a { color: var(--navy); }

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

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--ice);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.wordmark {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--navy);
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  text-decoration: none;
  color: var(--charcoal);
  font-size: 0.95rem;
}

.nav a:hover { color: var(--navy); }

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 8px 16px;
  border-radius: 4px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(180deg, var(--paper) 0%, var(--white) 100%);
  padding: 72px 0 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.eyebrow-product {
  font-family: var(--font-sans);
  color: var(--oxide);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75em;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  max-width: 12ch;
}

.hero-sub {
  max-width: 46ch;
  font-size: 1.1rem;
  color: var(--charcoal);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 18px;
}

.hero-fineprint {
  font-size: 0.85rem;
  color: #5A5A6E;
  max-width: 44ch;
}

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover { background: #161d4d; }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-ghost:hover { background: var(--ice); }

.btn-accent {
  background: var(--oxide);
  color: var(--white);
}

.btn-accent:hover { background: #832f1e; }

/* ---------- Sample finding card ---------- */

.finding-card {
  background: var(--white);
  border: 1px solid var(--ice);
  border-left: 4px solid var(--status-mismatch);
  border-radius: 4px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(30, 39, 97, 0.06);
  font-family: var(--font-mono);
}

.finding-req {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5em;
  font-size: 0.95rem;
}

.finding-obs {
  font-size: 0.88rem;
  color: var(--charcoal);
  margin-bottom: 1em;
}

.finding-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 0.75em;
}

.badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 3px;
  letter-spacing: 0.03em;
}

.badge-mismatch { background: rgba(220, 38, 38, 0.12); color: var(--status-mismatch); }

.finding-confidence { font-size: 0.82rem; color: #5A5A6E; }

.finding-citation { font-size: 0.8rem; color: #5A5A6E; margin: 0; }

/* ---------- Pillars ---------- */

.pillars { padding: 64px 0; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.pillar h2 { font-size: 1.25rem; }

.pillar p { color: #43435A; max-width: 34ch; }

/* ---------- Trust ---------- */

.trust {
  background: var(--navy);
  color: var(--ice);
  padding: 72px 0;
}

.trust-inner { max-width: var(--content-width); margin: 0 auto; }

.trust p { color: var(--ice); }

.trust-line {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--white);
  line-height: 1.35;
}

/* ---------- Pipeline ---------- */

.pipeline { padding: 72px 0; }

.section-heading {
  font-size: 1.9rem;
  margin-bottom: 24px;
  max-width: var(--content-width);
}

.pipeline-intro {
  max-width: var(--content-width);
  font-size: 1.05rem;
  color: #43435A;
}

/* ---------- CTA band ---------- */

.cta-band { padding: 80px 0; text-align: center; }

.cta-inner { max-width: 52ch; margin: 0 auto; }

.cta-inner h2 { font-size: 2rem; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--ice);
  padding: 32px 0 40px;
}

.footer-brand {
  font-family: var(--font-serif);
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 0.5em;
}

.footer-brand span { font-weight: 400; color: #5A5A6E; }

.footer-legal { font-size: 0.82rem; color: #5A5A6E; max-width: 68ch; margin: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--ice);
    gap: 18px;
  }

  .nav.open { display: flex; }

  .nav-toggle { display: flex; }
}

/* ---------- Accessibility ---------- */

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--oxide);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
