:root {
  --blue: #1769e0;
  --deep-blue: #12316b;
  --soft-blue: #f3f8ff;
  --border-blue: #d6e4f7;
  --title: #102a56;
  --text: #1f2937;
  --muted: #667085;
  --weak: #98a2b3;
  --success: #16a36a;
  --warning: #f59e0b;
  --error: #d92d20;
  --white: #ffffff;
  --border: #e4e7ec;
  --shadow: 0 8px 24px rgba(16, 42, 86, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

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

button,
a {
  font: inherit;
}

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

.container {
  width: min(100% - 48px, 1200px);
  margin: 0 auto;
}

.hero {
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-blue);
}

.hero__inner {
  display: block;
  padding: 58px 0 44px;
}

.hero__topbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 22px;
}

.language-control {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--deep-blue);
  font-size: 14px;
  font-weight: 800;
}

.language-select {
  border: 1px solid var(--border-blue);
  border-radius: 8px;
  padding: 8px 34px 8px 12px;
  background: var(--white);
  color: var(--deep-blue);
  cursor: pointer;
  font-weight: 800;
}

.language-select:hover,
.language-select:focus-visible {
  border-color: var(--blue);
  outline: 3px solid rgba(23, 105, 224, 0.18);
  outline-offset: 2px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--title);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.18;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 18px;
  color: var(--title);
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  color: var(--title);
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 0;
}

.hero__description {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.lead-text {
  max-width: 860px;
  margin: 0 0 22px;
  color: var(--muted);
}

.sample-table-wrap {
  overflow: hidden;
  border: 1px solid var(--border-blue);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.sample-table {
  width: 100%;
  border-collapse: collapse;
}

.sample-table th,
.sample-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.sample-table th {
  background: var(--soft-blue);
  color: var(--title);
  font-weight: 800;
}

.sample-table tr:last-child td {
  border-bottom: 0;
}

.sample-table td:first-child {
  width: 28%;
  color: var(--deep-blue);
  font-weight: 800;
}

.sample-table ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.alert-card,
.info-panel,
.contact-card {
  border: 1px solid var(--border-blue);
  border-radius: 12px;
  background: var(--soft-blue);
}

.section-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.section-nav__inner {
  display: flex;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: none;
}

.section-nav__inner::-webkit-scrollbar {
  display: none;
}

.section-nav a {
  flex: 0 0 auto;
  border-radius: 8px;
  padding: 9px 14px;
  color: var(--deep-blue);
  font-size: 14px;
  font-weight: 700;
}

.section-nav a:hover,
.section-nav a:focus-visible {
  background: var(--soft-blue);
  outline: 2px solid transparent;
}

.section {
  padding: 68px 0;
  scroll-margin-top: 78px;
}

.section--soft {
  background: #f8fbff;
}

.alert-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
}

.alert-card__icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 10px;
  background: #fff7e8;
  color: var(--warning);
}

.alert-card__icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.alert-card h2,
.alert-card p {
  margin: 0;
}

.alert-card p {
  margin-top: 8px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 32px;
  align-items: start;
}

.info-panel {
  padding: 24px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--success);
  content: "✓";
  font-weight: 800;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.notice-grid article,
.bank-card,
.guide-detail,
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.notice-grid p,
.section-heading p {
  margin: 0;
  color: var(--muted);
}

.flow-figure {
  margin: 28px 0 0;
}

.image-button {
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.image-button img {
  width: 100%;
  border: 1px solid var(--border-blue);
  border-radius: 10px;
  background: var(--white);
}

.flow-figure figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.section-heading {
  display: flex;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-heading p {
  max-width: 430px;
}

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

.bank-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  width: 100%;
  min-height: 128px;
  padding: 20px;
  text-align: left;
  cursor: pointer;
}

.bank-card:hover,
.bank-card:focus-visible {
  border-color: var(--blue);
  outline: 2px solid transparent;
}

.bank-card.is-active {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 105, 224, 0.14), var(--shadow);
}

.bank-logo {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid var(--border-blue);
  border-radius: 12px;
  background: var(--soft-blue);
  overflow: hidden;
}

.bank-logo img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.bank-card__body {
  min-width: 0;
}

.bank-card__body strong {
  display: block;
  color: var(--title);
  font-size: 18px;
}

.bank-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}

