:root {
  --primary: #1e40af;
  --primary-deep: #1e3a8a;
  --accent: #c2410c;
  --accent-bright: #ea580c;
  --surface: #ffffff;
  --bg: #eff6ff;
  --bg-soft: #f8faff;
  --text: #0f172a;
  --muted: #475569;
  --border: #bfdbfe;
  --success: #15803d;
  --font: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(239, 246, 255, 0.94), rgba(248, 250, 255, 0.98) 38%, #fff);
  font-family: var(--font);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 12px 20px;
  color: #fff;
  background: var(--primary-deep);
}

.skip-link:focus {
  left: 0;
}

.content-wrap {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.content-wrap--reading {
  width: min(780px, calc(100% - 48px));
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--primary-deep);
  font-size: 20px;
  font-weight: 900;
}

.brand img {
  width: auto;
  height: 40px;
}

.brand small {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  gap: 24px;
  margin-left: auto;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  color: var(--primary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.nav-cta:hover {
  background: #9a3412;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--primary-deep);
  cursor: pointer;
}

.menu-btn span,
.menu-btn::before,
.menu-btn::after {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: currentColor;
  content: "";
}

.page-hero {
  padding: 72px 0 54px;
  color: #fff;
  background:
    linear-gradient(112deg, rgba(30, 58, 138, 0.98), rgba(30, 64, 175, 0.88)),
    url("hero.jpg") center / cover;
}

.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 48px;
  align-items: end;
}

.page-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: #dbeafe;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.page-hero h1 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.page-hero p {
  max-width: 54ch;
  margin: 18px 0 0;
  color: #e0ecff;
  font-size: 16px;
}

.hero-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
}

.hero-index div {
  padding: 18px 14px;
  background: rgba(12, 35, 85, 0.38);
}

.hero-index strong,
.hero-index span {
  display: block;
}

.hero-index strong {
  color: #fff;
  font-size: 18px;
}

.hero-index span {
  margin-top: 3px;
  color: #dbeafe;
  font-size: 12px;
}

.page-section {
  padding: 58px 0;
}

.page-section--soft {
  background: rgba(239, 246, 255, 0.58);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin: 0;
  color: var(--primary-deep);
  font-size: clamp(26px, 3.5vw, 38px);
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.section-heading p {
  margin: 10px 0 0;
  color: var(--muted);
}

.news-ledger {
  border-top: 1px solid var(--border);
}

.news-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  gap: 30px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.18s ease;
}

.news-item:hover {
  background: rgba(255, 255, 255, 0.72);
}

.news-date {
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.news-date span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.news-copy h2 {
  margin: 0;
  color: var(--primary-deep);
  font-size: 22px;
  line-height: 1.35;
}

.news-copy p {
  max-width: 70ch;
  margin: 8px 0 0;
  color: var(--muted);
}

.news-tag {
  display: inline-flex;
  margin-top: 12px;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--primary-deep);
  background: #dbeafe;
  font-size: 11px;
  font-weight: 700;
}

.news-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--primary);
  font-size: 22px;
}

.article-shell {
  padding: 48px 0 72px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 13px;
}

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

.article-head {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.article-head h1 {
  max-width: 20ch;
  margin: 10px 0 0;
  color: var(--primary-deep);
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.article-body {
  padding-top: 30px;
}

.article-body h2 {
  margin: 38px 0 12px;
  color: var(--primary-deep);
  font-size: 24px;
  line-height: 1.35;
}

.article-body p,
.article-body li {
  color: #334155;
  font-size: 16px;
  line-height: 1.9;
}

.article-body ul {
  padding-left: 1.25rem;
}

.article-body li + li {
  margin-top: 6px;
}

.article-note {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  background: #fff7ed;
  color: #7c2d12;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--primary);
  font-weight: 700;
}

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

.value-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.value-card h3 {
  margin: 0 0 8px;
  color: var(--primary-deep);
  font-size: 18px;
}

.value-card p {
  margin: 0;
  color: var(--muted);
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: 10px;
}

.timeline::before {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 112px;
  width: 2px;
  background: var(--border);
  content: "";
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 42px;
  padding: 18px 0;
}

.timeline-time {
  color: var(--primary);
  font-weight: 800;
  text-align: right;
}

.timeline-item::before {
  position: absolute;
  top: 27px;
  left: 106px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--border);
  content: "";
}

.timeline-copy {
  padding: 0 0 8px 14px;
}

.timeline-copy h3 {
  margin: 0;
  color: var(--primary-deep);
  font-size: 18px;
}

.timeline-copy p {
  margin: 5px 0 0;
  color: var(--muted);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 28px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.contact-panel p {
  margin: 0;
  color: var(--muted);
}

.contact-panel img {
  width: 168px;
  max-height: 190px;
  object-fit: contain;
  justify-self: end;
  border-radius: 10px;
  background: #fff;
}

.site-footer {
  padding: 42px 0 30px;
  color: #cbd5e1;
  background: var(--primary-deep);
}

.convert-band {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 34px;
}

.convert-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  min-height: 122px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
}

.convert-card--primary {
  background: rgba(255, 255, 255, 0.12);
}

.convert-card img {
  width: 88px;
  height: 88px;
  padding: 6px;
  border-radius: 9px;
  background: #fff;
  object-fit: contain;
}

.convert-card .icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 26px;
  font-weight: 900;
}

.convert-card h3 {
  margin: 0;
  color: #fff;
  font-size: 16px;
}

.convert-card p {
  margin: 4px 0 0;
  color: #dbeafe;
  font-size: 12px;
  line-height: 1.55;
}

.convert-card a {
  display: inline-flex;
  margin-top: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand {
  max-width: 360px;
}

.footer-brand .brand {
  color: #fff;
}

.footer-brand p {
  margin: 12px 0 0;
  color: #cbd5e1;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 42px;
}

.footer-links h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 13px;
}

.footer-links a,
.footer-links span {
  display: block;
  margin-top: 5px;
  color: #cbd5e1;
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 22px;
  color: #94a3b8;
  font-size: 11px;
}

@media (max-width: 1000px) {
  .nav-menu {
    gap: 14px;
    font-size: 13px;
  }

  .nav-cta {
    padding-inline: 14px;
  }

  .page-hero__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav-menu {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .nav-cta {
    margin-left: 0;
  }

  .nav-menu.open {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px 24px 16px;
    border-bottom: 1px solid var(--border);
    background: #fff;
  }

  .nav-menu.open a {
    min-height: 46px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
  }

  .news-item {
    grid-template-columns: 1fr auto;
    gap: 12px 18px;
  }

  .news-date {
    grid-column: 1 / -1;
  }

  .values-grid,
  .convert-band {
    grid-template-columns: 1fr;
  }

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

  .contact-panel img {
    justify-self: start;
  }

  .footer-grid {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .content-wrap,
  .content-wrap--reading {
    width: min(100% - 32px, 780px);
  }

  .page-hero {
    padding: 52px 0 40px;
  }

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

  .page-section {
    padding: 42px 0;
  }

  .timeline::before {
    left: 7px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 5px;
    padding-left: 28px;
  }

  .timeline-time {
    text-align: left;
  }

  .timeline-item::before {
    top: 26px;
    left: 1px;
  }

  .timeline-copy {
    padding-left: 0;
  }

  .article-body p,
  .article-body li {
    font-size: 15px;
  }
}

@media (max-width: 360px) {
  .nav-cta {
    display: none;
  }

  .brand {
    font-size: 17px;
  }

  .brand img {
    height: 28px;
  }
}

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

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