/* Shared public-site design. Deliberately not loaded inside personal plan cards. */
@font-face { font-family: "DM Sans"; src: url('/fonts/dm-sans.woff2') format('woff2'); font-weight: 100 1000; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url('/fonts/instrument-serif.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url('/fonts/instrument-serif-italic.woff2') format('woff2'); font-style: italic; font-weight: 400; font-display: swap; }
:root {
  color-scheme: light;
  --ground: #e6e8ec; --ink: #111113; --muted: #535965; --blue: #0067dc;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --soft: -6px -6px 18px #ffffffb3, 6px 6px 18px #a3b1c64d;
  --inset: inset -3px -3px 8px #ffffffc7, inset 3px 3px 8px #a3b1c652;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: #0058bd; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 100; left: 20px; top: -100px; padding: 12px 22px; border-radius: 12px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }
.shell { width: min(100% - 96px, 1248px); margin-inline: auto; }
.site-header { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-brand { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 28px; letter-spacing: -1.3px; white-space: nowrap; }
.site-brand:hover { text-decoration: none; }
.brand-dot { color: var(--blue); }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.site-nav a { color: var(--ink); text-decoration: none; padding-block: 12px; }
.site-nav a:hover, .site-nav [aria-current=page] { color: var(--blue); text-decoration: underline; }
.site-nav .button { padding-inline: 22px; color: white; }
.page-lead { padding: 88px 0 66px; max-width: 960px; }
.eyebrow { margin: 0 0 24px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 28px; font: 400 clamp(54px, 6.8vw, 96px)/1.02 var(--serif); letter-spacing: -.035em; text-wrap: balance; }
h2 { margin: 0 0 24px; font: 400 clamp(34px, 4vw, 56px)/1.08 var(--serif); letter-spacing: -.025em; text-wrap: balance; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.02em; }
.lead { max-width: 650px; color: var(--muted); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.65; text-wrap: pretty; }
.lead:last-child, .surface > :last-child { margin-bottom: 0; }
.surface { background: var(--ground); box-shadow: var(--soft); border-radius: 28px; padding: clamp(24px, 4vw, 48px); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 52px; padding: 13px 26px; background: var(--blue); color: #fff; border: 0; border-radius: 16px; font-size: 16px; font-weight: 600; line-height: 1.4; text-decoration: none; cursor: pointer; }
.button:hover { background: #0057bd; color: #fff; text-decoration: none; }
.button.secondary { background: var(--ground); color: var(--ink); box-shadow: var(--soft); }
.button.secondary:hover { color: var(--blue); }
.button:active { transform: translateY(1px); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: start; }
.stack { display: grid; gap: 30px; }
.section-heading { margin-bottom: 32px; }
.stat { font: 400 clamp(72px, 8vw, 120px)/1 var(--serif); letter-spacing: -.05em; color: var(--blue); }
.stat strong { display: block; font-weight: 400; }
.stat > span { display: block; margin-top: 22px; font: 17px/1.65 var(--sans); letter-spacing: 0; color: var(--muted); max-width: 35ch; }
.muted { color: var(--muted); font-size: 14px; }
main.page-lead > section { margin-top: 56px; }
main.page-lead > section:first-of-type { margin-top: 36px; }
.prose { max-width: 790px; overflow-wrap: break-word; }
.prose h1 { max-width: 14ch; }
.prose h2 { margin-top: 54px; font-size: clamp(29px, 3.2vw, 40px); }
.prose h3 { margin-top: 32px; }
.prose p, .prose li { color: #414753; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 12px; }
.prose .surface { margin-block: 32px; }
.prose blockquote { margin: 32px 0; padding: 24px 30px; box-shadow: var(--inset); border-radius: 20px; }
.prose code, code { padding: 3px 8px; border-radius: 6px; background: #d9dde4; font-size: .9em; overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; border-radius: 22px; box-shadow: var(--inset); padding: 14px; margin-block: 28px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
th, td { padding: 14px 12px; text-align: left; }
th { color: var(--ink); font-size: 12px; font-weight: 600; }
tbody tr:nth-child(odd) { background: #ffffff4d; }
td { color: #414753; }
.site-footer { margin-top: 100px; padding-block: 44px 36px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 32px; color: var(--muted); font-size: 13px; }
.site-footer p { max-width: 360px; margin: 12px 0 0; }
.site-footer a { color: inherit; }
.site-footer .site-brand { color: var(--ink); font-size: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; max-width: 540px; }
.footer-links a { min-height: 40px; display: inline-flex; align-items: center; }
@media (max-width: 760px) {
  .shell { width: calc(100% - 40px); }
  .site-header { min-height: 88px; gap: 16px; flex-wrap: wrap; padding-block: 16px; }
  .site-brand { font-size: 25px; }
  .site-nav { gap: 16px; flex-wrap: wrap; font-size: 13px; }
  .site-nav .button { min-height: 44px; padding: 10px 15px; font-size: 13px; }
  .page-lead { padding: 56px 0 42px; }
  h1 { font-size: clamp(46px, 10vw, 70px); }
  .eyebrow { font-size: 10px; margin-bottom: 20px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .surface { border-radius: 22px; }
  .site-footer { margin-top: 64px; padding-top: 24px; flex-direction: column; gap: 20px; }
  .footer-links { gap: 6px 20px; }
}
@media (max-width: 390px) {
  .site-header { align-items: flex-start; }
  .site-nav { width: 100%; justify-content: space-between; }
  th, td { padding: 10px 7px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
