:root {
  --ink: #111827;
  --ink-soft: #42526a;
  --paper: #f6f8fc;
  --white: #ffffff;
  --line: #dce4ef;
  --navy: #0a1224;
  --navy-soft: #111f3a;
  --blue: #3977ff;
  --cyan: #31cbb6;
  --cyan-soft: #e5faf6;
  --shadow: 0 18px 55px rgba(16, 40, 78, 0.1);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 18, 36, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(1120px, calc(100% - 40px));
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 720;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  color: #b9c8df;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 18%, rgba(57, 119, 255, 0.38), transparent 30%),
    radial-gradient(circle at 88% 82%, rgba(49, 203, 182, 0.2), transparent 31%),
    linear-gradient(145deg, #081022 0%, #0b1730 58%, #111f3a 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.065) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.hero .wrap {
  position: relative;
  z-index: 1;
  padding-top: 82px;
  padding-bottom: 86px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 6px 12px;
  border: 1px solid rgba(103, 220, 204, 0.3);
  border-radius: 999px;
  color: #9df1e4;
  background: rgba(49, 203, 182, 0.09);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(49, 203, 182, 0.12);
}

.hero h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(38px, 5.4vw, 66px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.hero h1 span {
  color: #7feadd;
}

.hero-lead {
  max-width: 600px;
  margin: 24px 0 32px;
  color: #b9c8df;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.8;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 680;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  color: #08152b;
  background: #75e6d7;
}

.button-primary:hover {
  background: #92f1e5;
}

.button-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.11);
}

.hero-panel {
  position: relative;
  min-height: 390px;
  display: grid;
  place-items: center;
}

.signal-ring {
  position: absolute;
  width: min(390px, 86vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(113, 175, 255, 0.16);
  box-shadow:
    0 0 0 38px rgba(79, 137, 255, 0.035),
    0 0 0 80px rgba(79, 137, 255, 0.022);
}

.device-card {
  position: relative;
  width: min(340px, 82vw);
  padding: 19px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(25, 44, 77, 0.94), rgba(11, 24, 47, 0.94));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: rotate(2deg);
}

.device-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  color: #9eb1ce;
  font-size: 12px;
}

.device-top .online {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #90f0e3;
}

.online::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #50dfcb;
}

.computer-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: #86eadd;
  background: linear-gradient(145deg, rgba(49, 203, 182, 0.15), rgba(57, 119, 255, 0.16));
  border: 1px solid rgba(123, 234, 219, 0.17);
}

.computer-icon svg {
  width: 38px;
  height: 38px;
}

.device-card h2 {
  margin: 0;
  text-align: center;
  color: #fff;
  font-size: 20px;
}

.device-card > p {
  margin: 6px 0 20px;
  text-align: center;
  color: #91a7c5;
  font-size: 13px;
}

.terminal {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(3, 9, 20, 0.55);
}

.terminal-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  color: #b6c7df;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

.terminal-row:last-child {
  border-bottom: 0;
}

.terminal-row .status {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #4fdc9d;
}

.terminal-row:nth-child(2) .status {
  background: #76a7ff;
}

.section {
  padding: 82px 0;
}

.section-white {
  background: var(--white);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.section-heading p {
  margin: 0;
  color: var(--ink-soft);
}

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

.feature-card {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 2px 8px rgba(16, 40, 78, 0.03);
}

.feature-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #166f66;
  background: var(--cyan-soft);
}

.feature-icon svg {
  width: 23px;
  height: 23px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.feature-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: flow;
}

.flow-step {
  position: relative;
  padding: 26px;
  border-radius: var(--radius);
  background: #eef3fa;
}