.tag {
  border-radius: 999px;
  padding: 3px 9px;
  background: var(--soft-blue);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.tag--muted {
  background: #f2f4f7;
  color: var(--muted);
}

.bank-card__action {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.guide-detail {
  margin-top: 22px;
  padding: 28px;
  scroll-margin-top: 86px;
}

.guide-detail__header {
  display: flex;
  gap: 18px;
  align-items: start;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 18px;
}

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

.close-guide {
  flex: 0 0 auto;
  border: 1px solid var(--border-blue);
  border-radius: 8px;
  padding: 8px 12px;
  background: var(--white);
  color: var(--deep-blue);
  cursor: pointer;
  font-weight: 700;
}

.guide-steps {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}

.guide-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

.guide-step p {
  margin: 0;
  color: var(--muted);
}

.guide-step img {
  width: 100%;
  border: 1px solid var(--border-blue);
  border-radius: 10px;
  object-fit: contain;
}

.empty-guide {
  margin-top: 22px;
  border-radius: 10px;
  padding: 18px;
  background: var(--soft-blue);
  color: var(--deep-blue);
}

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

.notice-grid article {
  padding: 22px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-question {
  position: relative;
  width: 100%;
  border: 0;
  padding: 20px 54px 20px 22px;
  background: transparent;
  color: var(--title);
  text-align: left;
  cursor: pointer;
  font-weight: 800;
}

.faq-question::after {
  position: absolute;
  top: 50%;
  right: 22px;
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  content: "";
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.16s ease;
}

.faq-question[aria-expanded="true"]::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq-question:focus-visible,
.close-guide:focus-visible,
.back-to-top:focus-visible,
.modal-close:focus-visible,
.modal-nav:focus-visible {
  outline: 3px solid rgba(23, 105, 224, 0.28);
  outline-offset: 2px;
}

.faq-answer {
  padding: 0 22px 20px;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
}

.contact-section {
  padding-top: 24px;
}

.contact-card {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 28px;
}

.contact-card p {
  margin: 0;
}

.text-link {
  flex: 0 0 auto;
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #f8fbff;
}

.site-footer__inner {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 24px 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--border-blue);
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.back-to-top svg,
.modal-close svg,
.modal-nav svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.preview-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
}

.modal-scrim {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(12, 24, 48, 0.74);
  cursor: zoom-out;
}

.modal-panel {
  position: absolute;
  inset: 24px;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.modal-panel img {
  max-width: min(100%, 1120px);
  max-height: 86vh;
  border-radius: 10px;
  background: var(--white);
  object-fit: contain;
  pointer-events: auto;
}

.modal-close,
.modal-nav {
  position: absolute;
  display: grid;
  place-items: center;
  border: 0;
  background: var(--white);
  color: var(--deep-blue);
  cursor: pointer;
  pointer-events: auto;
}

.modal-close {
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.modal-nav {
  top: 50%;
  width: 46px;
  height: 56px;
  border-radius: 8px;
  transform: translateY(-50%);
}

.modal-prev {
  left: 0;
}

.modal-next {
  right: 0;
}

[hidden] {
  display: none !important;
}

@media (min-width: 1200px) {
  .bank-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .two-column {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 767px) {
  .container {
    width: min(100% - 32px, 1200px);
  }

  .hero__inner {
    padding: 42px 0 32px;
  }

  h2 {
    font-size: 24px;
  }

  .section {
    padding: 48px 0;
  }

  .section-heading,
  .contact-card,
  .site-footer__inner,
  .guide-detail__header {
    display: block;
  }

  .bank-grid,
  .notice-grid,
  .guide-step {
    grid-template-columns: 1fr;
  }

  .sample-table,
  .sample-table thead,
  .sample-table tbody,
  .sample-table tr,
  .sample-table th,
  .sample-table td {
    display: block;
    width: 100%;
  }

  .sample-table th:first-child {
    display: none;
  }

  .sample-table th,
  .sample-table td {
    padding: 14px 16px;
  }

  .sample-table td:first-child {
    width: 100%;
    border-bottom: 0;
    padding-bottom: 0;
  }

  .bank-card {
    min-height: 112px;
    padding: 18px;
  }

  .guide-detail {
    padding: 20px;
  }

  .close-guide {
    margin-top: 14px;
  }

  .guide-step {
    gap: 14px;
  }

  .text-link {
    display: inline-block;
    margin-top: 14px;
  }

  .modal-panel {
    inset: 14px;
  }

  .modal-nav {
    top: auto;
    bottom: 0;
    transform: none;
  }
}
