:root {
  --bg-deep: #0D1B2A;
  --bg-dark: #1B263B;
  --accent: #00E5A0;
  --accent-light: #99FFE3;
  --cta: #FF6B35;
  --cta-dark: #E2551F;
  --text-main: #FFFFFF;
  --text-body: rgba(245, 247, 250, 0.78);
  --text-dim: rgba(245, 247, 250, 0.55);
  --border-green: rgba(0, 229, 160, 0.18);
  --font-headline: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif;
  --font-data: 'Roboto Mono', 'SFMono-Regular', 'Consolas', monospace;
  --header-h: 64px;
  --rail-w: 100px;
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  padding-top: var(--header-h);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.4em;
  font-family: var(--font-headline);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-main);
}

p {
  margin: 0 0 1em;
}

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

a:hover {
  color: var(--accent-light);
}

strong,
b {
  color: var(--text-main);
}

ul,
ol {
  margin: 0;
  padding: 0;
}

::selection {
  background: var(--accent);
  color: var(--bg-deep);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

#main-content:focus {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (min-width: 1024px) {
  :root {
    --header-h: 72px;
  }

  body {
    padding-left: var(--rail-w);
  }
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 860px;
}

.container-wide {
  max-width: 1400px;
}

.section {
  padding: 48px 0;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: rgba(0, 229, 160, 0.08);
  border-left: 2px solid var(--accent);
}

.section-title {
  margin-top: 12px;
  margin-bottom: 8px;
  font-size: clamp(24px, 4vw, 36px);
}

.section-desc {
  margin: 0;
  max-width: 640px;
  color: var(--text-body);
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 22px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  filter: drop-shadow(0 0 4px rgba(0, 229, 160, 0.35));
}

.btn-primary {
  background: var(--cta);
  border-color: var(--cta);
  color: var(--text-main);
}

.btn-primary:hover {
  background: var(--cta-dark);
  border-color: var(--cta-dark);
  color: var(--text-main);
}

.btn-ghost {
  background: rgba(13, 27, 42, 0.6);
  border-color: rgba(0, 229, 160, 0.45);
  color: var(--accent);
}

.btn-ghost:hover {
  background: rgba(0, 229, 160, 0.08);
  border-color: var(--accent);
  color: var(--accent);
}

.card {
  position: relative;
  padding: 24px;
  background: var(--bg-dark);
  border: 1px solid var(--border-green);
  border-radius: 4px;
  transition: transform 0.25s var(--ease), border-color 0.25s ease, background 0.25s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 20px;
  height: 20px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  opacity: 0.7;
}

.card:hover {
  transform: translateY(-4px);
  background: #16283A;
  border-color: rgba(0, 229, 160, 0.4);
}

.data-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.data-item {
  flex: 1 1 120px;
  padding: 12px 16px;
  background: rgba(27, 38, 59, 0.65);
  border-left: 2px solid var(--accent);
}

.data-label {
  display: block;
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.data-value {
  display: block;
  margin-top: 4px;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.1;
  color: var(--accent);
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(0, 229, 160, 0.08);
  border: 1px solid rgba(0, 229, 160, 0.2);
  border-radius: 999px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--text-dim);
}

.breadcrumb a {
  color: var(--accent);
}

.breadcrumb a:hover {
  color: var(--accent-light);
}

.breadcrumb-sep {
  color: rgba(245, 247, 250, 0.35);
}

.img-frame {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bg-dark);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

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

.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 229, 160, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.img-frame[data-ratio="16/9"] {
  aspect-ratio: 16 / 9;
}

.img-frame[data-ratio="4/3"] {
  aspect-ratio: 4 / 3;
}

.img-frame[data-ratio="3/2"] {
  aspect-ratio: 3 / 2;
}

.img-frame[data-ratio="1/1"] {
  aspect-ratio: 1 / 1;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 12px;
  z-index: 1100;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 14px;
  color: var(--bg-deep);
  background: var(--accent);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: top 0.3s ease;
}

.skip-link:focus-visible {
  top: 12px;
  outline: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  display: flex;
  align-items: center;
  z-index: 1000;
  background: rgba(13, 27, 42, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-green);
  transition: background 0.3s ease;
}

.site-header.is-scrolled {
  background: var(--bg-deep);
}

.brand-rail {
  display: flex;
  align-items: center;
  gap: 10px;
  height: var(--header-h);
  flex-shrink: 0;
  padding: 0 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 20px;
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

.brand-name {
  font-family: var(--font-headline);
  font-size: 17px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--text-main);
  white-space: nowrap;
}

.header-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  height: var(--header-h);
  padding: 0 16px 0 0;
  position: relative;
}

.site-nav {
  display: none;
}

.site-nav[data-open] {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  display: block;
  padding: 8px 0 16px;
  background: rgba(13, 27, 42, 0.98);
  border-bottom: 1px solid var(--border-green);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.site-nav[data-open] .nav-list {
  flex-direction: column;
  align-items: stretch;
  padding: 4px 12px 0;
  gap: 4px;
}

.nav-item {
  margin: 0;
}

.nav-link {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.nav-link:hover {
  color: var(--accent);
  background: rgba(0, 229, 160, 0.05);
}

.nav-link[aria-current="page"] {
  color: var(--accent);
  border-color: rgba(0, 229, 160, 0.22);
  background: rgba(0, 229, 160, 0.06);
}

.site-nav[data-open] .nav-link {
  display: block;
  padding: 12px 16px;
  font-size: 16px;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border-green);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.nav-toggle:hover {
  border-color: var(--accent);
  background: rgba(0, 229, 160, 0.06);
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transition: transform 0.25s var(--ease), opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header-progress {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0%;
  height: 2px;
  z-index: 5;
  background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--cta));
  border-radius: 0 2px 2px 0;
}

@media (min-width: 1024px) {
  .site-header {
    padding-left: var(--rail-w);
  }

  .brand-rail {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--rail-w);
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    gap: 14px;
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 100%);
    border-right: 1px solid var(--border-green);
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

  .brand-name {
    font-size: 13px;
    letter-spacing: 0.1em;
    writing-mode: horizontal-tb;
  }

  .header-main {
    padding: 0 32px;
  }

  .site-nav,
  .site-nav[data-open] {
    position: static;
    display: block;
    padding: 0;
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
  }

  .site-nav .nav-list {
    flex-direction: row;
    align-items: center;
    padding: 0;
  }

  .nav-toggle {
    display: none;
  }
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: 48px;
  background: linear-gradient(180deg, var(--bg-deep) 0%, #09131F 100%);
  color: var(--text-body);
  font-size: 14px;
  line-height: 1.7;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 40%, var(--cta) 100%);
  opacity: 0.5;
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -40px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(0, 229, 160, 0.08);
  transform: rotate(45deg);
  pointer-events: none;
}

.footer-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 36px;
}

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

.footer-brand-name {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.footer-desc {
  max-width: 320px;
  margin: 0;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-heading {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-main);
}

.footer-link-list,
.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-link-list li + li,
.footer-contact-list li + li {
  margin-top: 8px;
}

.footer-link-list a {
  color: var(--text-body);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-link-list a:hover {
  color: var(--accent);
}

.footer-contact-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--text-dim);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.footer-bottom-links a {
  font-size: 12px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

.footer-icp {
  margin: 0;
  font-size: 12px;
  color: rgba(245, 247, 250, 0.45);
  font-family: var(--font-data);
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1.6fr 1fr 1.4fr;
  }

  .footer-bottom {
    flex-direction: row;
  }
}
