:root {
  --ink: #1d1b19;
  --muted: #5a5652;
  --accent: #e05d3d;
  --accent-2: #157a6e;
  --accent-3: #f1b24a;
  --paper: #fff8f1;
  --glass: rgba(255, 255, 255, 0.78);
  --border: rgba(29, 27, 25, 0.12);
  --shadow: 0 20px 50px rgba(29, 27, 25, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Commissioner", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
}

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

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

.background {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 70% at 10% 0%, rgba(224, 93, 61, 0.22), transparent 70%),
    radial-gradient(50% 65% at 90% 0%, rgba(21, 122, 110, 0.25), transparent 70%),
    linear-gradient(180deg, #fff8f1 0%, #f7efe8 55%, #fdf4ea 100%);
}

.blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(30px);
  opacity: 0.6;
  animation: float 12s ease-in-out infinite;
}

.blob-one {
  width: 220px;
  height: 220px;
  left: 6%;
  top: 120px;
  background: rgba(241, 178, 74, 0.55);
}

.blob-two {
  width: 260px;
  height: 260px;
  right: 8%;
  top: 80px;
  background: rgba(21, 122, 110, 0.5);
  animation-delay: -3s;
}

.blob-three {
  width: 200px;
  height: 200px;
  right: 30%;
  bottom: 120px;
  background: rgba(224, 93, 61, 0.5);
  animation-delay: -6s;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(255, 248, 241, 0.85);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  font-family: "Literata", "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.15rem;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 0.95rem;
}

.hero {
  padding: 90px 0 70px;
}

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

.hero-title {
  font-family: "Literata", "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  margin: 12px 0 16px;
  letter-spacing: -0.02em;
}

.hero-text {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 24px;
}

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

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

.badge {
  background: rgba(21, 122, 110, 0.12);
  border: 1px solid rgba(21, 122, 110, 0.25);
  color: var(--accent-2);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--accent-2);
}

.hero-card,
.flow-card,
.playground-panel,
.feature-card,
.callout {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.hero-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-title {
  font-family: "Literata", "Times New Roman", serif;
  margin: 0 0 6px;
}

.card-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.card-list li {
  margin-bottom: 10px;
}

.card-foot {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 70px 0;
}

.section-title {
  font-family: "Literata", "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin: 12px 0 12px;
}

.section-subtitle {
  color: var(--muted);
  max-width: 680px;
  line-height: 1.6;
}

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

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

.feature-card h3 {
  margin: 6px 0 8px;
}

.feature-number {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(224, 93, 61, 0.12);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 600;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

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

.flow-note {
  color: var(--muted);
  margin-top: 18px;
}

.glow {
  border: 1px solid rgba(21, 122, 110, 0.3);
  box-shadow: 0 18px 45px rgba(21, 122, 110, 0.12);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 16px 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(241, 178, 74, 0.2);
  border-radius: 999px;
  font-size: 0.85rem;
  color: #8a5c12;
}

.playground-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: start;
}

.playground-info .tips {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.playground-info strong {
  display: block;
  margin-bottom: 6px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.field input,
.field select,
.field textarea {
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
}

.field textarea {
  resize: vertical;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 26px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 32px rgba(224, 93, 61, 0.25);
}

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

.btn-ghost {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
}

.response {
  margin-top: 20px;
  background: #1c1a18;
  color: #fdf4ea;
  border-radius: 18px;
  padding: 14px;
  font-size: 0.9rem;
  overflow: hidden;
}

.response-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 600;
}

.response pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer {
  border-top: 1px solid var(--border);
  background: rgba(255, 248, 241, 0.85);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.reveal.delay-1 {
  animation-delay: 0.1s;
}

.reveal.delay-2 {
  animation-delay: 0.2s;
}

.reveal.delay-3 {
  animation-delay: 0.3s;
}

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

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-16px);
  }
}

@media (max-width: 900px) {
  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

@media (max-width: 720px) {
  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero {
    padding: 70px 0 50px;
  }
  .callout {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .blob {
    animation: none;
  }
}
