:root {
  --ink: #102226;
  --muted: #5d6b70;
  --paper: #fbfbf7;
  --panel: #ffffff;
  --line: #d9e0dc;
  --teal: #0f6f68;
  --deep: #0f3d3e;
  --gold: #f4c95d;
  --coral: #c95f4b;
  --shadow: 0 18px 45px rgba(16, 34, 38, 0.14);
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 64px);
  background: rgba(251, 251, 247, 0.9);
  border-bottom: 1px solid rgba(217, 224, 220, 0.9);
  backdrop-filter: blur(14px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--deep);
  color: var(--gold);
  font-size: 12px;
}

.nav-links {
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

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

.nav-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 750;
  white-space: nowrap;
}

.nav-action,
.button.primary {
  background: var(--teal);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.hero {
  position: relative;
  display: grid;
  min-height: 82vh;
  align-items: center;
  overflow: hidden;
  background: var(--deep);
  color: #fff;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 61, 62, 0.94), rgba(15, 61, 62, 0.72) 42%, rgba(15, 61, 62, 0.18)),
    linear-gradient(180deg, rgba(15, 61, 62, 0.12), rgba(15, 61, 62, 0.7)),
    url("assets/guide_build_chart_rows.gif") center right / min(980px, 76vw) auto no-repeat;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, calc(100% - 40px));
  margin-left: clamp(20px, 6vw, 76px);
  padding: 92px 0 120px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(52px, 9vw, 106px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.18;
}

.hero-copy {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(19px, 2vw, 25px);
}

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

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.proof-item {
  min-height: 132px;
  padding: 28px clamp(20px, 4vw, 48px);
  border-right: 1px solid var(--line);
}

.proof-item:last-child {
  border-right: 0;
}

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

.proof-item strong {
  margin-bottom: 7px;
  font-size: 18px;
}

.proof-item span {
  color: var(--muted);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 34px;
}

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

.feature-card,
.showcase {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 28px;
}

.feature-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  background: rgba(244, 201, 93, 0.28);
  color: var(--deep);
  font-weight: 850;
}

.feature-card p,
.showcase figcaption {
  color: var(--muted);
}

.workflow {
  border-top: 1px solid var(--line);
}

.showcase {
  margin: 0;
  overflow: hidden;
}

.showcase img {
  display: block;
  width: 100%;
  aspect-ratio: 1130 / 636;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.showcase figcaption {
  min-height: 90px;
  padding: 18px;
  font-weight: 650;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 72px;
  padding: 40px;
  border-radius: 8px;
  background: var(--deep);
  color: #fff;
}

.cta-section .eyebrow {
  color: var(--gold);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
  padding: 22px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-backdrop {
    background:
      linear-gradient(180deg, rgba(15, 61, 62, 0.94), rgba(15, 61, 62, 0.66)),
      url("assets/guide_build_chart_rows.gif") bottom right / 920px auto no-repeat;
  }

  .proof-band,
  .feature-grid,
  .showcase-grid,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .proof-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .cta-section,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .nav {
    position: static;
  }

  .nav-links {
    display: none;
  }

  .nav-action {
    width: 100%;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
    padding: 78px 0 96px;
  }

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

  .section {
    width: calc(100% - 32px);
    padding: 64px 0;
  }

  .cta-section {
    width: calc(100% - 32px);
    padding: 28px;
  }
}
