* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Desktop default scale: matches ~110% browser zoom. Mobile untouched. */
@media (min-width: 1024px) {
  html {
    font-size: 110%;
  }
}

:root {
  --bg: #f2f4f8;
  --surface: #ffffff;
  --surface-soft: #edf2ff;
  --text: #0a1633;
  --muted: #4a5d7a;
  --accent: #2f6cff;
  --accent-strong: #1143b7;
  --accent-stronger: #0d3696;
  --border: #c6d0e3;
  --border-strong: #8fa4ca;
  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    'Noto Sans', 'Liberation Sans', sans-serif;
  --section-pad: clamp(4.5rem, 8vw, 7.5rem);
  --btn-primary-bg: var(--accent-strong);
  --btn-primary-bg-hover: var(--accent-stronger);
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: radial-gradient(circle at 16% -8%, #dce7ff 0%, transparent 36%),
    radial-gradient(circle at 88% 2%, #e8efff 0%, transparent 30%), var(--bg);
  line-height: 1.4;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: linear-gradient(
    rgba(10, 22, 51, 0.03) 0.0625rem,
    transparent 0.0625rem
  );
  background-size: 100% 2.25rem;
  pointer-events: none;
  z-index: -1;
}

.wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .wrap {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 0.0625rem solid var(--border);
  background: rgba(242, 244, 248, 0.94);
  backdrop-filter: blur(0.5rem);
}

.nav-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  gap: 1.375rem;
}

.logo {
  display: inline-flex;
  text-decoration: none;
  color: inherit;
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 160ms ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--text);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.375rem;
  border: 0.0625rem solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease,
    color 180ms ease, transform 180ms ease;
}

.btn-sm {
  min-height: 2.25rem;
  padding: 0 1rem;
  font-size: 0.8125rem;
}

.btn:hover {
  border-color: var(--text);
  transform: translateY(-0.0625rem);
}

.btn-primary {
  border-color: var(--btn-primary-bg);
  background: var(--btn-primary-bg);
  color: #ffffff;
}

.btn-primary:hover {
  border-color: var(--btn-primary-bg-hover);
  background: var(--btn-primary-bg-hover);
}

.btn-ghost {
  background: transparent;
}

.btn-ghost:hover {
  background: #e7edf9;
}

a:focus-visible,
.btn:focus-visible {
  outline: 0.125rem solid var(--accent);
  outline-offset: 0.125rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.hero {
  border-bottom: 0.0625rem solid var(--border);
  padding: clamp(3.375rem, 7vw, 5.75rem) 0 2.125rem;
}

.section {
  padding: var(--section-pad) 0;
  border-bottom: 0.0625rem solid var(--border);
}

.section-head {
  max-width: 47.5rem;
  margin-bottom: 2rem;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.compact {
  margin-bottom: 1.375rem;
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(1.875rem, 4vw, 2.875rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.3125rem);
  line-height: 1.5;
}

.faq-list {
  display: grid;
  gap: 0;
}

.faq-item {
  border-top: 0.0625rem solid var(--border);
  padding: 1rem 0;
}

.faq-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.faq-item:last-child {
  padding-bottom: 0;
}

.faq-item h3 {
  font-family: var(--font-sans);
  font-size: clamp(1.1875rem, 2.2vw, 1.6875rem);
  line-height: 1.2;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.faq-item p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.cta-final {
  text-align: center;
}

.cta-shell {
  border: 0.0625rem solid var(--border-strong);
  background: linear-gradient(180deg, #edf2ff 0%, #ffffff 100%);
  padding: clamp(2rem, 6vw, 3.625rem);
}

.cta-shell .section-head {
  max-width: 46.25rem;
  margin: 0 auto 1.125rem;
}

.cta-shell .cta-row {
  justify-content: center;
}

.trade-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.trade-link-chip {
  border: 0.0625rem solid var(--border);
  background: #f8faff;
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  padding: 0.4375rem 0.625rem;
  text-decoration: none;
  transition: border-color 160ms ease;
}

.trade-link-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

footer {
  border-top: 0.0625rem solid var(--border);
}

.footer-inner {
  min-height: 5.875rem;
  display: flex;
  align-items: flex-start;
  padding: 1.5rem 0 1.25rem;
}

.footer-nav {
  display: grid;
  width: 100%;
  gap: 1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-category {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-heading {
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 2.25rem;
  }

  .cta-row .btn {
    width: 100%;
  }

  .section-title {
    font-size: clamp(1.875rem, 10vw, 2.625rem);
  }

  .section-subtitle {
    font-size: 1.0625rem;
  }

  .footer-inner {
    padding: 1.125rem 0 1.625rem;
    align-items: flex-start;
  }

  .footer-nav {
    width: 100%;
    padding-left: clamp(1rem, 4vw, 1.5rem);
    padding-right: clamp(1rem, 4vw, 1.5rem);
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .nav-links a,
  .footer-links a,
  .trade-link-chip {
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}
