/* ============================================================
   MyPace Life — Global Stylesheet
   Palette: #0047AB · #A2E4B8 · #8EA4D2 · #496F5D · #FFFFFF
   ============================================================ */

/* --- Simplified Chinese font ------------------------------ */
:lang(zh-Hans) {
  font-family: 'Noto Sans SC', sans-serif;
}

/* Chinese hero spacing corrections (Noto Sans SC has denser line metrics) */
:lang(zh-Hans) .hero-logo {
  margin-bottom: 1.34rem;
}
:lang(zh-Hans) .hero h1 {
  margin-bottom: 0.85rem;
}

/* --- Reset & Base ----------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 130%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-charcoal);
  background: var(--color-mist);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color 0.25s ease;
}

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

ul, ol {
  padding-left: 1.5em;
}

/* --- Custom Properties ------------------------------------ */
:root {
  /* Palette */
  --color-blue:        #0047AB;
  --color-blue-dark:   #003080;
  --color-blue-darker: #001B44;
  --color-mint:        #A2E4B8;
  --color-periwinkle:  #8EA4D2;
  --color-forest:      #496F5D;
  --color-white:       #FFFFFF;

  /* Derived tones */
  --color-mist:        #F0F3F9;
  --color-ice:         #E4EAF5;
  --color-charcoal:    #1A1A2E;
  --color-gray:        #5C6578;
  --color-gray-light:  #D5DAE6;
  --color-forest-dark: #3A5A4A;
  --color-mint-dark:   #7BCFA0;

  /* Legacy aliases */
  --color-green:       #496F5D;
  --color-green-light: #A2E4B8;
  --color-cream:       #F0F3F9;

  /* Type */
  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body:    'Outfit', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

  /* Layout */
  --max-width:     1140px;
  --header-height: 76px;
  --radius:        12px;
  --radius-sm:     6px;
  --shadow:        0 2px 16px rgba(0, 45, 128, 0.06);
  --shadow-lg:     0 8px 32px rgba(0, 45, 128, 0.11);
}

/* --- Typography ------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-blue-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }

p + p { margin-top: 1em; }

.text-muted {
  color: var(--color-gray);
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: -0.02em;
}

/* --- Layout ----------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--cream {
  background: var(--color-mist);
}

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

.section--blue {
  background: linear-gradient(135deg, var(--color-blue-darker) 0%, var(--color-blue-dark) 40%, var(--color-blue) 100%);
  color: var(--color-white);
}

.section--blue h1,
.section--blue h2,
.section--blue h3,
.section--blue h4,
.section--blue h5,
.section--blue p,
.section--blue a {
  color: var(--color-white);
}

.section--blue a:hover {
  color: var(--color-mint);
}

/* --- Header / Navigation ---------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(240, 243, 249, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--color-gray-light);
  box-shadow: 0 1px 10px rgba(0, 45, 128, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.site-header__logo img {
  height: 47px;
  width: auto;
  mix-blend-mode: multiply;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-charcoal);
  position: relative;
  padding: 0.25rem 0;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-forest);
  transition: width 0.3s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: relative;
  width: 28px;
  height: 24px;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-charcoal);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle span {
  position: relative;
  top: 0;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -8px; }
.nav-toggle span::after  { top: 8px; }

.nav-toggle.open span {
  background: transparent;
}

.nav-toggle.open span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.open span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* --- Language Toggle --------------------------------------- */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: 1.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--color-gray-light);
  border-radius: 20px;
  overflow: hidden;
}

.lang-toggle a {
  padding: 0.3rem 0.65rem;
  color: var(--color-gray);
  text-decoration: none;
  transition: all 0.25s ease;
  line-height: 1;
}

.lang-toggle a:hover {
  color: var(--color-blue);
}

.lang-toggle a.active {
  background: var(--color-blue);
  color: var(--color-white);
}

.lang-toggle a.active:hover {
  color: var(--color-white);
}

@media (max-width: 767px) {
  .lang-toggle {
    margin-left: auto;
    margin-right: 0;
    order: 2;
  }
}

