:root {
  color-scheme: dark;
  --ink: #0b0f14;
  --ink-2: #111820;
  --paper: #f6f1e8;
  --muted: #b9c2c7;
  --line: rgba(246, 241, 232, 0.18);
  --cyan: #48e4d2;
  --coral: #ff6b4a;
  --lime: #c8ff5a;
  --blue: #7aa8ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 30;
  padding: 0.75rem 1rem;
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
}

.skip-link:focus {
  top: 1rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(8rem, 14rem) 1fr auto;
  align-items: center;
  gap: 1rem;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.85rem 0;
  transition: backdrop-filter 180ms ease, background-color 180ms ease;
}

.topbar.is-scrolled {
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: min(100%, 13rem);
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
}

.nav a,
.nav-cta,
.button {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.74rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  color: var(--paper);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

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

.nav a:hover,
.nav-cta:hover,
.button:hover {
  transform: translateY(-1px);
  border-color: rgba(72, 228, 210, 0.6);
}

.nav-cta,
.button-primary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
  font-weight: 700;
}

.button-secondary {
  background: rgba(11, 15, 20, 0.4);
}

.hero {
  position: relative;
  min-height: 78svh;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  padding: clamp(6rem, 14vw, 11rem) max(1rem, calc((100vw - var(--max)) / 2)) clamp(3rem, 8vw, 5rem);
  margin-top: -4.5rem;
  border-bottom: 1px solid var(--line);
}

.hero-art,
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 15, 20, 0.96) 0%, rgba(11, 15, 20, 0.74) 42%, rgba(11, 15, 20, 0.22) 100%),
    linear-gradient(0deg, rgba(11, 15, 20, 0.96) 0%, rgba(11, 15, 20, 0.04) 48%);
}

