:root {
  --bg: #f7f4ef;
  --panel: #fffdfa;
  --ink: #15202b;
  --muted: #5b6776;
  --line: #d8d1c4;
  --accent: #1f6feb;
  --accent-soft: #e8f0ff;
  --gold: #b98512;
  --shadow: 0 18px 48px rgba(21, 32, 43, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(31, 111, 235, 0.14), transparent 26%),
    radial-gradient(circle at top right, rgba(185, 133, 18, 0.12), transparent 22%),
    linear-gradient(180deg, #fbf9f4 0%, #f3eee4 100%);
}

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

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 32px 0 72px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 48px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.logo-mark {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), #74a7ff);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
  box-shadow: var(--shadow);
  flex: 0 0 auto;
}

.logo-copy {
  min-width: 0;
}

.logo-copy h1,
.logo-copy p {
  margin: 0;
}

.logo-copy h1 {
  font-size: 1.4rem;
}

.logo-copy p {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.nav a,
.button,
.ghost-button {
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 600;
}

.nav a {
  color: var(--muted);
  white-space: nowrap;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: white;
  box-shadow: var(--shadow);
}

.ghost-button {
  display: inline-block;
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.hero-copy h2 {
  font-size: clamp(2.2rem, 4vw, 4.3rem);
  line-height: 0.98;
  margin: 0 0 16px;
}

.hero-copy p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 18px;
}

.hero-actions,
.stack,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.card,
.section-card {
  background: rgba(255, 253, 250, 0.9);
  border: 1px solid rgba(216, 209, 196, 0.9);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 26px;
}

.hero-card h3,
.section-card h3,
.split-copy h3,
.faq-item h3 {
  margin-top: 0;
}

.hero-card p,
.section-card p,
.split-copy p,
.faq-item p,
.section-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.code-window {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: #101722;
  color: #d9e2ef;
  font-family: "Fira Mono", Consolas, monospace;
  white-space: pre-wrap;
}

.section {
  padding: 22px 0 76px;
}

.section-tight {
  padding-top: 6px;
}

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

.section-head h2,
.split-copy h2,
.section-copy h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.8rem);
  margin-bottom: 12px;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.section-card {
  padding: 24px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.split-copy,
.split-panel {
  padding: 28px;
}

.checklist,
.faq-list,
.mini-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.faq-list {
  display: grid;
  gap: 16px;
  padding-left: 0;
  list-style: none;
}

.faq-item {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 253, 250, 0.85);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.kit-signup {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
  align-items: start;
}

.section-copy {
  padding: 28px;
}

.section-copy p {
  margin-bottom: 14px;
}

.embed-shell {
  padding: 28px;
  min-height: 260px;
}

.embed-fallback {
  margin-top: 16px;
  font-size: 0.92rem;
  color: var(--muted);
}

.footer {
  padding: 28px 0 44px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links {
  margin-bottom: 12px;
}

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

.footer-copy {
  line-height: 1.6;
}

.subpage-hero {
  padding: 32px 0 24px;
}

.subpage-hero h1 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.05;
  margin-bottom: 14px;
}

.content {
  padding: 0 0 64px;
}

.content .section-card {
  padding: 28px;
}

.content h2 {
  margin-top: 0;
}

.content h3 {
  margin-top: 28px;
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .section-grid,
  .kit-signup,
  .topbar {
    grid-template-columns: 1fr;
  }

  .topbar {
    display: grid;
    align-items: start;
  }

  .nav {
    justify-content: flex-start;
  }
}
