:root {
  color-scheme: light;
  --brand-navy: #083070;
  --brand-cyan: #10b0f0;
  --brand-lime: #90f000;
  --brand-lime-bright: #a3ff18;
  --navy-deep: #031a3d;
  --paper: #f5faff;
  --paper-deep: #e6f1fa;
  --ink: var(--brand-navy);
  --ink-soft: #3e5876;
  --line: rgba(8, 48, 112, 0.15);
  --signal: var(--brand-lime);
  --signal-dark: #0876b0;
  --white: #fbfdff;
  --radius-lg: 32px;
  --radius-md: 20px;
  --shadow: 0 28px 80px rgba(8, 48, 112, 0.16);
  --page-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 3%, rgba(16, 176, 240, 0.18), transparent 24rem),
    radial-gradient(circle at 92% 10%, rgba(144, 240, 0, 0.1), transparent 20rem),
    linear-gradient(180deg, #fafdff 0%, var(--paper) 48%, #edf6fc 100%);
  font-family: "Avenir Next", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--signal-dark);
  outline-offset: 4px;
}

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

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

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo {
  position: relative;
  display: block;
  width: 134px;
  height: 38px;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-logo img {
  position: absolute;
  top: -16px;
  left: -11px;
  width: 154px;
  max-width: none;
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 22px;
  color: var(--ink-soft);
  font-size: 14px;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--signal-dark);
  text-decoration: underline;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  min-height: 680px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--brand-navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  box-shadow: var(--shadow);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16, 176, 240, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 176, 240, 0.1) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  mask-image: linear-gradient(to bottom right, black, transparent 75%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(34px, 6vw, 76px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 0 0 42px;
  color: rgba(251, 253, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 6px rgba(144, 240, 0, 0.16);
  content: "";
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-family: "Iowan Old Style", "Noto Serif CJK SC", "Songti SC", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(58px, 9vw, 116px);
}

.hero-lead {
  max-width: 580px;
  margin: 32px 0 0;
  color: rgba(251, 253, 255, 0.76);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 46px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

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

.button-primary {
  color: var(--ink);
  background: var(--signal);
}

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

.button-secondary {
  border-color: rgba(16, 176, 240, 0.42);
  color: var(--white);
  background: rgba(16, 176, 240, 0.1);
}

.button-secondary:hover {
  background: rgba(16, 176, 240, 0.18);
}

.button-icon {
  font-size: 18px;
  line-height: 1;
}

.hero-note {
  margin: 18px 0 0;
  color: rgba(251, 253, 255, 0.56);
  font-size: 12px;
}

.release-meta {
  max-width: 580px;
  margin: 10px 0 0;
  color: rgba(251, 253, 255, 0.46);
  font-size: 11px;
  line-height: 1.7;
}

.release-meta code {
  overflow-wrap: anywhere;
  font: inherit;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  padding: 60px 48px;
  background: linear-gradient(145deg, rgba(16, 176, 240, 0.1), transparent 70%);
}

.device-card {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 0.76;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(16, 176, 240, 0.3);
  border-radius: 42px;
  background: linear-gradient(150deg, #12447e 0%, #061e4b 72%);
  box-shadow: 0 40px 80px rgba(2, 18, 51, 0.48);
  transform: rotate(3deg);
}

.device-card::after {
  position: absolute;
  right: -15%;
  bottom: -4%;
  width: 78%;
  aspect-ratio: 1;
  border: 1px solid rgba(144, 240, 0, 0.22);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(144, 240, 0, 0.08),
    0 0 0 68px rgba(16, 176, 240, 0.045);
  content: "";
}

.device-topline,
.device-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.device-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--signal);
}

.device-status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.device-number {
  position: relative;
  z-index: 1;
  margin: 90px 0 18px;
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: clamp(44px, 6vw, 72px);
  letter-spacing: -0.06em;
  line-height: 1;
}

.device-caption {
  position: relative;
  z-index: 1;
  max-width: 210px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.device-footer {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
}

.section {
  padding: clamp(82px, 11vw, 148px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(300px, 1.3fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 54px;
}

.section-kicker {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Noto Serif CJK SC", "Songti SC", Georgia, serif;
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature {
  min-height: 280px;
  padding: 32px 30px 36px 0;
}

.feature + .feature {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.feature-number {
  display: block;
  margin-bottom: 64px;
  color: var(--signal-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.feature h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.25;
}

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

.platform-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--paper-deep);
}

.platform-card {
  min-height: 360px;
  padding: clamp(34px, 5vw, 58px);
}

.platform-card:first-child {
  color: var(--white);
  background: linear-gradient(145deg, var(--brand-navy) 0%, var(--navy-deep) 100%);
}

.platform-card:nth-child(2) {
  background: linear-gradient(145deg, #eef7ff 0%, var(--paper-deep) 100%);
}

.platform-card h3 {
  margin: 76px 0 12px;
  font-family: "Iowan Old Style", "Noto Serif CJK SC", "Songti SC", Georgia, serif;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.platform-card p {
  max-width: 420px;
  margin: 0;
  color: inherit;
  opacity: 0.65;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--signal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.platform-card:nth-child(2) .status-pill {
  color: var(--signal-dark);
}

.trust-note {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.trust-note strong {
  display: block;
  margin-bottom: 18px;
  font-family: "Iowan Old Style", "Noto Serif CJK SC", "Songti SC", Georgia, serif;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.trust-note p {
  margin: 0;
  color: var(--ink-soft);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 8vw, 102px);
  border-radius: var(--radius-lg);
  color: var(--white);
  background: linear-gradient(145deg, var(--brand-navy) 0%, var(--navy-deep) 100%);
}

.page-hero::after {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(16, 176, 240, 0.28);
  border-radius: 50%;
  box-shadow:
    0 0 0 42px rgba(16, 176, 240, 0.065),
    0 0 0 84px rgba(144, 240, 0, 0.035);
  content: "";
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 800px;
  font-size: clamp(46px, 8vw, 88px);
}

.page-hero p {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(251, 253, 255, 0.7);
}

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  justify-content: space-between;
  gap: 72px;
  padding: clamp(72px, 9vw, 118px) 0;
}

.legal-aside {
  align-self: start;
  position: sticky;
  top: 30px;
}

.legal-meta {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
}

.legal-meta strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
}

.language-jump {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 22px;
  font-size: 14px;
}

.language-jump a {
  color: var(--ink-soft);
}

.legal-content {
  min-width: 0;
}

.legal-content h2 {
  margin: 0 0 22px;
  font-family: "Iowan Old Style", "Noto Serif CJK SC", "Songti SC", Georgia, serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.legal-content h3 {
  margin: 46px 0 14px;
  font-size: 20px;
  line-height: 1.35;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.25em;
}

.legal-content li + li {
  margin-top: 8px;
}

.legal-content a {
  color: var(--signal-dark);
}

.legal-language {
  scroll-margin-top: 32px;
}

.legal-language + .legal-language {
  margin-top: 96px;
  padding-top: 96px;
  border-top: 1px solid var(--line);
}

.notice {
  margin: 34px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--signal-dark);
  background: rgba(16, 176, 240, 0.1);
  color: var(--ink-soft);
}

.deletion-steps {
  counter-reset: steps;
  display: grid;
  gap: 14px;
  margin: 34px 0 42px;
  padding: 0;
  list-style: none;
}

.deletion-steps li {
  position: relative;
  min-height: 74px;
  padding: 14px 18px 14px 72px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
}

.deletion-steps li::before {
  counter-increment: steps;
  position: absolute;
  top: 14px;
  left: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--signal);
  content: counter(steps, decimal-leading-zero);
  font-size: 12px;
  font-weight: 800;
}

.site-footer {
  padding: 42px 0 54px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}

.footer-brand {
  margin: 0 0 8px;
  font-weight: 700;
}

.footer-company,
.footer-note,
.footer-records {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.footer-records {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}

.footer-records a {
  color: inherit;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
  font-size: 13px;
}

.footer-links a {
  color: var(--ink-soft);
}

.footer-records a:hover,
.footer-links a:hover {
  color: var(--signal-dark);
}

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

.not-found-code {
  margin: 0;
  color: var(--signal-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.not-found h1 {
  margin: 18px 0;
  font-family: "Iowan Old Style", "Noto Serif CJK SC", "Songti SC", Georgia, serif;
  font-size: clamp(54px, 10vw, 112px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.not-found p {
  max-width: 520px;
  margin: 0 auto 30px;
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    padding: 22px 0;
  }

  .site-nav {
    max-width: 220px;
  }

  .hero,
  .section-heading,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 480px;
  }

  .section-heading {
    align-items: start;
  }

  .legal-layout {
    gap: 52px;
  }

  .legal-aside {
    position: static;
  }

  .language-jump {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 22px;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(calc(100% - 22px), var(--page-width));
  }

  .site-header {
    min-height: 76px;
  }

  .site-nav a:not(.nav-essential) {
    display: none;
  }

  .hero {
    min-height: auto;
    border-radius: 24px;
  }

  .hero-copy {
    min-height: 600px;
    padding: 30px 24px 42px;
  }

  .hero h1 {
    font-size: clamp(54px, 18vw, 78px);
  }

  .hero-lead {
    font-size: 17px;
  }

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

  .button {
    width: 100%;
  }

  .hero-visual {
    display: none;
  }

  .section {
    padding: 84px 0;
  }

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

  .feature {
    min-height: 0;
    padding: 28px 0 34px;
  }

  .feature + .feature {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .feature-number {
    margin-bottom: 34px;
  }

  .platform-card {
    min-height: 310px;
    padding: 32px 26px;
  }

  .page-hero {
    padding: 62px 25px;
    border-radius: 24px;
  }

  .legal-content h3 {
    margin-top: 38px;
  }

  .legal-language + .legal-language {
    margin-top: 72px;
    padding-top: 72px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *,
  .hero-visual {
    animation: reveal 620ms both cubic-bezier(0.22, 1, 0.36, 1);
  }

  .hero-copy > :nth-child(2) {
    animation-delay: 80ms;
  }

  .hero-copy > :nth-child(3),
  .hero-visual {
    animation-delay: 150ms;
  }

  .device-card {
    animation: float 7s ease-in-out infinite;
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: rotate(3deg) translateY(0);
  }
  50% {
    transform: rotate(1.8deg) translateY(-10px);
  }
}
