*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ll-text, #1A1D26);
  background: var(--ll-bg-light, #F5F7FA);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

ul, ol {
  list-style: none;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

:root {
  --ll-deep-blue: #0A1E3C;
  --ll-blue: #1E3A8A;
  --ll-orange: #FF6A00;
  --ll-light-orange: #FFB74D;
  --ll-bg-light: #F5F7FA;
  --ll-text: #1A1D26;
  --ll-muted: #6B7280;
  --ll-line: #E5E7EB;
  --ll-white: #FFFFFF;
  --ll-success: #10B981;
  --ll-radius: 20px;
  --ll-font-head: "Source Han Sans Heavy", "PingFang SC", "Microsoft YaHei", "Arial Black", sans-serif;
  --ll-font-body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --ll-font-data: "SF Mono", "Roboto Mono", Consolas, "Courier New", monospace;
  --ll-shadow: 0 12px 40px rgba(10, 30, 60, 0.12);
}

h1, h2, h3, h4 {
  font-family: var(--ll-font-head);
  line-height: 1.25;
  color: var(--ll-deep-blue);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.375rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.125rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--tight {
  padding: 48px 0;
}

:focus-visible {
  outline: 3px solid var(--ll-orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  padding: 10px 18px;
  background: var(--ll-orange);
  color: var(--ll-white);
  border-radius: 999px;
  font-family: var(--ll-font-body);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transform: translateY(-220%);
  transition: transform 0.3s ease;
}

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

.site-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 1200;
  background: transparent;
  pointer-events: none;
}

.site-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--ll-orange);
  transition: width 0.1s ease-out;
}

.site-header {
  position: relative;
  z-index: 1100;
  background-color: var(--ll-deep-blue);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  padding: 20px 0 28px;
}

.header-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.brand-float {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--ll-white);
  border-radius: 999px;
  padding: 8px 12px 8px 8px;
  box-shadow: var(--ll-shadow);
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.brand-block:hover {
  background: rgba(255, 106, 0, 0.08);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ll-orange);
  color: var(--ll-white);
  font-family: var(--ll-font-head);
  font-size: 1.375rem;
  font-weight: 800;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--ll-font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ll-deep-blue);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-slogan {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--ll-muted);
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.float-index {
  margin-left: auto;
  padding: 6px 14px;
  border-left: 1px solid var(--ll-line);
  font-family: var(--ll-font-data);
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  color: var(--ll-muted);
  text-transform: uppercase;
  white-space: nowrap;
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ll-text);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-link:hover {
  background: var(--ll-orange);
  color: var(--ll-white);
}

.nav-link[aria-current="page"] {
  background: var(--ll-deep-blue);
  color: var(--ll-white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ll-deep-blue);
  padding: 10px;
  transition: transform 0.2s ease;
}

.nav-toggle:active {
  transform: scale(0.92);
}

.toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ll-white);
  border-radius: 2px;
}

.site-footer {
  position: relative;
  background-color: var(--ll-deep-blue);
  color: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.footer-shell {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ll-orange);
  color: var(--ll-white);
  font-family: var(--ll-font-head);
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15);
}

.footer-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.footer-brand-name {
  font-family: var(--ll-font-head);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--ll-white);
}

.footer-brand-slogan {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ll-light-orange);
}

.footer-desc {
  font-size: 0.9375rem;
  line-height: 1.75;
  max-width: 34em;
  color: rgba(255, 255, 255, 0.62);
}

.footer-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ll-light-orange);
  margin-bottom: 18px;
  padding-left: 12px;
  border-left: 3px solid var(--ll-orange);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
  color: var(--ll-orange);
  padding-left: 6px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  word-break: break-word;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding: 24px 0 8px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.42);
}

.footer-meta-links {
  display: flex;
  gap: 18px;
  margin-left: auto;
}

.footer-meta-links a {
  color: rgba(255, 255, 255, 0.52);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-meta-links a:hover {
  color: var(--ll-orange);
}

.footer-index {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  font-family: var(--ll-font-data);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.26);
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  font-family: var(--ll-font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--ll-orange);
  color: var(--ll-white);
  box-shadow: 0 8px 24px rgba(255, 106, 0, 0.28);
}

.btn--primary:hover {
  background: var(--ll-deep-blue);
  box-shadow: 0 12px 32px rgba(10, 30, 60, 0.25);
  transform: translateY(-2px);
}

.btn--ghost {
  background: var(--ll-white);
  border-color: var(--ll-line);
  color: var(--ll-text);
}

.btn--ghost:hover {
  border-color: var(--ll-orange);
  color: var(--ll-orange);
  transform: translateY(-2px);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 0;
  font-size: 0.875rem;
  color: var(--ll-muted);
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--ll-line);
}

.breadcrumbs a {
  color: var(--ll-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--ll-orange);
}

.breadcrumbs [aria-current="page"] {
  color: var(--ll-text);
  font-weight: 600;
}

.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--ll-blue);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(10, 30, 60, 0.08);
}

.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--wide {
  aspect-ratio: 16 / 9;
}

.media-frame--square {
  aspect-ratio: 1 / 1;
}

.media-frame--tall {
  aspect-ratio: 3 / 4;
}

.media-frame--hero {
  aspect-ratio: 21 / 9;
}

@media (min-width: 1101px) and (max-width: 1200px) {
  .brand-float {
    gap: 12px;
  }

  .nav-link {
    padding: 10px 12px;
    font-size: 0.875rem;
  }

  .float-index {
    font-size: 0.5625rem;
    padding: 6px 8px;
  }
}

@media (max-width: 1100px) {
  .float-index {
    display: none;
  }
}

@media (max-width: 960px) {
  .site-header {
    padding: 12px 0 16px;
  }

  .brand-float {
    border-radius: 24px;
    flex-wrap: wrap;
  }

  .brand-name {
    font-size: 1.125rem;
  }

  .brand-slogan {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--ll-white);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 24px 48px rgba(10, 30, 60, 0.2);
    z-index: 30;
  }

  .site-nav[data-open] {
    display: flex;
  }

  .nav-link {
    justify-content: center;
    padding: 14px 16px;
    font-size: 1rem;
  }
}

@media (max-width: 960px) and (min-width: 761px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .footer-shell {
    padding: 48px 20px 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-meta-links {
    margin-left: 0;
    flex-wrap: wrap;
    gap: 14px;
  }

  .footer-index {
    flex-direction: column;
    gap: 6px;
    font-size: 0.625rem;
  }
}

@media (max-width: 480px) {
  .header-shell {
    padding: 0 12px;
  }

  .brand-float {
    padding: 6px 8px 6px 6px;
    border-radius: 18px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 1.125rem;
  }

  .brand-block {
    gap: 8px;
  }

  .section {
    padding: 56px 0;
  }

  .section--tight {
    padding: 32px 0;
  }

  .container {
    padding: 0 16px;
  }
}

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

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

  .site-progress span {
    transition: none;
  }

  .skip-link {
    transition: none;
  }
}
