:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    sans-serif;
  color: #18243b;
  background: #fff;
  font-synthesis: none;
  --blue: #2463eb;
  --muted: #778298;
  --line: #e9edf4;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  text-decoration: none;
  color: inherit;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
[hidden] {
  display: none !important;
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.nav {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.8px;
}
.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.brand span {
  font-size: 14px;
  font-weight: 450;
  color: #8993a5;
  margin-left: 3px;
  letter-spacing: 1px;
}
.nav nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
}
.nav-account {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 18px;
}
.nav-account span {
  color: var(--blue);
  padding-left: 12px;
}
.hero {
  min-height: 670px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 35px;
}
.eyebrow,
.section-label {
  font-size: 11px;
  letter-spacing: 2.4px;
  font-weight: 650;
  color: var(--blue);
}
.signal {
  width: 7px;
  height: 7px;
  display: inline-block;
  background: #10b795;
  border-radius: 50%;
  margin-right: 9px;
}
.hero h1 {
  font-size: clamp(42px, 4.3vw, 64px);
  line-height: 1.24;
  letter-spacing: -2.5px;
  margin: 28px 0 24px;
  font-weight: 750;
}
.hero h1 span {
  color: var(--blue);
}
.hero-copy > p {
  color: #68758b;
  font-size: 17px;
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 34px 0 24px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 15px 23px;
  border-radius: 9px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  background: white;
  transition: transform 0.15s;
}
.button:hover {
  transform: translateY(-2px);
}
.button:active {
  transform: scale(0.97);
}
.primary {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.text-link {
  font-size: 13px;
  color: #5c6d89;
}
.hero-note {
  font-size: 11px;
  color: #98a2b4;
  letter-spacing: 1px;
}
.product-scene {
  position: relative;
  height: 430px;
  display: flex;
  align-items: center;
  perspective: 1000px;
  background: radial-gradient(ellipse at center, #eaf1ff 0, transparent 65%);
}
.orbit {
  position: absolute;
  border: 1px solid #e7eefc;
  border-radius: 50%;
  width: 430px;
  height: 430px;
  left: 40px;
}
.orbit-two {
  width: 530px;
  height: 530px;
  left: -10px;
}
.desktop-preview {
  width: 100%;
  max-width: 490px;
  border: 1px solid #dce5f6;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 26px 70px #344b7a1a;
  transform: rotateY(-5deg) rotateX(3deg);
  overflow: hidden;
  position: relative;
}
.window-top {
  height: 36px;
  background: #fafbfe;
  border-bottom: 1px solid #edf0f7;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 13px;
}
.window-top i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d3daea;
}
.window-top i:first-child {
  background: #ff9c9c;
}
.window-top span {
  margin-left: auto;
  font-size: 8px;
  color: #97a2b5;
}
.window-body {
  display: flex;
  height: 260px;
}
.window-body aside {
  width: 110px;
  flex-shrink: 0;
  background: #f0f4fa;
  padding: 20px 10px;
  font-size: 9px;
  color: #8090a6;
}
.window-body aside img {
  width: 24px;
  margin: 0 0 22px 5px;
}
.window-body aside div {
  padding: 10px 7px;
  margin-bottom: 6px;
}
.mini-active {
  background: #e0eaff;
  color: var(--blue);
  border-radius: 5px;
}
.window-main {
  padding: 29px 20px;
  flex: 1;
}
.window-main > small {
  font-size: 6px;
  letter-spacing: 1px;
  color: #8c9cba;
}
.window-main h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 12px 0 22px;
}
.mock-device {
  border: 1px solid #e6edf7;
  border-radius: 8px;
  padding: 14px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mock-device b {
  font-size: 10px;
}
.mock-device p {
  font-size: 7px;
  color: #8b9ab2;
  margin: 4px 0;
}
.monitor-icon {
  display: block;
  width: 27px;
  height: 19px;
  border: 1.5px solid #427aeb;
  border-radius: 3px;
  position: relative;
}
.monitor-icon:after {
  content: "";
  position: absolute;
  width: 10px;
  height: 5px;
  border-bottom: 1px solid #427aeb;
  bottom: -5px;
  left: 6px;
}
.live-dot {
  margin-left: auto;
  width: 5px;
  height: 5px;
  background: #00b78c;
  border-radius: 50%;
}
.mock-fields {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 17px;
  font-size: 8px;
  color: #8e9aaf;
}
.mock-fields b {
  background: #2463eb;
  color: white;
  padding: 9px 16px;
  border-radius: 4px;
  font-weight: 500;
}
.phone-preview {
  position: absolute;
  width: 137px;
  height: 252px;
  border: 5px solid #23304c;
  box-shadow: 0 18px 42px #334f8126;
  border-radius: 24px;
  right: 0;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(160deg, #f0f5ff, #fff 70%);
  padding: 13px 8px;
}
.phone-notch {
  width: 40px;
  height: 9px;
  background: #23304c;
  border-radius: 10px;
  margin-top: -7px;
}
.phone-preview > img {
  width: 35px;
  height: 35px;
  margin: 24px 0 5px;
}
.phone-preview > b {
  font-size: 13px;
}
.phone-preview > span {
  font-size: 7px;
  color: #8695b2;
  margin-top: 9px;
}
.phone-connect {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #2463eb;
  color: white;
  display: grid;
  place-items: center;
  margin: 20px 0;
  font-size: 23px;
}
.phone-preview small {
  font-size: 6px;
  color: #a2acc0;
}
.scene-caption {
  position: absolute;
  bottom: 0;
  left: 150px;
  color: #a7afbf;
  font-size: 9px;
}
.features {
  padding-top: 50px;
  padding-bottom: 85px;
  border-top: 1px solid var(--line);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 23px 0 40px;
}
h2 {
  font-size: 36px;
  line-height: 1.4;
  letter-spacing: -1px;
  font-weight: 650;
  margin: 20px 0;
}
p {
  line-height: 1.8;
}
.section-heading > p {
  font-size: 14px;
  color: #7b879b;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.feature-grid article {
  border-top: 1px solid #dce5f5;
  padding-top: 24px;
}
.feature-num {
  font-size: 10px;
  letter-spacing: 1.4px;
  color: #8b9cbd;
}
.feature-grid h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 22px 0 10px;
}
.feature-grid p {
  font-size: 13px;
  color: #7c889b;
}
.download-section {
  padding: 70px 0;
  background: #f7f9fd;
  border-top: 1px solid #edf1f8;
  border-bottom: 1px solid #edf1f8;
}
.muted {
  color: #7c889b;
  font-size: 14px;
}
.download-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 13px;
  margin-top: 35px;
}
.download-card {
  background: white;
  border: 1px solid #e3e9f4;
  border-radius: 14px;
  padding: 24px 18px;
  min-height: 245px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.platform-icon {
  font-size: 28px;
  color: #4273d4;
  height: 43px;
}
.download-card h3 {
  font-size: 17px;
  margin: 7px 0;
}
.download-card small {
  font-size: 11px;
  color: #8d99af;
  margin-bottom: 18px;
}
.download-card a,
.download-card .unavailable {
  font-size: 12px;
  border: 1px solid #e2e9f5;
  border-radius: 7px;
  padding: 10px 13px;
  color: var(--blue);
  margin-top: auto;
}
.download-card .unavailable {
  color: #a0a9b9;
  background: #fafbfd;
}
.release-notes {
  font-size: 11px;
  color: #8190a9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.download-footnote {
  font-size: 11px;
  color: #929db0;
  margin-top: 25px;
  max-width: 760px;
}
.steps {
  padding-top: 65px;
  padding-bottom: 75px;
}
.steps > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}
.steps article > b {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #edf3ff;
  color: #5278bf;
  font-size: 12px;
}
.steps h3 {
  font-size: 16px;
  font-weight: 600;
}
.steps p {
  font-size: 13px;
  color: #7f8b9f;
}
.footer {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  padding-bottom: 35px;
  display: flex;
  gap: 35px;
  align-items: center;
}
.footer .brand {
  font-size: 18px;
}
.footer .brand img {
  width: 28px;
  height: 28px;
}
.footer p {
  font-size: 11px;
  color: #91a0b7;
  flex: 1;
}
.footer p span {
  display: block;
  font-size: 10px;
}
.footer > div {
  display: flex;
  gap: 22px;
  font-size: 11px;
  color: #7e8fa8;
}
.account-main {
  padding-top: 60px;
  min-height: 75vh;
  padding-bottom: 75px;
}
.account-main > h1 {
  font-size: 38px;
  margin: 20px 0 10px;
}
.account-shell {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 30px;
  margin-top: 35px;
}
.account-side {
  background: #f7f9fe;
  border-radius: 16px;
  padding: 24px;
  height: fit-content;
}
.avatar {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #e4edff;
  color: #2463eb;
  font-size: 24px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.account-side b {
  font-size: 17px;
  overflow-wrap: anywhere;
}
.account-side p {
  font-size: 12px;
  color: #7b8ba6;
}
.account-side button {
  border: 0;
  display: block;
  background: transparent;
  color: #647797;
  padding: 12px 0;
  font-size: 13px;
  text-align: left;
}
.account-side button.active {
  color: var(--blue);
  font-weight: 600;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  background: white;
  margin-bottom: 20px;
}
.panel h2 {
  font-size: 22px;
  margin-top: 0;
}
.panel h3 {
  font-size: 16px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.panel label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 12px;
  color: #62738f;
  margin-bottom: 18px;
}
input {
  width: 100%;
  min-width: 0;
  border: 1px solid #dce4f2;
  border-radius: 9px;
  padding: 13px;
  color: #263650;
  background: #fafcff;
  outline: none;
}
input:focus {
  border-color: #2463eb;
  box-shadow: 0 0 0 3px #2463eb0d;
}
.auth-card {
  width: min(460px, 100%);
  margin: 36px auto 0;
}
.auth-switch {
  display: flex;
  border-bottom: 1px solid var(--line);
  gap: 28px;
  margin-bottom: 26px;
}
.auth-switch button {
  border: 0;
  background: none;
  padding: 0 0 15px;
  font-size: 17px;
  color: #8a97af;
}
.auth-switch button.active {
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
}
.error {
  color: #c45d5d;
  font-size: 12px;
  min-height: 17px;
  white-space: pre-wrap;
}
.notice {
  font-size: 12px;
  color: #92a0b5;
  line-height: 1.8;
}
.device-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.device-row:last-child {
  border-bottom: 0;
}
.device-icon {
  width: 48px;
  height: 48px;
  background: #edf3ff;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #4c78c6;
  font-size: 24px;
  flex-shrink: 0;
}
.device-info {
  flex: 1;
  min-width: 0;
}
.device-info b {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.device-info small {
  display: block;
  font-size: 11px;
  color: #93a0b5;
  margin-top: 5px;
}
.inline-actions {
  display: flex;
  gap: 12px;
}
.inline-actions button {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 12px;
  padding: 6px;
}
.empty {
  padding: 45px 15px;
  text-align: center;
  font-size: 14px;
  color: #98a5b9;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.panel-heading button {
  border: 0;
  background: transparent;
  color: var(--blue);
}
#toast {
  position: fixed;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  padding: 13px 24px;
  background: #1e3153;
  color: #fff;
  font-size: 13px;
  border-radius: 9px;
  box-shadow: 0 10px 30px #1f345526;
  max-width: 90vw;
  z-index: 100;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #9ebdff;
  outline-offset: 4px;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  .desktop-preview {
    animation: arrive 0.7s ease-out;
  }
  .phone-preview {
    animation: arrive 1s ease-out;
  }
  @keyframes arrive {
    from {
      opacity: 0;
      translate: 0 20px;
    }
    to {
      opacity: 1;
      translate: 0 0;
    }
  }
}
@media (max-width: 950px) {
  .wrap {
    padding-left: 28px;
    padding-right: 28px;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .hero h1 {
    font-size: 45px;
  }
  .hero-actions {
    gap: 15px;
  }
  .product-scene {
    height: 390px;
  }
  .window-body aside {
    width: 80px;
  }
  .window-main {
    padding: 25px 13px;
  }
  .window-main h3 {
    font-size: 14px;
  }
  .desktop-preview {
    width: 95%;
  }
  .phone-preview {
    width: 116px;
    height: 225px;
    right: -8px;
    bottom: 20px;
  }
  .orbit {
    width: 330px;
    height: 330px;
    left: 0;
  }
  .orbit-two {
    width: 390px;
    height: 390px;
    left: -30px;
  }
  .download-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .account-shell {
    grid-template-columns: 190px 1fr;
  }
  .inline-actions {
    gap: 0;
  }
}
@media (max-width: 650px) {
  .wrap {
    padding-left: 22px;
    padding-right: 22px;
  }
  .nav {
    height: 76px;
  }
  .brand {
    font-size: 21px;
  }
  .brand span {
    display: none;
  }
  .nav nav {
    gap: 16px;
    font-size: 12px;
  }
  .nav nav > a:first-child {
    display: none;
  }
  .nav-account {
    padding: 9px 11px;
  }
  .nav-account span {
    display: none;
  }
  .hero {
    display: block;
    padding-top: 55px;
    overflow: hidden;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero-copy > p {
    font-size: 15px;
  }
  .hero-note {
    font-size: 9px;
  }
  .hero-actions {
    gap: 23px;
  }
  .product-scene {
    height: 355px;
    margin: 15px 0 35px;
  }
  .desktop-preview {
    max-width: 440px;
    width: 95%;
  }
  .phone-preview {
    right: 0;
    bottom: 10px;
  }
  .orbit {
    left: 10px;
  }
  .orbit-two {
    left: -20px;
  }
  .scene-caption {
    left: 75px;
    bottom: 2px;
  }
  .features {
    padding-top: 40px;
    padding-bottom: 45px;
  }
  .section-heading {
    display: block;
    margin-bottom: 25px;
  }
  h2 {
    font-size: 29px;
  }
  .section-heading > p {
    font-size: 13px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .feature-grid h3 {
    margin-top: 15px;
  }
  .download-section {
    padding: 45px 0;
  }
  .download-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .download-card {
    padding: 20px 16px;
    min-height: 226px;
  }
  .steps {
    padding-top: 35px;
    padding-bottom: 40px;
  }
  .steps > div {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .steps article {
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px;
  }
  .steps h3 {
    display: inline-block;
    margin-left: 12px;
  }
  .steps p {
    margin-top: 0;
  }
  .footer {
    flex-wrap: wrap;
    gap: 15px;
  }
  .footer p {
    min-width: 150px;
  }
  .footer > div {
    width: 100%;
    padding-top: 10px;
  }
  .account-main {
    padding-top: 35px;
  }
  .account-main > h1 {
    font-size: 31px;
  }
  .account-shell {
    display: block;
    margin-top: 25px;
  }
  .account-side {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    padding: 18px;
    margin-bottom: 20px;
  }
  .account-side .avatar {
    width: 35px;
    height: 35px;
    font-size: 18px;
    margin: 0;
  }
  .account-side p {
    display: none;
  }
  .account-side b {
    flex: 1;
  }
  .account-side nav {
    width: 100%;
    display: flex;
    gap: 24px;
  }
  .account-side nav button {
    padding: 5px 0;
  }
  .panel {
    padding: 21px 17px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .device-row {
    gap: 10px;
    flex-wrap: wrap;
  }
  .inline-actions {
    margin-left: auto;
  }
  .auth-card {
    margin-top: 25px;
  }
  .auth-switch button {
    font-size: 16px;
  }
}

#action-dialog {
  border: 1px solid #e6ecf7;
  border-radius: 20px;
  padding: 28px;
  max-width: calc(100vw - 40px);
  width: 420px;
  box-shadow: 0 25px 90px #1c36512b;
  color: #1c2b45;
}
#action-dialog::backdrop {
  background: #18243b66;
  backdrop-filter: blur(3px);
}
#action-dialog h2 {
  font-size: 22px;
  margin: 0 0 12px;
}
#action-dialog label {
  font-size: 12px;
  color: #75849e;
  display: block;
  margin-top: 20px;
}
#action-dialog input {
  margin-top: 9px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 25px;
}

/* Account routes arrive in this state before any JavaScript runs. */
[data-account-loading] body > header,
[data-account-loading] body > main,
[data-account-loading] body > footer {
  display: none;
}
#account-startup {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 42%, #f2f7ff 0, #fff 58%);
}
.account-startup-brand { display: flex; align-items: center; gap: 15px; }
.account-startup-brand img { width: 58px; height: 58px; object-fit: contain; }
.account-startup-brand strong { font-size: 32px; font-weight: 650; letter-spacing: -.8px; }
.account-startup-line { width: 160px; height: 3px; margin-top: 32px; border-radius: 3px; overflow: hidden; background: #e9effb; }
.account-startup-line::after { content: ""; display: block; width: 45%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #25cddd, #2463eb); animation: account-startup-progress 1.5s ease-in-out infinite; }
#account-startup p { margin-top: 18px; color: #778298; font-size: 13px; letter-spacing: 1px; }
@keyframes account-startup-progress { from { transform: translateX(-110%); } to { transform: translateX(340%); } }
@media (prefers-reduced-motion: reduce) { .account-startup-line::after { animation: none; width: 100%; } }
