:root {
  color-scheme: light;
  --ink: #132033;
  --muted: #5d6b7c;
  --line: #dfe7ef;
  --surface: #ffffff;
  --soft: #f4f8fb;
  --accent: #1677ff;
  --accent-dark: #0d5fd1;
  --shadow: 0 24px 70px rgba(29, 55, 84, 0.12);
  font-family: Inter, "Segoe UI", "Microsoft YaHei", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.shell {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 8px 14px;
  color: #fff;
  background: var(--accent-dark);
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(223, 231, 239, 0.8);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #2291ff, #0e5ed2);
  border-radius: 10px;
  box-shadow: 0 7px 18px rgba(22, 119, 255, 0.24);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  color: #405066;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--accent);
}

.main-nav .nav-register {
  padding: 8px 15px;
  color: var(--accent);
  border: 1px solid #b9d7ff;
  border-radius: 9px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 86px;
  background:
    radial-gradient(circle at 82% 18%, rgba(31, 136, 255, 0.13), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #fff 78%);
}

.hero::before {
  content: "";
  position: absolute;
  top: 42px;
  right: -110px;
  width: 410px;
  height: 410px;
  border: 1px solid rgba(22, 119, 255, 0.1);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(480px, 1.06fr);
  align-items: center;
  gap: 76px;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-copy .eyebrow span {
  width: 20px;
  height: 2px;
  background: var(--accent);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.hero-description {
  max-width: 620px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 12px 26px rgba(22, 119, 255, 0.22);
}

.button-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.button-secondary {
  color: #23344a;
  background: #fff;
  border-color: var(--line);
}

.button-secondary:hover {
  border-color: #abc8e9;
  transform: translateY(-1px);
}

.button-disabled {
  color: #7b8795;
  background: #e9eef3;
  cursor: not-allowed;
}

.button-wide {
  min-width: 210px;
}

.hero-facts {
  display: flex;
  gap: 30px;
  margin: 38px 0 0;
}

.hero-facts div {
  padding-left: 13px;
  border-left: 2px solid #cfe2fa;
}

.hero-facts dt {
  color: #758295;
  font-size: 12px;
}

.hero-facts dd {
  margin: 1px 0 0;
  font-size: 13px;
  font-weight: 700;
}

.product-preview {
  overflow: hidden;
  border: 1px solid rgba(201, 218, 235, 0.9);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
}

.preview-bar {
  height: 43px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  border-bottom: 1px solid #e7edf3;
  background: #fbfcfe;
}

.preview-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c7d1dc;
}

.preview-bar strong {
  margin-left: 10px;
  color: #7b8794;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.preview-body {
  min-height: 350px;
  display: grid;
  grid-template-columns: 58px 1fr;
}

.preview-body aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-top: 24px;
  background: #172439;
}

.preview-body aside i {
  width: 18px;
  height: 18px;
  border: 2px solid #5d6f86;
  border-radius: 5px;
}

.preview-body aside i.active {
  border-color: #62a9ff;
  background: rgba(98, 169, 255, 0.22);
}

.preview-content {
  padding: 27px;
  background: #f5f8fb;
}

.preview-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preview-heading small,
.preview-heading b {
  display: block;
}

.preview-heading small {
  color: #8491a1;
  font-size: 10px;
}

.preview-heading b {
  font-size: 18px;
}

.preview-heading > span {
  padding: 5px 10px;
  color: #168458;
  background: #ddf6eb;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.device-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.device-card,
.run-card {
  padding: 18px;
  border: 1px solid #e0e8f0;
  border-radius: 12px;
  background: #fff;
}

.device-card i {
  width: 28px;
  height: 22px;
  display: block;
  margin-bottom: 22px;
  border: 2px solid #54a0ff;
  border-radius: 4px;
}

.device-card strong,
.device-card small {
  display: block;
}

.device-card strong {
  font-size: 11px;
}

.device-card small {
  margin-top: 4px;
  color: #8794a4;
  font-size: 9px;
}

.run-card {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  align-items: end;
  gap: 18px;
  margin-top: 12px;
}

.run-card span,
.run-card strong {
  display: block;
}

.run-card span {
  color: #8794a4;
  font-size: 9px;
}

.run-card strong {
  font-size: 27px;
}

.run-lines {
  height: 62px;
  display: flex;
  align-items: end;
  gap: 7px;
}

.run-lines i {
  flex: 1;
  height: 42%;
  border-radius: 3px 3px 0 0;
  background: #b9d8ff;
}

.run-lines i:nth-child(2) {
  height: 68%;
}

.run-lines i:nth-child(3) {
  height: 51%;
}

.run-lines i:nth-child(4) {
  height: 88%;
  background: #4c9eff;
}

.run-lines i:nth-child(5) {
  height: 74%;
}

.section {
  padding: 92px 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 42px;
}

.section-heading h2,
.download-card h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.22;
  letter-spacing: -0.04em;
}

.section-heading > p:last-child,
.download-card > div > p {
  margin: 15px 0 0;
  color: var(--muted);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capability-card {
  min-height: 260px;
  padding: 30px 27px;
  border-right: 1px solid var(--line);
}

.capability-card:last-child {
  border-right: 0;
}

.feature-index {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.capability-card h3 {
  margin: 70px 0 9px;
  font-size: 20px;
}

.capability-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.download-section {
  padding: 70px 0;
  background: var(--soft);
}

.download-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 70px;
  padding: 54px;
  border: 1px solid #dce7f1;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 50px rgba(32, 61, 92, 0.07);
}

.version-chip {
  display: inline-flex;
  margin-top: 22px;
  padding: 6px 12px;
  color: #47617f;
  background: #edf5ff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
}

.download-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.download-action small {
  color: #8793a2;
}

.community-section {
  background: #fff;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.community-card {
  display: grid;
  grid-template-columns: 142px 1fr;
  align-items: center;
  gap: 23px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
}

.qr-frame {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid #dce6ef;
  border-radius: 12px;
  background: #fafcff;
}

.qr-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.qr-placeholder {
  display: grid;
  place-items: center;
  gap: 8px;
  color: #8591a0;
  text-align: center;
  font-size: 11px;
}

.qr-placeholder span {
  width: 48px;
  height: 48px;
  border: 7px double #b6c3d1;
}

.community-card p {
  margin: 0;
  color: #8a96a4;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.community-card h3 {
  margin: 4px 0 10px;
  font-size: 18px;
}

.group-number {
  color: var(--accent);
  font-size: 19px;
  letter-spacing: 0.04em;
}

.community-placeholder {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 34px;
  border: 1px dashed #bfd0e1;
  border-radius: 18px;
  background: #f8fbfe;
}

.placeholder-mark {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #7aaef0;
  border-radius: 18px;
  font-weight: 800;
}

.community-placeholder h3,
.community-placeholder p {
  margin: 0;
}

.community-placeholder p {
  color: var(--muted);
}

.site-footer {
  padding: 46px 0;
  color: #bdc8d7;
  background: #132033;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 50px;
}

.footer-brand {
  color: #fff;
}

.footer-inner p {
  margin: 12px 0 0;
  font-size: 13px;
}

.footer-inner nav {
  display: flex;
  gap: 22px;
}

.footer-inner nav a {
  color: #d5deea;
  font-size: 13px;
  text-decoration: none;
}

.footer-inner small {
  white-space: nowrap;
}

a:focus-visible,
.button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(22, 119, 255, 0.35);
  outline-offset: 3px;
}

button.button {
  font: inherit;
  cursor: pointer;
}

button.button:disabled {
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
}

.registration-main {
  min-height: calc(100vh - 72px);
  padding: 76px 0 84px;
  background:
    radial-gradient(circle at 85% 12%, rgba(31, 136, 255, 0.12), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #eef5fc 100%);
}

.register-shell {
  width: min(720px, calc(100% - 48px));
  max-width: 100%;
}

.registration-card {
  overflow: hidden;
  padding: clamp(28px, 6vw, 54px);
  border: 1px solid #dce7f1;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.registration-heading {
  margin-bottom: 34px;
}

.registration-heading h1 {
  font-size: clamp(36px, 6vw, 50px);
}

.registration-heading > p:last-child {
  margin: 15px 0 0;
  color: var(--muted);
}

.registration-form {
  display: grid;
  gap: 22px;
}

.field-group {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.field-group label {
  color: #27384d;
  font-size: 14px;
  font-weight: 700;
}

.field-group small {
  color: var(--muted);
  font-size: 12px;
}

.registration-form input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--ink);
  border: 1px solid #cdd9e5;
  border-radius: 10px;
  background: #fff;
  font: inherit;
  line-height: 1.4;
}

.registration-form input:hover {
  border-color: #aebfd1;
}

.registration-form input:focus {
  border-color: var(--accent);
}

.verification-row {
  min-width: 0;
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.verification-row input {
  flex: 1 1 auto;
}

.verification-button {
  flex: 0 0 auto;
  min-width: 142px;
  white-space: nowrap;
}

.form-notice {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 15px;
  border: 1px solid;
  border-radius: 10px;
  font-size: 14px;
}

.form-notice[hidden] {
  display: none;
}

.form-notice p {
  margin: 0;
}

.form-notice-success {
  color: #176840;
  border-color: #b8e4ce;
  background: #edf9f3;
}

.form-notice-error {
  color: #a42c2c;
  border-color: #f0c1c1;
  background: #fff2f2;
}

.notice-dismiss {
  flex: 0 0 auto;
  padding: 0 3px;
  color: currentColor;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}

.registration-submit {
  width: 100%;
  margin-top: 2px;
}

.registration-footnote {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.registration-footnote a {
  color: var(--accent);
  font-weight: 650;
}

@media (max-width: 900px) {
  .main-nav a:not(.nav-register) {
    display: none;
  }

  .hero {
    padding-top: 70px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .product-preview {
    width: min(620px, 100%);
    transform: none;
  }

  .capability-grid {
    grid-template-columns: 1fr 1fr;
  }

  .capability-card:nth-child(2) {
    border-right: 0;
  }

  .capability-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .download-card {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .download-action {
    align-items: flex-start;
  }

  .community-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-inner small {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 30px, 1160px);
  }

  .header-inner {
    min-height: 64px;
  }

  .main-nav {
    gap: 0;
  }

  .hero {
    padding: 56px 0 64px;
  }

  h1 {
    font-size: clamp(39px, 12vw, 52px);
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .product-preview {
    border-radius: 13px;
  }

  .preview-body {
    min-height: 300px;
    grid-template-columns: 44px 1fr;
  }

  .preview-content {
    padding: 18px 14px;
  }

  .device-card,
  .run-card {
    padding: 13px;
  }

  .run-card {
    grid-template-columns: 0.5fr 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .capability-grid,
  .community-grid {
    grid-template-columns: 1fr;
  }

  .capability-card,
  .capability-card:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .capability-card:last-child {
    border-bottom: 0;
  }

  .capability-card h3 {
    margin-top: 38px;
  }

  .download-card {
    padding: 30px 24px;
  }

  .download-action,
  .download-action .button {
    width: 100%;
  }

  .community-card {
    grid-template-columns: 116px 1fr;
    gap: 16px;
    padding: 16px;
  }

  .community-placeholder {
    align-items: flex-start;
  }

  .registration-main {
    min-height: calc(100vh - 64px);
    padding: 44px 0 56px;
  }

  .register-shell {
    width: min(100% - 30px, 720px);
  }

  .registration-card {
    border-radius: 16px;
  }

  .verification-row {
    flex-direction: column;
  }

  .verification-row .button {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
  }

  .footer-inner small {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
