:root {
  --bg: #030914;
  --bg-2: #061427;
  --surface: rgba(10, 25, 43, 0.82);
  --surface-2: rgba(14, 32, 54, 0.72);
  --line: rgba(148, 178, 214, 0.2);
  --line-strong: rgba(148, 178, 214, 0.34);
  --text: #f5f8ff;
  --muted: #a8b5c7;
  --soft: #718399;
  --blue: #2677ff;
  --blue-2: #47a3ff;
  --mint: #58f0b5;
  --green: #5ff0a0;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 36% 22%, rgba(28, 112, 255, 0.22), transparent 26%),
    radial-gradient(circle at 82% 34%, rgba(35, 245, 177, 0.09), transparent 23%),
    linear-gradient(135deg, var(--bg), #06101f 46%, #020712);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 72%);
}

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

button {
  font: inherit;
}

.site-shell {
  position: relative;
  width: min(100%, 1510px);
  margin: 0 auto;
  padding: 0 30px 28px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  min-height: 68px;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 9, 20, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: var(--radius);
  color: #73b8ff;
  background: linear-gradient(145deg, rgba(35, 118, 255, 0.24), rgba(71, 163, 255, 0.08));
  border: 1px solid rgba(71, 163, 255, 0.42);
}

.brand-mark svg {
  width: 24px;
  height: 24px;
}

.brand strong {
  display: block;
  font-size: 21px;
  line-height: 1.1;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  color: #f6f8ff;
  font-size: 18px;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  padding: 21px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 15px;
  height: 3px;
  border-radius: 99px;
  background: transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: #8ecaff;
}

.main-nav a.active::after {
  background: var(--blue-2);
}

.header-cta,
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 7px;
  border: 1px solid rgba(98, 160, 255, 0.36);
  background: linear-gradient(135deg, #0a64ff, #0b4cc7);
  box-shadow: 0 12px 32px rgba(14, 94, 255, 0.26);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.header-cta {
  justify-self: end;
}

.header-cta:hover,
.primary-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(142, 202, 255, 0.72);
  box-shadow: 0 18px 38px rgba(14, 94, 255, 0.34);
}

.header-cta svg,
.primary-btn svg,
.text-link svg,
.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(620px, 1.36fr);
  gap: 54px;
  align-items: center;
  min-height: 560px;
  padding: 18px 0 36px;
}

.hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 92px;
  width: 47%;
  height: 390px;
  pointer-events: none;
  opacity: 0.36;
  background:
    radial-gradient(circle, rgba(44, 134, 255, 0.4) 1.3px, transparent 1.5px) 0 0 / 12px 12px,
    linear-gradient(155deg, transparent 34%, rgba(37, 106, 217, 0.23));
  clip-path: polygon(0 0, 74% 8%, 100% 48%, 58% 100%, 0 86%);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin: 0 0 28px;
  padding: 0 18px;
  border: 1px solid rgba(44, 151, 255, 0.5);
  border-radius: 6px;
  background: rgba(9, 38, 70, 0.72);
  color: #41c9ff;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 28px;
  max-width: 600px;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: 0;
}

h1 br + * {
  color: var(--blue-2);
}

.hero-lede {
  max-width: 620px;
  color: #c8d3e3;
  font-size: 22px;
  line-height: 1.86;
  letter-spacing: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 38px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #68bbff;
  font-size: 17px;
  font-weight: 600;
}

.text-link:hover {
  color: #9ed5ff;
}

.result-panel {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 24px 26px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(15, 32, 54, 0.9), rgba(7, 19, 35, 0.88)),
    rgba(7, 18, 33, 0.86);
  box-shadow: var(--shadow);
}

.panel-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: end;
  margin-bottom: 16px;
}

.panel-kicker {
  display: block;
  margin-bottom: 6px;
  color: #89c8ff;
  font-size: 13px;
  font-weight: 700;
}

.panel-head h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.25;
}

