:root {
  color-scheme: light;
  --ink: #14201c;
  --muted: #60706a;
  --line: #dfe7e3;
  --paper: #f7f8f5;
  --white: #ffffff;
  --green: #237b57;
  --green-2: #37b37e;
  --blue: #2662d9;
  --amber: #d9911f;
  --charcoal: #12211d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 248, 245, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 20px;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  min-height: calc(100svh - 150px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: 64px;
  padding: 64px 0 58px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(54px, 9vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.2;
}

.lead {
  max-width: 610px;
  color: #33423d;
  font-size: 20px;
  line-height: 1.62;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 34px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 780;
  cursor: pointer;
}

.button.primary {
  background: var(--charcoal);
  color: var(--white);
}

.button.ghost {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.button[disabled] {
  cursor: not-allowed;
  background: #dfe7e3;
  color: #66736e;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 610px;
  margin: 0;
}

.stat {
  min-height: 86px;
  padding: 15px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stat dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.stat dd {
  margin: 0;
  font-size: 19px;
  font-weight: 850;
}

.product-visual {
  width: 100%;
  min-height: 430px;
  padding: 18px;
  background: var(--charcoal);
  border: 1px solid #31423d;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(18, 33, 29, 0.22);
}

.window-bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d9e7e0;
  font-size: 13px;
  font-weight: 760;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot.red { background: #ee6a5f; }
.dot.yellow { background: #f4bd4f; }
.dot.green { background: #61c554; }

.window-title {
  margin-left: 10px;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.visual-panel {
  min-height: 170px;
  padding: 18px;
  background: #f8fbf9;
  border-radius: 8px;
}

.visual-panel.dark {
  background: #1b3029;
  color: #f2f8f4;
}

.visual-label {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.visual-panel.dark .visual-label {
  color: #9fcab7;
}

.big-status {
  margin-bottom: 16px;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.progress-track {
  height: 11px;
  overflow: hidden;
  background: #dfe7e3;
  border-radius: 999px;
}

.progress-fill {
  width: 78%;
  height: 100%;
  background: var(--green-2);
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 720;
}

.check-list span {
  color: #9fcab7;
  font-size: 13px;
}

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

.timeline-item {
  min-height: 108px;
  padding: 16px;
  background: #eef5f2;
  border-radius: 8px;
}

.timeline-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--charcoal);
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
}

.band {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.band.alt {
  background: #eef5f2;
}

.section-inner {
  padding: 76px 0;
}

.section-copy {
  max-width: 710px;
  margin-bottom: 30px;
}

.section-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 24px;
  align-items: start;
}

.download-box,
.endpoint-list,
.feature-card,
.note-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.download-box {
  padding: 24px;
}

.download-box p {
  color: var(--muted);
  line-height: 1.55;
}

.endpoint-list {
  overflow: hidden;
}

.endpoint-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 72px;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.endpoint-row:last-child {
  border-bottom: 0;
}

.endpoint-row code {
  overflow-wrap: anywhere;
  color: #263935;
  font-size: 14px;
}

.badge {
  justify-self: start;
  padding: 5px 8px;
  border-radius: 999px;
  background: #dff2e9;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
}

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

.feature-card {
  min-height: 190px;
  padding: 22px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--charcoal);
  color: var(--white);
  font-weight: 900;
}

.feature-card:nth-child(2) .feature-icon {
  background: var(--blue);
}

.feature-card:nth-child(3) .feature-icon {
  background: var(--amber);
}

.feature-card p,
.note-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.note-box {
  padding: 22px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--charcoal);
  color: #dbe8e2;
}

.footer-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

@media (max-width: 920px) {
  .hero,
  .download-layout,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 36px;
    padding-top: 44px;
  }

  .product-visual {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .hero,
  .section-inner,
  .footer-inner {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 66px;
  }

  .nav {
    display: none;
  }

  .lead {
    font-size: 18px;
  }

  .stats,
  .visual-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .endpoint-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 22px 0;
  }
}
