/* ============================================================
   Meridian Global Freight — shared stylesheet
   Design tokens follow the approved mockup: paper × ink × forest green
   ============================================================ */

:root {
  --paper: #f7f7f4;
  --paper-warm: #edece5;
  --white: #ffffff;
  --ink: #101418;
  --ink-soft: #4a5052;
  --muted: #586360;
  --muted-2: #606b66;
  --line: #e2e1da;
  --line-soft: #e9e8e1;
  --dark: #0d1113;
  --dark-2: #141a1c;
  --dark-line: #262b2d;
  --accent: #23604a;
  --accent-soft: #94cbaa;

  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: 120px;
  --maxw: 1200px;
  --radius: 3px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
  cursor: pointer;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- shared type ---------- */

.mono {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.06;
}

h2 {
  font-size: clamp(28px, 3.3vw, 44px);
  line-height: 1.16;
}

h3 {
  font-size: 19px;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.lede {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(16, 20, 24, 0.5);
}

.header-inner {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand svg {
  flex: none;
}

.brand-logo {
  display: block;
  width: 230px;
  height: auto;
  flex: none;
}

.footer-brand .brand-logo {
  width: 230px;
}

.brand-name {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-divider {
  width: 1px;
  height: 15px;
  background: #deddd6;
}

.brand-sub {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav a {
  position: relative;
  font-size: 14px;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.18s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 1px;
  background: var(--accent);
  transition: right 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.nav a:hover {
  color: var(--ink);
}

.nav a[aria-current="page"]::after {
  right: 0;
}

.nav a[aria-current="page"] {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: none;
}

.lang {
  position: relative;
  flex: none;
  font-family: var(--mono);
  font-size: 12px;
}

.lang summary {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 12px; height: 8px; transition: transform .2s ease; }
.lang[open] summary svg { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  min-width: 148px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(16, 20, 24, .14);
}

.lang[open] .lang-menu { animation: langSlideIn .2s ease-out both; }

.lang-menu a {
  display: block;
  padding: 9px 10px;
  border-radius: 5px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 12px;
  text-decoration: none;
}

.lang-menu a:hover,
.lang-menu a.is-active {
  color: var(--ink);
  background: var(--sand);
}

@keyframes langSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 38px;
  padding: 0 20px;
  border: 0;
  border-radius: 2px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.18s ease, background 0.18s ease;
}

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

.btn--lg {
  height: 52px;
  padding: 0 28px;
  font-size: 14px;
}

.btn--ghost {
  background: none;
  color: var(--ink);
  font-weight: 500;
  padding: 0;
  height: auto;
}

.btn--ghost:hover {
  background: none;
  transform: none;
}

.btn--ghost .arrow {
  transition: transform 0.24s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.btn--ghost:hover .arrow {
  transform: translateX(4px);
}

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

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

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 524px;
  gap: 56px;
  align-items: center;
  padding-block: 72px 80px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 620px;
}

.hero h1 {
  max-width: 15ch;
}

.hero .lede {
  max-width: 47ch;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.trust-line {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 6px;
}

.hero-visual {
  position: relative;
  margin: 0;
  height: 552px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #e7e6df;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual figcaption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

/* ---------- trust bar ---------- */

.trust-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-bar .mono {
  color: var(--muted-2);
}

.client-row {
  display: flex;
  align-items: center;
  gap: 42px;
  flex-wrap: wrap;
}

.client-row span {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #afb3af;
  transition: color 0.2s ease;
}

.client-row span:hover {
  color: var(--ink-soft);
}

/* ---------- generic section ---------- */

.section {
  padding: 84px 0 92px;
}

.section--white {
  background: var(--white);
}

.section--dark {
  background: var(--dark);
  color: #fff;
}

.section--sand {
  background: var(--paper-warm);
}

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

.section-head h2 {
  max-width: 20ch;
  margin-top: 18px;
}

.section-head .lede {
  max-width: 360px;
  font-size: 15px;
  line-height: 1.7;
}

.section-head--stack {
  display: block;
}

.section-head--stack h2 {
  margin-top: 18px;
  max-width: 26ch;
}

/* ---------- service cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.card-grid > .card { grid-column: span 2; }
@media (min-width: 1181px) {
.card-grid > .card:nth-last-child(2):nth-child(3n + 1) { grid-column: 2 / span 2; }
.card-grid > .card:last-child { grid-column: 4 / span 2; }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.card:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.card:hover {
  transform: translateY(-3px);
  border-color: #cfcec5;
  box-shadow: 0 18px 40px -30px rgba(16, 20, 24, 0.6);
}

.card:hover .card-go {
  opacity: 1;
  transform: translateX(0);
}

.card-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-2);
}

.card-icon {
  position: absolute;
  top: 26px;
  right: 24px;
  width: 20px;
  height: 20px;
  color: var(--ink);
}

.card h3 {
  margin-top: 2px;
}

.card p {
  font-size: 14px;
  line-height: 1.64;
  color: var(--muted);
}

.card-metric {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.card--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.card--dark p {
  color: #b9bdba;
}

.card--dark .card-num {
  color: #7c8280;
}

.card--dark .card-icon {
  color: #fff;
}

.card--dark .card-metric {
  color: var(--accent-soft);
}

.card--dark:hover {
  border-color: #000;
  box-shadow: 0 22px 46px -30px rgba(0, 0, 0, 0.85);
}

.card-go {
  position: absolute;
  right: 24px;
  bottom: 22px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.card--dark .card-go {
  color: #fff;
}

/* ---------- stats + route ---------- */

.stats {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 56px;
}

.stat-value {
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7c8280;
}

.route {
  display: flex;
  align-items: center;
  margin-top: 64px;
}

.route-node {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.route-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.route-node:last-child .route-dot {
  background: #fff;
}

.route-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b9bdba;
  white-space: nowrap;
}

.route-node:last-child .route-label {
  color: #fff;
}

.route-leg {
  flex: 1 1 40px;
  height: 1px;
  background: var(--dark-line);
  min-width: 24px;
}

/* ---------- process ---------- */

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

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 10px 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.step-visual {
  display: grid;
  place-items: center;
  min-height: 100px;
  margin: -10px -10px 12px;
  background: #f0efe9;
}

.step-visual img {
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.step-rule {
  height: 1px;
  background: #deddd6;
  margin-bottom: 22px;
  position: relative;
}

.step-rule::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 32px;
  height: 2px;
  background: var(--accent);
}

.step-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.step-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 2px;
}

.step-label {
  flex: 0 0 auto;
}

.step-owner {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #eeede7;
  color: #626a68;
  font-size: 11px;
  line-height: 1.3;
  flex: 1 1 0;
  min-width: 0;
  max-width: calc(100% - 58px);
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

.step-owner--team {
  background: var(--accent);
  color: #fff;
}

.process-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 14px 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.process-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.process-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #eeede7;
}

.process-legend .process-legend__team { background: var(--accent); }

.step h3 {
  margin: 12px 0 10px;
  font-size: 18px;
}

.step p {
  font-size: 14px;
  line-height: 1.64;
  color: var(--muted);
}

@media (max-width: 720px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .step { padding: 10px 10px 13px; }
  .step-visual { min-height: 96px; margin: -10px -10px 11px; }
  .step-visual img { width: 80px; height: 80px; }
}

@media (max-width: 420px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- testimonial + certs ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 80px;
  align-items: start;
}

.quote {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.quote-attr {
  margin-top: 26px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.cert-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
}

.cert-row:last-child {
  border-bottom: 0;
}

.cert-row span:first-child {
  font-size: 13px;
  font-weight: 500;
}

.cert-row .mono {
  color: var(--muted-2);
  letter-spacing: 0.08em;
}

/* ---------- quote form ---------- */

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 80px;
  align-items: start;
}

.quote-grid h2 {
  max-width: 14ch;
  margin: 18px 0 26px;
}

.bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
  list-style: none;
}

.bullets {
  padding: 0;
  margin: 0;
  margin-top: 4px;
}

.bullets li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
  margin-top: 9px;
}

.form-card {
  background: #fff;
  border-radius: 4px;
  padding: 32px 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 30px 60px -48px rgba(16, 20, 24, 0.55);
}

.form-card h3 {
  font-size: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.field input,
.field select {
  height: 46px;
  padding: 0 14px;
  border: 1px solid #deddd6;
  border-radius: 3px;
  background: #fff;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  width: 100%;
}

.field input::placeholder {
  color: #9a9f9c;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(16, 20, 24, 0.06);
}

.form-card .btn {
  height: 50px;
  width: 100%;
  margin-top: 4px;
}

.form-note {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  text-align: center;
}

.form-success {
  display: none;
  padding: 14px 16px;
  border-left: 2px solid var(--accent);
  background: #faf6f2;
  font-size: 13px;
  color: var(--ink-soft);
}

.form-success.is-on {
  display: block;
}

/* ---------- live exchange rate ---------- */

.exchange-card {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  max-width: 520px;
}

.exchange-heading,
.exchange-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.exchange-heading h3 {
  margin-top: 8px;
  font-size: 18px;
}

.exchange-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: 500 10px var(--mono);
  letter-spacing: 0.1em;
  color: #2e7652;
}

.exchange-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #43a574;
  box-shadow: 0 0 0 3px rgba(67, 165, 116, 0.12);
}

.exchange-controls {
  display: grid;
  grid-template-columns: minmax(88px, 0.58fr) minmax(0, 1.42fr);
  align-items: end;
  gap: 12px;
  margin-top: 16px;
}

.exchange-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px minmax(0, 1fr);
  align-items: end;
  gap: 10px;
}

.exchange-controls label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  font: 500 10px var(--mono);
  letter-spacing: 0.04em;
  color: var(--muted);
}

.exchange-controls input,
.exchange-controls select {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 7px;
  border: 1px solid #deddd6;
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  font: 13px var(--sans);
}

.exchange-controls select {
  padding-right: 18px;
  text-overflow: ellipsis;
}

.exchange-swap {
  width: 38px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  color: var(--accent);
  font-size: 21px;
  line-height: 1;
}

.exchange-swap:hover {
  border-color: var(--accent);
  background: #fff9f6;
}

.exchange-controls input:focus,
.exchange-controls select:focus {
  outline: 2px solid rgba(42, 113, 86, 0.24);
  border-color: var(--accent);
}

.exchange-value {
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 14px;
  gap: 5px 14px;
}

.exchange-converted {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.exchange-rate,
.exchange-status {
  color: var(--muted);
  font-size: 12px;
}

.exchange-status {
  margin-top: 4px;
  font-size: 11px;
}

html[lang^="zh"] .exchange-controls label,
html[lang^="ja"] .exchange-controls label,
html[lang^="ko"] .exchange-controls label {
  letter-spacing: 0;
}

@media (max-width: 420px) {
  .exchange-card {
    padding: 16px;
  }

  .exchange-controls {
    grid-template-columns: 1fr;
  }

  .exchange-pair {
    grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
    gap: 6px;
  }

  .exchange-swap {
    width: 34px;
  }
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--dark);
  color: #fff;
  padding: 72px 0 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 64px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .brand-name {
  color: #fff;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.68;
  color: #7c8280;
}

.footer-cols {
  display: flex;
  gap: 72px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5e6463;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: #b9bdba;
  padding: 5px 0;
  transition: color 0.18s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-wordmark {
  margin-top: 56px;
  font-size: clamp(64px, 12vw, 168px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.05);
  user-select: none;
  overflow: hidden;
  white-space: nowrap;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5e6463;
}

/* ---------- sub page hero ---------- */

.page-hero {
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--line);
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 28px;
}

.crumbs a {
  transition: color 0.18s ease;
}

.crumbs a:hover {
  color: var(--ink);
}

.crumbs .sep {
  color: #c9c8c0;
}

.page-hero h1 {
  max-width: 18ch;
}

.page-hero .lede {
  margin-top: 22px;
  max-width: 56ch;
}

/* ---------- service detail rows ---------- */

.detail {
  border-top: 1px solid var(--line);
  padding: 60px 0;
  scroll-margin-top: 100px;
}

.detail--first {
  border-top: 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.detail-head .card-num {
  display: block;
  margin-bottom: 18px;
}

.detail-head h2 {
  font-size: clamp(26px, 2.6vw, 34px);
  margin-bottom: 16px;
}

.detail-head p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.detail-metric {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: #fff;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
}

.spec {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}

.spec dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.spec dd {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 500;
}

/* ---------- comparison table ---------- */

.table-wrap {
  overflow-x: auto;
}

table.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

table.compare th {
  text-align: left;
  padding: 0 24px 14px 0;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  border-bottom: 1px solid #cfcec5;
}

table.compare td {
  padding: 18px 24px 18px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-soft);
}

table.compare td:first-child {
  font-weight: 600;
  color: var(--ink);
}

/* ---------- cta band ---------- */

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.cta-band h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  max-width: 24ch;
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  filter: blur(5px);
  transform: translate3d(0, 12px, 0);
  transition: opacity 600ms cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 650ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-seen:not(.is-in) {
  opacity: 0.72;
  filter: blur(2px);
  transform: translate3d(0, 4px, 0);
}

.reveal.is-in {
  opacity: 1;
  filter: blur(0) saturate(1) brightness(1);
  transform: translate3d(0, 0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
  .reveal.is-seen:not(.is-in) {
    opacity: 1;
    filter: none;
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  :root {
    --gutter: 48px;
  }

  .nav {
    gap: 20px;
  }

  .brand-divider,
  .brand-sub {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    padding-block: 56px 64px;
  }

  .hero-visual {
    height: 420px;
    order: -1;
  }

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

  .card-grid > .card { grid-column: auto; }

  .split,
  .quote-grid,
  .detail-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .quote-grid .form-card {
    max-width: 520px;
  }
}

@media (max-width: 960px) {
  /* Compact dropdown remains available at every viewport width. */
}

@media (max-width: 760px) {
  :root {
    --gutter: 24px;
  }

  .header-inner {
    height: 68px;
  }

  .nav,
  .brand-divider,
  .brand-sub {
    display: none;
  }

  .section {
    padding: 56px 0 64px;
  }

  .section-head {
    display: block;
  }

  .section-head .lede {
    margin-top: 20px;
    max-width: none;
  }

  .hero-visual {
    height: 300px;
  }

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

  .stats {
    gap: 28px;
  }

  .footer-cols {
    gap: 40px;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   Chinese (zh) typography overrides
   CJK has no inter-letter rhythm, so negative tracking and
   ch-based measure have to be reset; system CJK fonts are used
   instead of webfonts to keep the page light.
   ============================================================ */

html[lang^="zh"] {
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    -apple-system, BlinkMacSystemFont, sans-serif;
}

html[lang^="zh"] body,
html[lang^="zh"] p {
  line-height: 1.85;
}

html[lang^="zh"] h1,
html[lang^="zh"] h2,
html[lang^="zh"] h3,
html[lang^="zh"] h4 {
  letter-spacing: 0;
  line-height: 1.32;
  text-wrap: balance;
}

html[lang^="zh"] h1 {
  font-size: clamp(32px, 3.9vw, 52px);
  line-height: 1.24;
}

html[lang^="zh"] .hero .lede,
html[lang^="zh"] .section-head .lede,
html[lang^="zh"] .page-hero .lede {
  line-height: 1.9;
}

html[lang^="zh"] .eyebrow,
html[lang^="zh"] .mono,
html[lang^="zh"] .card-metric,
html[lang^="zh"] .stat-label,
html[lang^="zh"] .step-label,
html[lang^="zh"] .field label,
html[lang^="zh"] .crumbs,
html[lang^="zh"] .form-note,
html[lang^="zh"] .trust-line,
html[lang^="zh"] .detail-metric,
html[lang^="zh"] .cert-row .mono,
html[lang^="zh"] .footer-col h4,
html[lang^="zh"] .footer-legal {
  letter-spacing: 0.08em;
}

/* ch-based measures are meaningless for CJK — switch to em */
html[lang^="zh"] .hero h1 {
  max-width: 15em;
}

html[lang^="zh"] .section-head h2 {
  max-width: 17em;
}

html[lang^="zh"] .page-hero h1 {
  max-width: 20em;
}

html[lang^="zh"] .quote-grid h2 {
  max-width: 14em;
  font-size: clamp(30px, 2.8vw, 38px);
  line-height: 1.4;
  text-wrap: balance;
}

html[lang^="zh"] .quote-grid .bullets li {
  font-size: 15px;
  line-height: 1.75;
}

html[lang^="zh"] .quote-grid .field label,
html[lang^="zh"] .exchange-controls label {
  font-size: 11px;
}

html[lang^="zh"] .cta-band h2 {
  max-width: 22em;
}

html[lang^="zh"] .quote {
  line-height: 1.7;
}

html[lang^="zh"] .card h3 {
  font-size: 18px;
}

html[lang^="zh"] .card p,
html[lang^="zh"] .step p {
  line-height: 1.8;
}

html[lang^="zh"] .bullets li {
  line-height: 1.75;
}

html[lang^="zh"] .bullets li::before {
  margin-top: 11px;
}

html[lang^="zh"] .footer-col a {
  padding: 6px 0;
}

/* ============================================================
   Korean / Japanese typography overrides
   Hangul and kana are set on system fonts (webfont CJK is far too
   heavy for a 4-language site); tracking goes back to 0 and the
   ch-based measures are converted to em, same reasoning as zh.
   ============================================================ */

html[lang="ko"] {
  --sans: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR",
    "Nanum Gothic", -apple-system, BlinkMacSystemFont, sans-serif;
}

html[lang="ja"] {
  --sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic",
    "Noto Sans JP", "Meiryo", -apple-system, BlinkMacSystemFont, sans-serif;
}

html[lang="ko"] body,
html[lang="ko"] p,
html[lang="ja"] body,
html[lang="ja"] p {
  line-height: 1.8;
}

html[lang="ko"] body,
html[lang="ko"] p {
  word-break: keep-all;
}

/* Japanese normally wraps at character boundaries. `keep-all` makes
   Japanese paragraphs overflow their cards and the hero text column. */
html[lang="ja"] p,
html[lang="ja"] li,
html[lang="ja"] figcaption {
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
}

html[lang="ko"] h1,
html[lang="ko"] h2,
html[lang="ko"] h3,
html[lang="ko"] h4,
html[lang="ja"] h1,
html[lang="ja"] h2,
html[lang="ja"] h3,
html[lang="ja"] h4 {
  letter-spacing: 0;
  line-height: 1.34;
}

html[lang="ko"] h1,
html[lang="ja"] h1 {
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.26;
}

html[lang="ko"] .hero .lede,
html[lang="ko"] .section-head .lede,
html[lang="ko"] .page-hero .lede,
html[lang="ja"] .hero .lede,
html[lang="ja"] .section-head .lede,
html[lang="ja"] .page-hero .lede {
  line-height: 1.85;
}

html[lang="ko"] .eyebrow,
html[lang="ko"] .mono,
html[lang="ko"] .card-metric,
html[lang="ko"] .stat-label,
html[lang="ko"] .field label,
html[lang="ko"] .crumbs,
html[lang="ko"] .form-note,
html[lang="ko"] .trust-line,
html[lang="ko"] .detail-metric,
html[lang="ko"] .footer-col h4,
html[lang="ko"] .footer-legal,
html[lang="ja"] .eyebrow,
html[lang="ja"] .mono,
html[lang="ja"] .card-metric,
html[lang="ja"] .stat-label,
html[lang="ja"] .field label,
html[lang="ja"] .crumbs,
html[lang="ja"] .form-note,
html[lang="ja"] .trust-line,
html[lang="ja"] .detail-metric,
html[lang="ja"] .footer-col h4,
html[lang="ja"] .footer-legal {
  letter-spacing: 0.06em;
}

html[lang="ko"] .hero h1,
html[lang="ja"] .hero h1 {
  max-width: 13em;
}

html[lang="ko"] .section-head h2,
html[lang="ja"] .section-head h2 {
  max-width: 16em;
}

html[lang="ko"] .page-hero h1,
html[lang="ja"] .page-hero h1 {
  max-width: 18em;
}

html[lang="ko"] .quote-grid h2,
html[lang="ja"] .quote-grid h2 {
  max-width: 13em;
}

html[lang="ko"] .cta-band h2,
html[lang="ja"] .cta-band h2 {
  max-width: 20em;
}

html[lang="ko"] .quote,
html[lang="ja"] .quote {
  line-height: 1.72;
  letter-spacing: 0;
}

html[lang="ko"] .card h3,
html[lang="ja"] .card h3 {
  font-size: 18px;
}

html[lang="ko"] .card p,
html[lang="ja"] .card p,
html[lang="ko"] .step p,
html[lang="ja"] .step p {
  line-height: 1.78;
}

html[lang="ko"] .footer-col a,
html[lang="ja"] .footer-col a {
  padding: 6px 0;
}

/* the switcher now carries four languages — give it room to breathe
   and keep it reachable on phones, where it used to be hidden */
@media (max-width: 760px) {
  .lang { font-size: 11px; }
  .lang summary { padding: 8px 10px; }
  .lang-menu a { font-size: 11px; }

  .header-actions .btn {
    display: none;
  }
}

/* ---------- v2: capability rows & card numbers ---------- */

.card-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}

.feat-rows {
  display: flex;
  flex-direction: column;
}

.feat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 32px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.feat-rows .feat-row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.feat-row .k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  flex: none;
}

.feat-row .v {
  color: #fff;
  font-weight: 500;
  text-align: right;
}

html[lang^="zh"] .feat-row .v,
html[lang^="ko"] .feat-row .v,
html[lang^="ja"] .feat-row .v {
  font-weight: 400;
}

@media (max-width: 760px) {
  .feat-row {
    flex-direction: column;
    gap: 6px;
  }

  .feat-row .v {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .steps { grid-template-columns: 1fr; }
}
.footer-col span { display: block; font-size: 13px; color: #b9bdba; padding: 5px 0; }

/* Single-column currency tool layout after removing the quote form. */

.exchange-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
.exchange-preview-grid > div:first-child {
  width: min(100%, 900px);
  margin-inline: auto;
}
.exchange-preview-grid .exchange-card { margin-top: 36px; }
@media (max-width: 760px) {
  .exchange-preview-grid > div:first-child { width: 100%; }
  .exchange-preview-grid .exchange-card { margin-top: 28px; }
}

/* Coastal-road preview: paper-toned landscape behind the homepage introduction. */
.hero--landscape {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 600px;
  padding-top: 96px;
  padding-bottom: 96px;
}
.hero--landscape::before,
.hero--landscape::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 calc((100% - 100vw) / 2);
  pointer-events: none;
}
.hero--landscape::before {
  background: url("coastal-road-hd.jpg") center top / cover no-repeat;
  filter: none;
}
.hero--landscape::after { background: linear-gradient(90deg, rgba(7,25,29,.85) 0%, rgba(7,25,29,.76) 40%, rgba(7,25,29,.28) 76%, rgba(7,25,29,.12)); }
.hero--landscape .hero-copy { max-width: 620px; padding-right: 24px; color: white; gap: 18px; }
.hero--landscape :is(.eyebrow,.lede,.trust-line,h1,.enquiry-more) { color: white; }
.hero--landscape .eyebrow::before { background: #c1e5ce; }
.hero--landscape .enquiry { margin-top: 6px; }
.hero--landscape .hero-ctas { margin: 0; }
.hero--landscape .lede { font-size: clamp(16px, 1.4vw, 18px); font-weight: 500; line-height: 1.75; }
.hero--landscape .trust-line { font-size: 13px; }
.hero--landscape :is(.lede, .trust-line, .enquiry-label, .enquiry-more) {
  text-shadow: 0 2px 5px rgba(7, 25, 29, .9);
}
.hero--landscape .channel { min-height: 44px; }
.hero--landscape h1 { text-wrap: balance; }
@media(max-width: 760px) {
  .hero--landscape {
    display: block;
    min-height: 0;
    padding: 0 0 32px;
    background: #f2f7f3;
  }
  .hero--landscape::before {
    position: static;
    display: block;
    height: clamp(180px, 52vw, 350px);
    background-position: center 48%;
  }
  .hero--landscape::after { display: none; }
  .hero--landscape .hero-copy {
    max-width: 600px;
    margin-inline: auto;
    padding: 24px 20px 0;
    gap: 14px;
    color: #193c32;
  }
  .hero--landscape.hero h1 {
    font-size: clamp(28px, 6vw, 38px);
    line-height: 1.2;
    color: #193c32;
    text-wrap: initial;
  }
  .hero--landscape.hero .lede,
  .hero--landscape .trust-line { color: #415b50; }
  .hero--landscape :is(.lede, .trust-line, .enquiry-label, .enquiry-more) { text-shadow: none; }
  .hero--landscape .enquiry-more { color: #235a47; }
  .hero--landscape :is(.channel, .enquiry-more):focus-visible { outline-color: #276b52; }
  .card-grid { grid-template-columns: minmax(0,1fr); }
}

/* Open purchasing guide beneath the landscape hero. */
.purchase-faq { background: #f0f6f5; border-bottom: 1px solid #dbe7e3; }
.purchase-faq-layout { display: grid; grid-template-columns: 1fr; gap: 36px; }
.purchase-faq-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 36px; }
.purchase-faq-intro h2 { max-width: 22em; margin: 0; color: #193f46; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.45; letter-spacing: 0; }
.purchase-faq-intro p { margin: 0; color: #596e70; font-size: 15px; line-height: 1.8; max-width: 34em; }
.purchase-faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.purchase-faq-item { padding: 26px 0; border-top: 1px solid #c8dad4; }
.purchase-faq-item h3 { margin: 0 0 12px; color: #204b50; font-size: 17px; line-height: 1.6; font-weight: 600; }
.purchase-faq-item p { margin: 0; color: #536a6e; font-size: 15px; line-height: 1.8; }
@media(max-width: 760px) { .purchase-faq-intro, .purchase-faq-list { grid-template-columns: 1fr; } .purchase-faq-intro { gap: 20px; } .purchase-faq-layout { gap: 28px; } .purchase-faq-item { padding: 22px 0; } .purchase-faq-item h3 { font-size: 17px; } }

/* Compact footer aligned with the site's light, open presentation. */
.site-footer { background: #f2f5f4; color: #20373c; padding: 52px 0 24px; border-top: 1px solid #dce4e1; }
.site-footer .footer-top { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 44px; }
.site-footer .footer-brand { max-width: 220px; }
.site-footer .footer-brand .brand-logo { width: 210px; max-width: 100%; }
.site-footer .footer-brand p { color: #60716f; font-size: 13px; margin-top: 18px; }
.site-footer .footer-cols { display: grid; grid-template-columns: 1fr 1fr 1.6fr 1.8fr; gap: 24px; }
.site-footer .footer-col h4 { color: #284b50; font-size: 13px; font-family: inherit; font-weight: 600; letter-spacing: 0; margin: 0 0 14px; }
.site-footer .footer-col a, .site-footer .footer-col span { color: #566966; font-size: 13px; line-height: 1.65; padding: 5px 0; }
.site-footer .footer-col a:hover { color: #215a45; }
.site-footer .footer-col--categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; align-content: start; }
.site-footer .footer-col--categories h4 { grid-column: 1 / -1; }
.site-footer .footer-wordmark { display: none; }
.site-footer .footer-legal { margin-top: 34px; padding-top: 20px; border-top-color: #d5dfdb; color: #6b7b77; font-size: 10px; }
@media(max-width: 1100px) { .site-footer .footer-top { grid-template-columns: 1fr; gap: 30px; } .site-footer .footer-brand { max-width: 420px; } }
@media(max-width: 700px) { .site-footer { padding-top: 36px; } .site-footer .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 22px; } .site-footer .footer-col--categories { grid-column: 1 / -1; } }

/* Subtle depth for the purchasing guide, with equal emphasis for every topic. */
.purchase-faq { background: linear-gradient(180deg, #f8faf9 0%, #edf3f1 100%); border-top: 1px solid #e2eae6; border-bottom: 1px solid #dce6e1; }
.purchase-faq .purchase-faq-intro { padding-bottom: 28px; border-bottom: 1px solid #d7e2dc; }
.purchase-faq .purchase-faq-list { gap: 20px; }
.purchase-faq .purchase-faq-item { background: #fff; border: 1px solid #dfe8e3; border-radius: 8px; padding: 24px 26px; box-shadow: 0 3px 10px rgba(31, 65, 53, .025); }
.purchase-faq .purchase-faq-item h3 { color: #28484a; font-size: 17px; }
.purchase-faq .purchase-faq-item p { color: #60716e; font-size: 15px; }
@media(max-width: 760px) { .purchase-faq .purchase-faq-item { padding: 20px; } .purchase-faq .purchase-faq-list { gap: 14px; } }

/* Use light secondary ink only on dark surfaces. */
.section--dark, .card--dark { --muted-2: #b5c1bb; --accent: #a6d6ba; }
.card--dark .card-num { color: var(--muted-2); }
.card-num,.card-metric,.step-label,.step-owner,.crumbs,.detail-metric,.exchange-status,.feat-row .k { font-size: 12px; }
.site-footer .footer-legal { color: #53635e; font-size: 12px; }


.hero--landscape .hero-enquiry-tip {
  margin: 0;
  max-width: 45ch;
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
  text-shadow: 0 2px 5px rgba(7, 25, 29, .9);
}
.site-footer .footer-cols > * { min-width: 0; }
.site-footer .footer-col a { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .hero--landscape .hero-enquiry-tip { color: #415b50; text-shadow: none; }
}

.service-page .detail-head h2 { line-height:1.25; text-wrap:balance; }
.service-page .detail-metric { font-size:.875rem; line-height:1.55; }
@media(min-width:901px) {
  .service-page .detail-grid { grid-template-columns:minmax(0, .85fr) minmax(0,1.35fr); gap:clamp(32px,5vw,72px); }
}
@media (max-width:760px) {
  .service-page .detail { padding-block:32px; }
  .service-page .detail-grid { gap:18px; }
  .service-page .detail-head h2 { margin-bottom:10px; }
  .service-page .bullets li { font-size:15px; line-height:1.6; }
}
