@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/instrument-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/instrument-serif-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --porcelain: #f4f4f2;
  --paper: #fff;
  --ink: #000;
  --mist: #dcdcd7;
  --quiet: rgba(0, 0, 0, 0.62);
  --coolant: #2a5b66;
  --serif: "Instrument Serif", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1040px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; text-size-adjust: 100%; scroll-padding-bottom: 160px; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--porcelain);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
body:has(.dock) { padding-bottom: calc(108px + env(safe-area-inset-bottom, 0px)); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, p, figure, dl, dd { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--coolant);
  outline-offset: 3px;
}
[hidden] { display: none !important; }

.skip {
  position: absolute;
  left: 8px;
  top: 8px;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
  z-index: 20;
  text-decoration: none;
}
.skip:focus { transform: none; }

.wrap { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin: 0 auto; }
.narrow { max-width: 720px; }
.hdr { padding: 28px 0 8px; }
.wordmark {
  font-family: var(--serif);
  font-size: 28px;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.wordmark:hover { color: var(--ink); }

main { padding: 28px 0 48px; }
h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 16em;
  text-wrap: balance;
}
h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  margin: 8px 0 12px;
}
.gross { margin-top: 18px; color: var(--quiet); max-width: 36em; }
.credit {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 12vw, 148px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin: 28px 0 10px;
}
.credit-meta { color: var(--quiet); max-width: 36em; }
.kicker { letter-spacing: 0.12em; text-transform: uppercase; font-size: 12px; margin-bottom: 14px; }
.lede { font-size: 21px; line-height: 1.45; max-width: 34em; margin-top: 18px; }
.calm { color: var(--quiet); max-width: 42em; margin-top: 16px; }
.hero { margin: 48px 0 8px; }
.hero img { width: 100%; }

legend, .field {
  display: block;
  margin-top: 42px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.field { margin-top: 22px; }
.choices { border-top: 1px solid var(--mist); margin-top: 14px; }
.choice {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--mist);
  cursor: pointer;
}
.choice input { width: 1.15rem; height: 1.15rem; margin-top: 4px; accent-color: var(--ink); }
.choice-name { display: block; font-size: 22px; line-height: 1.2; }
.choice:has(input:checked) .choice-name { font-family: var(--serif); font-size: 28px; }
.choice-detail { display: block; color: var(--quiet); margin-top: 4px; }
.terms, .invest-only, #centurion-form, #apply, #send-centurion, .no-copy { display: none; }
.buy-fields:has(input[name="path"][value="finance"]:checked) .terms { display: block; }
.buy-fields:has(input[name="path"][value="invest"]:checked) .invest-only { display: block; }
body:has(.buy-fields input[name="path"][value="invest"]:checked) #pay,
body:has(.buy-fields input[name="path"][value="invest"]:checked) .buy-copy { display: none; }
body:has(.buy-fields input[name="path"][value="invest"]:checked) #apply { display: inline-block; }
body:has(.buy-fields input[name="path"][value="invest"]:checked) .no-copy { display: block; }
body:has(#centurion-mode:checked) #order-form,
body:has(#centurion-mode:checked) .buy-fields,
body:has(#centurion-mode:checked) #pay,
body:has(#centurion-mode:checked) #apply,
body:has(#centurion-mode:checked) .buy-copy { display: none !important; }
body:has(#centurion-mode:checked) #centurion-form { display: block; }
body:has(#centurion-mode:checked) #send-centurion { display: inline-block; }
body:has(#centurion-mode:checked) .no-copy { display: block; }

.switch { margin: 28px 0 8px; }
.text-action {
  display: inline-flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 40em;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.text-action input { width: 1.15rem; height: 1.15rem; margin-top: 4px; flex: none; accent-color: var(--ink); }

.fields { max-width: 460px; }
.field input, .field textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  font-size: 17px;
  letter-spacing: 0;
  text-transform: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.alert:empty { display: none; }
.alert { margin-top: 22px; max-width: 42em; }

.ftr { margin-top: 48px; color: var(--quiet); font-size: 14px; }
.ftr a { text-underline-offset: 3px; }
.link { text-underline-offset: 4px; }

.facts { margin-top: 28px; max-width: 560px; }
.facts div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--mist); }
.facts dt { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--quiet); padding-top: 4px; }
.facts dd { font-size: 18px; }

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  background: var(--porcelain);
  border-top: 1px solid var(--mist);
  padding: 14px 0 calc(14px + env(safe-area-inset-bottom, 0px));
}
.dock-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dock-detail { margin: 0; min-width: 0; }
.btn {
  display: inline-block;
  flex: none;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  touch-action: manipulation;
}
.btn:hover { background: var(--coolant); border-color: var(--coolant); color: var(--paper); }
.btn:disabled { opacity: 0.55; cursor: progress; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.login { max-width: 360px; margin-top: 12px; }
.login .btn { margin-top: 22px; }

.hp {
  position: fixed;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.desk h1 { font-size: clamp(40px, 6vw, 72px); }
.desk-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.totals { margin: 12px 0 28px; font-size: 18px; }
.desk h2 { margin-top: 28px; }
.table-wrap { width: 100%; overflow-x: auto; border-top: 1px solid var(--mist); }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 880px; }
th, td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--mist); vertical-align: top; font-weight: 400; }
th { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--quiet); }

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body:has(.dock) { padding-bottom: calc(148px + env(safe-area-inset-bottom, 0px)); }
  .lede { font-size: 18px; }
  .choice-name, .choice:has(input:checked) .choice-name { font-size: 22px; }
  .dock-inner { flex-direction: column; align-items: stretch; }
  .dock .btn { width: 100%; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
}

@media (forced-colors: active) {
  .btn { border: 1px solid ButtonText; }
  .choice { border-color: CanvasText; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
