:root {
  --bg: #ffffff;
  --paper: #ffffff;
  --ink: #183653;
  --red: #145d9e;
  --line: #c9dceb;
  --muted: #627b90;
  --gold: #d9af52;
}

body {
  background: #fff;
  color: var(--ink);
}

.top {
  background: #0b3e75;
  border-bottom: 2px solid #d9af52;
  color: #f4f8fc;
}

.head {
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid #c9dceb;
  box-shadow: 0 8px 24px rgb(18 73 118 / 8%);
}

.nav {
  color: #224965;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.nav a {
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  color: #0f65aa;
  border-bottom-color: #d9af52;
}

.hero {
  position: relative;
  min-height: clamp(600px, 49vw, 760px);
  padding: 0;
  background: #fff;
  border-bottom: 3px solid #d9af52;
  box-shadow: 0 18px 45px rgb(18 73 118 / 8%);
}

.hero::after {
  position: absolute;
  right: 8%;
  bottom: -3px;
  width: 20%;
  height: 3px;
  background: #1769aa;
  content: "";
}

.hero .wrap {
  width: min(1600px, 100%);
}

.hero-grid {
  min-height: clamp(600px, 49vw, 760px);
}

.hero-art {
  background: #fff;
}

.hero-art img {
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
}

.hero-art::before,
.hero-art::after {
  background: none !important;
}

.hero-copy {
  width: min(530px, 35%);
  margin-left: max(42px, calc((100vw - 1500px) / 2));
  padding: 128px 0 80px;
  color: #183653;
  text-shadow: none;
}

.brand-lockup {
  gap: 15px;
}

.brand-lockup .logo {
  padding: 0;
  background: transparent;
  border: 0;
  filter: drop-shadow(0 4px 7px rgb(73 31 18 / 14%));
}

.brand-lockup .logo img {
  width: 150px;
}

.hero h1 {
  color: #173b5b;
  font-size: clamp(29px, 2.2vw, 39px);
  font-weight: 800;
  letter-spacing: 0.035em;
  text-shadow: none;
}

.hero-details {
  margin-left: 0;
  padding-left: 165px;
}

.hero p {
  color: #627b90;
  font-weight: 600;
  text-shadow: none;
}

.btn {
  border: 1px solid #d9af52;
  background: #1768a8;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow:
    inset 0 0 0 2px rgb(255 255 255 / 18%),
    0 8px 20px rgb(25 91 145 / 16%);
}

.btn:hover {
  background: #0e568f;
  color: #fff;
}

.content {
  padding-top: 48px;
}

.content > div,
.content > aside {
  display: flex;
}

.content > div > .panel,
.content > aside > .panel {
  flex: 1 1 auto;
}

.panel {
  overflow: hidden;
  background: #fff;
  border: 1px solid #c9dceb;
  box-shadow: 0 14px 35px rgb(19 76 120 / 8%);
}

.panel h2 {
  padding: 13px 16px;
  background: #f3f8fc;
  border-bottom: 1px solid #c9dceb;
  border-left: 4px solid #1768a8;
  color: #145d9e;
  letter-spacing: 0.08em;
}

.panel-body {
  background: #fff;
}

.intro dt {
  color: #174e7c;
}

.intro dd,
.contact p {
  color: #627b90;
}

.contact h2 {
  font-size: 18px;
}

.wechat-card {
  margin: 0;
}

.contact .panel-body {
  padding: 12px 16px 13px;
}

.wechat-lead {
  margin: 0 0 9px;
  text-align: center;
}

.wechat-lead strong,
.wechat-lead span {
  display: block;
}

.wechat-lead strong {
  color: #145d9e;
  font-size: 20px;
  line-height: 1.4;
}

.wechat-lead span {
  color: #6e879a;
  font-size: 13px;
  line-height: 1.45;
}

.wechat-card img {
  display: block;
  width: min(100%, 190px);
  height: auto;
  margin: 0 auto;
  border: 1px solid #d4e3ef;
}

.wechat-card figcaption {
  margin-top: 7px;
  color: #416b8d;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.role-showcase {
  background: #f1f7fc;
  border-top: 3px solid #d9af52;
  border-bottom: 1px solid #c9dceb;
}

.role-showcase .role-heading small {
  color: #357bad;
}

.role-showcase .role-heading h2 {
  color: #173b5b;
  font-size: 32px;
  text-shadow: none;
}

.role-showcase .role-heading p {
  color: #627b90;
}

.role-showcase figure {
  background: #fff;
  border: 1px solid #c3d9e9;
  box-shadow: 0 16px 36px rgb(22 84 132 / 10%);
}

.role-showcase figure::before {
  background: #1768a8;
}

.role-showcase .role-media {
  padding: 6px;
  background: #fff;
  border: 1px solid #b9d4e7;
  box-shadow:
    inset 0 0 0 1px #eef5fa,
    0 8px 22px rgb(22 84 132 / 8%);
}

.role-showcase figcaption strong {
  color: #185d96;
}

.role-showcase figcaption small {
  color: #738a9c;
}

footer {
  background: #0b3e75;
  border-top: 2px solid #d9af52;
  color: #c7d9e8;
}

.toast {
  background: #0b3e75;
  border: 1px solid #d9af52;
  color: #fff;
  box-shadow: 0 12px 30px rgb(15 59 99 / 24%);
}

