:root {
  --ink: #171321;
  --muted: #5b5566;
  --line: #d9d3e8;
  --panel: #ffffff;
  --soft: #f7f3ff;
  --orange: #fc6d26;
  --red: #e24329;
  --yellow: #fca326;
  --purple: #7759c2;
  --green: #168f53;
  --shadow: 0 22px 70px rgba(31, 21, 55, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 4%, rgba(252, 109, 38, 0.2), transparent 26rem),
    linear-gradient(180deg, #fff8f4 0%, #ffffff 42%, #f9f7fd 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 56px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(217, 211, 232, 0.7);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink);
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
}

.brand-mark span {
  position: absolute;
  width: 17px;
  height: 23px;
  background: linear-gradient(145deg, var(--yellow), var(--red));
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transform-origin: 50% 100%;
}

.brand-mark span:nth-child(1) {
  left: 2px;
  transform: rotate(-24deg);
}

.brand-mark span:nth-child(2) {
  right: 2px;
  transform: rotate(24deg);
}

.brand-mark span:nth-child(3) {
  bottom: 2px;
  width: 22px;
  height: 20px;
  background: linear-gradient(145deg, var(--orange), var(--purple));
}

.main-nav,
.header-actions,
.hero-actions,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a,
.text-link,
.site-footer a {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 650;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 800;
  white-space: nowrap;
}

.button:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.button-small {
  min-height: 40px;
  padding-inline: 16px;
}

.button-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.button-secondary:hover {
  color: var(--ink);
  background: #fff3ed;
  border-color: var(--orange);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 72px 56px 96px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6vw, 5.85rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.hero-text {
  max-width: 610px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.product-shot {
  overflow: hidden;
  width: 100%;
  min-height: 540px;
  background: #fff;
  border: 1px solid rgba(217, 211, 232, 0.95);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  background: #f1edf8;
  border-bottom: 1px solid var(--line);
}

.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--red);
}

.window-bar span:nth-child(2) {
  background: var(--yellow);
}

.window-bar span:nth-child(3) {
  background: var(--green);
}

.repo-panel {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 496px;
}

.repo-sidebar {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 24px 18px;
  background: #241b36;
  color: #fff;
}

.repo-sidebar strong {
  margin-bottom: 16px;
}

.repo-sidebar a {
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.78);
  border-radius: 6px;
  font-size: 0.94rem;
}

.repo-sidebar a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.repo-content {
  padding: 26px;
}

.repo-title {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.repo-title p {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.92rem;
}

.repo-title h2 {
  font-size: 1.65rem;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  color: #0f5d39;
  background: #dcf5e8;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.pipeline {
  display: flex;
  align-items: center;
  margin: 34px 0;
}

.dot {
  width: 18px;
  height: 18px;
  border: 3px solid #cfc7dd;
  border-radius: 999px;
  background: #fff;
}

.dot.done,
.dot.active {
  border-color: var(--green);
  background: var(--green);
}

.dot.active {
  box-shadow: 0 0 0 8px rgba(22, 143, 83, 0.14);
}

.line {
  flex: 1;
  height: 4px;
  background: #d8d0e6;
}

.line.done {
  background: var(--green);
}

.code-card {
  padding: 20px;
  color: #f8f5ff;
  background: #171321;
  border-radius: 8px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92rem;
  line-height: 1.7;
}

.code-card p {
  margin-bottom: 4px;
}

.code-num {
  display: inline-block;
  width: 28px;
  color: #8f879f;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.metric-grid div {
  min-height: 90px;
  padding: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric-grid span,
.metric-grid strong {
  display: block;
}

.metric-grid span {
  color: var(--muted);
  font-size: 0.82rem;
}

.metric-grid strong {
  margin-top: 10px;
  font-size: 1.8rem;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 38px;
  padding: 30px 56px;
  color: var(--muted);
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.logo-strip a {
  color: var(--ink);
  font-weight: 900;
}

.section,
.band,
.resources {
  padding: 92px 56px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 820px;
}

.feature-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card,
.price-card {
  display: block;
  min-height: 250px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 36px rgba(31, 21, 55, 0.06);
}

.feature-card:hover,
.price-card:hover {
  color: var(--ink);
  border-color: var(--orange);
  transform: translateY(-2px);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 36px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  font-weight: 900;
}

.feature-card p,
.price-card p {
  color: var(--muted);
  line-height: 1.55;
}

.band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: center;
  color: #fff;
  background: linear-gradient(135deg, #171321 0%, #3b1d4f 58%, #7a2e19 100%);
}

.band .eyebrow {
  color: #fca326;
}

.solution-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.solution-list a {
  min-height: 74px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font-weight: 800;
}

.solution-list a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.price-card strong {
  display: block;
  margin-bottom: 18px;
  font-size: 3rem;
}

.price-card strong::after {
  content: " / user";
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.price-card.highlighted {
  border: 2px solid var(--orange);
}

.resources {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
  background: #fff;
}

.resources h2 {
  margin-bottom: 26px;
}

.article-list {
  display: grid;
  gap: 14px;
}

.article-list a {
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1.15rem;
  font-weight: 850;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 42px 56px;
  color: var(--muted);
  background: #171321;
}

.site-footer .brand,
.site-footer a {
  color: #fff;
}

.site-footer p {
  margin: 14px 0 0;
}

@media (max-width: 1100px) {
  .site-header {
    padding-inline: 24px;
  }

  .main-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 56px 24px 72px;
  }

  .section,
  .band,
  .resources {
    padding: 72px 24px;
  }

  .feature-grid,
  .pricing-grid,
  .band,
  .resources {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 64px;
  }

  .header-actions .text-link {
    display: none;
  }

  .button-small {
    min-height: 36px;
    padding-inline: 12px;
    font-size: 0.86rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  h1 {
    font-size: 3rem;
  }

  .product-shot {
    min-height: 0;
  }

  .repo-panel {
    grid-template-columns: 1fr;
  }

  .repo-sidebar {
    display: none;
  }

  .repo-title {
    flex-direction: column;
  }

  .metric-grid,
  .solution-list {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

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