:root {
  color-scheme: light;
  --ink: #241b14;
  --ink-soft: rgba(36, 27, 20, 0.68);
  --ink-faint: rgba(36, 27, 20, 0.46);
  --paper: #f8efe5;
  --paper-deep: #ead9c5;
  --cream: rgba(255, 250, 243, 0.76);
  --line: rgba(58, 43, 31, 0.14);
  --line-strong: rgba(58, 43, 31, 0.24);
  --coffee: #2b211a;
  --caramel: #c98757;
  --blue: #4f8cff;
  --green: #56b886;
  --shadow: 0 28px 80px rgba(83, 58, 37, 0.18);
  --display: "Avenir Next", "Trebuchet MS", sans-serif;
  --body: Charter, "Iowan Old Style", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 14% 16%, rgba(244, 200, 182, 0.62), transparent 30rem),
    radial-gradient(circle at 86% 70%, rgba(216, 191, 164, 0.52), transparent 34rem),
    linear-gradient(135deg, #fbf4eb 0%, #ead8c3 100%);
  color: var(--ink);
  font-family: var(--body);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: auto -14rem -16rem auto;
  width: 44rem;
  height: 44rem;
  border-radius: 50%;
  background: rgba(198, 137, 91, 0.14);
  filter: blur(2px);
  pointer-events: none;
}

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

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

.grain,
.cursor-light {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.grain {
  z-index: 100;
  opacity: 0.13;
  mix-blend-mode: multiply;
  background-image:
    linear-gradient(90deg, rgba(36, 27, 20, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(36, 27, 20, 0.05) 1px, transparent 1px);
  background-size: 13px 13px;
  mask-image: radial-gradient(circle at center, black, transparent 82%);
}

.cursor-light {
  z-index: 0;
  background: radial-gradient(36rem circle at var(--x, 72%) var(--y, 26%), rgba(255, 255, 255, 0.42), transparent 44%);
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  width: min(1180px, calc(100% - 32px));
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.54);
  box-shadow: 0 10px 30px rgba(83, 58, 37, 0.08);
  backdrop-filter: blur(18px) saturate(1.05);
}

.brand,
.nav-links,
.hero-actions,
.hero-metrics,
.release-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  padding-left: 7px;
  font-family: var(--display);
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand img {
  border-radius: 10px;
  width: 30px;
  height: 30px;
}

.nav-links {
  gap: 2px;
  font-family: var(--display);
  font-size: 0.84rem;
  font-weight: 800;
  color: rgba(36, 27, 20, 0.58);
}

.nav-links a,
.header-cta {
  padding: 9px 12px;
  border-radius: 999px;
}

.nav-links a:hover {
  background: rgba(43, 33, 26, 0.08);
  color: var(--ink);
}

.header-cta {
  background: var(--coffee);
  color: #fffaf4;
  font-family: var(--display);
  font-size: 0.86rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(43, 33, 26, 0.16);
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.header-cta:hover {
  background: #3a2d25;
  color: #fffaf4;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(43, 33, 26, 0.2);
}

main {
  position: relative;
  z-index: 1;
}

.section-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: center;
}

.hero {
  min-height: calc(100svh - 84px);
  padding: 72px 0 64px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--caramel);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  letter-spacing: -0.072em;
  color: var(--ink);
}

h1 {
  max-width: 720px;
  font-size: clamp(4.4rem, 8.4vw, 8.4rem);
  line-height: 0.84;
}

.hero-lede,
.workflow-card p,
.release-panel p {
  color: var(--ink-soft);
  font-size: clamp(1.16rem, 2vw, 1.55rem);
  line-height: 1.34;
}

.hero-lede {
  max-width: 680px;
  margin: 28px 0 0;
  font-family: var(--display);
  font-weight: 800;
}

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

.button {
  position: relative;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 900;
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(83, 58, 37, 0.16);
}

.button.primary {
  background: var(--coffee);
  color: #fffaf4;
  border-color: rgba(43, 33, 26, 0.55);
}

.button.secondary {
  background: var(--cream);
  color: var(--coffee);
}

.hero-metrics {
  gap: 12px;
  margin: 34px 0 0;
}

.hero-metrics div {
  min-width: 112px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 250, 243, 0.58);
}

.hero-metrics dt {
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 6px 0 0;
  color: var(--ink-faint);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-media {
  perspective: 1300px;
}

.video-shell {
  position: relative;
  border: 1px solid var(--line);
  border-radius: clamp(28px, 4vw, 54px);
  background: rgba(255, 250, 243, 0.44);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 220ms ease;
  will-change: transform;
}

.video-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.22), transparent 36%, rgba(255, 255, 255, 0.1));
  pointer-events: none;
}

.demo-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--paper-deep);
}

.media-caption {
  margin: 16px 0 0;
  color: var(--ink-faint);
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.feature-strip {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 40px 0 96px;
}

.feature-strip article,
.workflow-card,
.stack-diagram,
.release-panel {
  border: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.62);
  box-shadow: 0 22px 60px rgba(83, 58, 37, 0.12);
  backdrop-filter: blur(16px);
}

.feature-strip article {
  min-height: 252px;
  padding: 26px;
  border-radius: 34px;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.feature-strip article:hover {
  transform: translateY(-6px);
  background: rgba(255, 250, 243, 0.84);
}

.feature-index {
  color: var(--caramel);
  font-family: var(--display);
  font-weight: 900;
}

.feature-strip h2 {
  margin-top: 54px;
  font-size: clamp(1.8rem, 2.7vw, 2.6rem);
  line-height: 0.94;
}

.feature-strip p {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.42;
}

.workflow {
  padding: 10px 0 104px;
}

.workflow-card {
  padding: clamp(30px, 5vw, 54px);
  border-radius: 42px;
}

.workflow-card h2,
.release-panel h2 {
  font-size: clamp(3rem, 5vw, 5.6rem);
  line-height: 0.9;
}

.workflow-card p,
.release-panel p {
  margin: 24px 0 0;
}

.stack-diagram {
  position: relative;
  padding: 36px;
  border-radius: 42px;
  display: grid;
  gap: 16px;
}

.stack-diagram::before {
  content: "";
  position: absolute;
  inset: 30px auto 30px 58px;
  width: 2px;
  background: linear-gradient(var(--caramel), var(--blue), var(--green));
}

.stack-node {
  position: relative;
  padding: 24px 28px 24px 52px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
  font-family: var(--display);
  font-size: 1.22rem;
  font-weight: 900;
}

.stack-node::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--caramel);
  transform: translateY(-50%);
}

.stack-node.active {
  background: var(--coffee);
  color: #fffaf4;
}

.release-panel {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: end;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 46px;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 44px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink-faint);
  font-family: var(--display);
  font-weight: 800;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 620ms ease,
    transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

@media (max-width: 980px) {
  .section-grid,
  .release-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-copy::before,
  .hero-copy::after {
    display: none;
  }

  .feature-strip {
    grid-template-columns: 1fr;
  }

  .release-panel {
    align-items: start;
  }
}

@media (max-width: 700px) {
  .site-header {
    border-radius: 26px;
    align-items: stretch;
  }

  .nav-links {
    display: none;
  }

  .header-cta {
    display: inline-flex;
    align-items: center;
  }

  h1 {
    font-size: clamp(4rem, 17vw, 6.2rem);
  }

  .hero-metrics {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-metrics div {
    width: 100%;
  }

  .play-orbit {
    right: 12px;
    bottom: 12px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .video-shell {
    transform: none !important;
  }
}