.hero-content {
  width: min(46rem, 100%);
  padding: 0 1rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
summary {
  margin: 0;
  letter-spacing: 0;
  line-height: 1;
}

h1 {
  font-size: clamp(4.2rem, 12vw, 9.8rem);
  font-weight: 900;
}

h2 {
  max-width: 13ch;
  font-size: clamp(2rem, 5vw, 4.2rem);
  font-weight: 850;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.hero-dek {
  max-width: 48rem;
  margin-top: 1.1rem;
  color: rgba(246, 241, 232, 0.88);
  font-size: clamp(1.03rem, 1.6vw, 1.28rem);
}

.hero-note {
  max-width: 42rem;
  margin-top: 1rem;
  color: rgba(246, 241, 232, 0.72);
  font-size: 0.95rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  width: min(31rem, 100%);
  padding: 0;
  margin: 1.4rem 0 0;
  list-style: none;
}

.proof-strip li {
  min-width: 0;
  padding: 0.7rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(17, 24, 32, 0.66);
  color: var(--paper);
  text-align: center;
  font-size: 0.84rem;
  font-weight: 800;
}

.section {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.8fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-head p:not(.eyebrow) {
  max-width: 43rem;
}

.section-head.narrow {
  display: block;
}

.guide-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.guide-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.guide-points li {
  min-width: 0;
  min-height: 13.5rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at top right, rgba(122, 168, 255, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(246, 241, 232, 0.07), rgba(246, 241, 232, 0.03));
}

.guide-points h3 {
  margin-bottom: 0.7rem;
}

.feature-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.case-grid article,
.faq-list details {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(246, 241, 232, 0.07), rgba(246, 241, 232, 0.03));
}

.feature-card {
  min-height: 17rem;
  padding: 1.25rem;
}

.feature-index {
  display: inline-flex;
  margin-bottom: 4.5rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
}

.feature-card:nth-child(2) .feature-index {
  color: var(--coral);
}

.feature-card:nth-child(3) .feature-index {
  color: var(--lime);
}

.feature-card h3,
.case-grid h3 {
  margin-bottom: 0.7rem;
}

.workflow {
  width: 100%;
  max-width: none;
  background:
    linear-gradient(180deg, rgba(246, 241, 232, 0.04), transparent),
    var(--ink-2);
  padding-inline: max(1rem, calc((100vw - var(--max)) / 2));
}

.flow-board {
  display: grid;
  grid-template-columns: minmax(9rem, 1fr) minmax(2rem, 0.25fr) minmax(9rem, 1fr) minmax(2rem, 0.25fr) minmax(9rem, 1fr) minmax(2rem, 0.25fr) minmax(9rem, 1fr);
  gap: 0.8rem;
  align-items: center;
  margin-top: 2.4rem;
}

.flow-node {
  min-height: 9.5rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 15, 20, 0.58);
  cursor: pointer;
}

.flow-node span {
  display: block;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.flow-node strong {
  display: block;
  margin-top: 2.5rem;
  color: var(--paper);
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
}

.flow-node.is-active {
  border-color: rgba(200, 255, 90, 0.76);
  box-shadow: 0 0 0 1px rgba(200, 255, 90, 0.2), 0 22px 70px rgba(72, 228, 210, 0.16);
}

.flow-line {
  height: 2px;
  min-width: 2rem;
  background: linear-gradient(90deg, var(--cyan), var(--coral), var(--lime));
}

.workflow-copy {
  max-width: 50rem;
  margin-top: 1.5rem;
}

.case-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.case-grid article {
  min-height: 13rem;
  padding: 1.25rem;
}

.case-grid article:nth-child(1) {
  border-top-color: var(--coral);
}

.case-grid article:nth-child(2) {
  border-top-color: var(--blue);
}

.case-grid article:nth-child(3) {
  border-top-color: var(--cyan);
}

.case-grid article:nth-child(4) {
  border-top-color: var(--lime);
}

.creators {
  width: 100%;
  max-width: none;
  padding-inline: max(1rem, calc((100vw - var(--max)) / 2));
  background: var(--paper);
  color: var(--ink);
}

.creators .eyebrow {
  color: #0f766e;
}

.creators p {
  color: rgba(11, 15, 20, 0.72);
}

.creator-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
}

.creator-panel h2 {
  max-width: 15ch;
}

.creator-panel p {
  max-width: 46rem;
  margin-top: 1rem;
}

.creator-panel .button-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  padding: 1rem 1.2rem;
}

.faq-list summary {
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 800;
}

.faq-list p {
  max-width: 62rem;
  margin-top: 0.75rem;
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0 4rem;
  border-top: 1px solid var(--line);
}

.footer div {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer img {
  width: 3.2rem;
  height: 3.2rem;
}

.footer p {
  max-width: 34rem;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .nav a {
    white-space: nowrap;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(11, 15, 20, 0.94) 0%, rgba(11, 15, 20, 0.68) 100%),
      linear-gradient(0deg, rgba(11, 15, 20, 0.96) 0%, rgba(11, 15, 20, 0.12) 58%);
  }

  .section-head,
  .creator-panel,
  .footer {
    grid-template-columns: 1fr;
  }

  .guide-points,
  .feature-grid,
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-board {
    grid-template-columns: 1fr;
  }

  .flow-line {
    width: 2px;
    height: 1.6rem;
    min-width: 0;
    justify-self: center;
    background: linear-gradient(180deg, var(--cyan), var(--coral), var(--lime));
  }
}

@media (max-width: 560px) {
  .topbar {
    width: calc(100% - 1rem);
  }

  .brand img {
    width: 10rem;
  }

  .nav-cta {
    padding-inline: 0.75rem;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 84svh;
    padding-bottom: 2.4rem;
  }

  h1 {
    font-size: clamp(3.7rem, 22vw, 6rem);
  }

  .hero-content {
    padding: 0;
  }

  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-points,
  .feature-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .guide-points li,
  .feature-card,
  .case-grid article {
    min-height: auto;
  }

  .feature-index {
    margin-bottom: 2.5rem;
  }
}
