:root {
  color-scheme: light;
  --ink: #17191f;
  --muted: #5d6470;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #d9d4c8;
  --teal: #0f8c80;
  --blue: #2f63b7;
  --red: #c9473f;
  --gold: #d69a25;
  --charcoal: #252a32;
  --shadow: 0 22px 60px rgba(23, 25, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(23, 25, 31, 0.04) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(rgba(23, 25, 31, 0.035) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 7px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(23, 25, 31, 0.1);
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand canvas {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(23, 25, 31, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 56px);
  padding: clamp(44px, 7vw, 92px) clamp(18px, 4vw, 56px) clamp(28px, 5vw, 54px);
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 8vw, 7.2rem);
  line-height: 0.93;
  letter-spacing: 0;
  max-width: 760px;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 850;
}

.button.primary {
  background: var(--ink);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.65);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(23, 25, 31, 0.16);
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f1eee5;
  box-shadow: var(--shadow);
}

.hero-visual canvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 440px;
}

.band {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--charcoal);
  color: #fff;
}

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

.metrics article {
  min-height: 180px;
  padding: clamp(22px, 4vw, 42px);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.metrics article:last-child {
  border-right: 0;
}

.metrics span {
  display: block;
  margin-bottom: 18px;
  color: #f2c14e;
  font-weight: 900;
}

.metrics strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.metrics p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.section {
  padding: clamp(58px, 8vw, 112px) clamp(18px, 4vw, 56px);
}

.split {
  display: grid;
  grid-template-columns: minmax(250px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.feature-grid,
.setup-list,
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article,
.setup-list article,
.comparison-grid article,
.steps article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: clamp(18px, 2.8vw, 28px);
}

.feature-grid p,
.setup-list p,
.comparison-grid p,
.steps p,
.faq p {
  color: var(--muted);
}

.workflow {
  background: #eef4f2;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow h2,
.comparison h2,
.faq h2 {
  max-width: 920px;
}

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

.steps span {
  display: inline-flex;
  margin-bottom: 46px;
  color: var(--teal);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.setup {
  background: #f8f1df;
}

.comparison {
  background: #f7f8fa;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.comparison-grid {
  margin-top: 26px;
}

.comparison-grid article:first-child {
  border-color: rgba(201, 71, 63, 0.45);
}

.comparison-grid article:last-child {
  border-color: rgba(15, 140, 128, 0.55);
}

.faq {
  max-width: 1020px;
}

details {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 850;
}

summary::marker {
  color: var(--red);
}

details p {
  max-width: 720px;
  margin: 14px 0 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #fff;
  font-weight: 850;
}

@media (max-width: 920px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-visual canvas {
    min-height: 360px;
  }

  .metrics,
  .steps {
    grid-template-columns: 1fr;
  }

  .metrics article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: clamp(2.7rem, 18vw, 4.2rem);
  }

  .feature-grid,
  .setup-list,
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}
