@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --brand: #0b5fe8;
  --brand-strong: #084ec2;
  --brand-soft: #eaf4ff;
  --ink: #0f172a;
  --text: #24364e;
  --muted: #66758d;
  --line: #dce7f5;
  --surface: #ffffff;
  --page: #f6fbff;
  --shadow-sm: 0 8px 22px rgba(20, 70, 132, 0.08);
  --shadow-md: 0 18px 45px rgba(20, 70, 132, 0.14);
  --radius: 8px;
  --container: 1270px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--surface);
  color: var(--text);
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(11, 95, 232, 0.16);
}

/* ---------- English locale: Inter Tight ---------- */
[data-locale="en"] {
  font-family: 'Inter Tight', "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  letter-spacing: -0.01em;
}

[data-locale="en"] .brand {
  font-size: 20px;
}

[data-locale="en"] .primary-nav a {
  font-size: 13.5px;
}

[data-locale="en"] .hero h1,
[data-locale="en"] .page-hero h1 {
  font-size: clamp(40px, 4.8vw, 56px);
  line-height: 1.12;
}

[data-locale="en"] .lead {
  font-size: 17.5px;
  line-height: 1.7;
}

[data-locale="en"] .section-title {
  font-size: 23px;
}

[data-locale="en"] .family-card h2 {
  font-size: 26px;
}

[data-locale="en"] .promo h2 {
  font-size: 23px;
}

[data-locale="en"] .metric-card h3,
[data-locale="en"] .value-card h3,
[data-locale="en"] .faq-card h3,
[data-locale="en"] .support-card h3,
[data-locale="en"] .product-card h3,
[data-locale="en"] .timeline-item h3 {
  font-size: 17px;
}

[data-locale="en"] .business-tab strong {
  font-size: 16px;
}

[data-locale="en"] .amount-box input,
[data-locale="en"] .transfer-value {
  font-size: 21px;
}

[data-locale="en"] .stat b {
  font-size: 21px;
}

[data-locale="en"] h3,
[data-locale="en"] .section-title,
[data-locale="en"] .hero h1,
[data-locale="en"] .page-hero h1,
[data-locale="en"] .family-card h2,
[data-locale="en"] .promo h2 {
  letter-spacing: -0.015em;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
select,
input {
  touch-action: manipulation;
}

:focus-visible {
  outline: 3px solid rgba(11, 95, 232, 0.42);
  outline-offset: 3px;
}

[id] {
  scroll-margin-top: 84px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.skip-link:focus-visible {
  top: 14px;
}

.container {
  width: min(var(--container), calc(100% - 88px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 58px;
  border-bottom: 1px solid rgba(185, 203, 226, 0.72);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(160%) blur(14px);
}

.nav-shell {
  height: 100%;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: #063b92;
  text-decoration: none;
  font-size: 21px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-logo-shell,
.footer-logo-shell {
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
}

.brand-logo-shell {
  width: 34px;
  height: 34px;
  box-shadow: inset 0 0 0 1px rgba(11, 95, 232, 0.08);
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  transform: scale(1.65);
  transform-origin: center;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: transparent;
  transform: scaleX(0.55);
  transition: background-color 180ms ease, transform 180ms ease;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--brand);
}

.primary-nav a.is-active::after {
  background: var(--brand);
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.language {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 4px 6px 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(16, 47, 104, 0.04);
}

.language-prefix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  color: #56657c;
}

.language-option {
  min-width: 52px;
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #5e6b7f;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.language-option.is-active {
  background: rgba(11, 95, 232, 0.1);
  color: var(--brand);
  box-shadow: inset 0 0 0 1px rgba(11, 95, 232, 0.12);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

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

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 22px rgba(11, 95, 232, 0.2);
}

.btn-primary:hover {
  background: var(--brand-strong);
}

.btn-secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: #b8cce8;
  color: var(--brand);
}

.btn-light {
  background: #fff;
  color: var(--brand);
}

.btn-light:hover {
  background: #f2f8ff;
}

.menu-toggle {
  display: none;
}

.icon-btn,
.button-icon,
.symbol svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  overflow: hidden;
  background: url("../assets/home-hero-bg.png") center bottom / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 58px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 372px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 448px;
  align-items: center;
  gap: 48px;
  padding: 26px 0 34px;
}

.hero-copy {
  max-width: 650px;
}

.crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  color: #35445d;
  font-size: 13px;
}

.crumb a {
  text-decoration: none;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  margin-bottom: 22px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: #284766;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(22, 74, 130, 0.08);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1,
.page-hero h1 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(42px, 5vw, 58px);
  line-height: 1.14;
  font-weight: 800;
  text-wrap: balance;
}

.hero h1 span,
.page-hero h1 span {
  display: block;
  color: var(--brand);
}

.lead {
  max-width: 610px;
  margin-bottom: 24px;
  color: #334155;
  font-size: 18px;
  line-height: 1.75;
}

.badge-row,
.benefit-row,
.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
}

.mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  color: #0f274a;
  font-size: 14px;
  font-weight: 700;
}

.hero-benefit {
  display: grid;
  justify-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #eff6ff;
  color: var(--brand);
}

.hero-benefit .symbol {
  width: 62px;
  height: 62px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
}

.quote-card,
.quote-panel,
.info-card,
.license-card,
.framework-card,
.scope-card,
.notice-card,
.family-card,
.method-shell,
.business-tabs,
.stats-strip,
.transfer-card,
.table-shell,
.faq-card,
.about-panel,
.timeline,
.contact-panel {
  border: 1px solid rgba(195, 211, 231, 0.86);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
}

.quote-card {
  position: relative;
  z-index: 2;
  padding: 19px 34px 18px;
  background: rgba(255, 255, 255, 0.88);
}

.quote-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.quote-tab {
  min-height: 45px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #334155;
  cursor: pointer;
  font-weight: 800;
  transition: color 180ms ease, border-color 180ms ease;
}

.quote-tab.is-active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.quote-form {
  display: grid;
  gap: 12px;
}

.field-label,
.transfer-label {
  display: block;
  color: #5a6b82;
  font-size: 13px;
  font-weight: 700;
}

.amount-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  height: 42px;
  border: 1px solid #cfdbea;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.amount-box input,
.transfer-value {
  width: 100%;
  min-width: 0;
  border: 0;
  color: #0b1220;
  font-size: 22px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.amount-box input {
  height: 40px;
  padding: 0 10px;
}

.currency-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 112px;
  height: 40px;
  padding: 0 9px;
  border-left: 1px solid #e5edf7;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
  background: #fff;
}

.currency-select select {
  width: 58px;
  border: 0;
  background: #fff;
  color: #111827;
  font-weight: 800;
}

.rate-lines,
.detail-lines {
  display: grid;
  gap: 8px;
  color: #4b5d74;
  font-size: 13px;
}

.rate-lines {
  margin: 3px 0 5px;
}

.detail-lines {
  padding: 14px 0;
  font-size: 14px;
}

.rate-lines div,
.detail-lines div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.rate-lines strong,
.detail-lines strong {
  color: #101828;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.quote-note {
  margin: 9px 0 0;
  color: #7a8aa0;
  font-size: 12px;
  text-align: center;
}

