:root {
  --bg: #F0E7DA;
  --tint: #E6D9C6;
  --card: #FFFDF9;
  --deep: #16255E;
  --deep2: #0E1A44;
  --primary: #2743A8;
  --primary2: #0F8F8A;
  --accent: #D2703A;
  --ink: #221A12;
  --soft: #3F362C;
  --muted: #6E6355;
  --line: #DCCFB9;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.72;
}

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

h1, h2, h3, h4, p, ul, ol { margin: 0; }

ul, ol { padding: 0; list-style: none; }

figure, figcaption, blockquote, dl, dd, table { margin: 0; }

a { color: var(--primary); text-decoration: none; }

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

strong { font-weight: 700; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 22px;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(90deg, #16255E, #1D3A85 58%, #125D6B);
  box-shadow: 0 8px 20px -14px rgba(9, 18, 56, .9);
}

.top__in {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 11px;
  padding-bottom: 11px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
}

.brand:hover { color: #fff; }

.brand__logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.brand__name {
  font-size: 19px;
  letter-spacing: .5px;
}

.nav {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 4px;
}

.nav a {
  padding: 7px 13px;
  border-radius: 6px;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
}

.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

.nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, .19);
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 11px 22px;
  border-radius: 6px;
  background: linear-gradient(120deg, #2743A8, #0F8F8A);
  box-shadow: 0 10px 20px -12px rgba(15, 90, 140, .95);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.btn:hover {
  background: linear-gradient(120deg, #1F378D, #0C7C78);
  color: #fff;
}

.btn--top {
  margin-left: auto;
  padding: 9px 18px;
  background: linear-gradient(120deg, #D2703A, #C1552A);
  font-size: 14px;
}

.btn--top:hover { background: linear-gradient(120deg, #C1552A, #A8461F); }

.btn--lg {
  padding: 14px 30px;
  font-size: 17px;
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, .58);
  background: transparent;
  box-shadow: none;
  color: #fff;
}

.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #16255E 0%, #1B2E70 46%, #0E6E76 100%);
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  top: -150px;
  right: -130px;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 42%, rgba(210, 112, 58, .38), rgba(210, 112, 58, 0) 68%);
}

.hero__in {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 58px;
  padding-bottom: 64px;
}

.hero__txt {
  flex: 1 1 520px;
  min-width: 0;
}

.hero__shot { flex: 0 1 300px; }

.hero__shot img {
  width: auto;
  max-width: 300px;
  height: auto;
  margin: 0 auto;
  border-radius: 14px;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .92), 0 26px 48px -24px rgba(0, 0, 0, .8);
}

.kicker {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .13);
  color: #FFD9BE;
  font-size: 13px;
  letter-spacing: 2px;
}

.hero h1 {
  margin-top: 16px;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.26;
  letter-spacing: 1px;
}

.hero .lead {
  max-width: 620px;
  margin-top: 16px;
  color: rgba(255, 255, 255, .9);
  font-size: 16px;
  line-height: 1.88;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 26px;
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
}

.hero__facts li {
  position: relative;
  padding-left: 17px;
}

.hero__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
}

.page-hero {
  background: linear-gradient(120deg, #16255E, #1D3A85 60%, #0F7C7C);
  color: #fff;
}

.page-hero__in {
  padding-top: 46px;
  padding-bottom: 48px;
}

.page-hero h1 {
  margin-top: 12px;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 1px;
}

.page-hero .lead {
  max-width: 800px;
  margin-top: 14px;
  color: rgba(255, 255, 255, .9);
  font-size: 16px;
  line-height: 1.88;
}

.crumb {
  font-size: 14px;
  color: rgba(255, 255, 255, .78);
}

.crumb a { color: rgba(255, 255, 255, .88); }

.crumb a:hover { color: #FFD9BE; }

.sec {
  padding-top: 58px;
  padding-bottom: 58px;
}

.sec--tint { background: var(--tint); }

.sec__head { max-width: 780px; }

.sec__head h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--deep);
  letter-spacing: .5px;
}

