:root {
  color-scheme: light dark;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  --font-mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-soft: #ececf0;
  --surface-tint: #f0f6ff;
  --text: rgba(0, 0, 0, 0.86);
  --muted: rgba(0, 0, 0, 0.58);
  --faint: rgba(0, 0, 0, 0.34);
  --line: rgba(0, 0, 0, 0.12);
  --line-strong: rgba(0, 0, 0, 0.20);
  --blue: #006edb;
  --green: #248a3d;
  --red: #d9342b;
  --ink: #151517;
  --nav-bg: rgba(255, 255, 255, 0.96);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.14);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111113;
    --surface: #1c1c1f;
    --surface-soft: #27272b;
    --surface-tint: #142236;
    --text: rgba(255, 255, 255, 0.92);
    --muted: rgba(255, 255, 255, 0.62);
    --faint: rgba(255, 255, 255, 0.38);
    --line: rgba(255, 255, 255, 0.13);
    --line-strong: rgba(255, 255, 255, 0.22);
    --blue: #4da3ff;
    --green: #3fb950;
    --red: #ff5a52;
    --ink: #f7f7f8;
    --nav-bg: rgba(28, 28, 31, 0.97);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  background: var(--nav-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  color: var(--text);
}

.brand-mark svg {
  width: 28px;
  height: 28px;
  fill: none;
}

.brand-mark circle,
.brand-mark path {
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text);
}

.header-download {
  text-decoration: none;
  color: #fff;
  background: #151517;
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.hero {
  min-height: min(780px, 84svh);
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #101013;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.94;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 8, 12, 0.90) 0%, rgba(6, 8, 12, 0.72) 42%, rgba(6, 8, 12, 0.18) 100%),
    linear-gradient(0deg, rgba(6, 8, 12, 0.78) 0%, rgba(6, 8, 12, 0.08) 48%, rgba(6, 8, 12, 0.36) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 138px 0 56px;
  color: #fff;
}

.eyebrow,
.label {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--blue);
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.74);
}

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

h1 {
  max-width: 800px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 86px;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 26px;
  font-size: 22px;
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.84);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
  border: 1px solid transparent;
}

.button.primary {
  background: #fff;
  color: #111113;
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.30);
  background: rgba(255, 255, 255, 0.08);
}

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

.hero-metrics {
  width: min(920px, 100%);
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
}

.hero-metrics div {
  min-height: 126px;
  padding: 18px;
  background: rgba(9, 11, 16, 0.46);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.2;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.70);
  font-size: 14px;
  line-height: 1.45;
}

.hero-note {
  margin: 16px 0 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

h2 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: 0;
}

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

.section-copy {
  color: var(--muted);
  font-size: 18px;
}

.workflow-grid,
.proof-grid,
.install-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.step,
.proof,
.install-card {
  padding: 22px;
}

.step-index {
  display: inline-block;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 650;
  color: var(--blue);
}

.step p,
.install-card p,
.feature-row p {
  margin-bottom: 0;
  color: var(--muted);
}

.workflow-strip {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.workflow-strip span {
  min-height: 66px;
  display: grid;
  place-items: center;
  padding: 14px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  background: var(--surface);
}

.examples-section {
  padding-top: 42px;
}

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

.example-card {
  min-height: 236px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.example-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
}

.example-topline strong {
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.example-text {
  margin-bottom: 0;
  font-size: 20px;
  line-height: 1.38;
  color: var(--text);
  overflow-wrap: anywhere;
}

.mode-compare {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.mode-compare div {
  padding: 24px;
  background: var(--surface-tint);
}

.mode-compare p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

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

.tour-list {
  display: grid;
  gap: 46px;
}

.tour-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 34px;
  align-items: center;
}

.tour-row.reverse .screenshot {
  order: 2;
}

.screenshot {
  margin: 0;
}

.screenshot img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  background: var(--surface-soft);
}

.tour-copy {
  max-width: 470px;
}

.tour-copy h3 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: 0;
}

.tour-copy p:not(.label) {
  color: var(--muted);
  font-size: 17px;
}

.compact-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.compact-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.compact-list li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--green);
  vertical-align: 1px;
}

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

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

.proof {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.proof strong {
  font-size: 15px;
}

.proof span {
  color: var(--muted);
  font-size: 14px;
}

.feature-list {
  border-top: 1px solid var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 0.65fr);
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.command-panel {
  margin-top: 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.command-panel code {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.command-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 650;
  color: var(--muted);
}

.copy-command {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 7px;
  padding: 7px 9px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.copy-command:hover,
.copy-command.copied {
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}

.copy-icon {
  font-size: 18px;
  line-height: 1;
}

code {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

p code,
li code {
  padding: 2px 5px;
  border-radius: 5px;
  background: var(--surface-soft);
}

.requirements {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.7fr);
  gap: 38px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.requirements ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.requirements li + li {
  margin-top: 8px;
}

.footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 52px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.footer p {
  margin-bottom: 0;
}

.footer div {
  display: flex;
  gap: 18px;
}

.footer a {
  text-decoration: none;
}

.footer a:hover {
  color: var(--text);
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 18px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: min(720px, 84svh);
  }

  .hero-content,
  .section,
  .footer {
    width: min(100% - 32px, 1180px);
  }

  h1 {
    font-size: 68px;
  }

  h2 {
    font-size: 38px;
  }

  .hero-copy {
    font-size: 19px;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-metrics div {
    min-height: 118px;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(6, 8, 12, 0.93) 0%, rgba(6, 8, 12, 0.76) 64%, rgba(6, 8, 12, 0.42) 100%);
  }

  .hero-image {
    object-position: 62% center;
    opacity: 0.62;
  }

  .workflow-grid,
  .proof-grid,
  .install-grid,
  .example-grid,
  .workflow-strip,
  .mode-compare,
  .tour-row,
  .requirements,
  .feature-row {
    grid-template-columns: 1fr;
  }

  .tour-row.reverse .screenshot {
    order: 0;
  }

  .tour-copy {
    max-width: none;
  }

  .proof-section,
  .product-section {
    border-top: 0;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand span:last-child {
    display: none;
  }

  .header-download {
    margin-left: auto;
  }

  .hero-content {
    padding-top: 112px;
    padding-bottom: 36px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 32px;
  }

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

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

  .button {
    width: 100%;
  }

  .hero-metrics {
    margin-top: 24px;
  }

  .section {
    padding: 64px 0;
  }

  .example-text {
    font-size: 18px;
  }

  .tour-copy h3 {
    font-size: 28px;
  }

  .requirements {
    padding: 22px;
  }

  .footer div {
    flex-wrap: wrap;
  }
}

@media (max-width: 700px) {
  .hero-metrics {
    gap: 8px;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .hero-metrics div {
    min-height: auto;
    padding: 11px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
  }

  .hero-metrics strong {
    margin-bottom: 0;
    font-size: 13px;
  }

  .hero-metrics span {
    display: none;
  }
}

@media (max-width: 380px) {
  .hero-metrics {
    grid-template-columns: 1fr;
  }
}