/* --- Hero ------------------------------------------------- */
.hero {
  position: relative;
  padding: 6rem 0 5rem;
  overflow: hidden;
  text-align: center;
}

.hero--home {
  padding: 8rem 0 6rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(142, 164, 210, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(162, 228, 184, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

.hero-logo {
  display: block;
  height: 144px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1.34rem;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.hero .subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.375rem);
  color: var(--color-periwinkle);
  margin-bottom: 2rem;
  font-weight: 300;
  letter-spacing: 0.01em;
}

.hero--home .subtitle {
  margin-bottom: 0.75rem;
}

.hero .hero__body {
  font-size: clamp(0.82rem, 1.4vw, 0.95rem);
  color: rgba(255, 255, 255, 0.68);
  font-weight: 300;
  line-height: 1.65;
}

.hero__cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.hero__cta--primary,
.section--blue .hero__cta--primary {
  background: var(--color-mint);
  color: var(--color-blue);
}

.hero__cta--primary:hover {
  background: rgba(142, 164, 210, 0.35);
  color: var(--color-mint);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(142, 164, 210, 0.3);
}

.hero__cta--secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.55);
}

.section--blue .hero__cta--secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.55);
}

.hero__cta--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  border-color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(142, 164, 210, 0.3);
}

/* --- Technology Section (Dark Showcase) ------------------- */
.section--tech {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #010E24 0%, #001B44 45%, #012358 80%, #010E24 100%);
  padding: 6rem 0 7rem;
}

/* Slow-drifting ambient blue glow */
.section--tech::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 10%;
  width: 80%;
  height: 180%;
  background: radial-gradient(ellipse, rgba(0, 71, 171, 0.30) 0%, transparent 58%);
  pointer-events: none;
  animation: techGlowBlue 8s ease-in-out infinite;
}

/* Mint accent glow — lower right */
.section--tech::after {
  content: '';
  position: absolute;
  bottom: -25%;
  right: 0%;
  width: 55%;
  height: 110%;
  background: radial-gradient(ellipse, rgba(162, 228, 184, 0.09) 0%, transparent 60%);
  pointer-events: none;
  animation: techGlowMint 11s ease-in-out infinite;
}

@keyframes techGlowBlue {
  0%, 100% { transform: translate(0, 0) scale(1);       opacity: 0.85; }
  40%       { transform: translate(5%, 4%) scale(1.06);  opacity: 1;    }
  70%       { transform: translate(-3%, -3%) scale(0.96); opacity: 0.7; }
}
@keyframes techGlowMint {
  0%, 100% { transform: translate(0, 0) scale(1);       opacity: 0.7; }
  55%       { transform: translate(-6%, -5%) scale(1.1); opacity: 1;   }
}

/* --- Module Grid (Technology Modules) --------------------- */
.module-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.module-card {
  position: relative;
  z-index: 1;
  padding: 2rem;
  background: var(--color-white);
  border-radius: var(--radius);
  border-top: 4px solid var(--color-blue);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.module-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.module-card:nth-child(2) { border-top-color: var(--color-forest); }
.module-card:nth-child(3) { border-top-color: var(--color-periwinkle); }
.module-card:nth-child(4) { border-top-color: var(--color-mint-dark); }

.module-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.module-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-blue-dark);
  letter-spacing: -0.01em;
}

.module-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gray);
  background: var(--color-ice);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .module-grid {
    grid-template-columns: 1fr;
  }
  .module-connections-svg {
    display: none;
  }
}

/* Dark-theme card overrides */
.section--tech .module-grid {
  gap: 1.25rem;
}

.section--tech .module-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top-width: 3px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  padding: 2rem;
  opacity: 0; /* hidden until stagger fires */
}