.panel-head p {
  width: min(100%, 420px);
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.tabs,
.filter-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.tabs {
  gap: 0;
  margin-bottom: 16px;
}

.tab,
.chip {
  border: 1px solid var(--line-strong);
  background: rgba(6, 17, 31, 0.72);
  color: #d9e6f7;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.tab {
  min-height: 43px;
  padding: 0 22px;
  font-size: 16px;
}

.tab:first-child {
  border-radius: 8px 0 0 8px;
}

.tab:last-child {
  border-radius: 0 8px 8px 0;
  border-left: 0;
}

.tab.active,
.chip.active {
  border-color: rgba(61, 133, 255, 0.86);
  background: linear-gradient(135deg, rgba(10, 99, 255, 0.95), rgba(10, 70, 180, 0.92));
  color: #fff;
}

.filter-row {
  justify-content: flex-end;
  gap: 0;
  margin: -58px 0 18px;
  color: #d5deeb;
  font-size: 15px;
}

.filter-row span {
  margin-right: 12px;
}

.chip {
  min-height: 38px;
  padding: 0 16px;
  font-size: 15px;
}

.chip + .chip {
  border-left: 0;
}

.chip:first-of-type {
  border-radius: 7px 0 0 7px;
}

.chip:last-of-type {
  border-radius: 0 7px 7px 0;
}

.table-wrap {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 17px;
}

th,
td {
  padding: 14px 18px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid rgba(148, 178, 214, 0.15);
}

th {
  color: #d9e6f7;
  background: rgba(16, 35, 58, 0.74);
  font-size: 16px;
  font-weight: 700;
}

td {
  color: #f3f7ff;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.status-ok {
  color: var(--green);
  font-weight: 700;
}

.txt-preview {
  min-height: 253px;
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(6, 17, 31, 0.72);
}

.txt-note-inline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(6, 17, 31, 0.58);
}

.txt-note-inline svg {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  color: #c1d7f0;
}

.txt-note-inline strong,
.txt-note-inline span {
  display: inline-block;
  margin-right: 10px;
}

.txt-note-inline strong {
  font-size: 17px;
}

.txt-note-inline span,
.txt-note-inline p {
  color: var(--muted);
  font-size: 14px;
}

.txt-note-inline p {
  margin: 4px 0 0;
  line-height: 1.55;
}

.file-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.file-badge i {
  width: 48px;
  height: 48px;
  color: #b9d3ee;
}

.file-badge strong,
.file-badge span {
  display: block;
}

.file-badge strong {
  font-size: 22px;
}

.file-badge span,
.txt-preview p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 30px;
  padding: 20px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(10, 25, 43, 0.8);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.metrics article {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 84px;
  padding: 0 24px;
  border-right: 1px solid var(--line);
}

.metrics article:first-child {
  padding-left: 24px;
}

.metrics article:last-child {
  border-right: 0;
  padding-right: 24px;
}

.metrics svg {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  color: var(--blue-2);
}

.metrics strong {
  display: block;
  color: #f8fbff;
  font-size: 25px;
  line-height: 1.2;
}

.metrics span {
  margin-left: 4px;
  color: #d9e6f7;
  font-size: 16px;
  font-weight: 500;
}

.metrics p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.process {
  padding: 26px 0 22px;
}

.process-intro {
  margin: 0 0 22px;
  color: #c2cede;
  text-align: center;
  font-size: 18px;
  line-height: 1.7;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 72px;
  align-items: stretch;
}

.process-grid article {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  grid-template-rows: auto auto;
  column-gap: 24px;
  min-height: 152px;
  padding: 26px 28px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(12, 28, 48, 0.78);
}

.process-grid article:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -49px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(202, 219, 240, 0.68);
  font-size: 38px;
  font-weight: 300;
}

.process-grid span {
  display: grid;
  grid-row: 1 / 3;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0c73ff, #0a44b8);
  color: #fff;
  font-size: 26px;
  font-weight: 700;
}

.process-grid svg {
  position: absolute;
  right: 28px;
  top: 28px;
  width: 42px;
  height: 42px;
  color: var(--blue-2);
  opacity: 0.74;
}

.process-grid h3 {
  grid-column: 2;
  margin: 3px 0 10px;
  padding-right: 58px;
  font-size: 20px;
  line-height: 1.3;
}

.process-grid p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.seo-sections {
  display: grid;
  gap: 24px;
  margin-top: 34px;
}

.seo-lead,
.seo-grid article {
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(11, 27, 48, 0.72), rgba(5, 16, 30, 0.76)),
    rgba(6, 17, 31, 0.58);
}

.seo-lead {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
  gap: 58px;
  align-items: center;
  padding: 44px;
}

.seo-lead h2 {
  margin: 0;
  max-width: 560px;
  font-size: 34px;
  line-height: 1.36;
}

.seo-lead p:not(.eyebrow),
.seo-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.seo-grid article {
  min-height: 236px;
  padding: 28px;
}

