:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #5f6674;
  --paper: #fbfcff;
  --white: #ffffff;
  --line: #dce3ed;
  --soft: #f3f6fb;
  --blue: #265cff;
  --coral: #ff5a4f;
  --lime: #c9ff4f;
  --violet: #7c3aed;
  --green: #14784a;
  --shadow: rgba(17, 24, 39, 0.14) 0 24px 70px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(38, 92, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(38, 92, 255, 0.08) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px;
  color: var(--ink);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 252, 255, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  min-height: 64px;
  max-width: 1180px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding: 0 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 850;
  text-decoration: none;
}

.brand::before {
  width: 18px;
  height: 22px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background:
    linear-gradient(var(--ink), var(--ink)) 4px 6px / 9px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 4px 12px / 7px 2px no-repeat,
    linear-gradient(135deg, var(--lime), var(--coral));
  box-shadow: var(--blue) 4px 4px 0;
  content: "";
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #424b5d;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 0 16px;
  background: var(--ink);
  box-shadow: rgba(17, 17, 17, 0.2) 0 14px 34px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.button.secondary {
  border-color: var(--line);
  background: #ffffff;
  box-shadow: rgba(17, 24, 39, 0.08) 0 8px 24px;
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: min(720px, 72svh);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(112deg, rgba(251, 252, 255, 0.98) 0 42%, rgba(251, 252, 255, 0.72) 56%, rgba(17, 17, 17, 0.04) 100%),
    repeating-linear-gradient(135deg, rgba(255, 90, 79, 0.14) 0 8px, transparent 8px 18px);
}

.hero::before {
  position: absolute;
  inset: 0 auto 0 54%;
  width: 42vw;
  min-width: 430px;
  background:
    linear-gradient(115deg, rgba(201, 255, 79, 0.88), rgba(38, 92, 255, 0.9) 44%, rgba(255, 90, 79, 0.88));
  clip-path: polygon(17% 0, 100% 0, 100% 100%, 0 100%);
  content: "";
}

.hero::after {
  position: absolute;
  right: max(16px, 7vw);
  bottom: 26px;
  width: min(490px, 39vw);
  height: min(570px, 64vh);
  border: 1px solid rgba(17, 24, 39, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.32)),
    url("assets/sidepanel.png") center top / contain no-repeat,
    #ffffff;
  box-shadow: rgba(17, 24, 39, 0.28) 0 28px 90px;
  content: "";
  transform: rotate(1.6deg);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 78px 22px 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--green);
  font-size: 14px;
  font-weight: 850;
}

.eyebrow::before {
  width: 12px;
  height: 12px;
  border: 2px solid var(--green);
  border-radius: 3px;
  content: "";
  transform: rotate(45deg);
}

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

h1 {
  max-width: 720px;
  font-size: 76px;
  line-height: 0.98;
}

.hero-copy {
  max-width: 540px;
  margin-top: 24px;
  color: #30384a;
  font-size: 21px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.proof {
  min-height: 116px;
  border-right: 1px solid var(--line);
  padding: 22px;
}

.proof:last-child {
  border-right: 0;
}

.proof strong {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.proof span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 84px 22px;
}

.section h2 {
  max-width: 720px;
  font-size: 52px;
  line-height: 1.02;
}

.section-lede {
  max-width: 650px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.recipe {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 38px;
  align-items: start;
}

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

.steps article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 4px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: rgba(17, 24, 39, 0.06) 0 8px 24px;
  padding: 18px;
}

.steps span {
  display: grid;
  width: 48px;
  height: 48px;
  grid-row: span 2;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-size: 21px;
  font-weight: 900;
}

.steps h3 {
  font-size: 24px;
}

.steps p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 42px;
  align-items: center;
}

.product-shot {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: rotate(-1.2deg);
}

.status-list {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.status-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  padding: 13px 14px;
  color: #30384a;
  font-size: 17px;
}

.status-list strong {
  color: var(--ink);
}

.check {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  place-items: center;
  border-radius: 7px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 900;
}

.output {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 34px;
  align-items: center;
}

.code-box {
  overflow: auto;
  border: 1px solid #202736;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(201, 255, 79, 0.16) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(180deg, #111111, #171d26);
  box-shadow: var(--shadow);
  color: #eff6ff;
  padding: 24px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 17px;
  line-height: 1.8;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 22px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner a {
  color: var(--ink);
}

.doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 72px 22px;
}

.doc h1 {
  font-size: 56px;
  line-height: 1;
}

.doc h2 {
  margin-top: 42px;
  font-size: 25px;
}

.doc p,
.doc li {
  color: #30384a;
  font-size: 18px;
  line-height: 1.7;
}

.doc code {
  border-radius: 6px;
  background: var(--soft);
  padding: 2px 6px;
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 14px;
  }

  .nav-links {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .nav-links a {
    overflow-wrap: anywhere;
  }

  .nav-links .button {
    grid-column: 1 / -1;
  }

  .hero {
    min-height: min(680px, 70svh);
  }

  .hero::before {
    inset: 0 auto 0 46%;
    width: 58vw;
    min-width: 310px;
    opacity: 0.8;
  }

  .hero::after {
    right: 18px;
    bottom: 18px;
    width: 230px;
    height: 280px;
    opacity: 0.42;
  }

  .hero-inner {
    padding: 54px 22px 92px;
  }

  h1 {
    max-width: 620px;
    font-size: 54px;
  }

  .proof-row,
  .recipe,
  .split,
  .output {
    grid-template-columns: 1fr;
  }

  .proof {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section h2 {
    font-size: 44px;
  }
}

@media (max-width: 520px) {
  .nav-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: min(620px, 68svh);
  }

  .hero-inner {
    padding: 40px 20px 76px;
  }

  .hero::before {
    inset: 0 auto 0 34%;
  }

  .hero::after {
    width: 164px;
    height: 200px;
    opacity: 0.32;
  }

  h1 {
    font-size: 39px;
    line-height: 1.02;
  }

  .hero-copy,
  .section-lede {
    font-size: 18px;
  }

  .section {
    padding-block: 62px;
  }

  .section h2 {
    font-size: 36px;
  }

  .steps article {
    grid-template-columns: 44px 1fr;
  }

  .steps span {
    width: 44px;
    height: 44px;
  }
}