.sec__head .sub {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
}

.grid {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

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

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

.card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--card);
  box-shadow: 0 1px 0 0 rgba(22, 37, 94, .1), 0 14px 26px -22px rgba(22, 37, 94, .75);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary2));
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-style: solid;
  border-width: 0;
  border-color: transparent;
  transition: border-width .26s ease;
}

.card:hover::after {
  border-width: 0 26px 26px 0;
  border-color: transparent var(--accent) transparent transparent;
}

.card__body { padding: 24px 24px 26px; }

.card h3 {
  font-size: 18px;
  color: var(--deep);
}

.card p {
  margin-top: 10px;
  color: var(--soft);
  font-size: 15.5px;
}

.steps {
  counter-reset: st;
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.steps li {
  position: relative;
  padding: 22px 26px 22px 70px;
  border-radius: 6px;
  background: var(--card);
  box-shadow: 0 1px 0 0 rgba(22, 37, 94, .1), 0 14px 26px -22px rgba(22, 37, 94, .75);
}

.steps li::before {
  counter-increment: st;
  content: counter(st);
  position: absolute;
  left: 22px;
  top: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: linear-gradient(120deg, var(--primary), var(--primary2));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.steps h3 {
  font-size: 17px;
  color: var(--deep);
}

.steps p {
  margin-top: 8px;
  color: var(--soft);
  font-size: 15.5px;
}

.gal {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.gal figure {
  overflow: hidden;
  padding: 10px 10px 0;
  border-radius: 6px;
  background: var(--card);
  box-shadow: 0 1px 0 0 rgba(22, 37, 94, .1), 0 14px 26px -22px rgba(22, 37, 94, .75);
}

.gal img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 4px;
}

.gal figcaption {
  padding: 11px 4px 13px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
  text-align: center;
}

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

.stats li {
  padding: 22px 18px;
  border-radius: 6px;
  background: var(--card);
  text-align: center;
  box-shadow: 0 1px 0 0 rgba(22, 37, 94, .1), 0 14px 26px -22px rgba(22, 37, 94, .75);
}

.stats b {
  display: block;
  color: var(--primary);
  font-size: 26px;
  letter-spacing: .5px;
}

.stats span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13.5px;
}

.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.quotes blockquote {
  padding: 24px;
  border-top: 3px solid var(--accent);
  border-radius: 6px;
  background: var(--card);
  box-shadow: 0 1px 0 0 rgba(22, 37, 94, .1), 0 14px 26px -22px rgba(22, 37, 94, .75);
}

.quotes p {
  color: var(--soft);
  font-size: 15.5px;
}

.quotes cite {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13.5px;
  font-style: normal;
}

.qa {
  margin-top: 28px;
  padding: 4px 24px;
  border-radius: 6px;
  background: var(--card);
  box-shadow: 0 1px 0 0 rgba(22, 37, 94, .1), 0 14px 26px -22px rgba(22, 37, 94, .75);
}

.qa details { border-bottom: 1px solid var(--line); }

.qa details:last-child { border-bottom: 0; }

.qa summary {
  position: relative;
  padding: 17px 34px 17px 0;
  color: var(--deep);
  font-size: 16.5px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.qa summary::-webkit-details-marker { display: none; }

.qa summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 15px;
  color: var(--accent);
  font-size: 20px;
  font-weight: 700;
}

.qa details[open] summary::after { content: "\2013"; }

.qa__a {
  padding: 0 0 18px;
  color: var(--soft);
  font-size: 15.5px;
}

.more {
  margin-top: 28px;
}

.more a {
  display: block;
  height: 100%;
  color: inherit;
}

.more a:hover { color: inherit; }

.more .card__body { padding: 24px 24px 28px; }

.more h3 { color: var(--deep); }

.more p { color: var(--soft); }

.more .go {
  display: inline-block;
  margin-top: 14px;
  color: var(--primary);
  font-size: 14.5px;
  font-weight: 700;
}

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

.fig {
  max-width: 380px;
  margin: 26px auto 0;
  text-align: center;
}

.fig img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 0 0 5px #fff, 0 20px 40px -24px rgba(22, 37, 94, .8);
}

