/* System fonts only: the site loads nothing from any other host. */
/* Same indigo-and-amber family as LumSub, shifted toward blue so the two sites read as different. */
:root {
  color-scheme: light dark;
  --bg: #f5f8fc;
  --surface: #ffffff;
  --ink: #12203a;
  --muted: #566580;
  --line: #dde4f0;
  --accent: #2f55c4;
  --glow: #f5c566;
  --draft-bg: #fff4dc;
  --draft-ink: #6b4a00;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Songti SC", "Noto Serif CJK SC", serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1322;
    --surface: #131e33;
    --ink: #edf1fa;
    --muted: #a1adc6;
    --line: #25324d;
    --accent: #86a5ff;
    --glow: #a8843c;
    --draft-bg: #3a2f12;
    --draft-ink: #ffe1a1;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 var(--sans);
}
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; background: var(--surface); padding: 6px 12px; z-index: 2; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.header-row { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--ink); text-decoration: none; }
.mark { width: 28px; height: 28px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; padding: 4px 0; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--accent); }
.nav .lang { border-left: 1px solid var(--line); padding-left: 20px; }

/* Hero */
.hero { padding: 72px 0 80px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: center; }
.status { display: inline-block; font-size: 14px; font-weight: 600; border: 1px solid var(--ink); border-radius: 99px; padding: 3px 12px; margin: 0 0 22px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.18; letter-spacing: -.01em; font-weight: 600; }
h1 { font-size: clamp(38px, 6vw, 62px); margin: 0 0 22px; }
:lang(zh-Hans) h1 { letter-spacing: 0; line-height: 1.25; }
.lede { font-size: 20px; line-height: 1.55; margin: 0 0 18px; max-width: 34em; }
.note { color: var(--muted); font-size: 15px; margin: 0; max-width: 40em; }

/* The "before you pay" illustration */
.sheet { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 24px 22px 14px; box-shadow: 14px 14px 0 var(--glow); margin: 0 14px 14px 0; }
.sheet h2 { font-size: 22px; margin: 0 0 12px; }
.sheet ul { list-style: none; margin: 0; padding: 0; }
.sheet li { display: flex; gap: 10px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.4; }
.sheet li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); transform: translateY(-1px); }
.caption { color: var(--muted); font-size: 13px; margin: 8px 0 0; }

/* Sections */
.section { padding: 68px 0; border-bottom: 1px solid var(--line); }
.section > .wrap > h2 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 12px; }
.intro { color: var(--muted); max-width: 42em; margin: 0 0 36px; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 40px; }
.features h3 { font-size: 21px; margin: 0 0 6px; }
.features p { margin: 0; font-size: 16px; color: var(--muted); }
.features > div { border-top: 2px solid var(--ink); padding-top: 14px; }
.uses { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.uses li { background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 7px 16px; font-size: 16px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.two h3 { font-size: 22px; margin: 0 0 10px; }
.two ul { margin: 0; padding-left: 1.2em; }
.two li { margin-bottom: 8px; }

/* Contact page and legal documents */
.doc { padding: 56px 0 72px; }
.doc .wrap { width: min(760px, 100% - 32px); }
.doc h1 { font-size: clamp(34px, 5vw, 46px); margin-bottom: 8px; }
.doc .meta { color: var(--muted); font-size: 15px; margin: 0 0 32px; }
.doc h2 { font-size: 25px; margin: 40px 0 10px; }
.doc li { margin-bottom: 6px; }
.table-scroll { overflow-x: auto; margin: 16px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.5; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
th { font-weight: 600; }
.data-table { min-width: 560px; }
.facts th { width: 38%; color: var(--muted); font-weight: 500; }
.facts td { overflow-wrap: anywhere; }
.draft { background: var(--draft-bg); color: var(--draft-ink); margin: 0; padding: 14px max(16px, calc((100% - 760px) / 2)); font-size: 15px; }

/* Footer */
.site-footer { padding: 36px 0 44px; font-size: 15px; color: var(--muted); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 48px; }
.owner { margin: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; align-self: flex-start; }
.footer-nav a { color: var(--muted); }

@media (max-width: 860px) {
  .hero { padding: 44px 0 56px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .lede { font-size: 18px; }
  .section { padding: 48px 0; }
  .features, .two { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .nav .lang { border-left: 0; padding-left: 0; }
}
