:root {
  color-scheme: light;
  --bg: #f7f8f5;
  --ink: #171a1f;
  --muted: #5d6673;
  --line: #d9ded6;
  --panel: #ffffff;
  --soft: #eef3ef;
  --accent: #1f8a70;
  --coral: #f26b4f;
  --github: #24292f;
  --amber: #d99b2b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.project-return-banner {
  min-height: 50px;
  padding: 0.55rem clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

.project-return-banner a {
  flex: 0 0 auto;
  font-weight: 900;
  color: var(--accent);
}

.project-return-banner p {
  margin: 0;
  color: var(--muted);
  text-align: right;
}

.shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 248, 245, 0.92);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 900;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--ink);
  color: white;
  display: grid;
  place-items: center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.link,
.button {
  min-height: 38px;
  padding: 10px 13px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.link {
  color: var(--muted);
}

.button {
  background: var(--ink);
  color: white;
}

.secondary-button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.light-button {
  background: white;
  color: var(--ink);
}

.dark-outline {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: white;
}

.hero {
  min-height: calc(100vh - 122px);
  padding: clamp(44px, 7vw, 86px) clamp(18px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

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

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

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(56px, 9vw, 118px);
  letter-spacing: 0;
  line-height: 0.9;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 62px);
  letter-spacing: 0;
  line-height: 1;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.2;
}

.hero-statement {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 850;
  line-height: 1.12;
}

.lede {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.microcopy {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.product-scene {
  position: relative;
  display: grid;
  gap: 16px;
}

.stage-window,
.issue-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(23, 26, 31, 0.12);
}

.browser-bar {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.dot:nth-child(1) {
  background: var(--coral);
}

.dot:nth-child(2) {
  background: var(--amber);
}

.dot:nth-child(3) {
  background: var(--accent);
}

.url {
  margin-left: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.stage-page {
  position: relative;
  min-height: 420px;
  padding: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f6f1 100%);
}

.site-nav {
  margin-bottom: 34px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.site-nav span {
  width: 58px;
  height: 10px;
  border-radius: 999px;
  background: #dce3dc;
}

.site-hero {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 24px;
}

.mock-line {
  width: 74%;
  height: 18px;
  margin-bottom: 12px;
  border-radius: 7px;
  background: #dfe6df;
}

.mock-line.wide {
  width: 100%;
  height: 34px;
}

.mock-media {
  aspect-ratio: 1;
  border: 1px solid #cbd8ce;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(31, 138, 112, 0.26), rgba(242, 107, 79, 0.22)),
    #eef3ef;
}

.mock-cta,
.feedback-pill {
  border: 0;
  border-radius: 999px;
  cursor: default;
  font-weight: 900;
}

.mock-cta {
  margin-top: 12px;
  padding: 12px 16px;
  background: var(--accent);
  color: white;
}

.feedback-pill {
  position: absolute;
  right: 24px;
  bottom: 24px;
  padding: 11px 15px;
  background: var(--ink);
  color: white;
}

.pin {
  position: absolute;
  left: 37%;
  top: 55%;
  width: 34px;
  height: 34px;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--coral);
  color: white;
  box-shadow: 0 12px 26px rgba(242, 107, 79, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
}

.client-note {
  position: absolute;
  left: 42%;
  top: 50%;
  max-width: 245px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 16px 34px rgba(23, 26, 31, 0.14);
  display: grid;
  gap: 6px;
}

.client-note strong {
  font-size: 13px;
  line-height: 1.3;
}

.client-note span {
  color: var(--muted);
  font-size: 12px;
}

.issue-panel {
  position: relative;
  z-index: 2;
  justify-self: end;
  width: 82%;
  max-width: 390px;
  margin-top: -58px;
  padding: 18px;
  background: var(--github);
  color: white;
}

.issue-header {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
}

.github-mark {
  width: 25px;
  height: 25px;
  border-radius: 5px;
  background: white;
  color: var(--github);
  display: grid;
  place-items: center;
  font-size: 11px;
}

.issue-panel h2 {
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.2;
}

.labels {
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.labels span {
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 800;
}

dl {
  margin: 0;
  display: grid;
  gap: 8px;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

dt {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 800;
}

dd {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.workflow-band,
.section,
.install-section,
.final-cta {
  padding: clamp(54px, 8vw, 92px) clamp(18px, 4vw, 56px);
}

.workflow-band {
  border-block: 1px solid var(--line);
  background: var(--soft);
}

.section-heading {
  max-width: 780px;
}

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

.section-heading p,
.pricing-note,
.final-cta p {
  color: var(--muted);
  line-height: 1.55;
}

.steps {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.step {
  padding-top: 16px;
  border-top: 2px solid var(--accent);
}

.step span {
  margin-bottom: 12px;
  color: var(--coral);
  display: block;
  font-size: 13px;
  font-weight: 900;
}

.step p,
.benefit p,
.plan p,
.plan li,
.install-section li {
  color: var(--muted);
  line-height: 1.55;
}

.benefit-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.benefit {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.install-section {
  border-block: 1px solid var(--line);
  background: white;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: 28px;
}

.check-list,
.plan ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list {
  display: grid;
  gap: 9px;
}

.check-list li,
.plan li {
  position: relative;
  padding-left: 22px;
}

.check-list li::before,
.plan li::before {
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.code-block {
  margin: 0;
  overflow-x: auto;
  padding: 24px;
  border-radius: 8px;
  background: var(--github);
  color: white;
  font-size: 15px;
  line-height: 1.7;
}

.plans {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.plan {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

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

.pricing-note {
  margin: 18px 0 0;
  font-weight: 800;
}

.final-cta {
  background: var(--ink);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.final-cta .eyebrow {
  color: var(--coral);
}

.final-cta h2 {
  max-width: 780px;
}

.final-cta p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.7);
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

@media (max-width: 980px) {
  .hero,
  .install-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .benefit-grid,
  .steps,
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .issue-panel {
    justify-self: stretch;
    width: auto;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .project-return-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-return-banner p {
    text-align: left;
  }

  .topbar {
    align-items: flex-start;
    gap: 14px;
  }

  .nav {
    justify-content: flex-end;
  }

  .hide-mobile {
    display: none;
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: 56px;
  }

  .stage-page {
    min-height: 440px;
  }

  .site-hero,
  .benefit-grid,
  .steps,
  .plans {
    grid-template-columns: 1fr;
  }

  .mock-media {
    min-height: 130px;
  }

  .client-note {
    left: 22px;
    top: 58%;
    max-width: calc(100% - 44px);
  }

  .pin {
    left: 48%;
    top: 51%;
  }

  .issue-panel {
    margin-top: 0;
  }
}
