:root {
  --bg: #ffffff;
  --bg-subtle: #fafafa;
  --border: #e4e4e7;
  --border-input: #949499;
  --text: #18181b;
  --text-muted: #71717a;
  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --accent-subtle: #eef2ff;
  --font: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 480px) {
  .wrap {
    padding: 0 16px;
  }
}

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

/* Top bar */
.topbar {
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
}

.wordmark {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.wordmark .mark {
  color: var(--accent);
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
}

.topnav a {
  color: var(--text-muted);
  text-decoration: none;
}

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

/* Sections */
.section {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.section:first-of-type {
  border-top: none;
}

.section h2 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  margin: 0 0 8px;
}

.section-lead {
  color: var(--text-muted);
  max-width: 65ch;
  margin: 0 0 32px;
}

/* Hero */
.hero {
  padding: 64px 0 48px;
}

.hero h1 {
  font-size: clamp(28px, 4.5vw, 40px);
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 16px;
  max-width: 20ch;
}

.hero .sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 0 24px;
}

.cta {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.cta:hover {
  background: var(--accent-hover);
}

.hero-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Paragraph body copy */
.prose p {
  max-width: 65ch;
  color: var(--text);
}

.prose p + p {
  margin-top: 16px;
}

/* Solution points */
.points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.points li {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  background: var(--bg-subtle);
}

.points li::before {
  content: '◆';
  color: var(--accent);
  font-size: 12px;
  margin-right: 8px;
}

/* Screenshot placeholder */
.placeholder {
  border: 1px dashed var(--border-input);
  border-radius: 8px;
  padding: 48px 24px;
  text-align: center;
  color: var(--text-muted);
  background: var(--bg-subtle);
  font-size: 14px;
  margin: 24px 0;
}

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.plan {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.plan h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
}

.plan .price {
  font-size: 32px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  margin: 0 0 4px;
}

.plan .price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}

.plan ul {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.plan li {
  padding: 4px 0;
}

.plans-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* FAQ */
.faq-list details {
  border-top: 1px solid var(--border);
  padding: 16px 0;
}

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

.faq-list summary {
  font-weight: 600;
  cursor: pointer;
}

.faq-list summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--text-muted);
  max-width: 65ch;
}

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
  font-size: 14px;
  color: var(--text-muted);
}

footer.site-footer h2 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-bottom: 24px;
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  padding: 4px 0;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* Launch additions */
.cta-link {
  display: inline-block;
  margin-left: 16px;
  padding: 12px 4px;
  font-size: 15px;
  font-weight: 600;
}

.shot {
  margin: 32px 0 0;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.shot figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

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

.plan-cta {
  margin-top: 16px;
  width: 100%;
  text-align: center;
}
