:root {
  --ink: #07161d;
  --ink-soft: #123040;
  --paper: #f7faf9;
  --paper-strong: #ffffff;
  --line: #d8e5e7;
  --muted: #617383;
  --green: #a8e25a;
  --teal: #0b7b73;
  --blue: #1469a6;
  --amber: #f2b84b;
  --shadow: 0 26px 70px rgba(7, 22, 29, 0.18);
  --shadow-soft: 0 16px 44px rgba(7, 22, 29, 0.11);
}

* {
  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;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(7, 22, 29, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 22, 29, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  z-index: -1;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--green);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  width: min(1120px, calc(100% - 32px));
  transform: translateX(-50%);
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 68px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 14px;
  background: rgba(247, 250, 249, 0.78);
  box-shadow: 0 16px 46px rgba(7, 22, 29, 0.14);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 70px;
  height: 42px;
  object-fit: contain;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a,
.nav-cta,
.button {
  text-decoration: none;
}

.nav-links a:focus-visible,
.nav-cta:focus-visible,
.button:focus-visible {
  outline: 3px solid rgba(20, 105, 166, 0.45);
  outline-offset: 3px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--green);
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(168,226,90,0.24);
}

.hero {
  position: relative;
  min-height: 820px;
  display: grid;
  align-items: center;
  padding: 150px 24px 80px;
  overflow: hidden;
  color: #f8fbfa;
  background:
    radial-gradient(circle at 18% 26%, rgba(168,226,90,0.22), transparent 34%),
    radial-gradient(circle at 78% 12%, rgba(20,105,166,0.26), transparent 32%),
    linear-gradient(115deg, rgba(7, 22, 29, 0.98), rgba(7, 22, 29, 0.78) 48%, rgba(13, 52, 61, 0.92)),
    var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 88px);
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

.hero-scene {
  position: absolute;
  inset: 0;
  opacity: 0.92;
}

.scene-grid {
  position: absolute;
  right: 5%;
  top: 120px;
  width: min(720px, 58vw);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  transform: rotate(-2deg);
}

.scene-panel {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 30px 80px rgba(0,0,0,0.22);
  backdrop-filter: blur(16px);
  padding: 22px;
}

.scene-panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent 42%);
  opacity: 0.58;
}

.scene-panel > * {
  position: relative;
  z-index: 1;
}

.scene-panel-large {
  grid-row: span 2;
  min-height: 500px;
}

.panel-topline,
.metric-row,
.paper-meta,
.site-footer {
  color: rgba(255,255,255,0.72);
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 14px;
}

.panel-topline strong {
  color: #fff;
}

.risk-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}

.risk-map span {
  aspect-ratio: 1;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(168,226,90,0.9), rgba(20,105,166,0.8));
  opacity: 0.82;
}

.risk-map span:nth-child(2n) {
  background: linear-gradient(145deg, rgba(242,184,75,0.92), rgba(11,123,115,0.82));
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric-row div {
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  background: rgba(0,0,0,0.16);
}

.metric-row strong {
  display: block;
  color: #fff;
  font-size: 32px;
  line-height: 1;
}

.metric-row span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
}

.document-panel {
  min-height: 248px;
}

.doc-label {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--green);
  color: var(--ink);
  font-weight: 900;
}

.doc-line {
  display: block;
  height: 10px;
  width: 78%;
  margin-top: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.28);
}

.doc-line.wide {
  width: 100%;
}

.doc-line.short {
  width: 54%;
}

.doc-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 24px;
}

.doc-table span,
.qr-shape i {
  display: block;
  min-height: 22px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.12);
}

.qr-panel strong {
  display: block;
  margin: 8px 0 18px;
  font-size: 28px;
  color: #fff;
}

.qr-shape {
  display: grid;
  grid-template-columns: repeat(3, 28px);
  gap: 8px;
}

.qr-shape i:nth-child(odd) {
  background: var(--green);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(840px, 100%);
  margin-left: max(0px, calc((100% - 1120px) / 2));
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--green);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.02;
  font-weight: 950;
}

h2 {
  margin-bottom: 18px;
  font-size: 44px;
  line-height: 1.08;
  font-weight: 950;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.15;
}

.hero-copy {
  max-width: 690px;
  color: rgba(248,251,250,0.84);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--green);
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(168,226,90,0.24);
}

.button-secondary {
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}

.button-dark {
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 780px;
  margin-top: 28px;
}

.hero-proof div {
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  color: #fff;
  font-size: 16px;
}

.hero-proof span {
  margin-top: 8px;
  color: rgba(248,251,250,0.7);
  font-size: 14px;
  line-height: 1.45;
}

