:root {
  color-scheme: light;
  --ink: #111112;
  --surface: #ffffff;
  --soft: #f5f5f6;
  --muted: #4e5157;
  --line: #e0e1e3;
  --green: #00cc4f;
  --green-dark: #007f34;
  --cyan: #00cccb;
  --warning: #ff5833;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: var(--green-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
  color: var(--ink);
}

code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

code {
  overflow-wrap: anywhere;
}

pre {
  margin: 0;
  overflow-x: auto;
  border: 1px solid #2a2b2e;
  border-radius: 18px;
  background: var(--ink);
  color: #ffffff;
  padding: 1.15rem 1.25rem;
  font-size: 0.9rem;
  line-height: 1.55;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10;
  background: var(--green);
  color: var(--ink);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand img {
  display: block;
  width: 132px;
  height: auto;
}

.brand-product {
  border-left: 1px solid var(--line);
  padding-left: 0.8rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
}

.hero {
  background: var(--ink);
  color: #ffffff;
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.hero-grid > *,
.quickstart-grid > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 1rem;
  color: #00fd86;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.75rem, 7vw, 5.8rem);
}

h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

h3 {
  margin: 0 0 0.7rem;
  font-size: 1.18rem;
}

.hero-lead {
  max-width: 710px;
  margin: 1.4rem 0 0;
  color: #e0e1e3;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: var(--green);
  color: var(--ink);
  padding: 0.65rem 1.15rem;
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: #00fd86;
  color: var(--ink);
}

.button.secondary {
  border-color: #4e5157;
  background: transparent;
  color: #ffffff;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: #ffffff;
}

.stat-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid #4e5157;
  border-radius: 24px;
  overflow: hidden;
  background: #4e5157;
}

.stat {
  min-width: 0;
  min-height: 130px;
  background: #2a2b2e;
  padding: 1.25rem;
}

.stat strong {
  display: block;
  color: #00fd86;
  font-size: 2.1rem;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 0.65rem;
  color: #e0e1e3;
  font-size: 0.88rem;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section.soft {
  background: var(--soft);
}

.section-intro {
  max-width: 780px;
  margin-bottom: 2rem;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  padding: 1.35rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.quickstart-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.link-list {
  display: grid;
  gap: 0.65rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.link-list a {
  font-weight: 650;
}

.notice {
  margin-top: 1rem;
  border-left: 4px solid var(--cyan);
  background: var(--soft);
  padding: 1rem 1.15rem;
  color: var(--muted);
}

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 1rem 1.1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 750;
}

.faq p {
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.catalog-group {
  margin-top: 2.5rem;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.catalog-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 1rem;
}

.catalog-item h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.015em;
}

.catalog-item p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.badge {
  display: inline-flex;
  margin-bottom: 0.55rem;
  border-radius: 999px;
  background: #e0ffeb;
  color: var(--ink);
  padding: 0.18rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge.planned {
  background: var(--line);
}

.site-footer {
  background: var(--ink);
  color: #ffffff;
  padding: 3rem 0;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.footer-grid p {
  max-width: 620px;
  margin: 0.5rem 0 0;
  color: #e0e1e3;
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.footer-links a {
  color: #00fd86;
}

@media (max-width: 900px) {
  .hero-grid,
  .quickstart-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .nav {
    min-height: 68px;
    padding: 1rem 0;
    flex-wrap: wrap;
  }

  .brand img {
    width: 108px;
  }

  .nav-links {
    width: 100%;
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.25rem;
    font-size: 0.8rem;
    text-align: center;
  }

  .nav-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.2rem;
  }

  .stat {
    padding: 1rem;
  }

  .stat span {
    overflow-wrap: anywhere;
  }

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

  .footer-grid {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
