:root {
  --navy: #102f4f;
  --navy-deep: #071d33;
  --blue: #1677ff;
  --cyan: #66d7ff;
  --ink: #142033;
  --muted: #64748b;
  --paper: #f4f8fc;
  --line: #dbe5ef;
  --white: #fff;
  --shadow: 0 24px 70px -40px rgba(7, 29, 51, .48);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--white); border-radius: 8px; }
.skip-link:focus { top: 12px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(219, 229, 239, .85);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
}
.topbar-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-height: 46px; font-weight: 750; color: var(--navy-deep); }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.brand small { display: block; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .08em; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav > a { display: inline-flex; align-items: center; min-height: 46px; color: #40536b; font-size: 15px; }
.nav > a:hover { color: var(--blue); }

.nav > .login-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  font-weight: 650;
  box-shadow: 0 12px 24px -16px rgba(16, 47, 79, .9);
}
.nav > .login-link:hover, .nav > .login-link:focus-visible { color: var(--white); background: #244a70; }

.hero {
  overflow: hidden;
  background:
    radial-gradient(850px 420px at 92% 5%, rgba(102, 215, 255, .28), transparent 62%),
    linear-gradient(180deg, #f6fbff 0%, #fff 100%);
}
.hero-grid { min-height: 650px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 64px; padding: 82px 0; }
.eyebrow { display: inline-flex; padding: 6px 12px; border: 1px solid #b9dcff; border-radius: 999px; color: #0d64c8; background: #eaf5ff; font-size: 13px; font-weight: 700; letter-spacing: .08em; }
h1, h2, h3 { margin: 0; color: var(--navy-deep); line-height: 1.18; }
h1 { max-width: 760px; margin-top: 22px; font-size: clamp(42px, 6vw, 70px); letter-spacing: -.045em; }
h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.025em; }
h3 { font-size: 22px; }
.lead { max-width: 670px; margin: 24px 0 0; color: #4d6078; font-size: clamp(18px, 2vw, 22px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 20px; border-radius: 999px; font-weight: 700; }
.button.primary { color: var(--white); background: var(--blue); box-shadow: 0 16px 30px -18px rgba(22, 119, 255, .9); }
.button.secondary { border: 1px solid var(--line); background: var(--white); color: var(--navy); }
.button:hover { transform: translateY(-1px); }

.platform-visual { position: relative; min-height: 450px; display: grid; place-items: center; }
.platform-core {
  position: relative;
  z-index: 2;
  width: 230px;
  height: 230px;
  display: grid;
  place-items: center;
  padding: 32px;
  border-radius: 50%;
  color: var(--white);
  text-align: center;
  background: linear-gradient(145deg, #174b78, var(--navy-deep));
  box-shadow: 0 38px 70px -32px rgba(7, 29, 51, .8);
}
.platform-core strong { font-size: 25px; line-height: 1.25; }
.orbit { position: absolute; z-index: 3; width: 180px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .96); box-shadow: var(--shadow); }
.orbit strong { display: block; color: var(--navy-deep); font-size: 19px; }
.orbit span { color: var(--muted); font-size: 13px; }
.orbit.flight { top: 28px; right: 0; }
.orbit.maint { bottom: 28px; left: 0; }
.platform-visual::before { content: ""; position: absolute; width: 350px; height: 350px; border: 1px dashed #a7c8e8; border-radius: 50%; }

.section { padding: 96px 0; background: var(--white); }
.section.soft { background: var(--paper); }
.section.dark { background: linear-gradient(150deg, var(--navy), var(--navy-deep)); color: var(--white); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { margin: 16px 0 0; color: var(--muted); font-size: 18px; }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section.dark .section-head p { color: #cbd8e6; }

.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.product-card { display: flex; min-height: 370px; flex-direction: column; padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.product-card .product-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 16px; color: var(--white); background: linear-gradient(145deg, var(--blue), var(--navy)); font-size: 25px; }
.product-card .product-icon img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.product-card p { margin: 14px 0 0; color: var(--muted); }
.product-card ul { margin: 22px 0 30px; padding-left: 20px; color: #40536b; }
.product-card .button { align-self: flex-start; margin-top: auto; }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.flow article { position: relative; padding: 26px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 18px; background: rgba(255, 255, 255, .07); }
.flow article:not(:last-child)::after { content: "→"; position: absolute; right: -17px; top: 50%; z-index: 3; width: 32px; color: var(--cyan); text-align: center; font-size: 22px; }
.flow b { display: block; margin-bottom: 8px; color: var(--cyan); font-size: 13px; letter-spacing: .08em; }
.flow p { margin: 9px 0 0; color: #cbd8e6; font-size: 14px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.feature h3 { font-size: 19px; }
.feature p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.feature-mark { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 18px; border-radius: 11px; background: #eaf5ff; color: var(--blue); font-weight: 800; }

.cta { padding: 78px 0; text-align: center; background: linear-gradient(180deg, #eaf5ff, #f8fbff); }
.cta p { max-width: 650px; margin: 14px auto 0; color: var(--muted); }
.cta .actions { justify-content: center; }
.footer { padding: 34px 0; border-top: 1px solid var(--line); background: var(--white); color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }

.product-hero .hero-grid { min-height: 560px; }
.dashboard-preview { padding: 20px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow); }
.preview-top { display: flex; align-items: center; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.preview-top i { width: 10px; height: 10px; border-radius: 50%; background: #b7c6d7; }
.preview-title { margin-left: 8px; color: var(--navy-deep); font-weight: 700; }
.preview-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding-top: 18px; }
.preview-card { min-height: 104px; padding: 16px; border-radius: 14px; background: var(--paper); }
.preview-card b { color: var(--navy-deep); }
.preview-card span { display: block; margin-top: 10px; color: var(--blue); font-size: 22px; font-weight: 750; }
.preview-wide { grid-column: 1 / -1; }

.product-brand img { width: 44px; height: 44px; }
.product-brand span { font-size: 25px; letter-spacing: -.02em; }
.product-brand small { font-size: 10px; letter-spacing: .12em; }
.nav .nav-divider { width: 1px; height: 18px; background: var(--line); }
.nav .nav-legal { color: #5b6d82; }
.nav-cta { min-height: 42px !important; padding: 0 18px; border-radius: 999px; color: #fff !important; background: var(--navy); font-weight: 700; }
.product-kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--navy); font-weight: 750; }
.product-kicker::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--blue); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.stat { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.76); }
.stat strong { display: block; color: var(--navy-deep); font-size: 18px; }
.stat span { color: var(--muted); font-size: 13px; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.process article { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); counter-increment: step; }
.process article::before { content: "0" counter(step); display: block; margin-bottom: 18px; color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.process p { margin: 9px 0 0; color: var(--muted); font-size: 14px; }
.safety-note { padding: 32px; border: 1px solid #bad9fa; border-radius: 20px; background: #edf6ff; }
.safety-note h3 { color: var(--navy); }
.safety-note p { margin: 10px 0 0; color: #4d6078; }
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; color: var(--navy-deep); font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 25px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: -4px 0 22px; color: var(--muted); }
.download-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 40px; border-radius: 24px; color: #fff; background: linear-gradient(135deg, var(--navy), var(--navy-deep)); box-shadow: var(--shadow); }
.download-card h2 { color: #fff; }
.download-card p { margin: 10px 0 0; color: #cbd8e6; }
.availability { flex: 0 0 auto; padding: 13px 20px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; font-weight: 700; }

.legal-page { padding: 68px 0 90px; background: var(--white); }
.legal-page .container { max-width: 900px; }
.back-link { display: inline-flex; min-height: 44px; align-items: center; color: var(--blue); font-weight: 650; }
.legal-page h1 { margin-top: 22px; font-size: clamp(38px, 6vw, 58px); }
.lead-sub { margin: 18px 0 42px; color: var(--muted); font-size: 19px; }
.legal-page h2 { margin: 42px 0 14px; font-size: 25px; }
.legal-page h3 { margin: 0 0 10px; font-size: 20px; }
.legal-page p, .legal-page li { color: #40536b; }
.legal-page ul, .legal-page ol { padding-left: 24px; }
.legal-page li + li { margin-top: 8px; }
.legal-callout { margin: 28px 0; padding: 24px; border: 1px solid #bad9fa; border-radius: 18px; background: #edf6ff; }
.legal-meta { margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.support-card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.support-card a { color: var(--blue); font-weight: 700; }
.support-card p { margin: 10px 0 0; }
.support-card .faq summary { min-height: 54px; }

@media (max-width: 900px) {
  .nav > a { display: none; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 38px; padding: 62px 0; }
  .platform-visual { max-width: 520px; width: 100%; margin: 0 auto; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow article::after { display: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .support-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .topbar-inner { min-height: 62px; gap: 10px; }
  .brand img { width: 34px; height: 34px; }
  .brand span { font-size: 15px; }
  .nav > .login-link { min-height: 44px; padding: 0 15px; }
  h1 { font-size: 40px; }
  .hero-grid { padding: 48px 0 56px; }
  .platform-visual { min-height: 390px; }
  .platform-core { width: 188px; height: 188px; padding: 25px; }
  .platform-core strong { font-size: 21px; }
  .platform-visual::before { width: 290px; height: 290px; }
  .orbit { width: 145px; padding: 15px; }
  .orbit.flight { top: 12px; }
  .orbit.maint { bottom: 12px; }
  .section { padding: 70px 0; }
  .product-grid, .feature-grid, .flow { grid-template-columns: 1fr; }
  .process, .stat-grid { grid-template-columns: 1fr; }
  .product-card { min-height: auto; padding: 28px; }
  .download-card { align-items: flex-start; flex-direction: column; padding: 28px; }
  .legal-page { padding: 42px 0 70px; }
  .legal-page h1 { font-size: 38px; }
  .product-brand span { font-size: 20px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:hover { transform: none; }
}

/* Public company pages: visible navigation without JavaScript or login. */
.company-site .company-name { color: var(--navy); font-size: 21px; font-weight: 700; margin: 22px 0 16px; }
.company-site .company-name span { font-size: 17px; font-weight: 500; }
.company-site .hero h1 { font-size: clamp(32px, 4vw, 52px); }
.company-site .hero-grid { gap: 40px; padding: 58px 0; }
.company-site .english-subtitle { color: var(--muted); font-size: 18px; }
.company-site .company-intro { max-width: 900px; }
.company-site .company-intro h2 { margin: 20px 0; }
.company-site .company-footer .footer-links { max-width: 470px; }
.company-site .contact-email { font-size: 24px; font-weight: 700; color: var(--blue); overflow-wrap: anywhere; }
.company-site .legal-page a { color: var(--blue); }
.company-site a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
@media (max-width: 1000px) {
 .company-header { position: static; }
 .company-header .topbar-inner { flex-wrap: wrap; gap: 0; padding-top: 10px; padding-bottom: 10px; }
 .company-header .nav { width: 100%; flex-wrap: wrap; gap: 4px 20px; }
 .company-header .nav > a { display: inline-flex; font-size: 14px; }
}
