:root {
  --magter-navy: #041529;
  --magter-navy-2: #082a4c;
  --magter-blue: #006bb8;
  --magter-blue-light: #eaf4fb;
  --magter-orange: #f47b20;
  --magter-orange-dark: #cc5a0b;
  --magter-text: #102238;
  --magter-muted: #53667a;
  --magter-line: #d7e3ed;
  --magter-surface: #f3f7fa;
  --magter-white: #ffffff;
  --magter-success: #13785b;
  --magter-radius-sm: 8px;
  --magter-radius: 12px;
  --magter-radius-lg: 18px;
  --magter-shadow: 0 18px 46px rgba(4, 25, 49, 0.10);
  --magter-shadow-strong: 0 24px 68px rgba(3, 22, 43, 0.16);
  --magter-container: 1240px;
  --magter-section-space: 84px;
  --magter-font: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--magter-text);
  background: var(--magter-white);
  font-family: var(--magter-font);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

::selection {
  color: var(--magter-white);
  background: var(--magter-blue);
}

img,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--magter-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: var(--magter-navy);
  line-height: 1.25;
  text-wrap: balance;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3.5vw, 2.55rem);
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.16rem, 2vw, 1.35rem);
}

strong {
  color: var(--magter-navy-2);
}

p,
ul,
ol,
dl {
  margin-top: 0;
}

.magter-container {
  width: min(calc(100% - 48px), var(--magter-container));
  margin-inline: auto;
}

.magter-section {
  padding-block: var(--magter-section-space);
}

.magter-section--muted {
  background: var(--magter-surface);
}

.magter-section--dark {
  color: #dceafa;
  background: var(--magter-navy);
}

.magter-section--dark h1,
.magter-section--dark h2,
.magter-section--dark h3 {
  color: var(--magter-white);
}

.magter-content-prose {
  max-width: 900px;
}

.magter-content-prose p,
.magter-content-prose li {
  line-height: 1.85;
}

.magter-eyebrow {
  margin-bottom: 12px;
  color: var(--magter-blue);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.magter-section--dark .magter-eyebrow {
  color: #80c3ff;
}

.magter-lead {
  max-width: 930px;
  color: var(--magter-muted);
  font-size: 1.12rem;
}

.magter-section--dark .magter-lead {
  color: #d4e4f4;
}

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

@media (max-width: 1024px) {
  :root {
    --magter-section-space: 72px;
  }
}

@media (max-width: 760px) {
  :root {
    --magter-section-space: 58px;
  }

  .magter-container {
    width: min(calc(100% - 32px), var(--magter-container));
  }

  .magter-lead {
    font-size: 1rem;
  }
}
