:root {
  --accent: #0077ed;
  --accent-soft: #e8f2ff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --bg: #ffffff;
  --bg-subtle: #f5f5f7;
  --border: #d2d2d7;
  --radius: 12px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  --max: 980px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

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

.brand:hover {
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
}

.site-header nav {
  display: flex;
  gap: 28px;
}

.site-header nav a {
  color: var(--muted);
  font-size: 0.875rem;
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--text);
  text-decoration: none;
}

/* Hero */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.lead {
  color: var(--muted);
  font-size: 1.0625rem;
  max-width: 28rem;
  margin-bottom: 28px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 980px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  color: #fff;
  background: var(--accent);
}

.btn-primary:hover {
  background: #006edb;
}

.btn-ghost {
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--bg-subtle);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span {
  font-size: 0.8125rem;
  color: var(--muted);
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-subtle);
}

/* Demo strip */

.hero-visual {
  padding: 20px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.mock-bar {
  height: 32px;
  margin-bottom: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.mock-cards {
  display: flex;
  gap: 10px;
}

.demo-card {
  flex: 0 0 120px;
  height: 96px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.demo-head {
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  padding: 6px 8px;
  letter-spacing: 0.02em;
}

.c-text .demo-head { background: #3884fa; }
.c-link .demo-head { background: #fa8529; }
.c-image .demo-head { background: #14c794; }

.demo-body {
  flex: 1;
  padding: 7px 8px 0;
  font-size: 8px;
  line-height: 1.4;
  color: #424245;
}

.demo-image {
  background: #d1e9ff;
  border-radius: 4px;
  margin-top: 2px;
  min-height: 36px;
}

.demo-foot {
  padding: 4px 8px 6px;
  font-size: 7px;
  color: var(--muted);
}

/* Sections */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px;
}

.section-alt {
  background: var(--bg-subtle);
  max-width: none;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-alt > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.section h2 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.section-lead {
  color: var(--muted);
  font-size: 1rem;
  max-width: 32rem;
  margin-bottom: 40px;
}

/* Features */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-grid article {
  background: var(--bg);
  padding: 24px 22px;
}

.feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-bottom: 16px;
}

.feature-grid h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.feature-grid p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.section-alt .feature-grid article {
  background: var(--bg-subtle);
}

/* Platforms */

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

.platform-item {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.platform-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.platform-item p {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 14px;
  line-height: 1.55;
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 8px;
  border-radius: 4px;
}

/* Download */

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

.download-card {
  display: block;
  padding: 22px 24px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
}

.download-card:hover {
  border-color: var(--accent);
  text-decoration: none;
}

.download-card strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.download-card span {
  display: block;
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 12px;
}

.download-card code {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--accent);
  word-break: break-all;
}

.download-note {
  margin-top: 20px;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 40rem;
}

/* Footer */

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 24px 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 0.8125rem;
  border-top: 1px solid var(--border);
}

.site-footer a {
  color: var(--muted);
}

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

/* Responsive */

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .feature-grid,
  .platform-list,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .site-header nav {
    display: none;
  }

  .site-footer {
    flex-direction: column;
  }
}