.flag {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 19px;
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.flag-us { background: repeating-linear-gradient(180deg, #d91e37 0 2px, #fff 2px 4px); }
.flag-us::before { content: ""; position: absolute; left: 0; top: 0; width: 12px; height: 10px; background: #24437a; }
.flag-cn { background: #df1f2d; }
.flag-cn::before { content: ""; position: absolute; left: 5px; top: 5px; width: 6px; height: 6px; border-radius: 50%; background: #ffd557; box-shadow: 8px -3px 0 -2px #ffd557, 11px 4px 0 -2px #ffd557, 6px 9px 0 -2px #ffd557; }
.flag-eu { background: #214fbb; }
.flag-eu::before { content: ""; position: absolute; inset: 5px 9px; border: 2px dotted #ffd557; border-radius: 50%; }
.flag-jp::before { content: ""; position: absolute; left: 9px; top: 5px; width: 8px; height: 8px; border-radius: 50%; background: #e51d39; }
.flag-au { background: #1f3c88; }
.flag-au::before { content: ""; position: absolute; left: 3px; top: 3px; width: 9px; height: 6px; background: linear-gradient(90deg, #fff 0 33%, #d91e37 33% 66%, #fff 66% 100%); }

.section {
  padding: 28px 0 0;
}

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

.section-title {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.22;
  font-weight: 800;
  text-align: center;
  text-wrap: balance;
}

.section-title::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin: 9px auto 0;
  border-radius: 999px;
  background: var(--brand);
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--brand);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  padding-top: 10px;
}

.feature-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.feature-item h3 {
  margin: 0 0 5px;
  color: var(--ink);
  font-size: 17px;
}

.feature-item p {
  margin: 0;
  color: #53657c;
  font-size: 13px;
  line-height: 1.6;
}

.route-grid,
.card-grid,
.scenario-grid,
.method-grid,
.metrics-grid,
.value-grid,
.support-grid,
.faq-grid {
  display: grid;
  gap: 16px;
}

.route-grid {
  grid-template-columns: repeat(4, 1fr);
}

.route-card {
  min-height: 148px;
  overflow: hidden;
  border: 1px solid rgba(190, 209, 232, 0.78);
  border-radius: var(--radius);
  background: #d7ebff;
  box-shadow: var(--shadow-sm);
}

.route-card a {
  display: grid;
  min-height: 148px;
  padding: 16px 18px;
  color: var(--ink);
  text-decoration: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.58) 55%, rgba(255, 255, 255, 0.18)),
    var(--route-bg) center / cover no-repeat;
  transition: transform 180ms ease;
}

.route-card a:hover {
  transform: translateY(-2px);
}

.route-flags {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 26px;
}

.route-card h3 {
  margin: 8px 0 3px;
  color: #111827;
  font-size: 17px;
}

.route-card p {
  margin: 0;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.route-card small {
  color: #0f437d;
  font-size: 12px;
  font-weight: 800;
}

.route-china { --route-bg: url("../assets/route-china.jpg"); }
.route-europe { --route-bg: url("../assets/route-europe.jpg"); }
.route-japan { --route-bg: url("../assets/route-japan.jpg"); }
.route-australia { --route-bg: url("../assets/route-australia.jpg"); }

.promo {
  margin-top: 14px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 24% 40%, rgba(85, 177, 255, 0.36), transparent 30%),
    linear-gradient(90deg, #0648af 0%, #0b5fe8 54%, #0343c2 100%);
  color: #fff;
}

.promo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 88px;
  padding: 18px 72px;
}

.promo-copy {
  display: flex;
  align-items: center;
  gap: 18px;
}

.promo-gift {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.06));
}

.promo-gift svg {
  width: 72px;
  height: 72px;
}

.promo h2 {
  margin: 0 0 3px;
  font-size: 25px;
}

.promo p {
  margin: 0;
  color: #dbeafe;
  font-size: 14px;
  font-weight: 700;
}

.stats-strip {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 82px;
  box-shadow: 0 6px 16px rgba(20, 70, 132, 0.04);
}

.stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 18px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat b {
  display: block;
  color: var(--brand);
  font-size: 22px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  background: linear-gradient(90deg, #f8fbff 0%, #edf6ff 55%, #eef7ff 100%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
  min-height: 340px;
  display: flex;
  align-items: center;
}

.page-hero .lead {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: 17px;
}

.page-visual {
  position: absolute;
  inset: 0 0 0 auto;
  width: 49%;
  background: var(--visual) center / cover no-repeat;
}

.page-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f8fbff 0%, rgba(248, 251, 255, 0.92) 16%, rgba(248, 251, 255, 0) 42%);
}

.personal-hero { --visual: url("../assets/personal-hero.jpg"); }
.business-hero { --visual: url("../assets/business-hero.jpg"); }
.compliance-hero { --visual: url("../assets/compliance-hero.jpg"); }
.rates-hero { --visual: url("../assets/rates-hero.jpg"); }

.rates-hero .page-visual {
  inset: 0;
  width: 100%;
}

.rates-hero .page-visual::before {
  background: linear-gradient(90deg, rgba(248, 251, 255, 0.92) 0%, rgba(248, 251, 255, 0.72) 40%, rgba(248, 251, 255, 0.32) 75%, rgba(248, 251, 255, 0.14) 100%);
}
.about-hero { --visual: url("../assets/about-hero.jpg"); }

.workflow-band {
  padding: 28px 0;
}

.transfer-layout {
  display: grid;
  grid-template-columns: 194px minmax(0, 1fr) 346px;
  gap: 46px;
  align-items: stretch;
}

.step-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.step-list ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.step-list li {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  border-bottom: 1px solid #edf2f8;
  color: #2d3748;
  font-size: 15px;
}

.step-list li:last-child { border-bottom: 0; }
.step-list .is-current { background: #f2f8ff; color: var(--brand); font-weight: 800; }

.large-quote {
  display: grid;
  gap: 18px;
  align-content: start;
}

.quote-panel {
  padding: 18px 32px 20px;
}

.transfer-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 0 0 17px;
  border-bottom: 1px solid var(--line);
}

.transfer-line + .transfer-line {
  padding-top: 17px;
  border-bottom: 0;
}

.transfer-value {
  height: 44px;
  padding: 0;
  background: transparent;
}

.family-card {
  overflow: hidden;
}

.family-card img {
  width: 100%;
  height: 178px;
  object-fit: cover;
}

.family-card-body {
  padding: 20px 26px 24px;
}

.family-card h2 {
  margin-bottom: 12px;
  color: #0f172a;
  font-size: 28px;
  line-height: 1.25;
}

.family-card h2 span {
  display: block;
  color: var(--brand);
}

.check-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: #53657c;
  font-size: 14px;
}

.check-list li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.check-list svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
  color: var(--brand);
}

.method-shell {
  padding: 14px 44px 20px;
}

.method-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 46px;
  margin-top: 14px;
}

.method-card {
  min-height: 152px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 9px;
  border: 1px solid #e4edf8;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 18px rgba(20, 70, 132, 0.04);
  text-align: center;
}

.method-logo {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.method-logo--wide {
  width: 82px;
  height: 60px;
}

.method-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
}

.method-card p {
  margin: 0;
  color: #7a889b;
  font-size: 13px;
}

.business-tabs-shell {
  margin-top: -20px;
  position: relative;
  z-index: 2;
}

.business-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid #dbe8f7;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(44, 96, 156, 0.12);
}

.business-tab {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 82px;
  padding: 0 30px;
  color: #4c5b72;
  border-right: 1px solid #e7eef7;
  background: rgba(255, 255, 255, 0.96);
}

.business-tab:last-child {
  border-right: 0;
}

.business-tab.is-active {
  color: var(--brand);
  border-bottom: 3px solid var(--brand);
}

.business-tab strong {
  display: block;
  color: inherit;
  font-size: 17px;
}

.business-tab span {
  color: #7a889b;
  font-size: 13px;
}

.card-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.product-card {
  min-height: 148px;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 22px;
  border: 1px solid #e2ebf6;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 18px rgba(20, 70, 132, 0.05);
}

.product-illustration {
  display: block;
  width: 116px;
  height: 100px;
  object-fit: contain;
}

.product-card h3,
.metric-card h3,
.value-card h3,
.faq-card h3,
.support-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 18px;
}

