:root {
  color-scheme: light;
  --ink: #18202c;
  --muted: #5d6878;
  --line: #d9e2ee;
  --paper: #f7fafc;
  --panel: #ffffff;
  --brand: #166766;
  --brand-dark: #0f4f4e;
  --accent: #d4512a;
  --sun: #f3c45d;
  --shadow: 0 24px 80px rgba(24, 32, 44, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(247, 250, 252, 0.88);
  border-bottom: 1px solid rgba(217, 226, 238, 0.9);
  backdrop-filter: blur(16px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

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

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--brand);
}

.nav {
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
  min-height: calc(100vh - 71px);
  padding: clamp(52px, 8vw, 96px) clamp(20px, 5vw, 72px) 42px;
  overflow: hidden;
}

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

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

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(52px, 8vw, 108px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.lede,
.section p,
.download-band p,
.support p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  border: 1px solid var(--line);
  font-weight: 800;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

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

.button.primary {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
  box-shadow: 0 14px 30px rgba(22, 103, 102, 0.22);
}

.button.primary:hover {
  background: var(--brand-dark);
}

.button.ghost {
  background: #fff;
}

.button.light {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.42);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin: 0;
}

.stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.stats dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.stats dd {
  margin: 6px 0 0;
  font-size: 18px;
  font-weight: 850;
}

.product-shot {
  position: relative;
  min-height: 480px;
}

.product-shot::before {
  position: absolute;
  inset: 11% -16% auto auto;
  width: 54%;
  aspect-ratio: 1;
  content: "";
  border-radius: 999px;
  background: var(--sun);
  opacity: 0.9;
}

.product-shot::after {
  position: absolute;
  inset: auto auto 6% -8%;
  width: 42%;
  aspect-ratio: 1;
  content: "";
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.16;
}

.window {
  position: relative;
  z-index: 1;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid rgba(24, 32, 44, 0.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: rotate(-1.8deg);
}

.window-bar {
  display: flex;
  gap: 8px;
  padding: 16px;
  background: #edf3f8;
}

.window-bar span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #bdc9d7;
}

.window-bar span:first-child {
  background: var(--accent);
}

.window-bar span:nth-child(2) {
  background: var(--sun);
}

.window-bar span:nth-child(3) {
  background: var(--brand);
}

.app-layout {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 410px;
}

.app-layout aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: #122a36;
  color: #fff;
}

.app-layout aside span {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.app-layout aside .active {
  background: var(--sun);
}

.app-layout section {
  padding: 26px;
}

.toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
}

.toolbar span {
  width: 26%;
  height: 36px;
  border-radius: 8px;
  background: #edf3f8;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.panel {
  min-height: 116px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(22, 103, 102, 0.2), transparent),
    #f2f6fa;
}

.panel.wide {
  grid-column: 1 / -1;
  min-height: 132px;
}

.panel.muted {
  background:
    linear-gradient(90deg, rgba(212, 81, 42, 0.18), transparent),
    #f5f0ed;
}

.section,
.download-band {
  padding: clamp(56px, 9vw, 110px) clamp(20px, 5vw, 72px);
}

.section-head {
  max-width: 760px;
}

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

.feature-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-grid p {
  margin-bottom: 0;
  font-size: 16px;
}

.icon {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--brand);
  font-weight: 900;
}

.download-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(18, 42, 54, 0.94), rgba(22, 103, 102, 0.88)),
    #122a36;
}

.download-band .eyebrow,
.download-band p {
  color: rgba(255, 255, 255, 0.78);
}

.download-band h2,
.download-band p {
  max-width: 790px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 36px;
}

.changes {
  margin: 0;
  padding: 0;
  list-style: none;
}

.changes li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 18px;
}

.support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  background: #fff;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .topbar,
  .hero,
  .section,
  .download-band,
  footer {
    padding-inline: 20px;
  }

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

  .hero {
    min-height: auto;
  }

  .product-shot {
    min-height: 390px;
  }

  .window {
    min-height: 380px;
    transform: none;
  }

  .app-layout {
    grid-template-columns: 112px 1fr;
  }

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

  .download-actions,
  .support .button {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

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

  .product-shot {
    min-height: 320px;
  }

  .app-layout {
    grid-template-columns: 1fr;
  }

  .app-layout aside {
    display: none;
  }

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

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