:root {
  --ink: #171915;
  --muted: #5f665d;
  --paper: #f6f7f2;
  --line: #dfe3dc;
  --forest: #0c5f4e;
  --forest-dark: #173b32;
  --amber: #b66b1f;
  --brick: #8e3434;
  --charcoal: #11150f;
  --light-text: #f4f5ef;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
}

body,
button,
input,
textarea {
  font: inherit;
}

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

main {
  overflow: hidden;
}

p {
  margin: 0;
  line-height: 1.625;
}

.content-width {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(74px, 10vw, 128px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: start;
}

.white-section {
  background: #ffffff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: clamp(1.02rem, 1.15vw, 1.12rem);
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow-hero {
  color: #f0b45f;
}

.hero-title,
.section-title,
.card-title {
  margin-top: 0;
  letter-spacing: 0;
}

.hero-title {
  max-width: 13.2ch;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: clamp(2.95rem, 5.4vw, 5.15rem);
  font-weight: 700;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-title span {
  display: block;
  white-space: nowrap;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 24px;
  color: rgba(244, 245, 239, 0.85);
  font-size: clamp(1.04rem, 1.5vw, 1.24rem);
}

.section-title {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.25rem);
  font-weight: 700;
  line-height: 1;
  text-wrap: balance;
}

.copy-large {
  max-width: 720px;
  font-size: clamp(1.06rem, 2vw, 1.35rem);
}

.copy-muted,
.card p,
.signal-list li,
.expansion-card p {
  color: var(--muted);
}

.copy-on-dark,
.trust-card p {
  color: rgba(243, 245, 239, 0.75);
}

.card-title {
  margin-bottom: 10px;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  font-weight: 700;
  line-height: 1.25;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 800;
}

.button-primary {
  background: var(--forest);
  color: #ffffff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #0e705c;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.15);
}

.hero {
  --hero-slant-depth: clamp(64px, 9svh, 110px);

  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: calc(100svh + var(--hero-slant-depth));
  overflow: hidden;
  padding: 24px clamp(18px, 4vw, 64px)
    calc(clamp(42px, 6svh, 58px) + var(--hero-slant-depth));
  color: var(--light-text);
  background: var(--charcoal);
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: var(--hero-slant-depth);
  content: "";
  background: var(--paper);
  clip-path: polygon(0 100%, 100% 0, 100% 100%, 0% 100%);
  pointer-events: none;
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 36%, rgba(12, 95, 78, 0.24), transparent 30%),
    radial-gradient(circle at 90% 82%, rgba(182, 107, 31, 0.12), transparent 28%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size:
    auto,
    auto,
    72px 72px,
    72px 72px;
}

.collaboration-visual {
  position: absolute;
  display: grid;
  grid-template-columns: minmax(110px, 0.8fr) minmax(190px, 1.12fr) minmax(118px, 0.82fr);
  gap: 18px;
  align-items: center;
  width: min(45vw, 590px);
  right: clamp(32px, 6vw, 96px);
  top: 52%;
  transform: translateY(-45%);
}

.collaboration-visual::before {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(185, 211, 192, 0.46), transparent);
}

.visual-column {
  display: grid;
  gap: 12px;
}

.visual-column-left {
  transform: translateY(-18px);
}

.visual-column-right {
  transform: translateY(18px);
}

.visual-item,
.visual-core {
  border: 1px solid rgba(237, 241, 228, 0.2);
  border-radius: 8px;
  background: rgba(13, 23, 17, 0.82);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.visual-item {
  display: grid;
  min-height: 74px;
  align-content: center;
  gap: 4px;
  padding: 14px;
}

.visual-item-output {
  border-color: rgba(182, 107, 31, 0.42);
}

.visual-core {
  position: relative;
  display: grid;
  min-height: 188px;
  place-content: center;
  gap: 8px;
  padding: 26px;
  border-color: rgba(53, 190, 146, 0.58);
  text-align: center;
}

.visual-core::before,
.visual-core::after {
  position: absolute;
  width: 16px;
  height: 16px;
  content: "";
  border-radius: 999px;
}

.visual-core::before {
  left: -8px;
  top: 36px;
  background: var(--amber);
}

.visual-core::after {
  right: -8px;
  bottom: 36px;
  background: var(--forest);
}

.visual-item span,
.visual-core span,
.visual-core small {
  color: rgba(244, 245, 239, 0.66);
  font-size: 0.78rem;
}

.visual-item strong,
.visual-core strong {
  color: #ffffff;
}

.visual-item strong {
  font-size: 0.98rem;
}

.visual-core strong {
  font-size: clamp(1.18rem, 1.8vw, 1.65rem);
  line-height: 1.2;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 700;
}

.brand-mark {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 2px solid #ffffff;
  border-radius: 4px;
  background: var(--forest);
  box-shadow: 8px 8px 0 var(--amber);
}

.nav-links {
  display: flex;
  gap: 24px;
  color: rgba(244, 245, 239, 0.7);
  font-size: 0.94rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #ffffff;
}

.hero-content {
  align-self: center;
  width: min(600px, 45%);
  padding-block: clamp(42px, 7vh, 82px) clamp(18px, 4vh, 34px);
}

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

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.workflow-card {
  min-height: 260px;
  padding: 24px;
}

.step-number {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 8px;
  background: var(--forest-dark);
  color: #ffffff;
  font-weight: 800;
}

.signal-band {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 24px;
  margin-top: 20px;
  padding: 28px;
  border: 1px solid #d7d8d2;
  border-radius: 8px;
  background: #f4f5ef;
}

.signal-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.signal-list li {
  padding: 14px 16px;
  border-left: 4px solid var(--amber);
  background: #ffffff;
  font-weight: 700;
}

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

.expansion-card {
  min-height: 210px;
  padding: 24px;
  border-top-width: 6px;
}

.accent-forest {
  border-top-color: var(--forest);
}

.accent-brick {
  border-top-color: var(--brick);
}

.accent-amber {
  border-top-color: var(--amber);
}

.accent-dark {
  border-top-color: var(--forest-dark);
}

.trust-section {
  background: var(--forest-dark);
  color: #f3f5ef;
}

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

.trust-card {
  min-height: 180px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.trust-card .card-title {
  color: #ffffff;
}

.text-link {
  display: inline-flex;
  margin-top: 28px;
  color: #f0b45f;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .collaboration-visual {
    opacity: 0.24;
    right: -120px;
    width: 520px;
  }

  .split-layout,
  .signal-band {
    grid-template-columns: 1fr;
  }

  .workflow-grid,
  .expansion-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    --hero-slant-depth: clamp(56px, 8svh, 82px);

    height: calc(100svh + var(--hero-slant-depth));
    padding-top: 20px;
    padding-bottom: calc(40px + var(--hero-slant-depth));
  }

  .hero-content {
    padding-block: 58px 18px;
  }

  .hero-title {
    max-width: 11ch;
    margin-bottom: 18px;
    font-size: clamp(2.55rem, 12vw, 3.35rem);
  }

  .hero-title span {
    display: inline;
    white-space: normal;
  }

  .hero-copy {
    margin-bottom: 22px;
    font-size: 1.03rem;
  }

  .section-title {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .collaboration-visual {
    display: none;
  }

  .workflow-card,
  .expansion-card,
  .signal-band {
    padding: 20px;
  }

  .signal-list,
  .trust-grid {
    grid-template-columns: 1fr;
  }
}