.product-card p,
.metric-card p,
.value-card p,
.faq-card p,
.support-card p,
.transfer-card p,
.about-panel p {
  margin: 0;
  color: #66758d;
  font-size: 14px;
}

.scenario-grid {
  grid-template-columns: repeat(4, 1fr);
}

.scenario-card {
  min-height: 172px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 35, 76, 0.76)),
    var(--scene) center / cover no-repeat;
  color: #fff;
}

.scenario-card > div {
  padding: 20px;
}

.scenario-card h3 {
  margin: 8px 0 4px;
  font-size: 22px;
}

.scenario-card p {
  margin: 0;
  color: #e4efff;
  font-size: 13px;
  line-height: 1.65;
}

.scene-commerce { --scene: url("../assets/scene-commerce.jpg"); }
.scene-trade { --scene: url("../assets/scene-trade.jpg"); }
.scene-service { --scene: url("../assets/scene-service.jpg"); }
.scene-team { --scene: url("../assets/scene-team.jpg"); }

.process-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(100% - 10px);
  top: 26px;
  width: 32px;
  border-top: 2px dashed #c5d4e8;
}

.process-step h3 {
  margin: 0 0 3px;
  color: var(--ink);
  font-size: 15px;
}

.process-step p {
  margin: 0;
  color: #7a889b;
  font-size: 12px;
}

