:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-soft: #eef4fb;
  --surface-strong: #121821;
  --text: #111827;
  --muted: #637083;
  --line: #dde5ef;
  --line-strong: #c8d3df;
  --blue: #236df6;
  --green: #12a88a;
  --amber: #f59e0b;
  --shadow: 0 18px 48px rgba(17, 24, 39, 0.12);
  --content: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}

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

picture {
  display: block;
}

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

figure {
  margin: 0;
}

.section-shell {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  width: min(var(--content), calc(100% - 40px));
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 12px auto 0;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(16px);
}

.brand,
.site-nav,
.hero-actions,
.hero-points,
.strip-actions,
.site-footer nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #fff;
  background: #236df6;
  border-radius: 8px;
}

.brand-name {
  font-size: 15px;
}

.site-nav {
  gap: 22px;
  color: #3d4654;
  font-size: 14px;
}

.site-nav a {
  transition: color 0.16s ease;
}

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

.header-cta,
.btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease;
}

.header-cta,
.btn-primary {
  color: #fff;
  background: #0b0f17;
  box-shadow: 0 12px 24px rgba(11, 15, 23, 0.18);
}

.btn-secondary {
  color: var(--text);
  background: #fff;
  border-color: var(--line-strong);
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-1px);
}

.btn.disabled {
  color: #8792a1;
  pointer-events: none;
  background: #eef2f7;
  box-shadow: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
  gap: 42px;
  min-height: calc(100vh - 84px);
  align-items: center;
  padding: 96px 0 62px;
}

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

.hero h1,
.download-hero h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero h1 span,
.download-hero h1 span {
  display: block;
}

.hero-lead,
.download-hero p {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.86;
  overflow-wrap: anywhere;
}

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

.hero-points {
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.hero-points div {
  flex: 1;
  min-width: 0;
  padding: 18px 20px;
}

.hero-points div + div {
  border-left: 1px solid var(--line);
}

.hero-points dt {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
}

.hero-points dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.hero-shot,
.media-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-shot img {
  width: 100%;
  height: min(58vh, 560px);
  object-fit: cover;
  object-position: left top;
  background: #fff;
}

figcaption {
  padding: 12px 16px;
  color: #526074;
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.5;
}

.ability-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.ability-bar div {
  padding: 24px;
}

.ability-bar div + div {
  border-left: 1px solid var(--line);
}

.ability-bar strong,
.ability-bar span {
  display: block;
}

.ability-bar strong {
  font-size: 20px;
}

.ability-bar span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.feature-section {
  padding: 100px 0 0;
  scroll-margin-top: 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

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

.section-heading h2,
.feature-copy h2,
.download-strip h2,
.package-section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.16;
  letter-spacing: 0;
}

.section-heading p,
.feature-copy p,
.download-strip p,
.package-section p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.82;
  overflow-wrap: anywhere;
}

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

.ai-grid article,
.package-grid article,
.download-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
}

.ai-grid article {
  min-height: 190px;
  padding: 26px;
}

.ai-grid h3,
.package-grid h3,
.download-card h2 {
  margin: 0;
  font-size: 22px;
}

.ai-grid p,
.package-grid p,
.download-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.feature-pair {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
  gap: 42px;
  align-items: center;
}

.feature-pair.reverse {
  grid-template-columns: minmax(560px, 1.36fr) minmax(0, 0.64fr);
}

.feature-pair.reverse .feature-copy {
  order: 2;
}

.feature-pair.reverse .media-card {
  order: 1;
}

.feature-copy {
  min-width: 0;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: #344054;
  font-size: 15px;
  line-height: 1.7;
}

.check-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--green);
  border-radius: 50%;
}

.media-card img,
.media-card picture {
  width: 100%;
}

.media-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
}

.media-card.wide img {
  aspect-ratio: 16 / 9;
}

.system-shot img,
.feature-shot img,
.phone-media img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
  object-position: center top;
  background: #fff;
}

.system-shot img {
  object-position: left top;
}

.feature-shot {
  margin-top: 34px;
}

.feature-shot img {
  object-position: center top;
}

.phone-media {
  width: min(430px, 100%);
  justify-self: center;
}

.remote-phone-shot {
  width: min(360px, 100%);
}

.workbench-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.workbench-showcase.single {
  grid-template-columns: 1fr;
}

.app-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 360px));
  gap: 22px;
  justify-content: center;
  margin-top: 34px;
}

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

.download-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 100px;
  margin-bottom: 72px;
  padding: 38px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
}

.download-strip p:not(.eyebrow) {
  max-width: 680px;
}

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

.site-footer {
  display: flex;
  width: min(var(--content), calc(100% - 40px));
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 32px 0 44px;
  color: #3f4858;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 8px 0 0;
  color: var(--muted);
}

.site-footer nav {
  gap: 22px;
}

.download-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-top: 84px;
  padding: 62px 0 24px;
}

.download-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.download-card {
  display: flex;
  min-height: 268px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
}

.download-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 28px;
  margin-bottom: 18px;
  padding: 0 10px;
  color: #0f5bd7;
  background: #eaf2ff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.package-section {
  padding: 88px 0 80px;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.package-grid article {
  padding: 26px;
}

@media (max-width: 1040px) {
  .site-header {
    border-radius: 24px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-header.nav-open {
    align-items: flex-start;
    border-radius: 24px;
  }

  .site-header.nav-open .site-nav {
    position: absolute;
    top: 66px;
    right: 10px;
    left: 10px;
    display: grid;
    gap: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 20px 42px rgba(17, 24, 39, 0.12);
  }

  .site-header.nav-open .site-nav a {
    padding: 13px 12px;
  }

  .hero,
  .feature-pair,
  .feature-pair.reverse,
  .download-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .feature-pair.reverse .feature-copy,
  .feature-pair.reverse .media-card {
    order: initial;
  }

  .ability-bar,
  .ai-grid,
  .workbench-showcase,
  .app-showcase,
  .deploy-grid,
  .download-channels,
  .package-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-hero,
  .download-strip,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 92px;
  }

  .site-header,
  .section-shell,
  .ability-bar,
  .site-footer {
    width: min(100% - 28px, var(--content));
  }

  .site-header {
    top: 8px;
    margin-top: 8px;
  }

  .brand-name {
    max-width: 184px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    gap: 28px;
    padding: 62px 0 48px;
  }

  .hero h1,
  .download-hero h1 {
    font-size: 39px;
    overflow-wrap: anywhere;
  }

  .hero-lead,
  .download-hero p,
  .section-heading p,
  .feature-copy p,
  .download-strip p,
  .package-section p {
    font-size: 16px;
  }

  .hero-points,
  .ability-bar,
  .ai-grid,
  .workbench-showcase,
  .app-showcase,
  .deploy-grid,
  .download-channels,
  .package-grid {
    grid-template-columns: 1fr;
  }

  .hero-points {
    display: grid;
  }

  .hero-points div + div,
  .ability-bar div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero-shot img {
    height: auto;
    aspect-ratio: 16 / 11;
  }

  .feature-section {
    padding-top: 76px;
    scroll-margin-top: 0;
  }

  .feature-pair {
    gap: 26px;
  }

  .download-strip,
  .download-card,
  .package-grid article,
  .ai-grid article {
    padding: 24px;
  }

  .download-strip {
    margin-top: 76px;
  }

  .btn,
  .header-cta {
    width: 100%;
  }

  .hero-actions,
  .strip-actions {
    width: 100%;
  }
}
