:root {
  color-scheme: light;
  --ink: #101820;
  --muted: #5f6b78;
  --navy: #1d3557;
  --teal: #2a9d8f;
  --coral: #e65045;
  --gold: #eeaa3a;
  --paper: #f6f8f8;
  --line: #dbe2e7;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(246, 248, 248, 0.92);
  border-bottom: 1px solid rgba(219, 226, 231, 0.8);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  color: var(--navy);
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav a {
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: white;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--navy);
}

.hero {
  display: grid;
  grid-template-columns: minmax(520px, 0.82fr) minmax(520px, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: clamp(44px, 7vw, 96px) clamp(20px, 5vw, 72px) 48px;
}

.hero > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(3.1rem, 6.2vw, 5.8rem);
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

h3 {
  font-size: 1.25rem;
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.42rem);
}

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

.hero-media {
  min-width: 0;
  justify-self: end;
  width: 100%;
  max-width: 980px;
}

.hero-media img,
.screenshot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(20, 32, 44, 0.14);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(20px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.trust-item {
  min-height: 122px;
  padding: 24px;
  background: var(--white);
}

.trust-item strong {
  display: block;
  color: var(--navy);
  font-size: 1.5rem;
}

.trust-item span {
  color: var(--muted);
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.section.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.lead {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.18rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.feature {
  min-height: 188px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature p,
.split-card p,
.policy-card p,
.definition-card p,
.download-card span,
.finding p,
.legal-page p,
.legal-page li {
  color: var(--muted);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.step {
  padding: 22px;
  border-top: 5px solid var(--teal);
  border-radius: 8px;
  background: var(--white);
}

.step:nth-child(2) {
  border-color: var(--gold);
}

.step:nth-child(3) {
  border-color: var(--coral);
}

.step-number {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  margin-top: 34px;
}

.screenshot {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: center;
}

.screenshot:nth-child(even) {
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
}

.screenshot:nth-child(even) img {
  order: 2;
}

.caption {
  padding: 28px;
}

.caption p {
  color: var(--muted);
  font-size: 1.04rem;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.split-card,
.policy-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.list li::before {
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.term {
  display: inline;
  border-bottom: 2px dotted var(--teal);
  color: var(--navy);
  font-weight: 800;
  cursor: help;
}

.term:focus {
  outline: 3px solid rgba(42, 157, 143, 0.3);
  outline-offset: 3px;
  border-radius: 4px;
}

.term-popover {
  position: absolute;
  z-index: 30;
  display: none;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(16, 24, 32, 0.18);
}

.term-popover.is-visible {
  display: grid;
  gap: 10px;
}

.term-popover strong {
  color: var(--navy);
  font-size: 1.08rem;
}

.term-popover span {
  color: var(--muted);
}

.popover-link,
.text-link {
  display: inline-flex;
  width: fit-content;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.definition-list {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.definition-card {
  scroll-margin-top: 96px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.definition-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.definition-short {
  font-size: 1.16rem;
  font-weight: 800;
}

.report-downloads {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 34px 0;
}

.download-card {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  text-decoration: none;
}

.download-card strong {
  color: var(--navy);
  font-size: 1.25rem;
}

.sample-report {
  padding-top: 24px;
}

.finding {
  margin: 24px 0;
  padding: 24px;
  border-left: 6px solid var(--teal);
  border-radius: 8px;
  background: var(--white);
}

.finding:nth-of-type(2n) {
  border-left-color: var(--gold);
}

.cta {
  margin: 0 clamp(20px, 5vw, 72px) clamp(56px, 8vw, 96px);
  padding: clamp(30px, 6vw, 64px);
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
}

.cta h2 {
  color: var(--white);
}

.cta p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.18rem;
}

.cta .button {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.legal-page {
  max-width: 980px;
  padding: clamp(44px, 7vw, 88px) clamp(20px, 5vw, 72px);
}

.legal-page h1 {
  max-width: 14ch;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
}

.legal-page h2 {
  margin-top: 44px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.legal-page h3 {
  margin-top: 28px;
}

.legal-page ul {
  padding-left: 22px;
}

.notice {
  margin: 26px 0;
  padding: 18px 20px;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero,
  .section.intro,
  .screenshot,
  .screenshot:nth-child(even),
  .split {
    grid-template-columns: 1fr;
  }

  .screenshot:nth-child(even) img {
    order: 0;
  }

  .feature-grid,
  .workflow,
  .report-downloads,
  .trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 32px;
  }

  h1 {
    font-size: 3.2rem;
  }

  .feature-grid,
  .workflow,
  .report-downloads,
  .trust-row {
    grid-template-columns: 1fr;
  }

  .caption {
    padding: 8px 0 0;
  }
}
