:root {
  color-scheme: light dark;
  --bg: #fbfaf9;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #5f5f66;
  --line: #ebe7e4;
  --coral: #e85138;
  --coral-dark: #c63d27;
  --maroon: #2a1215;
  --radius: 18px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141213;
    --surface: #1e1b1c;
    --text: #f5f3f2;
    --muted: #a8a3a1;
    --line: #2f2a2b;
    --coral: #ff6b4f;
    --coral-dark: #ff8a73;
  }
}

* {
  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(--coral-dark);
}

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(--coral);
  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(--coral);
}

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(--coral);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--coral) 32%, transparent);
  transition: transform 120ms ease, filter 120ms ease;
}

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

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

.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(42, 18, 21, 0.25);
}

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

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

.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(--coral);
}

.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, var(--maroon), #6b1f1a 55%, var(--coral));
  color: #fff;
  text-align: center;
}

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

.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);
}

.doc h3 {
  margin: 24px 0 6px;
}

.doc ol li,
.doc ul li {
  margin: 8px 0;
}

.crumbs {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
}

.crumbs a {
  text-decoration: none;
}

.answer {
  margin: 0 0 8px;
  padding: 4px 22px;
  border-left: 4px solid var(--coral);
  border-radius: 12px;
  background: var(--surface);
}

.cta-box {
  margin: 48px 0 8px;
  padding: 32px 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--maroon), #6b1f1a 55%, var(--coral));
  color: #fff;
  text-align: center;
}

.cta-box h2 {
  margin: 0 0 8px;
}

.cta-box p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.86);
}

.cta-box .button {
  background: #fff;
  color: var(--maroon);
  box-shadow: none;
}

.guide-list {
  display: grid;
  gap: 14px;
}

.guide-list a,
.grid a.card {
  display: block;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color 120ms ease, transform 120ms ease;
}

.guide-list a:hover,
.grid a.card:hover {
  border-color: var(--coral);
  transform: translateY(-1px);
}

.guide-list h3 {
  margin: 0 0 6px;
}

.guide-list p {
  margin: 0;
  color: var(--muted);
}

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;
  }

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

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

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