:root {
  --bg: #f5f4ef;
  --surface: #fffdf7;
  --surface-strong: #fff;
  --text: #101010;
  --muted: #575654;
  --line: rgba(16, 16, 16, 0.14);
  --accent: #e85f3b;
  --accent-2: #17a2a4;
  --accent-3: #ffbc42;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-card: 0 18px 50px rgba(15, 15, 15, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% -10%, rgba(232, 95, 59, 0.25), transparent 42%),
    radial-gradient(circle at 84% 5%, rgba(23, 162, 164, 0.22), transparent 46%),
    linear-gradient(180deg, #fdfbf5 0%, #f5f4ef 100%);
  position: relative;
  overflow-x: hidden;
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image: radial-gradient(rgba(17, 17, 17, 0.08) 0.7px, transparent 0.7px);
  background-size: 3px 3px;
  z-index: -1;
}

.site-header,
.section,
.site-footer {
  width: min(1160px, calc(100% - 2.2rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 0.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.brand {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  font-family: "Sora", sans-serif;
  color: #fff;
  background: linear-gradient(140deg, var(--accent), #cb4023);
}

.brand-text {
  font-family: "Sora", sans-serif;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.nav-links {
  display: inline-flex;
  gap: 1.2rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--text);
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

.btn-outline {
  padding: 0.6rem 1rem;
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.btn-solid {
  padding: 0.75rem 1.15rem;
  color: #fff;
  background: linear-gradient(140deg, #e85f3b 0%, #d84a27 100%);
  box-shadow: 0 8px 26px rgba(217, 78, 41, 0.32);
}

.btn-ghost {
  padding: 0.75rem 1.15rem;
  color: var(--text);
  border: 1px solid var(--line);
  background: transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.section {
  padding: 4.5rem 0;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
  min-height: calc(100vh - 80px);
  padding-top: 2.2rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  color: var(--accent-2);
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  max-width: 20ch;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  max-width: 20ch;
}

h3 {
  font-size: clamp(1.14rem, 2vw, 1.35rem);
}

.accent {
  color: var(--accent);
}

.hero-copy {
  max-width: 960px;
}

.hero-sub {
  margin-top: 1rem;
  max-width: 72ch;
  color: var(--muted);
  line-height: 1.6;
}

.hero-actions {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-points {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-points li {
  font-size: 0.83rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.45rem 0.8rem;
}

.pipeline-shell {
  background: linear-gradient(170deg, #fff 0%, #f6f8f9 100%);
  border: 1px solid rgba(15, 15, 15, 0.07);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 1.2rem;
  position: relative;
  overflow: hidden;
}

.pipeline-shell::after {
  content: "";
  position: absolute;
  width: 260px;
  aspect-ratio: 1;
  right: -80px;
  top: -110px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(232, 95, 59, 0.19), transparent 70%);
}

.pipeline-head h2 {
  max-width: 28ch;
}

.pipeline-track {
  margin: 1rem 0 0;
  padding: 0 0 0.35rem;
  list-style: none;
  display: flex;
  gap: 0.72rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.pipeline-node {
  min-width: 170px;
  display: grid;
  gap: 0.22rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.65rem;
}

.pipeline-node span {
  font-size: 0.72rem;
  color: var(--accent-2);
  font-weight: 700;
}

.pipeline-node strong {
  font-family: "Sora", sans-serif;
  font-size: 0.92rem;
}

.pipeline-node small {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.3;
}

.pipeline-panels {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.78rem;
}

.terminal-block,
.config-block {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.09);
  background: #181919;
  color: #f2f6f4;
  padding: 0.9rem;
  font-size: 0.82rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.44;
}

.terminal-block p,
.config-block p {
  margin: 0.35rem 0;
}

.k {
  color: #ffbf76;
}

.section-head {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.7rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.feature-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: 0 8px 16px rgba(14, 14, 14, 0.03);
}

.feature-card p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.workflow .timeline {
  display: grid;
  gap: 0.95rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.timeline-item > span {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: "Sora", sans-serif;
  background: linear-gradient(145deg, #ffca7d 0%, #f6b455 100%);
}

.timeline-item p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.faq-item {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  position: relative;
  padding-right: 1.2rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -1px;
  font-size: 1.1rem;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.cta {
  background: linear-gradient(150deg, #fff7ea 0%, #fff 58%, #eefcfc 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.2rem;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.cta-copy p {
  margin: 0.85rem 0 0;
  color: var(--muted);
  line-height: 1.58;
  max-width: 60ch;
}

.cta-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem;
  display: grid;
  gap: 0.52rem;
}

.cta-form label {
  font-size: 0.86rem;
  font-weight: 700;
}

.cta-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  font: inherit;
}

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  min-height: 1em;
  margin: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  padding: 1.1rem 0 2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 580ms ease, transform 580ms ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1020px) {
  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .pipeline-panels {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .feature-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}