.trust-industries {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.trust-industries div {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-right: 1px solid var(--line);
  color: #1f2b3d;
  font-weight: 700;
}

.trust-industries div:last-child {
  border-right: 0;
}

.compliance-main {
  padding-top: 32px;
}

.license-grid,
.compliance-grid,
.state-tags,
.framework-list {
  display: grid;
  gap: 12px;
}

.license-grid,
.compliance-grid {
  grid-template-columns: 1fr 1fr;
}

.license-card,
.framework-card,
.scope-card,
.notice-card {
  padding: 24px 28px;
}

.license-card h2,
.framework-card h2,
.scope-card h2,
.notice-card h2 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 21px;
}

.registration {
  margin-top: 14px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
}

.registration-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  color: #66758d;
  font-size: 12px;
}

.registration-row strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
}

.state-tags {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 18px;
}

.state-tags span {
  min-height: 64px;
  display: grid;
  align-content: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #314158;
  font-size: 13px;
}

.state-tags small {
  color: #7a889b;
}

.framework-card {
  padding: 22px;
}

.framework-list {
  grid-template-columns: repeat(4, 1fr);
}

.framework-list div {
  min-height: 132px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e4edf8;
  border-radius: var(--radius);
  text-align: center;
}

.scope-card {
  padding: 22px;
}

.scope-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: center;
}

.scope-content img {
  width: 100%;
  height: 188px;
  object-fit: cover;
  border-radius: 8px;
}

.scope-list {
  display: grid;
  gap: 15px;
}

.scope-list div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
}

.scope-list strong {
  display: block;
  color: var(--ink);
}

.notice-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid #e1ebf6;
  border-radius: var(--radius);
  background: #fff;
}

.notice-card {
  border: 0;
  border-right: 1px solid #e1ebf6;
  border-radius: 0;
  box-shadow: none;
}

.notice-card:last-child {
  border-right: 0;
}

.page-band {
  padding: 28px 0 0;
}

.transfer-card,
.metric-card,
.value-card,
.faq-card,
.support-card,
.about-panel {
  padding: 24px;
}

.transfer-grid,
.metrics-grid,
.value-grid,
.support-grid,
.faq-grid {
  grid-template-columns: repeat(3, 1fr);
}

.metrics-grid {
  grid-template-columns: repeat(4, 1fr);
}

.metric-card,
.value-card,
.faq-card,
.support-card {
  border: 1px solid #e1ebf6;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 18px rgba(20, 70, 132, 0.04);
}

.metric-card .symbol,
.value-card .symbol,
.support-card .symbol {
  margin-bottom: 14px;
}

.table-shell {
  overflow: hidden;
  margin-top: 16px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.compare-table th {
  background: #f7fbff;
  color: #355072;
  font-size: 13px;
}

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

.compare-table strong {
  color: var(--ink);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #355072;
  font-size: 14px;
  font-weight: 700;
}

.dual-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.about-story {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: stretch;
}

.about-panel img,
.story-image {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

.timeline {
  padding: 24px;
}

.timeline-list {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.timeline-year {
  color: var(--brand);
  font-size: 20px;
  font-weight: 800;
}

.timeline-item h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 18px;
}

.timeline-item p {
  margin: 0;
  color: #66758d;
}

.contact-panel {
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(11, 95, 232, 0.98), rgba(6, 72, 175, 0.96)),
    url("../assets/compliance-map.jpg") center / cover no-repeat;
  color: #fff;
}

.contact-panel p {
  color: #dbeafe;
}

.contact-panel .btn-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.contact-panel .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.site-footer {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  background: #fbfdff;
  color: #6b7b92;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr repeat(4, 1fr);
  gap: 30px;
  padding: 18px 0 22px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0754cc;
  text-decoration: none;
  font-weight: 800;
}

.footer-logo-shell {
  width: 28px;
  height: 28px;
}

.footer-logo-shell img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  transform: scale(1.65);
}

.footer-note {
  max-width: 360px;
  margin: 8px 0 0;
  color: #7c8ca2;
  font-size: 12px;
}

.footer-col h2 {
  margin: 0 0 9px;
  color: #344154;
  font-size: 13px;
}

.footer-col a {
  display: block;
  min-height: 28px;
  color: #75859b;
  text-decoration: none;
  font-size: 12px;
}

.social {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.social a {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eef4fb;
  color: #68788f;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 200;
  max-width: min(390px, calc(100vw - 36px));
  padding: 14px 18px;
  border-radius: 8px;
  background: #0f274a;
  color: #fff;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.54);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.contact-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal {
  position: relative;
  max-width: 400px;
  width: 100%;
  padding: 36px 32px 28px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  text-align: center;
  transform: translateY(12px);
  transition: transform 200ms ease;
}

.contact-modal-backdrop.is-open .contact-modal {
  transform: translateY(0);
}

.contact-modal h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
}

