:root {
  color-scheme: light;
  --bg: #e7dcc8;
  --bg-deep: #cdbd9e;
  --surface: rgba(252, 247, 239, 0.72);
  --surface-strong: rgba(255, 251, 245, 0.9);
  --surface-dark: rgba(20, 24, 18, 0.9);
  --ink: #141813;
  --muted: #465043;
  --line: rgba(20, 24, 19, 0.12);
  --moss: #29543c;
  --moss-soft: #4f7b5e;
  --amber: #c26f33;
  --cream: #fff7ed;
  --shadow: 0 28px 80px rgba(35, 27, 15, 0.14);
  --font-display: 'Space Grotesk', 'Avenir Next', 'Segoe UI', sans-serif;
  --font-body: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(194, 111, 51, 0.36), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(41, 84, 60, 0.2), transparent 26%),
    linear-gradient(180deg, #f3ebdb 0%, var(--bg) 42%, var(--bg-deep) 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.08));
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
ul {
  margin: 0;
}

.page-shell {
  position: relative;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 2rem;
}

.topbar {
  position: sticky;
  top: 1rem;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: min(100%, 980px);
  margin: 1rem auto 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(252, 247, 239, 0.74);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 36px rgba(34, 24, 14, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--moss), #173122);
  color: var(--cream);
  font-size: 0.95rem;
}

.topnav {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: calc(100svh - 5rem);
  padding: 5rem 0 2rem;
}

.eyebrow,
.mini-label,
.site-footer p:last-child {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--moss);
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.hero-copy h1,
.section-heading h2,
.workflow-intro h2,
.major-card h2 {
  font-family: var(--font-display);
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.hero-copy h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
  max-width: 12ch;
}

.lede,
.workflow-intro p,
.major-card p,
.feature-card p,
.workflow-step p,
.launch-card p,
.mock-card p {
  color: var(--muted);
  line-height: 1.6;
}

.lede {
  margin-top: 1.5rem;
  max-width: 60ch;
  font-size: 1.06rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 500;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--moss), #1c3828);
  color: var(--cream);
  box-shadow: 0 18px 34px rgba(34, 54, 43, 0.22);
  border-color: transparent;
}

.button-secondary {
  background: rgba(255, 251, 245, 0.7);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  margin-top: 1.75rem;
  list-style: none;
}

.hero-points li,
.chip-row span {
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.7);
  border: 1px solid rgba(20, 24, 19, 0.08);
  box-shadow: 0 8px 20px rgba(51, 40, 23, 0.06);
}

.hero-stage {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.halo {
  position: absolute;
  border-radius: 999px;
  filter: blur(20px);
  opacity: 0.9;
  animation: drift 14s ease-in-out infinite alternate;
}

.halo-one {
  width: 280px;
  height: 280px;
  background: rgba(194, 111, 51, 0.28);
  top: 6%;
  right: 8%;
}

.halo-two {
  width: 220px;
  height: 220px;
  background: rgba(41, 84, 60, 0.22);
  bottom: 2%;
  left: 4%;
  animation-duration: 17s;
}

.mock-window {
  position: relative;
  width: min(100%, 500px);
  padding: 1rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(24, 28, 21, 0.96), rgba(17, 20, 16, 0.92));
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 34px 90px rgba(23, 19, 12, 0.32);
  transform-style: preserve-3d;
  transition: transform 220ms ease;
}

.mock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.35rem 0.8rem;
  color: rgba(255, 247, 237, 0.78);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.mock-dots {
  display: flex;
  gap: 0.45rem;
}

.mock-dots span {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: rgba(255, 247, 237, 0.4);
}

.mock-layout {
  display: grid;
  gap: 0.9rem;
}

.mock-card {
  padding: 1.2rem;
  border-radius: 22px;
  background: rgba(255, 250, 242, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.accent-card {
  background: linear-gradient(135deg, rgba(41, 84, 60, 0.88), rgba(194, 111, 51, 0.52));
}

.accent-card h2 {
  margin: 0.45rem 0 0.8rem;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  line-height: 1.05;
  max-width: 12ch;
}

.card-title,
.feature-card h3,
.workflow-step h3,
.launch-card h3 {
  margin: 0.35rem 0 0.65rem;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.compact-card {
  display: grid;
  gap: 0.75rem;
}

.mini-label {
  color: inherit;
  opacity: 0.74;
  font-size: 0.72rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-row span {
  background: rgba(255, 247, 237, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.signal-strip {
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
  padding: 0.85rem 0 0.2rem;
}

.signal-strip::before,
.signal-strip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 20%;
  z-index: 1;
}

.signal-strip::before {
  left: 0;
  background: linear-gradient(90deg, rgba(18, 20, 17, 1), rgba(18, 20, 17, 0));
}

.signal-strip::after {
  right: 0;
  background: linear-gradient(270deg, rgba(18, 20, 17, 1), rgba(18, 20, 17, 0));
}

.signal-strip div {
  display: inline-flex;
  gap: 1.1rem;
  min-width: max-content;
  animation: ticker 18s linear infinite;
}

.signal-strip span {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 247, 237, 0.68);
}

.section-shell {
  padding: 4rem 0;
}

.section-heading,
.workflow-intro,
.major-card {
  max-width: 44rem;
}

.section-heading h2,
.workflow-intro h2,
.major-card h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
}

.feature-grid,
.launch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.feature-card,
.launch-card,
.workflow-step {
  padding: 1.35rem;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow: var(--shadow);
}

.workflow {
  display: grid;
  gap: 1.8rem;
}

.workflow-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.workflow-step span {
  display: inline-flex;
  width: 2.1rem;
  height: 2.1rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(41, 84, 60, 0.12);
  color: var(--moss);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.launch-grid {
  align-items: stretch;
}

.major-card {
  grid-column: span 3;
  background: linear-gradient(135deg, rgba(255, 251, 245, 0.9), rgba(240, 229, 211, 0.7));
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 1rem;
  border-top: 1px solid rgba(20, 24, 19, 0.1);
  color: var(--muted);
  font-size: 0.92rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes drift {
  from {
    transform: translate3d(-16px, -10px, 0) scale(1);
  }

  to {
    transform: translate3d(18px, 14px, 0) scale(1.08);
  }
}

@media (max-width: 960px) {
  .hero,
  .feature-grid,
  .workflow-rail,
  .launch-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .major-card {
    grid-column: auto;
  }

  .hero-copy h1 {
    max-width: 10ch;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 1.25rem, 100%);
  }

  .topbar {
    position: static;
    flex-direction: column;
    border-radius: 28px;
  }

  .topnav {
    width: 100%;
    justify-content: space-between;
  }

  .mock-window {
    border-radius: 22px;
  }

  .hero-stage {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}