:root {
  color-scheme: dark;
  --bg: #111417;
  --surface: #1b2026;
  --surface-strong: #242a32;
  --line: #343c46;
  --text: #f5f7fb;
  --muted: #aeb8c5;
  --blue: #2d8cff;
  --cyan: #24d2d8;
  --red: #ff365e;
  --green: #70d985;
  --amber: #f3b35f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(36, 42, 50, 0.92), rgba(17, 20, 23, 0.94)),
    #111417;
  color: var(--text);
  font: 16px/1.6 "Segoe UI", Arial, sans-serif;
}

a {
  color: inherit;
}

code {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  color: #d8ecff;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(17, 20, 23, 0.92);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.brand img,
footer img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--muted);
  text-decoration: none;
}

nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  min-height: calc(100vh - 80px);
  padding: 56px 0;
}

.hero h1,
.section h2,
.legal h1 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(42px, 7vw, 82px);
}

.hero p,
.section p,
.legal p,
.legal li {
  color: var(--muted);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 690px;
  font-size: 18px;
}

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 6px;
  padding: 11px 16px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #061118;
}

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

.notice {
  border-left: 4px solid var(--cyan);
  padding-left: 14px;
}

.product-visual {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.window-bar {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-strong);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.window-bar span:nth-child(2) {
  background: var(--amber);
}

.window-bar span:nth-child(3) {
  background: var(--green);
}

.app-frame {
  display: grid;
  grid-template-columns: 132px 1fr;
  min-height: 390px;
}

.app-frame aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 16px;
  border-right: 1px solid var(--line);
  background: #15191e;
}

.app-frame aside span {
  border-radius: 6px;
  padding: 9px 10px;
  color: var(--muted);
}

.app-frame aside .active {
  background: rgba(45, 140, 255, 0.16);
  color: var(--text);
}

.app-frame section {
  padding: 24px;
}

.status-pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(112, 217, 133, 0.12);
  color: var(--green);
  font-weight: 800;
}

.video-card {
  height: 150px;
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(45, 140, 255, 0.2), transparent 44%),
    linear-gradient(180deg, #303842, #1d222a);
}

.form-line {
  height: 15px;
  width: 62%;
  margin: 12px 0;
  border-radius: 999px;
  background: #39424d;
}

.form-line.wide {
  width: 88%;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.button-row span {
  border-radius: 6px;
  padding: 9px 12px;
  background: var(--blue);
  color: #061118;
  font-weight: 800;
}

.section {
  padding: 52px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-head {
  max-width: 720px;
  margin-bottom: 24px;
}

.section h2 {
  font-size: 34px;
}

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

.steps article,
.demo-flow article,
.scope-list,
.callback-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: rgba(27, 32, 38, 0.78);
}

.steps article strong,
.demo-flow article strong {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(45, 140, 255, 0.16);
  color: #9bd6ff;
}

.steps h3,
.demo-flow h2 {
  margin-bottom: 8px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 28px;
  align-items: start;
}

.split > * {
  min-width: 0;
}

.scope-list,
.callback-box {
  display: grid;
  gap: 14px;
}

.scope-list div,
.callback-box {
  color: var(--muted);
}

.scope-list strong,
.callback-box span {
  display: block;
  color: var(--text);
}

.legal {
  max-width: 900px;
  padding: 52px 0;
}

.legal h1 {
  font-size: clamp(34px, 5vw, 56px);
}

.legal section {
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.legal h2 {
  margin-top: 0;
}

.updated {
  margin: 10px 0 34px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 28px 20px 40px;
  color: var(--muted);
}

footer a {
  color: var(--text);
}

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

  nav {
    justify-content: flex-start;
  }

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

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

@media (max-width: 580px) {
  main {
    width: min(100% - 28px, 1180px);
  }

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

  .app-frame {
    grid-template-columns: 1fr;
  }

  .app-frame aside {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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