/* Module accent colours — brighter on dark bg */
.section--tech [data-module="clonoic"]   { border-top-color: #4D9EFF; }
.section--tech [data-module="coreflexi"] { border-top-color: #A2E4B8; }
.section--tech [data-module="tasklawn"]  { border-top-color: #8EA4D2; }
.section--tech [data-module="cashfluid"] { border-top-color: #7BCFA0; }

/* Hover: lift + glass brighten + per-module glow */
.section--tech .module-card:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-5px) scale(1.007);
  box-shadow: 0 16px 52px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}
.section--tech [data-module="clonoic"]:hover   { box-shadow: 0 16px 52px rgba(0,0,0,0.35), 0 0 70px rgba(77,158,255,0.22),   inset 0 1px 0 rgba(255,255,255,0.1); }
.section--tech [data-module="coreflexi"]:hover { box-shadow: 0 16px 52px rgba(0,0,0,0.35), 0 0 70px rgba(162,228,184,0.18), inset 0 1px 0 rgba(255,255,255,0.1); }
.section--tech [data-module="tasklawn"]:hover  { box-shadow: 0 16px 52px rgba(0,0,0,0.35), 0 0 70px rgba(142,164,210,0.22), inset 0 1px 0 rgba(255,255,255,0.1); }
.section--tech [data-module="cashfluid"]:hover { box-shadow: 0 16px 52px rgba(0,0,0,0.35), 0 0 70px rgba(123,207,160,0.18), inset 0 1px 0 rgba(255,255,255,0.1); }

/* Text colours for dark bg */
.section--tech .module-card__header {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.section--tech .module-name {
  color: rgba(255, 255, 255, 0.96);
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}
.section--tech .module-tag {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.10);
}
.section--tech .module-card p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* Small corner logo — visible by default, hides when watermark appears */
.module-logo-small {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 3rem;
  height: auto;
  pointer-events: none;
  filter: brightness(0) invert(1);
  opacity: 0.45;
  transition: opacity 0.4s ease;
  z-index: 1;
}
.section--tech .module-card:hover .module-logo-small {
  opacity: 0;
}
.section--tech [data-module="clonoic"] .module-logo-small {
  width: 4rem;
}
[lang="zh-Hans"] .section--tech .module-card {
  min-height: 380px;
}

/* Watermark logo — fades in on hover */
.module-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88%;
  pointer-events: none;
  filter: brightness(0) invert(1);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}
.section--tech .module-card:hover .module-watermark {
  opacity: 0.22;
}

/* Keep card text above watermark */
.section--tech .module-card__header,
.section--tech .module-card p {
  position: relative;
  z-index: 1;
}

/* On hover: brighten text for contrast against the watermark */
.section--tech .module-card:hover .module-name {
  color: #fff;
}
.section--tech .module-card:hover .module-tag {
  color: rgba(255, 255, 255, 0.80);
  background: rgba(255, 255, 255, 0.12);
}
.section--tech .module-card:hover p {
  color: rgba(255, 255, 255, 0.88);
}

/* Interaction states for dark bg */
.section--tech .module-card--dimmed    { opacity: 0.15 !important; }
.section--tech .module-card--connected { outline-color: rgba(255,255,255,0.10); }
.section--tech .module-card--active,
.section--tech .module-card--connected { opacity: 1 !important; }

/* Connection SVG colours for dark bg */
.section--tech .sister-line             { stroke: rgba(162,228,184,0.42); }
.section--tech .sister-line--active     { stroke: rgba(162,228,184,0.9); stroke-width: 2.5; }
.section--tech .sister-label-bg         { fill: rgba(1,14,36,0.88); stroke: rgba(162,228,184,0.35); }
.section--tech .sister-label-bg--active { fill: rgba(162,228,184,0.15); stroke: rgba(162,228,184,0.7); }
.section--tech .sister-label-text       { fill: rgba(162,228,184,0.6); }
.section--tech .sister-label-text--active { fill: rgba(162,228,184,1); }
.section--tech .connection-line         { stroke: rgba(255,255,255,0.28); }

/* Stagger entrance animation */
@keyframes cardEntrance {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.section--tech .module-card.module-card--in {
  animation: cardEntrance 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Module interaction states */
.module-card--active {
  transform: translateY(-5px) scale(1.01) !important;
  box-shadow: var(--shadow-lg) !important;
}

.module-card--connected {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 24px rgba(0, 71, 171, 0.18) !important;
  outline: 2px solid rgba(0, 71, 171, 0.15);
  outline-offset: 1px;
}

.module-card--dimmed {
  opacity: 0.28 !important;
  transform: none !important;
  box-shadow: none !important;
}

/* SVG connection overlay */
.module-connections-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
}

/* Sister Systems permanent line */
.sister-line {
  stroke: var(--color-periwinkle);
  stroke-width: 2;
  stroke-dasharray: 5 4;
  opacity: 0.45;
  transition: opacity 0.3s ease, stroke 0.3s ease, stroke-width 0.3s ease;
}
.sister-line--active {
  opacity: 1;
  stroke: var(--color-blue);
  stroke-width: 2.5;
}

.sister-label-bg {
  fill: var(--color-ice);
  stroke: var(--color-periwinkle);
  stroke-width: 1;
  transition: fill 0.3s ease, stroke 0.3s ease;
}
.sister-label-bg--active {
  fill: var(--color-blue);
  stroke: var(--color-blue);
}

.sister-label-text {
  fill: var(--color-gray);
  font-family: var(--font-body, sans-serif);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transition: fill 0.3s ease;
  user-select: none;
}
.sister-label-text--active {
  fill: var(--color-white);
}

/* Animated hover connection lines */
.connection-line {
  stroke: var(--color-blue);
  stroke-width: 2;
  opacity: 0.55;
  stroke-dasharray: 6 4;
  transition: stroke-dashoffset 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Legal Pages ------------------------------------------ */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--color-blue-dark);
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--color-gray-light);
}

