:root {
  color-scheme: light;
  --ink: #101412;
  --muted: #52616f;
  --line: #d9e1e8;
  --paper: #f5f7fa;
  --white: #ffffff;
  --navy: #0a2342;
  --navy-deep: #07182d;
  --ice: #e6edf5;
  --copper: #d97706;
  --gold: #f59e0b;
  --blue: #375a7f;
  --shadow: 0 24px 80px rgba(5, 20, 38, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 40px rgba(5, 20, 38, 0.08);
  color: var(--ink);
  backdrop-filter: blur(18px);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 40px rgba(5, 20, 38, 0.1);
  color: var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 230px;
}

.brand-logo {
  width: 224px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: var(--radius);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(10, 35, 66, 0.1);
  outline: none;
}

.site-nav .nav-cta {
  margin-left: 8px;
  background: var(--navy);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  color: currentColor;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 148px clamp(20px, 5vw, 72px) 80px;
  background: var(--navy-deep);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 18, 35, 0.96) 0%, rgba(5, 18, 35, 0.82) 46%, rgba(5, 18, 35, 0.3) 100%),
    linear-gradient(180deg, rgba(5, 18, 35, 0.24), rgba(5, 18, 35, 0.74));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 24vh;
  background: linear-gradient(180deg, rgba(247, 249, 248, 0), var(--paper));
}

.hero-media {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center end;
  padding-right: clamp(8px, 5vw, 92px);
}

.hero-page {
  position: absolute;
  width: min(42vw, 510px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform-origin: center;
}

.hero-page-main {
  right: clamp(12px, 4vw, 72px);
  top: 15vh;
  z-index: 3;
  transform: rotate(1deg);
}

.hero-page-side {
  right: clamp(-24px, 1vw, 28px);
  top: 24vh;
  z-index: 2;
  transform: rotate(7deg) scale(0.9);
}

.hero-page-back {
  right: clamp(110px, 14vw, 240px);
  top: 28vh;
  z-index: 1;
  transform: rotate(-7deg) scale(0.82);
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 610px;
}

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

.hero .eyebrow {
  color: #fbbf24;
}

h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3.4rem, 7.2vw, 5.9rem);
  line-height: 0.92;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}

h2 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(2rem, 5vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.22;
  letter-spacing: 0;
}

h4 {
  margin: 0 0 6px;
  color: var(--navy-deep);
  font-size: 0.98rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 590px;
  margin: 28px 0 0;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.13;
  font-weight: 800;
}

.hero-support {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.06rem;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1.1;
}

.button-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(10, 35, 66, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #061b33;
  outline: none;
}

.button-secondary {
  background: var(--white);
  color: var(--navy-deep);
  border-color: rgba(10, 35, 66, 0.14);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--navy);
  outline: none;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 850px;
  margin: 54px 0 0;
}

.hero-proof div {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-proof dt {
  font-weight: 900;
}

.hero-proof dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.trust-strip {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: -36px clamp(20px, 5vw, 72px) 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(5, 20, 38, 0.1);
  overflow: hidden;
}

.trust-strip p {
  margin: 0;
  padding: 22px;
  background: var(--white);
  color: var(--navy-deep);
  font-weight: 900;
  text-align: center;
}

.section {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  margin-bottom: 42px;
}

.section-heading.compact {
  display: block;
  max-width: 900px;
}

.section-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.report-showcase .section-heading {
  max-width: 1320px;
  margin-right: auto;
  margin-left: auto;
}

.report-lab {
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(360px, 0.75fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  max-width: 1320px;
  margin: 0 auto;
}

.report-preview {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(5, 20, 38, 0.1);
  overflow: hidden;
}

.report-preview-top {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--navy-deep);
  font-size: 0.88rem;
  font-weight: 900;
}

.report-preview-top a {
  color: var(--copper);
}

.document-frame {
  display: grid;
  place-items: start center;
  max-height: 760px;
  padding: clamp(16px, 3vw, 34px);
  background:
    linear-gradient(180deg, rgba(230, 237, 245, 0.7), rgba(255, 255, 255, 0)),
    #f3f6fa;
  overflow: hidden;
}

.document-frame img {
  width: min(100%, 560px);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(5, 20, 38, 0.18);
}

.report-preview figcaption,
.closeout-preview figcaption {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-top: 1px solid var(--line);
}

.report-preview strong {
  color: var(--navy-deep);
  font-size: 1.02rem;
}

.report-preview span,
.closeout-preview figcaption {
  color: var(--muted);
  font-size: 0.92rem;
}

.sample-stack {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.sample-stack-heading {
  padding: 4px 0 18px;
}

.sample-stack-heading h3 {
  max-width: 520px;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.06;
}

.sample-row {
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.sample-row img {
  width: 152px;
  height: 114px;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  object-fit: cover;
  object-position: top center;
}

.sample-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.sample-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.workflow {
  background: var(--white);
}

.workflow-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 410px);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
  margin-top: 42px;
}

.workflow-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.workflow-list li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 18px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.workflow-list span {
  color: var(--copper);
  font-weight: 900;
}

.workflow-list p,
.feature-grid p,
.use-case-grid p,
.pricing p {
  margin: 0;
  color: var(--muted);
}

.closeout-preview {
  position: sticky;
  top: 102px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 16px 44px rgba(5, 20, 38, 0.1);
  overflow: hidden;
}

.closeout-preview img {
  width: 100%;
  height: auto;
}

.features {
  background:
    linear-gradient(90deg, rgba(10, 35, 66, 0.1), rgba(245, 158, 11, 0.12)),
    var(--paper);
}

.feature-grid,
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 40px;
}

