:root {
  color-scheme: light;
  --bg: #f7f8fa;
  --panel: #ffffff;
  --panel-soft: #eef4ef;
  --text: #14201b;
  --muted: #5c6b63;
  --line: #dce4df;
  --accent: #1d8f57;
  --accent-strong: #0f6d41;
  --gold: #f4b533;
  --blue: #2d7aff;
  --violet: #8b4dff;
  --orange: #ff6b2c;
  --shadow: 0 24px 60px rgba(20, 32, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(247, 248, 250, 0.86);
  border-bottom: 1px solid rgba(220, 228, 223, 0.9);
  backdrop-filter: blur(16px);
}

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

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

nav a:hover,
footer a:hover,
.link-card a:hover {
  color: var(--accent-strong);
}

main {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  gap: 48px;
  align-items: center;
  min-height: calc(92vh - 70px);
  padding: 56px 0 44px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  letter-spacing: 0;
}

.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
}

.button.primary {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
}

.button.primary:hover {
  background: var(--accent-strong);
}

.button.secondary {
  background: #ffffff;
}

.button.secondary:hover {
  border-color: var(--accent);
}

.note {
  max-width: 620px;
  color: var(--muted);
  font-size: 14px;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.status-row span {
  padding: 7px 10px;
  color: #244136;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  padding: 34px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.app-icon {
  display: block;
  width: min(220px, 60%);
  height: auto;
  margin: 0 auto 28px;
}

.flow-list {
  display: grid;
  gap: 12px;
}

.flow-list div {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: var(--panel-soft);
  border: 1px solid rgba(29, 143, 87, 0.18);
  border-radius: 8px;
}

.flow-list div:nth-child(2) {
  background: #f5f1ff;
  border-color: rgba(139, 77, 255, 0.18);
}

.flow-list div:nth-child(2) span {
  background: var(--violet);
}

.flow-list div:nth-child(3) {
  background: #fff6ed;
  border-color: rgba(255, 107, 44, 0.18);
}

.flow-list div:nth-child(3) span {
  background: var(--orange);
}

.flow-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: #ffffff;
  background: var(--accent);
  border-radius: 999px;
  font-weight: 700;
}

.flow-list p {
  margin: 0;
  color: var(--text);
  font-weight: 650;
}

.section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading p:last-child {
  color: var(--muted);
}

.preview-section {
  padding: 0 0 72px;
}

.preview-section img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.feature-grid article,
.link-card,
pre {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-grid article {
  padding: 22px;
}

.feature-grid article:nth-child(2) {
  border-top: 3px solid var(--violet);
}

.feature-grid article:nth-child(3) {
  border-top: 3px solid var(--orange);
}

.feature-grid article:nth-child(4) {
  border-top: 3px solid var(--blue);
}

.use-grid article:first-child {
  border-top: 3px solid var(--accent);
}

.feature-grid p,
.split p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
  gap: 32px;
  align-items: start;
}

pre {
  margin: 0;
  padding: 22px;
  overflow-x: auto;
  color: #eaf8ef;
  background: #102018;
}

code {
  color: var(--accent-strong);
  background: rgba(29, 143, 87, 0.1);
  border-radius: 4px;
  padding: 2px 5px;
}

pre code {
  color: inherit;
  background: transparent;
  padding: 0;
}

.link-card {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.link-card a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--accent-strong);
  font-weight: 700;
}

.link-card a:last-child {
  border-bottom: 0;
}

.matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.matrix div {
  min-height: 132px;
  padding: 22px;
  background: var(--panel);
}

.matrix strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.matrix span {
  color: var(--muted);
}

.install-section {
  border-top-color: transparent;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 150px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps li::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 18px;
  color: #ffffff;
  background: var(--accent);
  border-radius: 999px;
  font-weight: 800;
  content: counter(list-item);
}

.steps strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.steps span {
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  padding: 20px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 800;
}

details p {
  margin: 14px 0 0;
  color: var(--muted);
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 52px 0 72px;
  padding: 34px;
  color: #ffffff;
  background: #101820;
  border-radius: 8px;
}

.cta-section h2 {
  margin-bottom: 0;
}

.cta-section .eyebrow {
  color: #8be0b1;
}

.cta-section .button.secondary {
  color: #eaf8ef;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 32px 20px 48px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

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

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

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

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

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

  .cta-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 20px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  main {
    width: min(100% - 32px, 1160px);
  }

  .hero {
    gap: 28px;
    padding-bottom: 52px;
  }

  h1 {
    font-size: 44px;
  }

  .lead {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    padding: 22px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

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

  .matrix div,
  .steps li {
    min-height: auto;
  }

  .preview-section {
    padding-bottom: 52px;
  }

  .cta-section {
    padding: 24px;
  }
}
