@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&family=Work+Sans:wght@400;500;600&display=swap");

:root {
  color-scheme: light dark;
  --bg: #e9e7e2;
  --surface: #f6f5f2;
  --surface-muted: #e4e1db;
  --text: #191919;
  --muted: #515151;
  --border: #d6d1c8;
  --primary: #1b5fb8;
  --primary-dark: #134282;
  --accent: #1f8f73;
  --shadow: 0 20px 50px rgba(16, 24, 40, 0.14);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1216;
    --surface: #161a20;
    --surface-muted: #1e232b;
    --text: #f2f2f2;
    --muted: #b2b6bf;
    --border: #2a3038;
    --primary: #5aa6ff;
    --primary-dark: #3a7fd6;
    --accent: #41c9a6;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Work Sans", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, var(--surface) 0%, var(--bg) 60%, var(--surface-muted) 100%);
}

main.page {
  margin: 0 auto;
  padding: 48px 20px 80px;
  max-width: 1120px;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.1rem, 2.8vw, 3.2rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.8rem, 2.2vw, 2.6rem);
}

h3 {
  font-size: 1.3rem;
}

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

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
}

code,
pre {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(260px, 0.9fr);
  gap: 40px;
  align-items: center;
  padding: 40px;
  border-radius: 28px;
  background: linear-gradient(130deg, var(--surface) 0%, var(--surface-muted) 55%, var(--surface) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
}

.hero::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 95, 184, 0.2), transparent 70%);
  top: -140px;
  right: -120px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
}

.eyebrow {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.lead {
  font-size: 1.1rem;
  color: var(--text);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 20px;
  justify-content: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(11, 107, 203, 0.25);
}

.btn.primary:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

.btn.ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 0.95rem;
  color: var(--muted);
  justify-content: flex-start;
}

.hero-visual {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

.hero-visual .logo {
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px;
  box-shadow: 0 12px 22px rgba(16, 24, 40, 0.2);
  width: 96px;
  height: 96px;
}

.hero-panel {
  background: var(--surface);
  color: var(--text);
  padding: 22px 24px;
  border-radius: 20px;
  width: min(360px, 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

@media (prefers-color-scheme: dark) {
  .hero-panel {
    background: #0f141b;
  }
}

.hero-panel-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.hero-panel-title {
  font-weight: 700;
  font-size: 1.1rem;
}

.hero-panel-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
}

.hero-panel-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.hero-panel-list li {
  padding-left: 18px;
  position: relative;
}

.hero-panel-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 8px;
}

.hero-panel-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 0.9rem;
  color: var(--muted);
}

.section {
  margin-top: 72px;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
}

.spec .cta-row {
  justify-content: center;
}

.quick-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.point {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 16px 18px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}

.demo-frame {
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 18px;
  box-shadow: var(--shadow);
}

.demo-frame img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 22px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
  text-align: center;
}

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

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.link {
  font-weight: 600;
}

.code-block {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (prefers-color-scheme: dark) {
  .code-block {
    background: #0b0f14;
    color: #e2e8f0;
  }
}

.code-block pre {
  margin: 0;
  white-space: pre-wrap;
}

.note {
  color: var(--muted);
  margin-top: 10px;
}

.callout {
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  text-align: center;
}

.callout-title {
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.callout.warning {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.12);
}

.footer {
  margin-top: 80px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

@media (max-width: 720px) {
  main.page {
    padding: 32px 16px 60px;
  }

  .hero {
    padding: 28px;
    grid-template-columns: 1fr;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
  }

  .hero-meta {
    flex-direction: column;
    align-items: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-visual {
    justify-content: center;
  }

  .hero-panel {
    width: 100%;
  }
}