@media (max-width: 900px) {
  .hero-art {
    left: 100px;
  }

  .hero-copy {
    width: 42%;
    margin-left: 20px;
  }

  .brand-lockup {
    align-items: center;
    flex-direction: row;
    gap: 10px;
    white-space: nowrap;
  }

  .brand-lockup .logo img {
    width: 108px;
  }

  .hero h1 {
    font-size: clamp(20px, 2.7vw, 24px);
  }

  .hero-details {
    padding-left: 0;
  }
}

@media (max-width: 760px) {
  .top {
    border-bottom-width: 1px;
  }

  .hero {
    min-height: 0;
    padding-top: 0;
  }

  .hero .wrap {
    width: 100%;
  }

  .hero-grid {
    min-height: 0;
  }

  .hero-copy {
    order: 1;
    width: 100%;
    margin: 0;
    padding: 24px 18px 20px;
    background: #fff;
    border-bottom: 1px solid #d8e6f0;
  }

  .brand-lockup {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
  }

  .brand-lockup .logo img {
    width: 104px;
  }

  .hero h1 {
    font-size: clamp(19px, 5.6vw, 23px);
    letter-spacing: 0;
  }

  .hero p {
    margin: 13px 0 18px;
    font-size: 13px;
    line-height: 1.65;
  }

  .hero-art {
    order: 2;
    left: auto;
    width: 100%;
    height: clamp(210px, 64vw, 255px);
    margin: 0;
    overflow: hidden;
    background: #fff;
  }

  .hero-art img {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: 100%;
    object-fit: contain;
    object-position: right center;
  }

  .content {
    gap: 16px;
    padding: 28px 0 42px;
  }

  .panel {
    margin-bottom: 0;
  }

  .intro {
    grid-template-columns: 90px 1fr;
    gap: 10px 12px;
  }
}

/* Desktop hero: restore the established left-copy / right-art composition. */
.hero {
  min-height: 0;
  padding: 0;
}

.hero .wrap {
  width: min(1680px, calc(100% - 24px));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(520px, 0.64fr) minmax(0, 1.36fr);
  align-items: center;
  min-height: clamp(460px, 34vw, 520px);
  gap: 18px;
}

.hero-copy {
  position: relative;
  order: 1;
  width: auto;
  margin: 0;
  padding: 68px 0 68px clamp(0px, 1.5vw, 22px);
}

.brand-lockup {
  gap: 20px;
}

.brand-lockup .logo img {
  width: 158px;
}

.hero h1 {
  font-size: clamp(30px, 2.25vw, 40px);
}

.hero-details {
  display: block;
  margin: 18px 0 0;
  padding-left: 0;
}

.hero p {
  margin: 0 0 26px;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.5;
  white-space: nowrap;
}

.quick {
  gap: 14px;
}

.hero .btn {
  display: inline-flex;
  min-width: 218px;
  min-height: 66px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 10px 30px;
  border-radius: 5px;
  line-height: 1.25;
  text-align: center;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.hero .btn-download {
  border: 1px solid #d9af52;
  outline: 4px solid rgb(23 104 168 / 9%);
  background: #115f9f;
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 24%),
    0 12px 26px rgb(25 91 145 / 22%);
}

.hero .btn-download:hover {
  background: #0b4f87;
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 24%),
    0 15px 30px rgb(25 91 145 / 29%);
}

.hero .btn-download.is-disabled {
  cursor: default;
}

.hero .btn-download.is-disabled:hover {
  background: #115f9f;
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 24%),
    0 12px 26px rgb(25 91 145 / 22%);
  transform: none;
}

.hero .btn-label {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero .btn small {
  color: rgb(255 255 255 / 78%);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.hero .btn:hover {
  transform: translateY(-2px);
}

.hero .btn:focus-visible {
  outline: 3px solid rgb(217 175 82 / 42%);
  outline-offset: 3px;
}

.hero-art {
  position: relative;
  inset: auto;
  order: 2;
  width: 100%;
  height: clamp(420px, 32vw, 520px);
  margin: 0;
  background: #fff;
}

.hero-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  transform: none;
}

.role-showcase .role-media {
  position: relative;
}

.role-showcase figure img {
  transform: none;
}

@media (max-width: 1120px) {
  .hero .wrap {
    width: calc(100% - 40px);
  }

  .hero-grid {
    grid-template-columns: minmax(430px, 0.82fr) minmax(0, 1.18fr);
  }

  .brand-lockup .logo img {
    width: 130px;
  }

  .hero h1 {
    font-size: clamp(25px, 2.7vw, 32px);
  }

  .hero p {
    font-size: 12px;
  }
}

@media (max-width: 760px) {
  .hero .wrap {
    width: 100%;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 0;
  }

  .hero-copy {
    width: 100%;
    padding: 20px 18px 18px;
  }

  .brand-lockup {
    gap: 10px;
  }

  .brand-lockup .logo img {
    width: 104px;
  }

  .hero h1 {
    font-size: clamp(19px, 5.6vw, 23px);
  }

  .hero-details {
    display: block;
    margin-top: 12px;
  }

  .hero p {
    margin: 0 0 14px;
    font-size: clamp(10px, 2.75vw, 13px);
    letter-spacing: -0.02em;
    white-space: nowrap;
  }

  .hero-art {
    width: 100%;
    height: clamp(190px, 52vw, 230px);
    min-height: 0;
  }

  .hero-art img {
    inset: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform: none;
  }

  .hero .quick {
    display: flex;
    gap: 0;
  }

  .hero .btn {
    width: min(100%, 238px);
    min-width: 0;
    min-height: 60px;
    padding: 9px 20px;
  }

  .hero .btn-label {
    font-size: 16px;
  }
}
