:root {
  --bg: #f6fbff;
  --bg-soft: #eef6fb;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --line: rgba(26, 70, 103, 0.12);
  --line-strong: rgba(26, 70, 103, 0.2);
  --text: #163047;
  --muted: #5d7387;
  --accent: #0f7a91;
  --accent-deep: #0d5f72;
  --accent-soft: #d9f1f2;
  --shadow: 0 20px 60px rgba(17, 84, 108, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(185, 231, 239, 0.7), transparent 34%),
    linear-gradient(180deg, #fbfeff 0%, var(--bg) 55%, #f9fcff 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  min-height: 100vh;
}

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

.narrow {
  width: min(calc(100% - 40px), 840px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(246, 251, 255, 0.8);
  border-bottom: 1px solid rgba(22, 48, 71, 0.05);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-logo {
  width: 86px;
  height: 86px;
  object-fit: cover;
  object-position: center;
  clip-path: inset(10% 10% 10% 10% round 24px);
  transform: scale(1.24);
  transform-origin: center;
  filter: drop-shadow(0 12px 26px rgba(49, 113, 230, 0.2));
}

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

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px var(--line);
}

.lang-switcher a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  transition: 0.25s ease;
}

.lang-switcher a.is-active {
  color: var(--text);
  background: var(--accent-soft);
}

.site-nav a {
  padding: 11px 16px;
  border-radius: 999px;
  color: var(--muted);
  transition: 0.25s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(15, 122, 145, 0.12);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 1px var(--line);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 99px;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero {
  padding: 88px 0 46px;
}

.page-hero {
  padding: 86px 0 24px;
}

.hero-grid,
.split-grid,
.two-up,
.footer-grid,
.region-grid {
  display: grid;
  gap: 28px;
}

.hero-grid,
.split-grid,
.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.two-up {
  align-items: stretch;
}

.hero-copy h1,
.page-hero h1,
.section-heading h2,
.info-panel h2,
.region-card h2 {
  margin: 0;
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.hero-copy h1 {
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  max-width: 11ch;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--accent-deep);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-text,
.page-hero p,
.feature-card p,
.stack-item p,
.info-panel p,
.region-card p,
.timeline-item span,
.site-footer p,
.stat-card span {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}

.hero-actions,
.hero-badges,
.report-top,
.report-list,
.usage-grid,
.footer-bottom,
.footer-links {
  display: flex;
  gap: 14px;
}

.hero-actions,
.hero-badges {
  margin-top: 28px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 12px 30px rgba(15, 122, 145, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 1px var(--line);
}

.hero-badges {
  padding: 0;
  list-style: none;
}

.hero-badges li,
.pill,
.usage-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 999px;
}

.hero-badges li {
  padding: 10px 14px;
  color: var(--muted);
}

.hero-panel,
.feature-card,
.stack-item,
.stat-card,
.info-panel,
.timeline-card,
.region-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 22px;
}

.hero-visual {
  margin-bottom: 18px;
  padding: 14px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(225, 243, 246, 0.7), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(15, 122, 145, 0.1);
}

.hero-visual img {
  width: 100%;
  height: auto;
}

.report-card {
  padding: 30px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(235, 247, 251, 0.92)),
    #fff;
  box-shadow: inset 0 0 0 1px rgba(15, 122, 145, 0.08);
}

.report-top {
  align-items: center;
  justify-content: space-between;
}

.pill {
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 700;
}

.pill-soft {
  background: var(--accent-soft);
  border-color: transparent;
}

.score {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #d9f1f2);
  font-family: "Manrope", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
}

.report-card h2 {
  margin: 24px 0;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  line-height: 1.18;
}

.report-list {
  flex-direction: column;
}

.report-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.report-list strong {
  font-size: 1.03rem;
}

.report-list span {
  color: var(--muted);
  text-align: right;
}

.section {
  padding: 34px 0 54px;
}

.section-tinted {
  background: linear-gradient(180deg, rgba(232, 244, 248, 0.6), rgba(246, 251, 255, 0.2));
}

.section-heading {
  max-width: 740px;
  margin-bottom: 24px;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

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

.card-grid {
  display: grid;
  gap: 20px;
}

.three-up,
.stats-grid,
.usage-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

.feature-card,
.stack-item,
.stat-card,
.info-panel,
.timeline-card,
.region-card {
  padding: 26px;
}

.info-panel,
.timeline-card {
  height: 100%;
}

.feature-card h3,
.stack-item h3,
.timeline-item strong {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.card-visual {
  width: 88px;
  height: 88px;
  margin-bottom: 16px;
}

.feature-index {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  font-family: "Manrope", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.stack-list,
.timeline-card {
  display: grid;
  gap: 16px;
}

.section-visual-card {
  margin-top: 26px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(232, 244, 248, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.section-visual-card img {
  width: 100%;
  height: auto;
}

.stack-item,
.timeline-item {
  border-radius: var(--radius-lg);
}

.stack-item {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
}

.stats-grid {
  gap: 18px;
}

.stat-card {
  flex-direction: column;
  gap: 12px;
}

.stat-card strong {
  font-family: "Manrope", sans-serif;
  font-size: 1.9rem;
  letter-spacing: -0.05em;
}

.timeline-card {
  grid-template-rows: repeat(4, 1fr);
  align-content: start;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(236, 247, 249, 0.95));
}

.info-visual-card {
  margin-top: 22px;
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(231, 244, 248, 0.92));
  border: 1px solid var(--line);
}

.info-visual-card img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.timeline-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.usage-grid {
  gap: 16px;
  margin-top: 18px;
}

.usage-card {
  display: grid;
  place-items: center;
  min-height: 78px;
  padding: 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
}

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

.region-card.featured {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(225, 243, 246, 0.96)),
    var(--surface);
}

.section-tight {
  padding-top: 10px;
  padding-bottom: 24px;
}

.world-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(226, 243, 247, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.world-banner h2 {
  margin: 0 0 14px;
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.world-banner p:last-child {
  color: var(--muted);
  line-height: 1.8;
}

.hero-map-card {
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(231, 244, 248, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.map-visual {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(180deg, #f9fdff, #eaf4f8);
}

.map-composite {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}

.route-glow path {
  fill: none;
  stroke: url(#routeLine);
  stroke-width: 1.1;
  stroke-linecap: round;
  opacity: 0.92;
}

.route-points circle {
  fill: #0f7a91;
  stroke: #ffffff;
  stroke-width: 0.7;
}

.route-points .origin {
  fill: #2468e8;
}

.route-labels text {
  fill: rgba(22, 48, 71, 0.68);
  font-family: "Noto Sans SC", sans-serif;
  font-size: 3.8px;
  font-weight: 600;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.86);
  stroke-width: 0.95px;
  stroke-linejoin: round;
}

.route-labels .origin-label {
  fill: rgba(36, 104, 232, 0.78);
}

@media (max-width: 960px) {
}

@media (max-width: 640px) {
  .route-glow path {
    stroke-width: 1.2;
  }

  .route-labels text {
    font-size: 4px;
    stroke-width: 1px;
  }
}

.site-footer {
  padding: 18px 0 30px;
}

.footer-grid {
  grid-template-columns: 1.4fr 0.8fr 1fr;
  align-items: start;
  padding: 28px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

.brand-footer {
  margin-bottom: 14px;
}

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

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

.footer-caption {
  margin-bottom: 10px;
  color: var(--accent-deep);
  font-weight: 700;
}

.footer-bottom {
  justify-content: center;
  padding: 18px 4px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.single-line {
  justify-content: center;
}

@media (max-width: 960px) {
  .hero-grid,
  .split-grid,
  .two-up,
  .footer-grid,
  .three-up,
  .stats-grid,
  .usage-grid,
  .region-grid,
  .world-banner {
    grid-template-columns: 1fr;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    padding: 14px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }

  .nav-controls {
    gap: 10px;
  }

  .lang-switcher {
    margin-left: auto;
  }

  .site-nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: inline-block;
  }

  .hero-copy h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .container,
  .narrow {
    width: min(calc(100% - 24px), var(--container));
  }

  .hero {
    padding-top: 56px;
  }

  .brand-logo {
    width: 74px;
    height: 74px;
  }

  .page-hero {
    padding-top: 60px;
  }

  .hero-panel,
  .feature-card,
  .stack-item,
  .stat-card,
  .info-panel,
  .timeline-card,
  .region-card,
  .footer-grid,
  .report-card {
    padding: 20px;
  }

  .report-list div {
    flex-direction: column;
  }

  .report-list span {
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
  }
}
