:root {
  color-scheme: light;
  --ink: #111113;
  --muted: #6b6f76;
  --line: rgba(18, 21, 26, 0.1);
  --surface: rgba(255, 255, 255, 0.72);
  --blue: #0071e3;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(124, 199, 232, 0.34), transparent 28%),
    radial-gradient(circle at 86% 8%, rgba(255, 122, 116, 0.2), transparent 28%),
    linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 52%, #fff 100%);
  font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.68);
  background: rgba(251, 251, 253, 0.78);
  backdrop-filter: blur(24px) saturate(170%);
}

.brand,
.nav nav,
.language-switcher,
.actions,
footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 600;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.nav nav {
  gap: 24px;
  color: #373a40;
  font-size: 14px;
}

.language-switcher {
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.language-switcher button {
  min-width: 36px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  color: #5f636b;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.language-switcher button.active {
  color: #111113;
  background: #fff;
  box-shadow: 0 2px 8px rgba(17, 22, 32, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(480px, 1.14fr);
  gap: 54px;
  align-items: center;
  min-height: calc(100vh - 64px);
  padding: 62px max(28px, 6vw) 70px;
}

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

.hero-icon {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  box-shadow: 0 24px 52px rgba(24, 35, 55, 0.18);
}

.eyebrow {
  margin: 24px 0 10px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
}

h1 {
  margin: 0;
  font-size: clamp(72px, 10vw, 132px);
  line-height: 0.92;
  font-weight: 700;
}

.lead {
  max-width: 510px;
  margin: 28px 0 0;
  color: #303238;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.18;
  font-weight: 600;
}

.actions {
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
}

.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(0, 113, 227, 0.25);
}

.secondary {
  color: var(--blue);
  background: rgba(0, 113, 227, 0.08);
}

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

.checksum {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.checksum code {
  max-width: 100%;
  overflow-x: auto;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #20242a;
  background: rgba(255, 255, 255, 0.66);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  white-space: nowrap;
}

.product-preview {
  min-width: 0;
}

.canvas {
  display: grid;
  place-items: center;
  min-height: 560px;
  padding: 58px;
  border-radius: 46px;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.78), transparent 25%),
    linear-gradient(135deg, #ecf8ff 0%, #73c8e8 42%, #f4777b 100%);
  box-shadow: 0 42px 110px rgba(45, 62, 90, 0.2);
}

.screenshot-card {
  width: min(640px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 38px 78px rgba(17, 28, 44, 0.28);
  transform: rotate(-2deg);
}

.traffic {
  display: flex;
  gap: 8px;
  align-items: center;
  height: 46px;
  padding: 0 20px;
  background: rgba(0, 0, 0, 0.05);
}

.traffic span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.traffic span:nth-child(1) { background: #ff5f57; }
.traffic span:nth-child(2) { background: #ffbd2e; }
.traffic span:nth-child(3) { background: #28c840; }

.mock-window {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 22px;
  padding: 38px;
  background: linear-gradient(180deg, #fff, #f5f8fb);
}

.app-tile {
  display: grid;
  place-items: center;
  width: 110px;
  height: 110px;
  border-radius: 28px;
  background: #171a20;
}

.app-tile img {
  width: 82px;
  height: 82px;
  border-radius: 22px;
}

.lines {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.lines b,
.lines span,
.swatches i {
  display: block;
  border-radius: 999px;
}

.lines b {
  width: 68%;
  height: 16px;
  background: #171a20;
}

.lines span {
  width: 86%;
  height: 10px;
  background: rgba(82, 91, 105, 0.2);
}

.lines .short {
  width: 52%;
}

.swatches {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.swatches i {
  height: 74px;
}

.swatches i:nth-child(1) { background: linear-gradient(135deg, #fb775e, #ffc65a); }
.swatches i:nth-child(2) { background: linear-gradient(135deg, #43c6ac, #8de6d0); }
.swatches i:nth-child(3) { background: linear-gradient(135deg, #1f2633, #626c78); }

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 20px max(28px, 6vw) 82px;
}

.feature-band article,
.capture {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  backdrop-filter: blur(24px);
}

.feature-band article {
  min-height: 240px;
  padding: 28px;
}

.symbol {
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
}

h2 {
  margin: 18px 0 12px;
  font-size: 32px;
  line-height: 1.08;
}

.feature-band p,
.capture p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

.capture {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  margin: 0 max(28px, 6vw) 76px;
  padding: 36px;
}

.capture .eyebrow {
  margin-top: 0;
}

footer {
  justify-content: space-between;
  padding: 24px max(28px, 6vw) 38px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 880px) {
  .nav nav {
    display: none;
  }

  .nav {
    padding: 0 18px;
  }

  .language-switcher button {
    min-width: 32px;
  }

  .hero,
  .feature-band,
  .capture {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 34px;
    padding-top: 38px;
  }

  .canvas {
    min-height: auto;
    padding: 30px;
    border-radius: 32px;
  }

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

  .mock-window {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .app-tile {
    width: 86px;
    height: 86px;
  }

  .app-tile img {
    width: 64px;
    height: 64px;
  }

  .swatches {
    grid-template-columns: 1fr;
  }

  footer {
    align-items: flex-start;
    gap: 8px;
    flex-direction: column;
  }
}