.seo-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 30px;
  margin-bottom: 24px;
  border: 1px solid rgba(71, 163, 255, 0.52);
  border-radius: 6px;
  color: #54bfff;
  background: rgba(9, 38, 70, 0.72);
  font-size: 14px;
  font-weight: 800;
}

.seo-grid h3 {
  margin: 0 0 14px;
  color: #f6f9ff;
  font-size: 21px;
  line-height: 1.36;
}

.content-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
  align-items: center;
  margin: 34px 0 0;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(6, 17, 31, 0.58);
}

.content-band h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.35;
}

.content-band p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-top: 36px;
  padding: 28px 0 8px;
  border-top: 1px solid var(--line);
}

.site-footer strong {
  font-size: 20px;
}

.site-footer p {
  margin: 8px 0 0;
  color: var(--muted);
}

.footer-links {
  margin-top: 10px !important;
}

.footer-links a {
  color: #66bdff;
  font-weight: 600;
}

.footer-links a:hover {
  color: #a5d8ff;
}

.legal-page {
  padding: 64px 0 30px;
}

.legal-hero {
  max-width: 850px;
  margin-bottom: 28px;
}

.legal-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.18;
}

.legal-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.8;
}

.legal-content {
  margin-top: 22px;
  padding: 38px 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(11, 27, 48, 0.72), rgba(5, 16, 30, 0.76)),
    rgba(6, 17, 31, 0.58);
}

.legal-content h2 {
  margin-bottom: 20px;
  font-size: 30px;
}

.legal-content p {
  max-width: 980px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.compact {
  min-height: 42px;
  font-size: 16px;
}

svg {
  stroke-width: 2;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 16px;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    display: none;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 12px;
    border-bottom: 1px solid var(--line);
    background: rgba(3, 9, 20, 0.96);
  }

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

  .main-nav a {
    padding: 15px 10px;
  }

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

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

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

  .filter-row {
    justify-content: flex-start;
    margin: 0 0 18px;
  }

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

  .metrics article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metrics article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .process-grid {
    gap: 24px;
  }

  .process-grid article {
    grid-template-columns: 42px 1fr;
  }

  .process-grid svg {
    display: none;
  }

  .process-grid article::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-shell {
    padding: 0 16px 24px;
  }

  .site-header {
    min-height: 74px;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .main-nav {
    top: 74px;
  }

  .hero {
    min-height: 0;
    gap: 28px;
    padding-top: 34px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-btn {
    width: 100%;
  }

  .result-panel {
    padding: 18px;
  }

  .panel-head {
    grid-template-columns: 1fr;
  }

  .tab {
    flex: 1;
    min-width: 0;
    padding: 0 10px;
    font-size: 13px;
  }

  .filter-row span {
    width: 100%;
    margin: 0 0 8px;
  }

  .table-wrap {
    overflow-x: auto;
  }

  table {
    min-width: 680px;
  }

  .metrics,
  .process-grid,
  .content-band,
  .seo-lead,
  .seo-grid {
    grid-template-columns: 1fr;
  }

  .metrics article,
  .metrics article:nth-last-child(-n + 2) {
    display: grid;
    grid-template-columns: 58px 1fr;
    align-items: center;
    gap: 16px;
    min-height: 88px;
    padding: 0 24px;
    border-bottom: 1px solid var(--line);
  }

  .metrics article:first-child,
  .metrics article:last-child {
    padding: 0 24px;
  }

  .metrics article:last-child {
    border-bottom: 0;
  }

  .metrics svg {
    justify-self: center;
    width: 42px;
    height: 42px;
  }

  .metrics strong {
    font-size: 23px;
  }

  .metrics span {
    display: block;
    margin: 0;
    font-size: 14px;
  }

  .process-grid article {
    grid-template-columns: 42px 1fr;
    min-height: 0;
  }

  .process-grid p,
  .process-grid h3 {
    grid-column: 2;
  }

  .content-band {
    gap: 18px;
    padding: 28px 20px;
  }

  .seo-lead {
    gap: 18px;
    padding: 28px 20px;
  }

  .content-band h2 {
    font-size: 26px;
  }

  .seo-lead h2 {
    font-size: 26px;
  }

  .legal-page {
    padding-top: 34px;
  }

  .legal-content {
    padding: 28px 20px;
  }

  .legal-content h2 {
    font-size: 25px;
  }

  .seo-grid article {
    min-height: 0;
    padding: 24px 20px;
  }

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