:root {
  --color-ink: #0B1B3A;
  --color-ink-deep: #081122;
  --color-panel: #F5F7FA;
  --color-accent: #FF6B35;
  --color-accent-soft: #FF8A5C;
  --color-teal: #00C2A8;
  --color-text: #1A1A1A;
  --color-muted: #6B7280;
  --color-line: #E5E7EB;
  --color-danger: #E11D48;
  --color-white: #FFFFFF;
  --font-serif: "Playfair Display", "Noto Serif SC", "Songti SC", Georgia, serif;
  --font-sans: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-data: "JetBrains Mono", "SFMono-Regular", "Consolas", "Liberation Mono", "Courier New", monospace;
  --header-h: 76px;
  --radius-panel: 20px;
  --radius-pill: 999px;
  --shadow-panel: 0 20px 48px rgba(3, 10, 30, 0.42);
  --ease: 160ms ease;
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: #E9EDF4;
  background-color: var(--color-ink);
  background-image:
    radial-gradient(circle at 18% -4%, rgba(0, 194, 168, 0.07) 0, transparent 32%),
    radial-gradient(circle at 84% 6%, rgba(255, 107, 53, 0.05) 0, transparent 28%);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ease);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  appearance: none;
}

button {
  cursor: pointer;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

#main-content {
  outline: none;
  scroll-margin-top: 88px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1100;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.45);
  transition: top 200ms ease;
}

.skip-link:focus {
  top: 16px;
  color: var(--color-white);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-teal));
  pointer-events: none;
  transition: width 120ms linear;
}

.site-header {
  position: relative;
  z-index: 200;
}

.header-bar {
  background: rgba(11, 27, 58, 0.66);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-soft));
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.35);
  transition: transform var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(-6deg) scale(1.05);
}

.brand:hover .brand-text {
  color: var(--color-white);
}

.brand-text {
  display: flex;
  flex-direction: column;
  color: var(--color-white);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
  transition: color var(--ease);
}

.brand-text small {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.12em;
}

.header-search {
  position: relative;
  width: 260px;
}

.header-search-input {
  width: 100%;
  padding: 9px 42px 9px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  font-size: 14px;
  transition: border-color var(--ease), background var(--ease);
}

.header-search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.header-search-input:focus {
  outline: none;
  border-color: var(--color-teal);
  background: rgba(255, 255, 255, 0.13);
}

.header-search-glyph {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.header-search-glyph::before,
.header-search-glyph::after {
  content: "";
  position: absolute;
  display: block;
}

.header-search-glyph::before {
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.header-search-glyph::after {
  right: -1px;
  bottom: 1px;
  width: 7px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transform: rotate(45deg);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-white);
  transition: background var(--ease), transform var(--ease);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

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

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.nav-toggle-bars i {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}

.nav-toggle[data-open] .nav-toggle-bars i:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[data-open] .nav-toggle-bars i:nth-child(2) {
  opacity: 0;
}

.nav-toggle[data-open] .nav-toggle-bars i:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 220;
  display: flex;
  align-items: center;
  gap: 2px;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 6px 8px;
  border-radius: var(--radius-pill);
  background: rgba(11, 27, 58, 0.7);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  transform: translateX(-50%);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  transition: background var(--ease), color var(--ease), box-shadow var(--ease);
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
}

.nav-link[aria-current="page"] {
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(255, 107, 53, 0.35);
}

.site-footer {
  position: relative;
  margin-top: 72px;
  background: var(--color-ink-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-teal) 62%, transparent);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 40px;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.brand-footer .brand-mark {
  box-shadow: 0 6px 18px rgba(255, 107, 53, 0.28);
}

.footer-slogan {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
}

.footer-trust {
  max-width: 34ch;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

.footer-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-heading {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.14em;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  transition: color var(--ease), padding-left var(--ease);
}

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

.footer-contact-block {
  gap: 10px;
}

.footer-contact-line {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-divider {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.13), transparent);
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  padding-bottom: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.section {
  padding: 64px 0;
}

.section + .section {
  padding-top: 0;
}

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

.section-light {
  background: var(--color-panel);
  color: var(--color-text);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-panel);
  padding: 48px;
}

.section-light .section-title {
  color: var(--color-text);
}

.section-light .eyebrow {
  color: var(--color-accent);
}

.section-light .breadcrumb {
  color: var(--color-muted);
}

.section-light .data-pill {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--color-text);
}