.contact-modal p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.contact-modal .btn {
  width: 100%;
  margin-bottom: 14px;
  font-size: 15px;
}

.contact-modal .modal-note {
  margin: 0;
  color: #8d9cb0;
  font-size: 13px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #6b7d94;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.modal-close:hover {
  background: #f1f5fa;
  color: var(--ink);
}

@media (max-width: 1180px) {
  .primary-nav { gap: 24px; }
  .nav-shell { grid-template-columns: 170px 1fr auto; }
  .transfer-layout,
  .card-grid,
  .dual-panel,
  .about-story,
  .scope-content,
  .license-grid,
  .compliance-grid { grid-template-columns: 1fr 1fr; }
  .step-list { grid-column: 1 / -1; }
  .step-list ol { display: grid; grid-template-columns: repeat(4, 1fr); }
  .method-grid,
  .route-grid,
  .why-grid,
  .scenario-grid,
  .transfer-grid,
  .value-grid,
  .support-grid,
  .faq-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .process-row { grid-template-columns: repeat(3, 1fr); }
  .process-step::after { display: none; }
}

@media (max-width: 900px) {
  .container { width: min(100% - 36px, var(--container)); }
  .site-header { height: auto; min-height: 58px; }
  .nav-shell { min-height: 58px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
  }
  .primary-nav,
  .nav-actions { display: none; flex: 0 0 100%; }
  .primary-nav.is-open,
  .nav-actions.is-open { display: grid; }
  .primary-nav.is-open { grid-template-columns: 1fr 1fr; gap: 0 16px; padding: 8px 0 4px; }
  .nav-actions.is-open { grid-template-columns: auto 1fr 1fr; gap: 10px; padding: 0 0 12px; }
  .hero-grid { min-height: 0; grid-template-columns: 1fr; gap: 24px; padding: 30px 0; }
  .quote-card { width: min(100%, 540px); }
  .page-visual { width: 100%; opacity: 0.28; }
  .page-visual::before { background: linear-gradient(90deg, rgba(248, 251, 255, 0.98), rgba(248, 251, 255, 0.64)); }
  .page-hero .container { min-height: 360px; }
  .transfer-layout,
  .compliance-grid,
  .license-grid,
  .scope-content,
  .dual-panel,
  .about-story { grid-template-columns: 1fr; }
  .business-tabs-shell { margin-top: 16px; }
  .business-tabs { grid-template-columns: 1fr 1fr; }
  .business-tab { border-bottom: 1px solid #e7eef7; }
  .business-tab:nth-child(2) { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .social { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--container)); }
  .brand { font-size: 18px; }
  .hero h1,
  .page-hero h1 { font-size: 38px; }
  .lead { font-size: 16px; line-height: 1.68; }
  .badge-row,
  .benefit-row,
  .hero-benefits { gap: 12px; }
  .quote-card { padding: 16px; }
  .currency-select { min-width: 94px; }
  .amount-box input { font-size: 20px; }
  .section-head { display: block; }
  .section-link { margin-top: 8px; }
  .why-grid,
  .route-grid,
  .method-grid,
  .scenario-grid,
  .card-grid,
  .process-row,
  .trust-industries,
  .stats-strip,
  .state-tags,
  .framework-list,
  .notice-row,
  .transfer-grid,
  .metrics-grid,
  .value-grid,
  .support-grid,
  .faq-grid { grid-template-columns: 1fr; }
  .promo-inner { align-items: flex-start; flex-direction: column; padding: 20px; }
  .promo-copy { align-items: flex-start; }
  .stat,
  .notice-card,
  .trust-industries div { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child,
  .notice-card:last-child,
  .trust-industries div:last-child { border-bottom: 0; }
  .step-list ol { grid-template-columns: 1fr; }
  .step-list li { min-height: 56px; }
  .method-shell { padding: 16px; }
  .business-tabs { grid-template-columns: 1fr; }
  .business-tab,
  .business-tab:nth-child(2) { border-right: 0; border-bottom: 1px solid #e7eef7; }
  .product-card,
  .timeline-item { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
