:root {
  --bg: #fffdf8;
  --surface: #ffffff;
  --surface-soft: #fff7e9;
  --ink: #1f2937;
  --muted: #5b6470;
  --line: #eadfc8;
  --accent: #1f8f74;
  --accent-2: #e79b2f;
  --radius: 18px;
  --shadow: 0 18px 48px rgba(34, 33, 29, 0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Manrope, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 10% -10%, #fff2d8 0%, transparent 70%),
    radial-gradient(900px 600px at 100% 0%, #e9fff8 0%, transparent 60%),
    var(--bg);
  line-height: 1.6;
}

.bg-orb {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(42px);
  opacity: 0.25;
  pointer-events: none;
}
.orb-a {
  width: 320px;
  height: 320px;
  top: 8vh;
  right: 8vw;
  background: #f7b157;
}
.orb-b {
  width: 260px;
  height: 260px;
  bottom: 10vh;
  left: 8vw;
  background: #60c7ab;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(255, 253, 248, 0.78);
  border-bottom: 1px solid rgba(234, 223, 200, 0.8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 5vw;
}

.brand {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.04rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}

nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 6px 8px;
  border-radius: 10px;
}
nav a:hover {
  background: var(--surface-soft);
  color: var(--ink);
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 36px 0 80px;
}

.hero {
  background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(255,247,232,0.88));
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(26px, 4vw, 56px);
  box-shadow: var(--shadow);
}

.kicker {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: #7d6f57;
  font-weight: 700;
}

h1 {
  margin: 8px 0 10px;
  font-size: clamp(2rem, 6.2vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
h1 span { color: var(--accent); }

.lead {
  color: var(--muted);
  max-width: 68ch;
  margin-bottom: 24px;
}

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

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.94rem;
}

.btn.primary {
  background: var(--ink);
  color: white;
}
.btn.primary:hover { background: #111827; }

.btn.ghost {
  border: 1px solid #d8c8a6;
  color: #564931;
  background: #fff8eb;
}
.btn.ghost:hover { background: #fff2dd; }

section { margin-top: 44px; }
.section-title-wrap h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
}
.section-title-wrap p {
  color: var(--muted);
  margin: 6px 0 18px;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px;
  box-shadow: 0 10px 28px rgba(43, 44, 33, 0.05);
}

.card h3 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
}

.card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.card a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.card a:hover { text-decoration: underline; }

.deploy-box {
  border: 1px solid #d7e9e4;
  background: linear-gradient(145deg, #f8fffd, #fffdf9);
  border-radius: 20px;
  padding: 24px;
}

.deploy-box h2 { margin-top: 0; }

pre {
  background: #17212b;
  color: #f2f5f7;
  border-radius: 12px;
  padding: 14px;
  overflow-x: auto;
  font-size: 0.86rem;
}

.small { color: var(--muted); font-size: 0.92rem; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 18px 5vw 34px;
  color: #7a735f;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: rise 0.65s ease forwards;
}
.reveal:nth-of-type(2) { animation-delay: 0.06s; }
.reveal:nth-of-type(3) { animation-delay: 0.14s; }
.reveal:nth-of-type(4) { animation-delay: 0.22s; }
.reveal:nth-of-type(5) { animation-delay: 0.3s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .cards-3, .cards-2 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .hero-actions { width: 100%; }
  .btn { width: 100%; text-align: center; }
}