.section-light .btn-ghost {
  color: var(--color-text);
  border-color: rgba(0, 0, 0, 0.3);
}

.section-light .btn-ghost:hover {
  background: rgba(0, 0, 0, 0.04);
}

.page-head {
  padding: 48px 0 24px;
}

.page-title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 50px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-white);
}

.page-sub {
  margin-top: 10px;
  max-width: 60ch;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

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

.breadcrumb .sep {
  opacity: 0.45;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-white);
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  transition: background var(--ease), color var(--ease), border var(--ease), transform var(--ease), box-shadow var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 10px 24px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
  background: #E85A2A;
  color: var(--color-white);
}

.btn-ghost {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--color-white);
}

.panel {
  background: var(--color-panel);
  color: var(--color-text);
  border-radius: var(--radius-panel);
  padding: 32px;
  box-shadow: var(--shadow-panel);
}

.prose {
  max-width: 68ch;
}

.prose p + p,
.prose p + ul,
.prose ul + p {
  margin-top: 1em;
}

.prose h2,
.prose h3 {
  font-family: var(--font-serif);
  color: var(--color-text);
  line-height: 1.3;
}

.prose h2 {
  font-size: 24px;
  margin-top: 1.4em;
}

.prose h3 {
  font-size: 19px;
  margin-top: 1.2em;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

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

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0, 194, 168, 0.12);
  border: 1px solid rgba(0, 194, 168, 0.25);
  color: var(--color-teal);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.data-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-data);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-teal);
  box-shadow: 0 0 0 4px rgba(0, 194, 168, 0.16);
}

.divider-line {
  height: 1px;
  border: 0;
  margin: 32px 0;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.5), rgba(0, 194, 168, 0.5), transparent);
}

.image-frame {
  position: relative;
  border-radius: var(--radius-panel);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.image-frame::before {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  color: rgba(255, 255, 255, 0.36);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-align: center;
}

.image-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.image-frame--portrait {
  aspect-ratio: 4 / 5;
}

.data-stream-bg {
  position: relative;
  isolation: isolate;
}

.data-stream-bg > * {
  position: relative;
  z-index: 1;
}

.data-stream-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(115deg, transparent 0, transparent 28px, rgba(0, 194, 168, 0.04) 28px, rgba(0, 194, 168, 0.04) 29px),
    repeating-linear-gradient(-35deg, transparent 0, transparent 58px, rgba(255, 107, 53, 0.03) 58px, rgba(255, 107, 53, 0.03) 59px);
}

.cut-corner {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

@media (min-width: 1200px) {
  .container {
    padding-inline: 32px;
  }
}

@media (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .header-search {
    width: 200px;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .header-inner {
    min-height: 64px;
    gap: 16px;
  }

  .header-search {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .brand-text {
    font-size: 16px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 17px;
  }

  .site-nav {
    top: calc(var(--header-h) + 8px);
    left: 16px;
    right: 16px;
    width: auto;
    max-width: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: 20px;
    background: rgba(11, 27, 58, 0.96);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
  }

  .site-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 16px;
    font-size: 15px;
  }

  .nav-link[aria-current="page"] {
    background: rgba(255, 107, 53, 0.16);
    color: var(--color-white);
    box-shadow: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 44px;
  }

  .footer-brand-block {
    grid-column: auto;
  }

  .footer-meta {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .section {
    padding: 44px 0;
  }

  .section-light {
    padding: 28px 18px;
    border-radius: 16px;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .page-head {
    padding: 32px 0 20px;
  }
}

@media (max-width: 480px) {
  .brand-text small {
    display: none;
  }
}

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

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

  .scroll-progress {
    transition: none;
  }
}