.feature-grid article,
.use-case-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.feature-grid article:nth-child(2) {
  border-top: 4px solid var(--copper);
}

.feature-grid article:nth-child(3) {
  border-top: 4px solid var(--gold);
}

.feature-grid article:nth-child(4) {
  border-top: 4px solid var(--blue);
}

.sample-downloads {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
  background: var(--navy-deep);
  color: var(--white);
}

.sample-downloads .eyebrow {
  color: #fbbf24;
}

.download-list {
  display: grid;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
}

.download-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.download-list a::after {
  content: "Download";
  color: #fbbf24;
  font-size: 0.84rem;
  font-weight: 900;
}

.download-list a:last-child {
  border-bottom: 0;
}

.download-list a:hover,
.download-list a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.download-list span {
  color: rgba(255, 255, 255, 0.7);
}

.pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  background: var(--white);
}

.pricing-copy p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 22px;
  font-size: 1.05rem;
}

.pricing-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(5, 20, 38, 0.1);
}

.plan-label {
  color: var(--navy);
  font-weight: 900;
}

.price {
  margin: 10px 0 22px;
  color: var(--ink);
  font-size: 2.6rem;
  font-weight: 950;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

.pricing-panel ul {
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.pricing-panel li {
  position: relative;
  padding-left: 24px;
}

.pricing-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--navy);
}

.final-cta {
  display: grid;
  justify-items: center;
  padding: clamp(72px, 10vw, 118px) 20px;
  text-align: center;
}

.final-cta img {
  margin-bottom: 22px;
}

.final-cta h2 {
  max-width: 820px;
}

.final-cta p {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.site-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--white);
}

.site-footer p {
  margin: 12px 0 0;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 20px;
  color: var(--navy-deep);
  font-weight: 800;
}

.legal-page {
  background: var(--white);
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.legal-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--navy);
  font-weight: 800;
}

.legal-main {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.legal-main h1 {
  color: var(--ink);
  font-size: clamp(2.75rem, 8vw, 4.75rem);
  line-height: 0.98;
}

.legal-main h2 {
  margin-top: 44px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.1;
}

.legal-main p,
.legal-main li {
  color: var(--muted);
}

.legal-main a {
  color: var(--navy);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.legal-updated {
  margin-top: 18px;
  font-weight: 800;
}

@media (max-width: 1040px) {
  .hero-page {
    width: min(43vw, 420px);
    opacity: 0.72;
  }

  .hero-copy {
    max-width: 590px;
  }

  .report-lab,
  .feature-grid,
  .use-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .sample-stack {
    border-top: 0;
  }
}

@media (max-width: 820px) {
  .site-header {
    height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 68px 14px auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 14px;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .hero {
    min-height: 86vh;
    padding-top: 112px;
    padding-bottom: 64px;
  }

  .hero-media {
    place-items: end;
    opacity: 0.48;
    padding-right: 0;
  }

  .hero-page {
    width: 68vw;
  }

  .hero-page-main {
    right: -12vw;
    top: 14vh;
  }

  .hero-page-side,
  .hero-page-back {
    display: none;
  }

  .hero-proof,
  .trust-strip,
  .section-heading,
  .workflow-layout,
  .sample-downloads,
  .pricing {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin-top: 0;
  }

  .closeout-preview {
    position: static;
    max-width: 430px;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: auto;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-actions,
  .final-cta .hero-actions {
    display: grid;
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .hero-proof,
  .feature-grid,
  .use-case-grid {
    grid-template-columns: 1fr;
  }

  .document-frame {
    max-height: 560px;
    padding: 14px;
  }

  .sample-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sample-row img {
    width: 100%;
    height: min(56vw, 240px);
    aspect-ratio: 16 / 9;
  }

  .sample-actions {
    grid-template-columns: 1fr;
  }

  .trust-strip p {
    padding: 16px;
  }

  .workflow-list li {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .download-list a {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
    align-items: start;
  }

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