:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f7fafc;
  --surface: rgba(255, 255, 255, 0.88);
  --text: #101822;
  --text-secondary: #536274;
  --text-tertiary: #7b8999;
  --line: #dbe4ec;
  --line-strong: #c9d6e1;
  --teal: #0b9b8a;
  --cyan: #0788a8;
  --blue: #3567c9;
  --focus: #056bd8;
  --shadow: 0 22px 70px rgba(33, 66, 94, 0.10);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 34px;
  --container: 1240px;
  --legal: 820px;
  --header-height: 76px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

body,
button,
a {
  font-family: inherit;
}

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

a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--teal);
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus) 72%, transparent);
  outline-offset: 4px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 10px;
  background: var(--text);
  color: white;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(219, 228, 236, 0.84);
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 20px;
  font-weight: 680;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.site-nav {
  display: flex;
  align-items: stretch;
  gap: 32px;
}

.site-nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #253343;
  font-size: 15px;
  font-weight: 520;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--teal);
}

.site-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--teal));
  content: "";
}

.mobile-menu {
  display: none;
}

.hero {
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 79% 52%, rgba(95, 208, 196, 0.08), transparent 27%),
    linear-gradient(180deg, #fff 0%, #fff 76%, #f8fafc 100%);
}

.hero-grid {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(390px, 0.97fr);
  align-items: center;
  gap: clamp(56px, 7vw, 112px);
  padding-block: 72px 96px;
}

