:root {
  --ink: #111513;
  --muted: #68716d;
  --line: #e4e5df;
  --soft: #f7f7f2;
  --soft-2: #edf4ef;
  --accent: #0f6b55;
  --accent-soft: #dcebe5;
  --max: 100%;
  --shadow: 0 18px 48px rgba(17, 21, 19, 0.08);
  --page-gutter: 28px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: white;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: clamp(48px, 8vw, 140px);
  padding-right: clamp(48px, 8vw, 140px);
}

.site-header {
  padding-left: 0;
  padding-right: 0;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 20;
  min-height: auto;
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  padding-top: 0;
  padding-bottom: 0;
}

.brand {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  position: relative;
  z-index: 2;
  font-size: 16px;
}

.brand::before {
  display: none;
}

.navtoggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(17, 21, 19, 0.08);
}

.navtoggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.navtoggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.navtoggle.is-open span:nth-child(2) {
  opacity: 0;
}

.navtoggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.navlinks {
  display: flex;
  gap: 10px;
  color: #47524e;
  font-size: 14px;
  align-items: center;
}

.navlinks a,
.navlinks .link-button {
  padding: 9px 12px;
  border-radius: 10px;
  color: inherit;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.navlinks a:hover,
.navlinks a.is-active,
.navlinks .link-button:hover {
  background: var(--soft-2);
  color: var(--ink);
}

.inline-form {
  display: inline;
  margin: 0;
}

.link-button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

main > section {
  padding: 66px 0;
  border-top: 1px solid var(--line);
}

main > section:first-child {
  border-top: 0;
}

.hub-hero {
  padding: 92px 0 70px;
}

.hero-report-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: clamp(42px, 7vw, 110px);
  align-items: center;
}

.hero-report-copy {
  min-width: 0;
}

.report-preview {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 80px rgba(17, 21, 19, 0.1);
}

.report-badge {
  display: inline-flex;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.report-preview h2 {
  margin: 13px 0 4px;
  font-size: 28px;
  letter-spacing: -0.025em;
}

.report-sub {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.report-rows {
  display: grid;
  gap: 9px;
}

.report-row {
  min-height: 64px;
  display: grid;
  grid-template-columns: 42px 1fr 28px;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcf9;
}

.row-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-weight: 900;
}

.row-icon.shield { background: #dcebe5; color: #0f6b55; }
.row-icon.filings { background: #ffe7df; color: #bb4b30; }
.row-icon.growth { background: #e0eef9; color: #2b6f9f; }
.row-icon.signal { background: #fff0c9; color: #9a6b00; }

.report-row small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 900;
}

.report-row strong {
  display: block;
  margin-top: 2px;
  line-height: 1.2;
}

.report-row b {
  color: var(--accent);
  font-size: 14px;
  text-align: right;
}

.report-foot {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.report-foot span {
  font-weight: 900;
}

.report-foot p {
  margin: 0;
  line-height: 1.45;
}

.eyebrow,
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
}

.kicker-light {
  color: #b7d5ca;
}

.hub-hero h1,
.content-title {
  font-size: clamp(44px, 7vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin: 14px 0 24px;
  max-width: 950px;
}

main h2 {
  font-size: 34px;
  letter-spacing: -0.025em;
  margin: 8px 0 12px;
  line-height: 1.15;
}

main h3 {
  margin: 4px 0 8px;
  font-size: 18px;
}

.lead {
  font-size: 20px;
  color: var(--muted);
  max-width: 760px;
}

.lead-tight {
  font-size: 22px;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.btn,
.button-primary,
.button-secondary,
.button-ghost {
  padding: 11px 17px;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: white;
  color: var(--ink);
  text-decoration: none;
}

.btn.primary,
.button-primary {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.btn-light,
.button-primary.light {
  display: inline-flex;
  background: white;
  color: var(--ink);
  border-color: white;
}

.link-arrow {
  font-size: 0.95em;
  line-height: 1;
  transition: transform 0.2s ease;
}

.btn:hover .link-arrow,
.smalllink:hover .link-arrow {
  transform: translateX(3px);
}

.sub {
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 32px;
}

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

.grid-single {
  grid-template-columns: 1fr;
}

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 23px;
  background: white;
  box-shadow: none;
}

.card p {
  color: var(--muted);
  margin: 0;
}

.flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 28px;
}

.step {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 10px;
  text-align: center;
  font-weight: 750;
  font-size: 14px;
}

.step.future {
  border-style: dashed;
  color: var(--muted);
}

.rq {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: start;
}

.status {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  background: var(--soft);
}

.status dl {
  margin: 0;
}

.status dt {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 13px;
}

.status dd {
  margin: 2px 0;
  font-weight: 700;
}

.badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 800;
}

.evidence,
.latest,
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.evidence {
  gap: 18px;
}

.mock {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: var(--soft);
}

.mockbar {
  height: 15px;
  width: 38%;
  background: #cbd5cf;
  border-radius: 4px;
  margin-bottom: 13px;
}

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

.mockbox {
  height: 85px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mockpanel {
  height: 130px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 9px;
}

.meta {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.plot-meta {
  margin-top: 10px;
}

.smalllink {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}

.collab {
  background: var(--ink);
  color: white;
  border-radius: 18px;
  padding: 36px;
}

.collab p {
  color: #cbd5d0;
  max-width: 720px;
}

@media (max-width: 960px) {
  .rq,
  .evidence,
  .latest,
  .showcase {
    grid-template-columns: 1fr;
  }

  .flow {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 800px) {
  .wrap {
    --page-gutter: 20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav {
    flex-wrap: wrap;
    padding: 12px var(--page-gutter);
  }

  .brand {
    max-width: calc(100% - 82px);
    font-size: 0.9rem;
    letter-spacing: 0.03em;
  }

  .navtoggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .navlinks {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    flex-basis: 100%;
    width: 100%;
    padding: 12px 0 4px;
    border-top: 1px solid var(--line);
  }

  .navlinks.is-open {
    display: flex;
  }

  .navlinks a,
  .navlinks .link-button {
    display: block;
    padding: 12px 14px;
    text-align: left;
  }

  .grid3,
  .mockrow {
    grid-template-columns: 1fr;
  }

  .flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .hub-hero {
    padding-top: 60px;
  }

  .hero-report-layout {
    grid-template-columns: 1fr;
  }

  .report-preview {
    max-width: 480px;
  }
}
