:root {
  color-scheme: light dark;
  --bg: #fafafa;
  --surface: #ffffff;
  --ink: #1b1c1f;
  --ink-2: #45464b;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --accent: #d63f2a;
  --accent-ink: #b5341f;
  --tint: #f6f3ee;
  --tint-line: #ebe4d8;
  --code: #f2f1ee;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121316;
    --surface: #1b1c20;
    --ink: #f2efe8;
    --ink-2: #c8c5be;
    --muted: #9a9893;
    --line: #2a2b30;
    --accent: #e8452c;
    --accent-ink: #f08a74;
    --tint: #23231f;
    --tint-line: #34332d;
    --code: #26272c;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
main { max-width: 760px; margin: 0 auto; padding: 40px 24px 80px; }
::selection { background: color-mix(in srgb, var(--accent) 22%, transparent); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Publisher letterhead. Intentionally not a link: legal pages stay self-contained. */
.brand { margin: 0 0 18px 6px; color: var(--ink); font-size: 28px; line-height: 1; white-space: nowrap; }
.brand .wm { display: inline-block; width: auto; height: 1.033em; vertical-align: -.307em; }
.brand .sail { fill: var(--accent); }

article { padding: 44px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow-wrap: break-word; }
h1 { margin: 0; font-family: var(--display); font-size: clamp(2rem, 7vw, 2.75rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
h2 { margin: 2.2em 0 .5em; font-family: var(--display); font-size: 1.18rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.35; }
h3 { margin: 1.8em 0 .4em; font-family: var(--display); font-size: 1.02rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.4; }
p, li { color: var(--ink-2); }
strong { color: var(--ink); font-weight: 600; }
ul, ol { padding-left: 1.3em; }
li + li { margin-top: .35em; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
hr { margin: 48px 0 40px; border: 0; border-top: 1px solid var(--line); }
code { padding: .12em .4em; background: var(--code); border-radius: 6px; font-family: var(--mono); font-size: .88em; }
.eyebrow { margin: 0 0 10px; color: var(--accent-ink); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.date { margin: 14px 0 0; color: var(--muted); }
.contact { margin: 24px 0; padding: 20px 22px; background: var(--tint); border: 1px solid var(--tint-line); border-radius: 16px; }
.contact p { margin: 0; }
.contact p + p { margin-top: 8px; }
.contact a { font-size: 1.08rem; font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (max-width: 540px) {
  main { padding: 20px 16px 48px; }
  .brand { margin: 4px 0 14px 6px; font-size: 25px; }
  article { padding: 28px 22px; border-radius: 20px; }
  hr { margin: 40px 0 32px; }
}