.flow-step::before {
  counter-increment: flow;
  content: "0" counter(flow);
  display: inline-block;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.flow-step h3 {
  margin: 0 0 7px;
  font-size: 17px;
}

.flow-step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.notice {
  display: flex;
  gap: 14px;
  padding: 19px 21px;
  border: 1px solid #f2d88b;
  border-radius: 14px;
  color: #65501d;
  background: #fff8e2;
  font-size: 14px;
}

.notice strong {
  flex: 0 0 auto;
}

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

.portal-card {
  display: block;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.portal-card:hover {
  color: var(--ink);
  border-color: #aebfda;
  box-shadow: var(--shadow);
  text-decoration: none;
  transform: translateY(-2px);
}

.portal-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 5px;
  font-size: 18px;
}

.portal-card h3 span {
  color: var(--blue);
  font-size: 20px;
}

.portal-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.page-hero {
  padding: 64px 0 54px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 20%, rgba(57, 119, 255, 0.25), transparent 27%),
    linear-gradient(145deg, #0a1224, #10213e);
}

.page-hero .kicker {
  margin: 0 0 10px;
  color: #83e6d9;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.page-hero .page-lead {
  max-width: 720px;
  margin: 0;
  color: #b7c7df;
  font-size: 16px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 48px;
  padding-top: 46px;
  padding-bottom: 82px;
  align-items: start;
}

.legal-aside {
  position: sticky;
  top: 88px;
}

.legal-aside .updated {
  margin: 0 0 16px;
  color: #718099;
  font-size: 13px;
}

.legal-nav {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
}

.legal-nav strong {
  display: block;
  margin: 0 8px 8px;
  font-size: 13px;
}

.legal-nav a {
  display: block;
  padding: 5px 8px;
  color: #4d5d75;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.45;
}

.legal-nav a:hover {
  color: var(--blue);
  background: #eef4ff;
  text-decoration: none;
}

.legal-main {
  min-width: 0;
  padding: clamp(25px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 10px 35px rgba(16, 40, 78, 0.05);
}

.legal-main > p:first-child {
  color: var(--ink-soft);
}

.legal-main h2 {
  margin: 42px 0 12px;
  scroll-margin-top: 92px;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.015em;
}

.legal-main h2:first-of-type {
  margin-top: 32px;
}

.legal-main h3 {
  margin: 26px 0 8px;
  font-size: 17px;
}

.legal-main p,
.legal-main li {
  color: #34445a;
  font-size: 15px;
}

.legal-main p {
  margin: 0 0 14px;
}

.legal-main ul,
.legal-main ol {
  margin: 10px 0 18px;
  padding-left: 24px;
}

.legal-main li {
  margin-bottom: 7px;
  padding-left: 3px;
}

.legal-main strong {
  color: var(--ink);
}

.contact-box {
  margin-top: 34px;
  padding: 24px;
  border: 1px solid #cceee8;
  border-radius: 16px;
  background: #f1fcfa;
}

.contact-box h2 {
  margin-top: 0;
}

.contact-box p:last-child {
  margin-bottom: 0;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  padding-top: 46px;
  padding-bottom: 82px;
  align-items: start;
}

.support-main,
.support-side {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}

.support-main h2 {
  margin: 0 0 18px;
  font-size: 24px;
}

.support-side {
  position: sticky;
  top: 88px;
  background: linear-gradient(160deg, #0d1930, #172b4a);
  color: #fff;
  border-color: transparent;
}

.support-side h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.support-side p {
  color: #b8c7dc;
  font-size: 14px;
}

.support-side .button {
  width: 100%;
  margin-top: 8px;
}

details {
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  padding: 19px 30px 19px 0;
  position: relative;
  cursor: pointer;
  list-style: none;
  font-weight: 680;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  top: 17px;
  right: 2px;
  color: var(--blue);
  font-weight: 500;
  font-size: 23px;
}

details[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 28px 20px 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.delete-steps {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  counter-reset: steps;
}

.delete-step {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f9fbfe;
}

.delete-step::before {
  counter-increment: steps;
  content: counter(steps);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-weight: 700;
}

.delete-step h3 {
  margin: 2px 0 4px;
  font-size: 16px;
}

.delete-step p {
  margin: 0;
  font-size: 14px;
}

.site-footer {
  padding: 32px 0;
  color: #8fa1ba;
  background: #08101f;
  font-size: 13px;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a {
  color: #b6c4d8;
}

.not-found {
  min-height: calc(100vh - 66px);
  display: grid;
  place-items: center;
  padding: 40px 20px;
  text-align: center;
}

.not-found h1 {
  margin: 0 0 8px;
  font-size: 72px;
  line-height: 1;
}

.not-found p {
  margin: 0 0 24px;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero .wrap {
    padding-top: 62px;
    padding-bottom: 68px;
  }

  .hero-panel {
    min-height: 340px;
  }

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

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .legal-aside {
    position: static;
  }

  .legal-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .legal-nav strong {
    grid-column: 1 / -1;
  }

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

  .support-side {
    position: static;
  }
}

@media (max-width: 700px) {
  .nav-wrap {
    width: min(100% - 28px, 1120px);
    min-height: auto;
    padding: 13px 0 10px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
    padding: 5px 9px;
  }

  .wrap {
    width: min(100% - 28px, 1120px);
  }

  .hero .wrap {
    padding-top: 48px;
    padding-bottom: 52px;
  }

  .hero h1 {
    font-size: 39px;
  }

  .hero-lead {
    margin-top: 20px;
  }

  .hero-panel {
    min-height: 300px;
  }

  .device-card {
    transform: none;
  }

  .section {
    padding: 58px 0;
  }

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

  .page-hero {
    padding: 46px 0 40px;
  }

  .legal-layout,
  .support-grid {
    padding-top: 24px;
    padding-bottom: 58px;
  }

  .legal-nav {
    grid-template-columns: 1fr;
    max-height: 232px;
    overflow-y: auto;
  }

  .legal-main {
    padding: 24px 20px;
  }

  .legal-main h2 {
    font-size: 20px;
  }

  .support-main,
  .support-side {
    padding: 23px 20px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
