:root {
  color-scheme: light dark;
  --bg: #f7fbf9;
  --surface: #ffffff;
  --text: #13201b;
  --muted: #56645e;
  --line: #e1ebe7;
  --accent: #0d8160;
  --accent-strong: #0b6b51;
  --button-text: #ffffff;
  --radius: 18px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1513;
    --surface: #17201c;
    --text: #eef5f2;
    --muted: #9db0a8;
    --line: #26332e;
    --accent: #43db9c;
    --accent-strong: #74e6b6;
    --button-text: #06291f;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-strong);
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px max(16px, calc((100vw - 1120px) / 2));
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

main > section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 16px 0;
}

.hero {
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 880px;
  margin: 0 auto;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h1 span {
  color: var(--accent);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h3 {
  margin: 0 0 6px;
  font-size: 19px;
}

.lede {
  max-width: 680px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 20px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 24px;
  margin-top: 32px;
}

.button {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--button-text);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 32%, transparent);
  transition: transform 120ms ease, filter 120ms ease;
}

a.button:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.button.soon {
  padding: 12px 24px;
  border: 2px solid var(--accent);
  background: transparent;
  color: var(--accent-strong);
  box-shadow: none;
}

.button.small {
  flex: none;
  padding: 8px 16px;
  font-size: 15px;
  white-space: nowrap;
  box-shadow: none;
}

.button.small.soon {
  padding: 6px 14px;
}

.link {
  font-weight: 600;
}

.fine {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.demo {
  text-align: center;
}

.demo video {
  width: 100%;
  border-radius: var(--radius);
  background: #000;
  box-shadow: 0 24px 70px rgba(11, 107, 81, 0.25);
}

.problem,
.private {
  max-width: 760px !important;
}

.problem p,
.private p {
  color: var(--muted);
  font-size: 19px;
}

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

.keys > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.keys p {
  margin: 0;
  white-space: nowrap;
}

.keys span {
  color: var(--muted);
  text-align: right;
}

kbd {
  display: inline-block;
  min-width: 32px;
  margin-right: 4px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-bottom-width: 3px;
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font: 600 14px/1.5 ui-monospace, "SF Mono", Menlo, monospace;
  text-align: center;
}

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

.steps li {
  counter-increment: step;
}

.steps img {
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.steps h3::before {
  content: counter(step) ". ";
  color: var(--accent);
}

.steps p,
.grid p {
  margin: 0;
  color: var(--muted);
}

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

.grid > div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.private {
  padding: 48px 32px !important;
  margin-top: 72px !important;
  border-radius: 28px;
  background: linear-gradient(135deg, #0b6b51, #0d8160 55%, #13aab4);
  color: #fff;
  text-align: center;
}

.private p {
  color: rgba(255, 255, 255, 0.88);
}

.private .link {
  color: #fff;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  padding: 18px 0;
  font-weight: 650;
  cursor: pointer;
}

.faq details p {
  margin: 0 0 20px;
  color: var(--muted);
}

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta img {
  margin-bottom: 12px;
}

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 16px 0;
}

.doc h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 44px);
}

.doc h2 {
  margin: 40px 0 12px;
  font-size: 24px;
}

.doc .updated {
  margin: 10px 0 28px;
  color: var(--muted);
  font-size: 15px;
}

.doc li {
  margin: 6px 0;
}

.doc .table {
  overflow-x: auto;
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.doc th,
.doc td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.doc th {
  background: var(--surface);
}

footer {
  margin-top: 88px;
  padding: 28px 16px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 820px) {
  .brand {
    font-size: 15px;
    line-height: 1.2;
  }

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

  main > section {
    padding-top: 56px;
  }

  .private {
    margin: 56px 16px 0 !important;
    padding: 36px 22px !important;
  }
}