.trust-strip {
  width: min(1120px, calc(100% - 32px));
  margin: -42px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.trust-strip div {
  min-height: 118px;
  padding: 24px;
  background: #fff;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--blue);
  font-size: 30px;
}

.trust-strip span {
  margin-top: 8px;
  color: var(--muted);
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 110px 0 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading p:not(.eyebrow),
.document-copy p,
.closing-cta p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.commercial-value {
  padding-top: 96px;
}

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

.value-grid article {
  min-height: 300px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.78)),
    var(--paper-strong);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.value-grid article:nth-child(2) {
  background:
    linear-gradient(145deg, rgba(7,22,29,0.98), rgba(18,48,64,0.94)),
    var(--ink);
  color: #fff;
}

.value-grid article:nth-child(2) p {
  color: rgba(248,251,250,0.72);
}

.value-grid article:nth-child(3) {
  background:
    linear-gradient(145deg, rgba(232,244,255,0.9), rgba(255,255,255,0.86)),
    var(--paper-strong);
}

.value-grid article:hover,
.feature-grid article:hover,
.psy-grid article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.value-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 22px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(11,123,115,0.12);
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.value-grid article:nth-child(2) .value-label {
  background: rgba(168,226,90,0.16);
  color: var(--green);
}

.value-grid h3 {
  font-size: 28px;
}

.value-grid p {
  color: var(--muted);
  line-height: 1.65;
}

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

.feature-grid article,
.psy-grid article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 18px 48px rgba(7, 22, 29, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--green);
  font-weight: 950;
}

.feature-grid p,
.psy-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.document-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding-left: 30px;
  position: relative;
  color: var(--ink-soft);
  font-weight: 750;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--green);
  box-shadow: inset 0 0 0 3px rgba(7,22,29,0.16);
}

.document-preview {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, #e9f3f4, #ffffff);
  box-shadow: var(--shadow);
}

.paper {
  min-height: 560px;
  padding: 42px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 14px 40px rgba(7,22,29,0.12);
}

.paper-title {
  color: var(--ink);
  font-size: 28px;
  line-height: 1.1;
  font-weight: 950;
}

.paper-meta {
  margin-top: 8px;
  color: var(--muted);
}

.paper-table {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr;
  margin-top: 34px;
  border: 1px solid var(--line);
  font-size: 14px;
}

.paper-table span {
  min-height: 58px;
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.paper-table span:nth-child(-n + 3) {
  background: #eaf4ff;
  color: var(--ink);
  font-weight: 900;
}

.psychosocial {
  padding-bottom: 18px;
}

.psy-grid article {
  min-height: 220px;
  background: var(--ink);
  color: #fff;
}

.psy-grid strong {
  font-size: 26px;
}

.psy-grid p {
  color: rgba(255,255,255,0.72);
}

.demo-flow {
  padding-top: 92px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.timeline li {
  min-height: 260px;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.timeline li:last-child {
  border-right: 0;
}

.timeline span {
  display: block;
  margin-bottom: 54px;
  color: var(--blue);
  font-size: 32px;
  font-weight: 950;
}

.timeline p {
  color: var(--muted);
  line-height: 1.65;
}

.closing-cta {
  width: min(1120px, calc(100% - 32px));
  margin: 112px auto 0;
  padding: 58px;
  border-radius: 22px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7,22,29,0.98), rgba(11,123,115,0.9)),
    var(--ink);
  box-shadow: var(--shadow);
}

.closing-cta .eyebrow {
  color: var(--green);
}

.closing-cta p {
  max-width: 700px;
  color: rgba(255,255,255,0.78);
}

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

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 48px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

@media (prefers-reduced-motion: no-preference) {
  .scene-panel {
    animation: panelRise 800ms ease both;
  }

  .document-panel {
    animation-delay: 100ms;
  }

  .qr-panel {
    animation-delay: 180ms;
  }

  @keyframes panelRise {
    from {
      opacity: 0;
      transform: translateY(22px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .brand span {
    display: none;
  }

  .hero {
    min-height: 820px;
    padding-top: 132px;
  }

  .scene-grid {
    right: -140px;
    top: 320px;
    width: 640px;
    opacity: 0.55;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 34px;
  }

  .trust-strip,
  .hero-proof,
  .value-grid,
  .feature-grid,
  .psy-grid,
  .document-section,
  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline li,
  .timeline li:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline li:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    gap: 10px;
    min-height: 62px;
  }

  .brand img {
    width: 62px;
    height: 38px;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 11px;
    font-size: 13px;
  }

  .hero {
    min-height: 780px;
    padding: 120px 18px 64px;
  }

  .hero-content {
    margin-left: 0;
  }

  h1 {
    font-size: 39px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-copy,
  .section-heading p:not(.eyebrow),
  .document-copy p,
  .closing-cta p {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button,
  .closing-actions {
    width: 100%;
  }

  .hero-proof div,
  .value-grid article {
    min-height: auto;
  }

  .section {
    padding-top: 82px;
  }

  .trust-strip {
    margin-top: -22px;
  }

  .feature-grid article,
  .psy-grid article,
  .value-grid article,
  .paper,
  .closing-cta {
    padding: 24px;
  }

  .paper {
    min-height: 460px;
  }

  .paper-table {
    grid-template-columns: 1fr;
  }

  .paper-table span {
    border-right: 0;
  }

  .site-footer {
    flex-direction: column;
  }
}
