:root {
  --graphite: #283038;
  --graphite-strong: #182028;
  --teal: #088090;
  --teal-strong: #007888;
  --teal-soft: #e6f6f8;
  --amber: #e8a820;
  --amber-soft: #fff6df;
  --line: #d9e2e5;
  --muted: #68757d;
  --page: #f8fbfc;
  --surface: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--graphite);
  font-family: Aptos, "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
}

a:hover {
  color: var(--teal-strong);
  text-decoration: underline;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(217, 226, 229, 0.82);
  background: rgba(248, 251, 252, 0.94);
  backdrop-filter: blur(14px);
}

.brand img {
  display: block;
  width: 190px;
  max-width: 48vw;
  height: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.95rem;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 74px));
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(48px, 10vh, 112px) clamp(20px, 5vw, 72px);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(248, 251, 252, 0.98) 0%, rgba(248, 251, 252, 0.92) 38%, rgba(248, 251, 252, 0.56) 100%),
    url("assets/dashboard-preview.svg") center right / min(980px, 88vw) auto no-repeat;
}

.hero-copy {
  position: relative;
  width: min(720px, 100%);
  padding-bottom: clamp(24px, 7vh, 72px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 12ch;
  color: var(--graphite-strong);
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 62ch;
  margin: 24px 0 0;
  color: var(--graphite);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--teal);
  border-radius: 7px;
  font-weight: 800;
}

.button {
  background: var(--teal);
  color: #ffffff;
}

.button:hover {
  background: var(--teal-strong);
  color: #ffffff;
  text-decoration: none;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.86);
  color: var(--teal);
}

.button-secondary:hover {
  background: var(--teal-soft);
  text-decoration: none;
}

.section {
  padding: 64px clamp(20px, 5vw, 72px);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 20px;
  color: var(--graphite-strong);
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0;
}

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

.feature {
  min-height: 156px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature h3 {
  margin: 0 0 10px;
  color: var(--graphite-strong);
  font-size: 1.08rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.install-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.install {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.install h3 {
  margin: 0 0 14px;
}

pre {
  overflow-x: auto;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #182028;
  color: #f8fbfc;
  font-size: 0.92rem;
}

.notes {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  color: var(--muted);
}

.footer {
  padding: 36px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

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

  .hero {
    min-height: 680px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(248, 251, 252, 0.98) 0%, rgba(248, 251, 252, 0.88) 54%, rgba(248, 251, 252, 0.64) 100%),
      url("assets/dashboard-preview.svg") bottom center / 920px auto no-repeat;
  }

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