:root {
  color-scheme: light;
  --ink: #101828;
  --muted: #526071;
  --line: rgba(16, 24, 40, 0.14);
  --paper: #f7f3ea;
  --paper-strong: #fffaf0;
  --blue: #1c3f94;
  --green: #0f766e;
  --red: #b42318;
  --gold: #b7791f;
  --black: #080b12;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(16, 24, 40, 0.18);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.site-header.scrolled {
  color: var(--ink);
  background: rgba(255, 250, 240, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 4px;
  opacity: 0.72;
}

.nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
}

.nav a {
  opacity: 0.78;
}

.nav a:hover {
  opacity: 1;
}

.header-cta {
  justify-self: end;
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--black);
}

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

.hero-media {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 11, 18, 0.9) 0%, rgba(8, 11, 18, 0.55) 42%, rgba(8, 11, 18, 0.16) 100%),
    linear-gradient(0deg, rgba(8, 11, 18, 0.85) 0%, rgba(8, 11, 18, 0) 46%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: 160px 0 44px;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: #58c4b7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(52px, 8vw, 110px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 710px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.7;
}

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

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  border-color: transparent;
  background: var(--green);
  color: var(--white);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(660px, 100%);
  margin: 52px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.16);
}

.signal-grid div {
  padding: 18px;
  background: rgba(8, 11, 18, 0.48);
}

.signal-grid strong {
  display: block;
  font-size: 34px;
  font-weight: 900;
}

.signal-grid span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.7);
}

.band,
.workflow,
.proof {
  padding: clamp(72px, 9vw, 124px) clamp(18px, 4vw, 56px);
}

.intro,
.openteam,
.deploy {
  background: var(--paper-strong);
}

.intro {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}

.intro h2,
.section-heading h2,
.openteam h2,
.deploy h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: 0;
}

.intro p,
.section-heading p,
.openteam p,
.deploy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: 42px;
}

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

.workflow-grid article,
.proof-grid article,
.install-panel {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
}

.workflow-grid span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--red);
  font-weight: 900;
}

.workflow-grid h3,
.proof-grid h3,
.install-panel h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.workflow-grid p,
.proof-grid p,
.install-panel li {
  color: var(--muted);
  line-height: 1.7;
}

.openteam {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.openteam .btn-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.fineprint {
  margin-top: 18px;
  font-size: 14px;
}

.install-panel {
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.install-panel ol {
  padding-left: 22px;
  margin-bottom: 0;
}

.install-panel li {
  margin: 12px 0;
  color: rgba(255, 255, 255, 0.76);
}

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

.proof-grid article {
  min-height: 200px;
}

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

.deploy div {
  max-width: 860px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 4vw, 56px);
  background: var(--black);
  color: rgba(255, 255, 255, 0.72);
}

.footer p {
  margin: 0;
}

@media (max-width: 1080px) {
  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 96vh;
  }

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

  .signal-grid,
  .intro,
  .section-heading,
  .openteam {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 560px) {
  .signal-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .openteam-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
