:root {
  --ink: #101828;
  --muted: #60708a;
  --line: #d9e2ef;
  --paper: #f7f2e9;
  --panel: #ffffff;
  --green: #0f766e;
  --green-dark: #0b4f49;
  --coral: #d85d42;
  --amber: #d89a2b;
  --blue: #2563eb;
  --shadow: 0 24px 80px rgba(16, 24, 40, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 12%, rgba(216, 154, 43, 0.18), transparent 28%),
    linear-gradient(135deg, #fbf7ef 0%, #eef7f5 48%, #f9eee8 100%);
  font-family: "Noto Sans SC", sans-serif;
  line-height: 1.65;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0;
}

.top-nav {
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
}

.top-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.top-nav a:hover {
  color: var(--ink);
  background: #fff;
}

main {
  overflow: hidden;
}

.hero,
.section,
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px;
}

.hero {
  display: grid;
  min-height: calc(100vh - 92px);
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.8fr);
  gap: 56px;
  padding-top: 54px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.08;
  font-weight: 900;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
}

.hero-lede,
.section-heading p,
.compact p,
.test-band p {
  color: var(--muted);
  font-size: 18px;
}

.hero-lede {
  max-width: 710px;
  margin-bottom: 32px;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.22);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.flow-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
}

.flow-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: #fff;
}

.flow-card.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
}

.flow-card strong {
  display: block;
  margin: 4px 0 6px;
  font-size: 22px;
}

.flow-card p {
  margin: 0;
  color: currentColor;
  opacity: 0.76;
}

.flow-index {
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 700;
  opacity: 0.68;
}

.flow-line {
  width: 2px;
  height: 28px;
  margin-left: 28px;
  background: var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.download-grid,
.faq-grid,
.steps {
  display: grid;
  gap: 18px;
}

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

.download-card,
.step,
.faq-grid article,
.test-band,
.import-banner {
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 50px rgba(16, 24, 40, 0.08);
}

.download-card {
  min-height: 300px;
  padding: 28px;
}

.download-card p,
.step p,
.faq-grid p {
  color: var(--muted);
}

.download-card a {
  display: inline-flex;
  margin: 10px 0 16px;
  border-bottom: 2px solid var(--coral);
  color: var(--green-dark);
  font-weight: 900;
}

.muted {
  display: block;
  color: var(--muted);
  font-size: 14px;
  word-break: break-all;
}

.card-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--green);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.card-icon.accent {
  background: var(--coral);
}

.split {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 36px;
}

.code-stack {
  display: grid;
  gap: 14px;
}

.code-block {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  background: #fff;
}

.code-block.highlighted {
  border-color: rgba(216, 93, 66, 0.42);
  background: #fff8f5;
}

.code-title {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

code,
pre {
  font-family: "Space Grotesk", ui-monospace, monospace;
  letter-spacing: 0;
}

code {
  word-break: break-word;
}

pre {
  margin: 18px 0 0;
  overflow-x: auto;
  border-radius: 10px;
  padding: 16px;
  color: #e7fff7;
  background: #10231f;
}

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

.import-banner {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
  gap: 26px;
  margin-bottom: 18px;
  padding: 28px;
  background: linear-gradient(135deg, #ffffff 0%, #effbf7 100%);
}

.import-banner p {
  color: var(--muted);
}

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

.import-steps span {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  color: var(--green-dark);
  font-weight: 900;
  text-align: center;
}

.step {
  padding: 28px;
}

.step > span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--amber);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.test-band {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1fr);
  gap: 28px;
  padding: 34px;
}

.test-band pre {
  margin: 0;
}

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

.faq-grid article {
  padding: 24px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  padding-top: 40px;
}

.site-footer a {
  color: var(--green-dark);
  font-weight: 900;
}

[data-reveal] {
  transform: translateY(18px);
  opacity: 0;
  transition: transform 0.7s ease, opacity 0.7s ease;
}

[data-reveal].is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 920px) {
  .top-nav {
    display: none;
  }

  .hero,
  .split,
  .test-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 34px;
  }

  .download-grid,
  .steps,
  .faq-grid,
  .import-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero,
  .section,
  .site-footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  h1 {
    font-size: 42px;
  }

  .download-card,
  .step,
  .faq-grid article,
  .test-band,
  .import-banner {
    padding: 22px;
  }

  .import-steps {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}
