@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&family=Source+Serif+4:wght@500;700&display=swap');

:root {
  --canvas-color: #f3efe9;
  --surface-color: rgba(255, 255, 255, 0.82);
  --surface-strong-color: #ffffff;
  --ink-color: #0a1726;
  --muted-ink-color: #4b5563;
  --line-color: rgba(15, 23, 42, 0.13);
  --accent-color: #1f6f79;
  --accent-strong-color: #0e4f56;
  --accent-soft-color: rgba(31, 111, 121, 0.14);
  --highlight-color: #d97706;
  --shadow-color: rgba(15, 23, 42, 0.14);
  --max-width: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', 'Avenir Next', 'Segoe UI', sans-serif;
  color: var(--ink-color);
  background:
    radial-gradient(circle at 12% 0%, rgba(31, 111, 121, 0.19), transparent 30%),
    radial-gradient(circle at 88% 20%, rgba(217, 119, 6, 0.13), transparent 26%),
    var(--canvas-color);
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

code,
pre {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

.page-shell {
  min-height: 100vh;
}

.container {
  width: min(var(--max-width), calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(8, 23, 38, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header-row {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  width: 164px;
}

.site-brand-mark {
  width: 164px;
  height: 40px;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.site-nav a {
  text-decoration: none;
  color: #dbeafe;
  font-weight: 600;
}

.site-nav a:hover {
  color: #ffffff;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  margin: 20px auto 0;
  min-height: min(85vh, 900px);
  display: grid;
  align-items: end;
  isolation: isolate;
  background-image:
    linear-gradient(150deg, rgba(8, 23, 38, 0.78), rgba(8, 23, 38, 0.3)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 23, 38, 0.02), rgba(8, 23, 38, 0.45));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.86fr);
  gap: 24px;
  padding: clamp(120px, 15vw, 180px) 0;
}

.hero-panel {
  padding: 34px;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f8fafc;
  backdrop-filter: blur(8px);
}

.hero-panel h1 {
  font-family: 'Source Serif 4', 'Times New Roman', serif;
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

.hero-panel .lede {
  font-size: 1.02rem;
  color: rgba(248, 250, 252, 0.85);
  max-width: 60ch;
  margin: 0 0 24px;
  line-height: 1.68;
}

.hero-side {
  align-self: stretch;
  background: linear-gradient(140deg, rgba(2, 132, 149, 0.18), rgba(15, 23, 42, 0.6));
  border-color: rgba(255, 255, 255, 0.22);
}

.hero-side h3,
.hero-side h2 {
  margin-top: 0;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(203, 213, 225, 1);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

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

.button-primary {
  background: #5eead4;
  color: #002b30;
  box-shadow: 0 10px 24px rgba(10, 23, 38, 0.24);
}

.button-primary:hover {
  box-shadow: 0 14px 28px rgba(10, 23, 38, 0.26);
}

.button-secondary {
  background: rgba(15, 23, 42, 0.3);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.24);
}

.hero-side .mini-list {
  margin: 10px 0 0;
}

.mini-list,
.checklist,
.pill-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mini-list {
  display: grid;
  gap: 10px;
}

.mini-list li {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.mini-list--light li {
  background: rgba(248, 250, 252, 0.05);
}

.section {
  padding: 48px 0;
}

.section-intro {
  margin-bottom: 18px;
}

.section h2,
.section h1,
.docs-article h1,
.docs-article h2 {
  margin: 0 0 18px;
}

.section h2,
.section h1 {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.section .lede {
  color: var(--muted-ink-color);
  margin: 0;
  max-width: 64ch;
  line-height: 1.7;
}

.feature-grid,
.story-grid,
.pricing-grid,
.timeline,
.docs-layout {
  display: grid;
  gap: 18px;
}

.feature-grid,
.story-grid,
.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.story-card,
.pricing-card,
.timeline-item,
.docs-sidebar,
.docs-article,
.info-banner {
  background: var(--surface-color);
  border: 1px solid var(--line-color);
  border-radius: 24px;
  box-shadow: 0 22px 34px var(--shadow-color);
}

.feature-card,
.story-card,
.pricing-card,
.timeline-item,
.docs-sidebar,
.docs-article {
  padding: 26px;
}

.feature-card h3,
.story-card h3,
.pricing-card h3,
.timeline-item h3 {
  margin-top: 6px;
  margin-bottom: 10px;
}

.feature-card p,
.story-card p,
.pricing-card p,
.timeline-item p,
.docs-sidebar p,
.docs-article p,
.docs-article li {
  margin-top: 0;
  line-height: 1.65;
  color: var(--muted-ink-color);
}

.pricing-card h3 {
  font-size: 1.9rem;
  margin-top: 6px;
}

.timeline-item {
  padding: 22px 24px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.pill-list li {
  padding: 8px 12px;
  border-radius: 999px;
  color: #042f35;
  background: #b7f1e3;
  border: 1px solid rgba(13, 148, 136, 0.4);
  font-weight: 700;
  font-size: 0.87rem;
}

.checklist {
  display: grid;
  gap: 12px;
}

.checklist li {
  position: relative;
  padding: 14px 16px 14px 44px;
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 16px;
  top: 14px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent-soft-color);
  color: var(--accent-strong-color);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.info-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(
    145deg,
    rgba(31, 111, 121, 0.14),
    rgba(255, 255, 255, 0.9)
  );
}

.quote-card {
  background: linear-gradient(140deg, #082030, #0e2740);
  color: #e2e8f0;
  border: none;
}

.quote-card p,
.quote-card strong {
  color: inherit;
}

.section-cta {
  padding-bottom: 66px;
}

.section-deep {
  padding-bottom: 76px;
}

.docs-layout {
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
}

.docs-sidebar nav {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.docs-sidebar a {
  text-decoration: none;
  color: var(--ink-color);
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-color);
  background: #ffffff;
  font-weight: 700;
}

.docs-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
  height: fit-content;
}

.docs-article h1 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.08;
}

.docs-article h2 {
  font-size: 1.35rem;
  margin-top: 28px;
}

.code-block {
  margin: 18px 0 24px;
  padding: 18px;
  border-radius: 20px;
  background: #020617;
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.22);
  overflow-x: auto;
}

.site-footer {
  padding: 34px 0 56px;
}

.site-footer-panel {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 24px 28px;
  border-radius: 24px;
  background: #03162a;
  color: #cbd5e1;
}

.site-footer-panel a {
  color: #f8fafc;
  text-decoration: none;
}

.site-footer-panel .site-nav {
  flex-wrap: nowrap;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
}

@media (min-width: 768px) {
  .reveal {
    animation: reveal-rise 0.7s ease-out forwards;
    animation-delay: var(--reveal-delay, 0s);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

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

@media (max-width: 980px) {
  .hero {
    margin: 16px 16px 0;
    border-radius: 24px;
  }

  .hero-grid,
  .feature-grid,
  .story-grid,
  .pricing-grid,
  .docs-layout,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding: 88px 0;
  }

  .hero-panel {
    padding: 26px;
  }

  .site-header-row,
  .site-footer-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .hero-grid {
    padding: 70px 0 64px;
  }

  .container,
  .site-footer-panel {
    width: calc(100% - 26px);
  }

  .feature-card,
  .story-card,
  .pricing-card,
  .timeline-item,
  .docs-sidebar,
  .docs-article,
  .quote-card,
  .hero-panel,
  .info-banner {
    padding: 20px;
    border-radius: 20px;
  }

  .site-brand-mark {
    width: 150px;
  }
}