.hero-copy {
  max-width: 680px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(60px, 6.4vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.065em;
  font-weight: 720;
}

.hero-english {
  margin: 18px 0 0;
  color: #6a8199;
  font-size: clamp(25px, 2.3vw, 36px);
  line-height: 1.2;
  letter-spacing: 0.045em;
}

.hero-positioning {
  margin: 34px 0 0;
  font-size: clamp(27px, 2.45vw, 39px);
  font-weight: 580;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.hero-description {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--text-secondary);
  font-size: clamp(16px, 1.22vw, 19px);
  line-height: 1.85;
}

.availability {
  min-height: 48px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  margin-top: 38px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 550;
}

.icon-stage {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.icon-stage::before,
.icon-stage::after {
  position: absolute;
  z-index: -2;
  content: "";
}

.icon-stage::before {
  width: 82%;
  height: 46%;
  left: 38%;
  background: linear-gradient(98deg, rgba(56, 118, 220, 0.13), rgba(90, 220, 186, 0.17) 54%, rgba(255, 255, 255, 0));
  clip-path: polygon(0 45%, 100% 0, 100% 100%, 0 58%);
  filter: blur(2px);
}

.icon-stage::after {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(59, 165, 177, 0.09);
  filter: blur(54px);
}

.app-icon-frame {
  width: min(72%, 400px);
  aspect-ratio: 1;
  padding: 20px;
  border: 1px solid rgba(199, 215, 225, 0.75);
  border-radius: 29%;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.app-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 23%;
}

.features-section {
  padding-block: 112px 80px;
  background: #fff;
}

.section-title {
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
  font-size: clamp(34px, 3.5vw, 50px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.section-title::after {
  width: 54px;
  height: 3px;
  display: block;
  margin: 23px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--teal));
  content: "";
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.feature {
  min-height: 232px;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-content: center;
  gap: 28px;
  padding: 38px 36px;
}

.feature:nth-child(-n + 3) {
  border-bottom: 1px solid var(--line);
}

.feature:not(:nth-child(3n)) {
  border-right: 1px solid var(--line);
}

.feature-icon {
  width: 70px;
  height: 70px;
  color: var(--teal);
}

.feature:nth-child(3n) .feature-icon,
.feature:nth-child(4) .feature-icon {
  color: var(--blue);
}

.feature:nth-child(2) .feature-icon,
.feature:nth-child(5) .feature-icon {
  color: var(--cyan);
}

.feature h3 {
  margin: 1px 0 9px;
  font-size: 22px;
  line-height: 1.35;
}

.feature p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
}

.trust-strip {
  margin-top: 58px;
  padding: 28px 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(105deg, #fbfefe, #f8fbfd);
}

.trust-copy {
  display: flex;
  align-items: center;
  gap: 20px;
}

.trust-copy svg {
  width: 46px;
  flex: 0 0 auto;
  color: var(--teal);
}

.trust-copy h2 {
  margin: 0 0 2px;
  font-size: 20px;
}

.trust-copy p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.trust-links {
  display: flex;
  border-left: 1px solid var(--line);
  padding-left: 34px;
  gap: 28px;
}

.trust-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 560;
  text-decoration: none;
}

.content-hero {
  padding: 86px 0 46px;
  background: linear-gradient(180deg, var(--bg-soft), #fff 78%);
}

.content-hero h1 {
  max-width: var(--legal);
  margin: 0 auto;
  font-size: clamp(42px, 4.4vw, 62px);
  line-height: 1.15;
  letter-spacing: -0.048em;
}

.content-hero .updated,
.content-hero .lead {
  max-width: var(--legal);
  margin-inline: auto;
  color: var(--text-secondary);
}

.content-hero .updated {
  margin-top: 18px;
  font-size: 15px;
}

.content-hero .lead {
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.85;
}

.legal-layout {
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
  padding: 38px 0 110px;
  display: grid;
  grid-template-columns: 220px minmax(0, var(--legal));
  justify-content: center;
  gap: 76px;
}

.toc {
  align-self: start;
  position: sticky;
  top: 30px;
  padding: 8px 28px 8px 0;
  border-right: 1px solid var(--line);
}

.toc-title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 680;
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc li + li {
  margin-top: 4px;
}

.toc a {
  min-height: 38px;
  display: flex;
  align-items: center;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
}

.toc a:hover {
  color: var(--teal);
}

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

.legal-intro {
  margin: 0 0 42px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
  color: var(--text-secondary);
}

.legal-content h2 {
  margin: 54px 0 22px;
  font-size: 30px;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h3 {
  margin: 42px 0 14px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  font-size: 22px;
  line-height: 1.45;
}

.legal-content h2 + h3 {
  padding-top: 0;
  border-top: 0;
}

.legal-content p,
.legal-content li {
  color: #3f4f61;
  font-size: 16px;
  line-height: 2;
}

.legal-content p {
  margin: 0 0 16px;
}

.legal-content ul,
.legal-content ol {
  margin: 14px 0 20px;
  padding-left: 1.45em;
}

.support-main {
  width: min(calc(100% - 48px), 900px);
  margin: 0 auto;
  padding: 82px 0 110px;
}

.support-main h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 64px);
  letter-spacing: -0.05em;
  line-height: 1.15;
}

.support-lead {
  max-width: 680px;
  margin: 24px 0 30px;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.9;
}

.email-link {
  min-height: 64px;
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 22px;
  border: 1px solid color-mix(in srgb, var(--cyan) 60%, var(--line));
  border-radius: var(--radius-sm);
  background: #fff;
  font-weight: 650;
  text-decoration: none;
  box-shadow: 0 10px 34px rgba(14, 111, 135, 0.06);
}

.email-link svg {
  width: 22px;
  flex: 0 0 auto;
}

.support-links,
.faq {
  margin-top: 62px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.support-links h2,
.faq h2 {
  margin: 0 0 22px;
  font-size: 27px;
}

.support-link-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.support-link-list a {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
}

.support-link-list a:hover {
  border-color: var(--line-strong);
  color: var(--teal);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 620;
  list-style: none;
}

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

.faq summary span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.faq summary::after {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-right: 1.8px solid var(--text-secondary);
  border-bottom: 1.8px solid var(--text-secondary);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 160ms ease;
  content: "";
}

.faq details[open] summary::after {
  transform: rotate(225deg) translate(-2px, -1px);
}

.faq details p {
  max-width: 760px;
  margin: -2px 34px 26px 0;
  color: var(--text-secondary);
  line-height: 1.9;
}

.not-found {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  place-items: center;
  padding: 64px 24px;
  text-align: center;
  background: linear-gradient(180deg, #fff, var(--bg-soft));
}

.not-found-mark {
  width: 84px;
  height: 84px;
  margin: 0 auto 30px;
  border-radius: 24%;
  box-shadow: 0 16px 42px rgba(30, 94, 109, 0.13);
}

.not-found h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: -0.05em;
}

.not-found p {
  margin: 14px 0 28px;
  color: var(--text-secondary);
}

.home-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  border-radius: 11px;
  background: var(--text);
  color: #fff;
  font-weight: 630;
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fbfcfd;
}

.footer-inner {
  min-height: 130px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-brand {
  justify-self: start;
}

.footer-records {
  justify-self: center;
  display: flex;
  gap: 16px;
}

.footer-records:empty,
.footer-records[hidden] {
  display: none;
}

.footer-links {
  justify-self: end;
  display: flex;
  gap: 10px;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-links a + a::before {
  margin-right: 10px;
  color: #a0acb8;
  content: "·";
}

@media (max-width: 1020px) {
  .hero {
    min-height: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.72fr;
    gap: 42px;
  }

  .icon-stage {
    min-height: 390px;
  }

  .feature {
    grid-template-columns: 58px 1fr;
    gap: 20px;
    padding: 32px 26px;
  }

  .feature-icon {
    width: 54px;
    height: 54px;
  }

  .legal-layout {
    grid-template-columns: 180px minmax(0, var(--legal));
    gap: 46px;
  }
}

@media (max-width: 820px) {
  .header-inner {
    min-height: 64px;
    align-items: center;
    gap: 18px;
  }

  .brand {
    height: 64px;
  }

  .site-nav {
    display: none;
  }

  .mobile-menu {
    position: relative;
    display: block;
    margin-left: auto;
  }

  .mobile-menu summary {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary svg {
    width: 24px;
    height: 24px;
  }

  .mobile-menu[open] summary {
    border-color: var(--line);
    background: var(--bg-soft);
  }

  .mobile-nav {
    position: absolute;
    z-index: 30;
    top: 52px;
    right: 0;
    width: min(250px, calc(100vw - 32px));
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 48px rgba(32, 58, 82, 0.14);
  }

  .mobile-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 10px;
    color: var(--text);
    font-size: 15px;
    font-weight: 580;
    text-decoration: none;
  }

  .mobile-nav a:hover,
  .mobile-nav a[aria-current="page"] {
    color: var(--teal);
    background: var(--bg-soft);
  }

  .hero-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 72px 52px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-description {
    margin-inline: auto;
  }

  .availability {
    margin-inline: auto;
  }

  .icon-stage {
    min-height: 390px;
  }

  .app-icon-frame {
    width: min(68%, 340px);
  }

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

  .feature:nth-child(n) {
    border: 0;
  }

  .feature:not(:nth-child(2n)) {
    border-right: 1px solid var(--line);
  }

  .feature:nth-child(-n + 4) {
    border-bottom: 1px solid var(--line);
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-links {
    padding: 18px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .legal-layout {
    display: block;
  }

  .toc {
    position: static;
    margin-bottom: 46px;
    padding: 0 0 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .toc ol {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px 20px;
  }
}

@media (max-width: 580px) {
  .container,
  .legal-layout,
  .support-main {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-inner {
    width: calc(100% - 32px);
  }

  .brand {
    padding-inline: 0;
  }

  .hero-grid {
    padding-block: 58px 34px;
  }

  .hero h1 {
    font-size: clamp(50px, 16vw, 66px);
  }

  .hero-english {
    font-size: 23px;
  }

  .hero-positioning {
    margin-top: 28px;
    font-size: 25px;
  }

  .hero-description {
    margin-top: 23px;
    font-size: 16px;
    line-height: 1.8;
  }

  .availability {
    min-height: 46px;
    margin-top: 30px;
  }

  .icon-stage {
    min-height: 300px;
  }

  .icon-stage::after {
    width: 270px;
    height: 270px;
  }

  .app-icon-frame {
    width: min(72%, 270px);
    padding: 12px;
  }

  .features-section {
    padding-block: 82px 64px;
  }

  .section-title {
    margin-bottom: 42px;
  }

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

  .feature:nth-child(n) {
    min-height: 0;
    border: 0;
  }

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

  .feature {
    grid-template-columns: 56px 1fr;
    padding: 28px 22px;
  }

  .trust-strip {
    padding: 24px 20px;
  }

  .trust-copy {
    align-items: flex-start;
  }

  .trust-copy svg {
    width: 38px;
  }

  .trust-links {
    justify-content: space-between;
    gap: 8px;
  }

  .trust-links a {
    font-size: 14px;
  }

  .content-hero {
    padding: 62px 16px 38px;
  }

  .content-hero .lead {
    font-size: 16px;
  }

  .legal-layout {
    padding-bottom: 80px;
  }

  .toc ol {
    grid-template-columns: 1fr;
  }

  .legal-content h2 {
    font-size: 27px;
  }

  .legal-content h3 {
    font-size: 20px;
  }

  .legal-content p,
  .legal-content li {
    font-size: 15px;
    line-height: 1.95;
  }

  .support-main {
    padding-block: 62px 80px;
  }

  .support-lead {
    font-size: 16px;
  }

  .email-link {
    width: 100%;
    padding-inline: 16px;
    font-size: 14px;
  }

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

  .footer-inner {
    min-height: 164px;
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: center;
    gap: 5px;
    text-align: center;
  }

  .footer-brand,
  .footer-records,
  .footer-links {
    justify-self: center;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .toc {
    display: none;
  }

  .content-hero,
  .legal-layout {
    width: 100%;
    display: block;
    padding: 0;
  }

  .legal-content p,
  .legal-content li {
    color: #000;
  }
}
