:root {
  color-scheme: light;
  --paper: #f8faf7;
  --white: #fff;
  --ink: #102644;
  --muted: #4b5e6b;
  --teal: #006c65;
  --teal-dark: #005750;
  --line: #d9e5df;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-padding-top: 24px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 "Instrument Sans", "Segoe UI", system-ui, sans-serif;
}

h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid #137b72;
  outline-offset: 5px;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  padding: 8px 16px;
  background: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.wrap {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header { border-bottom: 1px solid var(--line); }

.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-inner { min-height: 75px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.46rem;
  font-weight: 750;
  letter-spacing: -.06em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  display: block;
  object-fit: contain;
  border-radius: 7px;
}

.brand-accent { color: var(--teal); }

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
}

nav a {
  padding-block: 10px;
  font-size: .91rem;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover, .site-footer a:hover {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  align-items: center;
  gap: clamp(24px, 6vw, 88px);
  padding-block: clamp(58px, 8vw, 106px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--teal-dark);
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .105em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0a8278;
}

h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.045em;
  text-wrap: balance;
}

h1 {
  margin-block: 16px 22px;
  font-size: clamp(3rem, 5.8vw, 5.25rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  line-height: 1.08;
}

.intro {
  max-width: 47ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.55vw, 1.24rem);
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 32px;
}

.button, .text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: .9rem;
  font-weight: 700;
}

.button {
  padding: 12px 18px;
  border-radius: 9px;
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
}

.button:hover { background: var(--teal-dark); }

.text-link {
  color: var(--teal-dark);
  text-underline-offset: 4px;
}

.dashboard {
  padding: clamp(16px, 2.5vw, 26px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 20px 60px #153e3812;
}

.dashboard-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 18px;
}

.dashboard-label {
  color: var(--muted);
  font-size: .74rem;
  font-weight: 700;
}

.dashboard-title {
  font-size: clamp(1.02rem, 2vw, 1.35rem);
  font-weight: 750;
  letter-spacing: -.035em;
}

.example-label {
  flex: none;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted);
  font-size: .69rem;
}

.net-worth {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 14px 17px;
  border-radius: 12px;
  background: #0f3340;
  color: #fff;
}

.net-worth p { color: #c8e7e5; font-size: .79rem; }

.net-worth strong {
  font-size: clamp(1.45rem, 3.2vw, 2.25rem);
  font-weight: 680;
  letter-spacing: -.045em;
}

.net-worth span {
  padding-inline: 12px;
  border-radius: 9px;
  background: #254f58;
  color: #c8e7e5;
  font-size: 1.42rem;
}

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.metrics div {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfa;
}

.metrics dt { color: var(--muted); font-size: .76rem; }
.metrics dd { font-weight: 700; font-size: .94rem; }

.cash-flow { margin-top: 16px; }
.cash-flow dl { display: grid; gap: 7px; margin-top: 5px; }

.flow-row {
  display: grid;
  grid-template-columns: 1fr auto;
  row-gap: 4px;
  font-size: .74rem;
}

.flow-row dd { font-weight: 650; }

.flow-row::after {
  content: "";
  grid-column: 1 / -1;
  height: 5px;
  border-radius: 8px;
  background: var(--bar);
}

.incoming { --bar: #0e8476; }
.outgoing { --bar: linear-gradient(to right, #b26e30 70%, #e8efea 70%); }

figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: .72rem;
}

.section { padding-block: clamp(47px, 6vw, 80px); }

.personal {
  border-block: 1px solid var(--line);
  background: #eef5f0;
}

.section-heading { max-width: 670px; margin-bottom: 24px; }
.section-heading h2, .pilot-panel h2 { margin-top: 10px; }
.section-heading > p:last-child { margin-top: 12px; color: var(--muted); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  padding: clamp(17px, 2.3vw, 26px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.card h3 { font-size: 1.12rem; line-height: 1.35; }
.card p { margin-top: 8px; color: var(--muted); }
.section-note { margin-top: 16px; color: var(--muted); font-size: .89rem; }

.pilot-section { margin-block: clamp(48px, 7vw, 80px); }

.pilot-panel {
  padding: clamp(25px, 5vw, 54px);
  border-radius: 20px;
  background: #102c3c;
  color: var(--white);
}

.pilot-panel .eyebrow { color: #a9e4d9; }
.pilot-panel .status-dot { background: #73d9c7; }
.pilot-panel p:last-child { max-width: 55ch; margin-top: 14px; color: #d5e7e9; }

.site-footer {
  padding-block: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
}

.site-footer a { text-underline-offset: 4px; }

.privacy { max-width: 790px; padding-block: 56px 80px; }
.privacy h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); }
.privacy h2 { margin-block: 32px 12px; font-size: 1.8rem; }
.privacy p { max-width: 64ch; color: var(--muted); }

@media (max-width: 800px) {
  .desktop-break { display: none; }
  .hero { gap: 24px; }
  .card-grid { gap: 10px; }
}

@media (max-width: 650px) {
  .wrap { width: calc(100% - 34px); }
  .header-inner { min-height: 65px; gap: 8px; }
  .brand { font-size: 1.24rem; gap: 4px; }
  .brand img { width: 28px; height: 30px; }
  nav { gap: 12px; }
  nav a { font-size: .79rem; }
  .hero, .card-grid { grid-template-columns: 1fr; }
  .hero { gap: 29px; }
}

@media (max-width: 330px) {
  nav { gap: 7px; }
  .header-inner .brand img { display: none; }
}
