:root {
  color-scheme: light;
  --ink: #261634;
  --muted: #5f5368;
  --accent: #733c89;
  --deep: #392048;
  --wordmark-ink: #551632;
  --surface: #f7f2fb;
  --line: #e4dae9;
  --white: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 102px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 1rem/1.6 Arial, "Helvetica Neue", sans-serif; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #ae63bc; outline-offset: 5px; }
p, h1, h2, h3, figure { margin: 0; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 1; background: rgb(255 255 255 / 94%); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 24px; }
.brand {
  --wordmark-width: 188px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: flex-start;
  gap: calc(var(--wordmark-width) * .055);
  text-decoration: none;
  color: var(--wordmark-ink);
}
.brand strong {
  padding-top: calc(var(--wordmark-width) * .087);
  font-size: calc(var(--wordmark-width) * .2234);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.035em;
}
.brand img {
  display: block;
  width: var(--wordmark-width);
  height: auto;
  filter: hue-rotate(108deg) saturate(1.3);
}
nav { display: flex; flex-wrap: wrap; gap: clamp(14px, 4vw, 40px); }
nav a, .footer a { text-decoration: none; font-weight: 700; }
nav a:hover, .footer a:hover { color: var(--accent); text-decoration: underline; }
.hero { background: radial-gradient(ellipse at 86% 12%, #eddef5, transparent 62%), var(--surface); padding: clamp(56px, 8vw, 108px) 0; }
.hero-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 82px); align-items: center; }
.kicker, .caption { color: var(--accent); font-size: .875rem; font-weight: 700; }
.kicker { margin-bottom: 18px; letter-spacing: .09em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 4.3rem); line-height: 1.02; letter-spacing: -.06em; }
h1 em { font-style: normal; color: var(--accent); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.55rem); line-height: 1.12; letter-spacing: -.035em; }
.lead { margin-top: 24px; max-width: 34rem; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.22rem); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; border: 1px solid transparent; border-radius: 100px; font-weight: 700; text-decoration: none; text-align: center; }
.primary { background: var(--deep); color: var(--white); }
.primary:hover { background: var(--accent); }
.secondary { border-color: #c1a7cb; background: var(--white); }
.secondary:hover { border-color: var(--accent); color: var(--accent); }
.ledger { min-width: 0; padding: clamp(17px, 3vw, 30px); background: var(--white); border: 1px solid var(--line); border-radius: 25px; box-shadow: 0 22px 65px #48205319; }
.ledger h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); margin-top: 6px; }
.totals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 22px 0; font-variant-numeric: tabular-nums; }
.totals div { display: grid; border-radius: 12px; padding: 9px 11px; background: var(--surface); }
.totals span { color: var(--muted); font-size: .875rem; }
.totals strong { font-size: clamp(1rem, 2.2vw, 1.4rem); }
.totals .outstanding { background: #ebdaf3; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
th, td { padding: 9px 4px; text-align: right; border-bottom: 1px solid var(--line); }
th:first-child { text-align: left; }
thead { color: var(--muted); }
.due { font-weight: 700; color: var(--accent); }
.ledger-note { margin-top: 14px; font-size: .9rem; color: var(--muted); }
.process { padding-block: clamp(48px, 7vw, 84px); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.cards article { border: 1px solid var(--line); border-top: 3px solid #b58bc4; border-radius: 18px; padding: 22px; }
.cards h3 { font-size: 1.2rem; margin-bottom: 7px; }
.cards p { color: var(--muted); }
.pilot { padding-bottom: 48px; }
.pilot-panel { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-radius: 26px; padding: clamp(24px, 4.5vw, 46px); color: var(--white); background: linear-gradient(115deg, #32203d, #583364); }
.pilot-panel p { margin-top: 13px; max-width: 42rem; color: #f1e7f4; }
.inverted { flex-shrink: 0; color: var(--deep); background: var(--white); }
.inverted:hover { background: #f2e2f6; }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); padding-bottom: 26px; font-size: .9rem; }
@media (max-width: 1100px) { .brand { --wordmark-width: 155px; } }
@media (max-width: 850px) {
  .hero-layout { grid-template-columns: 1fr; }
  .ledger { max-width: 620px; }
  .cards { grid-template-columns: 1fr; }
  .pilot-panel { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 760px) { .brand { --wordmark-width: 128px; } }
@media (max-width: 520px) {
  html { scroll-padding-top: 12px; }
  .site-header { position: static; }
  .wrap { width: calc(100% - 28px); }
  .bar { flex-direction: column; align-items: flex-start; gap: 8px; padding-block: 12px; }
  nav { gap: 14px; font-size: .875rem; }
  .totals div { padding-inline: 7px; }
}
@media (max-width: 380px) { .brand { --wordmark-width: 111px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
