/* Di Li website integration: visual overrides only. Upstream styles stay intact. */
:root {
  --bg: #f3f5f7;
  --surface: #ffffff;
  --surface-2: #f7f9fb;
  --ink: #17283b;
  --ink-2: #41546b;
  --ink-3: #66758a;
  --line: #dce3eb;
  --line-2: #bdcbd9;
  --brand: #102c49;
  --brand-2: #28629a;
  --brand-soft: #eaf0f6;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow: 0 2px 12px rgba(10, 29, 50, .035);
}

html {
  scroll-padding-top: 112px;
}

body {
  font-family: Poppins, "PingFang SC", Verdana, "Helvetica Neue", "Microsoft Yahei", sans-serif;
}

.topbar {
  background: #07172b;
  border-bottom: 1px solid #314259;
  backdrop-filter: none;
}

.topbar-inner {
  height: auto;
  min-height: 76px;
  padding-block: 14px;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.brand {
  flex: 1 1 330px;
}

.brand-mark {
  background: transparent;
  border: 1px solid #71869e;
  border-radius: 2px;
  color: #f4f7fb;
}

.brand-text strong {
  color: #f4f7fb;
  font-weight: 500;
  letter-spacing: .02em;
}

.brand-text span {
  color: #b7c6d6;
  margin-top: 4px;
}

.nav {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  flex-wrap: wrap;
}

.nav a {
  color: #d9e4ef;
  border-radius: 3px;
}

.nav a:hover {
  color: #fff;
  background: #21354f;
}

.nav .btn-paper {
  background: #e7edf5 !important;
  color: #122a44 !important;
  border-radius: 3px !important;
}

.nav .btn-paper:hover {
  background: #fff !important;
}

.lang-switch {
  background: #10283f;
  border-color: #53677f;
  border-radius: 4px;
}

.lang-btn {
  color: #c1d0e0;
}

.lang-btn.is-on {
  background: #dce7f1;
  color: #10283f;
}

.hero {
  background: linear-gradient(112deg, #07172b, #112a44);
  color: #f4f7fb;
  padding-block: 48px 42px;
  margin-bottom: 28px;
}

.hero h1 {
  font-weight: 500;
  letter-spacing: -.025em;
  font-size: clamp(25px, 2.55vw, 34px);
  line-height: 1.3;
}

.hero .lead {
  color: #ccd8e4;
  line-height: 1.8;
}

.hero .lead strong {
  color: #fff;
}

.hero .chip {
  background: #142e48;
  border-color: #425870;
  color: #dce6f0;
  border-radius: 3px;
  font-size: 11px;
}

.hero .chip-link:hover {
  color: #fff;
  border-color: #9cb2c9;
}

.hero-art img {
  border-radius: 3px;
  box-shadow: none;
  border: 1px solid #40566e;
}

.card {
  border-color: var(--line);
}

.card-head h2,
.card-head h3 {
  color: #193954;
  font-weight: 600;
}

.section-title {
  color: #193954;
  font-weight: 500;
}

.footer {
  background: #07172b;
  color: #b8c8d9;
  border-top-color: #314259;
}

.footer a {
  color: #e1ebf5;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #7198bb;
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .topbar-inner {
    padding: 14px 20px;
    gap: 13px;
  }

  .brand {
    flex-basis: 100%;
  }

  .brand-text span {
    max-width: 70vw;
  }

  .brand-text {
    display: flex;
  }

  .nav {
    gap: 4px;
  }

  .nav a {
    font-size: 11px;
    padding: 5px 7px;
  }

  .hero {
    padding-block: 30px;
  }

  .hero .lead {
    font-size: 14px;
  }

  html {
    scroll-padding-top: 170px;
  }
}

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