:root {
  color-scheme: light;
  --ink: #16211f;
  --muted: #64706d;
  --line: #d9e4de;
  --panel: #ffffff;
  --soft: #f4f8f6;
  --teal: #087f78;
  --teal-dark: #075d59;
  --amber: #d79427;
  --graphite: #25302e;
  --shadow: 0 22px 60px rgba(21, 47, 42, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fbfdfc;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(217, 228, 222, 0.86);
  background: rgba(251, 253, 252, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 104px;
}

.brand-logo {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
}

.brand-name {
  color: var(--ink);
  font-size: 20px;
  font-weight: 850;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

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

.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(3, 42px);
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.lang-btn {
  width: 42px;
  height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
}

.lang-btn.is-active {
  background: var(--graphite);
  color: white;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 72px);
  padding: clamp(38px, 6vw, 86px) clamp(18px, 4vw, 56px) 46px;
  overflow: hidden;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.25;
}

.hero-lede {
  margin: 24px 0 0;
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
}

.primary-action {
  background: var(--teal);
  color: white;
  box-shadow: 0 12px 30px rgba(8, 127, 120, 0.24);
}

.secondary-action {
  border: 1px solid var(--line);
  background: white;
  color: var(--graphite);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(92px, 1fr));
  gap: 14px;
  max-width: 560px;
  margin: 44px 0 0;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.hero-stats dt {
  font-size: 26px;
  font-weight: 850;
  line-height: 1;
}

.hero-stats dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 470px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(251, 253, 252, 0.16), rgba(251, 253, 252, 0)),
    linear-gradient(180deg, rgba(8, 127, 120, 0), rgba(8, 127, 120, 0.08));
  pointer-events: none;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 4vw, 56px);
}

.section-heading {
  max-width: 850px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(300px, 1fr);
  gap: clamp(28px, 5vw, 74px);
  background: var(--soft);
}

.intro-text {
  margin: 0;
  color: var(--graphite);
  font-size: clamp(18px, 2vw, 23px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.feature-card,
.market-card,
.timeline li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-card {
  min-height: 248px;
  padding: 24px;
}

.feature-card p,
.market-card p,
.timeline p {
  margin: 0;
  color: var(--muted);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 32px;
  border-radius: 8px;
  background: #e5f3f0;
  color: var(--teal-dark);
  font-size: 20px;
  font-weight: 900;
}

.markets {
  background: #eef5f2;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.market-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 20px;
  align-items: start;
  min-height: 190px;
  padding: 26px;
}

.market-code {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 8px;
  background: var(--graphite);
  color: white;
  font-size: 25px;
  font-weight: 850;
}

.flow {
  background: white;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  min-height: 210px;
  padding: 26px;
}

.timeline span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--amber);
  font-size: 15px;
  font-weight: 900;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(42px, 7vw, 76px) clamp(18px, 4vw, 56px);
  background: var(--graphite);
  color: white;
}

.site-footer .eyebrow {
  color: #72d8cf;
}

.site-footer h2 {
  max-width: 820px;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .intro {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-visual img {
    min-height: 360px;
  }

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

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

@media (max-width: 640px) {
  .site-header {
    min-height: auto;
    gap: 14px;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
  }

  .language-switch {
    grid-template-columns: repeat(3, 38px);
  }

  .lang-btn {
    width: 38px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-stats,
  .feature-grid,
  .market-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    padding: 16px;
  }

  .market-card {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
