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

:root {
  --bg: #f5f0e6;
  --paper: #fff9f1;
  --ink: #1f1f1f;
  --muted: #5a5a5a;
  --accent: #e76f51;
  --accent-2: #2a9d8f;
  --accent-3: #264653;
  --shadow: rgba(31, 31, 31, 0.1);
  --radius: 20px;
  --body-font: "Space Grotesk", "Helvetica Neue", sans-serif;
  --display-font: "Fraunces", "Times New Roman", serif;
  --mono-font: "IBM Plex Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--ink);
  background: radial-gradient(circle at top left, #fdf3e1, #f1f6f4 45%, #f5f0e6 75%);
  min-height: 100vh;
}

main {
  padding: 96px 8vw 80px;
}

h1,
h2,
h3 {
  font-family: var(--display-font);
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2.6rem, 4vw, 3.6rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

h3 {
  font-size: 1.4rem;
}

p {
  line-height: 1.6;
  color: var(--muted);
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-family: var(--mono-font);
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(245, 240, 230, 0.8);
  border-bottom: 1px solid rgba(38, 70, 83, 0.08);
  z-index: 20;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 8vw;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand img {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-weight: 600;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a.active,
.nav-links a:hover {
  background: var(--accent-2);
  color: #fff;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.hero-content {
  animation: fadeUp 0.7s ease both;
}

.hero h1 {
  color: var(--accent-3);
}

.lead {
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin: 24px 0;
}

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

.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(--accent);
  color: #fff;
  box-shadow: 0 14px 30px rgba(231, 111, 81, 0.25);
}

.btn.ghost {
  background: #fff;
  border-color: rgba(38, 70, 83, 0.2);
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.panel-card {
  background: var(--paper);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px var(--shadow);
  border: 1px solid rgba(38, 70, 83, 0.08);
}

.panel-card.accent {
  background: linear-gradient(120deg, rgba(42, 157, 143, 0.12), rgba(231, 111, 81, 0.12));
}

.panel-title {
  font-weight: 700;
  color: var(--accent-3);
}

.section {
  margin-top: 80px;
}

.section.narrow {
  max-width: 900px;
}

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

.card {
  background: #fff;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(38, 70, 83, 0.1);
  box-shadow: 0 12px 24px rgba(38, 70, 83, 0.08);
  animation: floatIn 0.8s ease both;
  animation-delay: var(--delay);
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.code-block {
  background: #1f2a2e;
  color: #f8f7f2;
  padding: 18px;
  border-radius: 16px;
  font-family: var(--mono-font);
  font-size: 0.9rem;
  overflow-x: auto;
}

.code-label {
  font-weight: 600;
  color: var(--accent-3);
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.pill-grid span {
  background: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(38, 70, 83, 0.15);
}

.download-grid,
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 32px;
}

.download-card,
.price-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(38, 70, 83, 0.1);
  box-shadow: 0 12px 24px rgba(38, 70, 83, 0.08);
}

.price-card.featured {
  border: 2px solid var(--accent-2);
  box-shadow: 0 18px 36px rgba(42, 157, 143, 0.2);
}

.price {
  font-size: 1.8rem;
  color: var(--accent-3);
  margin: 12px 0;
}

.doc-list {
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

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

.footer {
  padding: 32px 8vw 48px;
  border-top: 1px solid rgba(38, 70, 83, 0.08);
  color: var(--muted);
  text-align: center;
}

.reveal {
  animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 800px) {
  main {
    padding: 88px 6vw 72px;
  }

  .nav {
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
