:root {
  --ink: #172322;
  --muted: #5b6c69;
  --deep: #082322;
  --deep-2: #102f2d;
  --line: #d8e6e2;
  --soft: #eef6f3;
  --paper: #ffffff;
  --mint: #55d6c2;
  --amber: #f1b15b;
  --shadow: 0 22px 70px rgba(13, 39, 37, .16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 76px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.site-header.is-scrolled {
  top: 12px;
  height: 64px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: rgba(8, 35, 34, .82);
  backdrop-filter: blur(18px);
}

.brand,
.main-nav,
.hero-actions,
.hero-stats,
.feature,
.workflow li,
.final-box {
  display: flex;
  align-items: center;
}

.brand {
  text-decoration: none;
}

.brand-logo {
  width: 156px;
  max-height: 48px;
  height: auto;
  transition: width .2s ease, max-height .2s ease;
}

.site-header.is-scrolled .brand-logo {
  width: 128px;
  max-height: 38px;
}

.main-nav {
  gap: 20px;
}

.main-nav a {
  color: rgba(255, 255, 255, .86);
  text-decoration: none;
  font-weight: 750;
  font-size: .94rem;
}

.main-nav a:hover {
  color: var(--mint);
}

.nav-login {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 10px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  padding: 10px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  border-radius: 99px;
}

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 24, 24, .94) 0%, rgba(4, 24, 24, .78) 34%, rgba(4, 24, 24, .18) 72%, rgba(4, 24, 24, .05) 100%),
    linear-gradient(180deg, rgba(4, 24, 24, .1) 0%, rgba(4, 24, 24, .74) 100%);
}

.hero-content,
.hero-stats,
.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-content {
  padding: 190px 0 36px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin: 0;
  font-size: 4rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 1.16rem;
  line-height: 1.6;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 850;
}

.button-primary {
  background: var(--mint);
  color: #062322;
}

.button-primary:hover {
  background: #7ee5d6;
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  background: rgba(255, 255, 255, .06);
}

.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 56px;
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  background: rgba(5, 35, 34, .48);
  backdrop-filter: blur(14px);
}

.hero-stats article {
  padding: 18px 22px;
  background: rgba(255, 255, 255, .06);
}

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

.hero-stats strong {
  font-size: 1.5rem;
}

.hero-stats span {
  margin-top: 4px;
  color: rgba(255, 255, 255, .72);
  font-size: .86rem;
}

.section {
  padding: 82px 0;
}

.section-soft {
  background: var(--soft);
}

.section-dark {
  background: var(--deep);
  color: #f7faf9;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: 2.35rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-text,
.module-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-dark .section-text {
  color: rgba(255, 255, 255, .76);
}

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

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

.feature {
  min-height: 246px;
  align-items: flex-start;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 8px 28px rgba(23, 35, 34, .05);
}

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #ddf5ef;
  color: #0f766e;
  font-size: .82rem;
  font-weight: 950;
  letter-spacing: 0;
}

.feature h3 {
  margin: 20px 0 10px;
  font-size: 1.06rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: .95rem;
}

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

.module-list span {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: #243735;
  font-weight: 800;
  font-size: .9rem;
}

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

.workflow li {
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
}

.workflow span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--amber);
  color: #132725;
  font-weight: 950;
}

.workflow p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  line-height: 1.5;
}

.final-cta {
  padding: 58px 0;
}

.final-box {
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.final-box h2 {
  max-width: 760px;
}

.final-logo {
  width: 176px;
  height: auto;
  margin-bottom: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  h1 {
    font-size: 3rem;
  }

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

  .split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 720px) {
  .site-header {
    width: min(100% - 28px, 1180px);
    height: 68px;
  }

  .menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(300px, calc(100vw - 28px));
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 14px;
    background: rgba(8, 35, 34, .96);
    box-shadow: 0 20px 70px rgba(0, 0, 0, .28);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 12px;
  }

  .brand-logo {
    width: 132px;
    max-height: 40px;
  }

  .site-header.is-scrolled .brand-logo {
    width: 118px;
    max-height: 34px;
  }

  .nav-login {
    border-color: rgba(255, 255, 255, .16);
  }

  .hero {
    min-height: 94svh;
  }

  .hero-content,
  .hero-stats,
  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero-content {
    padding-top: 140px;
  }

  h1 {
    font-size: 2.25rem;
    line-height: 1.08;
  }

  h2 {
    font-size: 1.85rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-stats,
  .feature-grid,
  .module-list {
    grid-template-columns: 1fr;
  }

  .hero-stats article {
    padding: 14px 16px;
  }

  .section {
    padding: 58px 0;
  }

  .feature {
    min-height: 0;
  }

  .final-box {
    align-items: stretch;
    flex-direction: column;
    padding: 24px;
  }

  .final-box .button {
    width: 100%;
  }
}
