:root {
  color-scheme: light;
  --bg: #f6f7f4;
  --ink: #18211f;
  --muted: #61706c;
  --line: #dce3dd;
  --panel: #ffffff;
  --accent: #0c7c59;
  --accent-dark: #085f45;
  --warm: #f4c86a;
  --blue: #2d6cdf;
  --shadow: 0 18px 45px rgba(20, 35, 31, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(246, 247, 244, 0.92);
  border-bottom: 1px solid rgba(220, 227, 221, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand span {
  font-size: 19px;
}

.brand small {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

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

nav a {
  text-decoration: none;
}

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

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

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

h1 {
  margin-bottom: 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-lead {
  max-width: none;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.7vw, 19px);
  white-space: nowrap;
}

.client-card,
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

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

.section {
  padding: 56px 0;
  scroll-margin-top: 86px;
}

#clients {
  padding-top: 44px;
}

.section-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 26px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

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

.client-card {
  display: grid;
  align-content: space-between;
  min-height: 254px;
  padding: 22px;
}

.client-card.recommended {
  border-top: 5px solid var(--warm);
}

.platform {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

h3 {
  margin: 8px 0 10px;
  font-size: 23px;
}

.client-card p {
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.download-picker {
  display: grid;
  gap: 12px;
}

.secondary-link {
  font-size: 14px;
}

.split-download {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  border-radius: 6px;
  background: var(--accent);
}

.split-download .button {
  border-radius: 6px 0 0 6px;
}

.split-toggle {
  width: 38px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0 6px 6px 0;
  background: var(--accent-dark);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.download-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 3;
  display: none;
  min-width: 210px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.split-download.open .download-menu {
  display: grid;
  gap: 4px;
}

.download-menu button {
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.download-menu button:hover,
.download-menu button.active {
  background: #eef4ef;
}

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

.steps li {
  position: relative;
  min-height: 190px;
  padding: 58px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.steps li::before {
  position: absolute;
  top: 18px;
  left: 20px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  content: counter(steps);
  counter-increment: steps;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.steps strong,
.steps span {
  display: block;
}

.steps span {
  margin-top: 8px;
  color: var(--muted);
}

.faq {
  display: grid;
  gap: 14px;
}

details {
  padding: 18px 20px;
  box-shadow: none;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

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

footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 860px) {
  .client-grid,
  .steps ol {
    grid-template-columns: 1fr;
  }

  .client-card,
  .steps li {
    min-height: auto;
  }
}

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

  .brand {
    justify-content: space-between;
  }

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

  h1 {
    font-size: 36px;
  }

  .section-lead {
    overflow-x: auto;
    padding-bottom: 4px;
  }
}