.legal-content h2 {
  font-size: 1.1rem;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  color: var(--color-blue);
}

.legal-content p {
  margin-bottom: 1rem;
  color: var(--color-gray);
}

/* --- Contact Section -------------------------------------- */
.contact-section {
  background: linear-gradient(135deg, var(--color-blue-darker) 0%, var(--color-blue-dark) 50%, var(--color-blue) 100%);
  color: var(--color-white);
  padding: 1.875rem 0;
  position: relative;
  overflow: hidden;
}

.contact-company {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-mint);
  margin-bottom: 0.75rem;
}

.contact-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--color-mint);
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-links a:hover {
  color: #fff;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(142, 164, 210, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* --- Footer ---------------------------------------------- */
.site-footer {
  background: var(--color-blue-darker);
  color: rgba(255, 255, 255, 0.55);
  padding: 1.5rem 0;
  font-size: 0.85rem;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.25s ease;
}

.site-footer a:hover {
  color: var(--color-mint);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
}

/* --- Animations ------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-animate {
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
}

.hero-animate:nth-child(1) { animation-delay: 0.1s; }
.hero-animate:nth-child(2) { animation-delay: 0.25s; }
.hero-animate:nth-child(3) { animation-delay: 0.4s; }
.hero-animate:nth-child(4) { animation-delay: 0.55s; }
.hero-animate:nth-child(5) { animation-delay: 0.7s; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive ------------------------------------------- */

/* Tablet */
@media (max-width: 1024px) {
  .hero--home {
    padding: 6rem 0 4rem;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .section--tech {
    padding: 5rem 0 5rem;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-mist);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--color-gray-light);
    box-shadow: 0 4px 12px rgba(0, 45, 128, 0.08);
  }

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

  .site-nav li {
    width: 100%;
  }

  .site-nav a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-gray-light);
    font-size: 1rem;
  }

  .site-nav a::after {
    display: none;
  }

  .nav-toggle {
    display: block;
    order: 3;
  }

  .site-nav {
    order: 4;
  }

  .hero--home {
    padding: 4rem 0 3rem;
  }

  .section {
    padding: 3rem 0;
  }

  .site-footer .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .hero__cta--secondary {
    background: var(--color-blue);
    color: var(--color-white);
  }

  .hero-logo {
    margin-bottom: 1.1rem;
  }

  :lang(zh-Hans) .hero-logo {
    margin-bottom: 1.1rem;
  }
}