.fig figcaption {
  max-width: 100%;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.cta {
  background: linear-gradient(120deg, #16255E, #0F7C7C);
  color: #fff;
}

.cta__in {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 44px;
  padding-bottom: 44px;
}

.cta h2 {
  flex: 1 1 420px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.4;
}

.cta .btn { background: linear-gradient(120deg, #D2703A, #C1552A); }

.cta .btn:hover { background: linear-gradient(120deg, #C1552A, #A8461F); }

.cta .btn--ghost {
  border: 1px solid rgba(255, 255, 255, .58);
  background: transparent;
  color: #fff;
}

.cta .btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

.foot {
  background: var(--deep2);
  color: rgba(255, 255, 255, .78);
}

.foot__in {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 30px;
  padding-top: 46px;
  padding-bottom: 30px;
}

.foot h3 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 15px;
}

.foot__col p {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.82;
}

.foot__list a {
  display: block;
  padding: 4px 0;
  color: rgba(255, 255, 255, .78);
  font-size: 14.5px;
}

.foot__list a:hover { color: #FFD9BE; }

.foot__bar {
  padding-top: 16px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 13.5px;
  line-height: 1.7;
}

.foot__disc { margin-bottom: 8px; }

.foot__cp { color: rgba(255, 255, 255, .6); }

.totop {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #16255E;
  box-shadow: 0 10px 22px -10px rgba(9, 18, 56, .9);
  color: #fff;
  font-size: 18px;
}

.totop:hover {
  background: var(--primary2);
  color: #fff;
}

.totop[hidden] { display: none; }

@keyframes wipeIn {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

.card,
.steps li,
.stats li,
.quotes blockquote {
  animation: wipeIn .45s ease both;
}

.grid > *:nth-child(2) { animation-delay: .06s; }

.grid > *:nth-child(3) { animation-delay: .12s; }

.grid > *:nth-child(4) { animation-delay: .18s; }

.grid > *:nth-child(5) { animation-delay: .24s; }

.grid > *:nth-child(6) { animation-delay: .3s; }

@media (max-width: 980px) {
  .hero__in { gap: 28px; }

  .hero h1 { font-size: 33px; }

  .hero__shot { flex: 0 1 250px; }

  .hero__shot img { max-width: 250px; }

  .grid--3,
  .gal,
  .quotes,
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

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

@media (max-width: 620px) {
  .top__in { gap: 10px; }

  .brand { order: 1; }

  .btn--top { order: 2; }

  .nav {
    order: 3;
    flex: 1 0 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
  }

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

  .hero__in {
    flex-direction: column;
    align-items: stretch;
    gap: 26px;
    padding-top: 40px;
    padding-bottom: 46px;
  }

  .hero__txt,
  .hero__shot { flex: 1 1 auto; }

  .hero h1 { font-size: 27px; }

  .hero__shot img { max-width: 230px; }

  .page-hero h1 { font-size: 26px; }

  .page-hero__in {
    padding-top: 34px;
    padding-bottom: 36px;
  }

  .grid--2,
  .grid--3,
  .gal,
  .quotes,
  .stats,
  .foot__in { grid-template-columns: 1fr; }

  .sec {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .sec__head h2 { font-size: 22px; }

  .steps li { padding: 20px 20px 20px 20px; }

  .steps li::before { position: static; margin-bottom: 10px; }

  .card__body { padding: 20px 20px 22px; }

  .qa { padding: 2px 18px; }

  .cta h2 { font-size: 20px; }

  .cta__in { gap: 16px; }

  .btn--lg {
    padding: 13px 24px;
    font-size: 16px;
  }
}
