.lockup .wordmark {
  display: inline;
  color: var(--ink);
  font: 700 23px/1 var(--font-body);
  letter-spacing: -.055em;
}
.lockup { gap: 9px; }
.lockup img { display: block; flex: none; }
.page-home .header-cta { justify-self: end; }
.page-home .nav-links a { white-space: nowrap; }

.tx-pic video { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.tx-pic video.ready { opacity: 1; }
.tx-app .fb { object-fit: contain; }
.market-section { position: relative; padding-block: clamp(50px, 7vw, 100px); }
.market-section { background-color: #d5c6ff; scroll-margin-top: 4px; }
.market-section h2 {
  margin: 0;
  font: 700 clamp(1.7rem, 1.35rem + 1.6vw, 2.75rem)/1.07 var(--font-display);
  letter-spacing: -.045em;
  color: var(--ink);
}
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.section-top p { color: #58565c; font-size: 1.0625rem; line-height: 1.55; }
.section-top p { margin: 8px 0 0; }
.text-link {
  display: inline-block;
  padding-block: 5px;
  color: #504666;
  font: 650 .9375rem/1.35 var(--font-body);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
button.text-link { padding-inline: 0; background: none; border: none; cursor: pointer; }
.text-link:hover { color: #30293f; }
.offer-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 5vw, 72px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.offer-list li { min-width: 0; border-top: 1px solid #cfccd6; }
.offer-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 17px 4px;
  text-decoration: none;
  color: var(--ink);
  transition: background-color .18s;
}
.offer-row:hover, .offer-row:focus-visible { background: #ebe8f0; }
.offer-row img { border-radius: 10px; }
.offer-row strong, .offer-price { font-size: 1.0625rem; font-weight: 650; }
.offer-terms { display: block; margin-top: 2px; color: #5d5a63; font-size: .9375rem; }
.offer-price { white-space: nowrap; font-variant-numeric: tabular-nums; }
.offer-price small { color: #5d5a63; font-size: .8125rem; font-weight: 500; }

#modeled-fees { width: 100%; height: 32px; margin: 3px 0 0; accent-color: #5e5279; cursor: pointer; }

#break-even { margin-top: 14px; }

#motion { color: #58565c; font: 550 .9375rem/1.4 var(--font-body); }
#motion { border: 0; padding: 6px 0; background: transparent; cursor: pointer; }
#motion:hover { text-decoration: underline; }
@media (max-width: 62rem) {
  .page-home { --header-h: 98px; }
  .page-home .header-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand action" "tools tools";
    gap: 1px 12px;
  }
  .lockup-header { grid-area: brand; }
  .page-home .header-cta { grid-area: action; }
  .page-home .nav-main { display: block; grid-area: tools; width: 100%; min-width: 0; }
  .page-home .nav-links { display: flex; justify-content: space-between; gap: 4px; margin: 0; padding: 0; }
  .page-home .nav-links a { display: inline-flex; align-items: center; min-height: 34px; padding: 2px 5px; font-size: .9375rem; }
  .page-home .nav-links li:first-child a { padding-left: 0; }
  .page-home .nav-links li:last-child a { padding-right: 0; }
}
@media (max-width: 44rem) {
  .offer-list { grid-template-columns: minmax(0, 1fr); }
  .section-top { align-items: start; }
  .section-top .text-link { margin-top: 2px; text-align: right; }
}
@media (max-width: 480px) {
  .tx-pic video { inset: 36.062% auto auto 61.538%; width: 38.462%; height: 20.468%; }

}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  @keyframes rill-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  .tx-h1, .tx-lead, .tx-actions, .tx-app { animation: rill-rise .55s backwards; }
  .tx-lead { animation-delay: .06s; }
  .tx-actions { animation-delay: .1s; }
  .tx-app { animation-delay: .14s; }
  .tx-pic video { transition: opacity .25s; }
}
.tx-app .app-win { min-height: 0; }
.estimate-workbench {
  position: relative; z-index: 2; display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr)); align-items: center;
  gap: clamp(24px,5vw,72px); margin: 0 auto; width: 100%;
  padding: clamp(32px,6vw,76px) clamp(24px,7vw,90px);
}
.estimate-inputs label { display: flex; justify-content: space-between; gap: 8px; font-weight: 650; }
.estimate-inputs select { width: 100%; min-height: 44px; margin-block: 6px; border: 1px solid #b6b3bd; border-radius: 7px; padding-inline: 10px; background-color: #d5c6ff; color: var(--ink); font: inherit; }
.estimate-inputs p { margin: 0 0 24px; color: #58565c; }
.estimate-inputs #break-even { min-height: 44px; margin: 0; }
.estimate-results dl { margin: 0; }
.estimate-results dl div { display:flex; justify-content:space-between; gap:12px; padding-block:10px; }
.estimate-results dd { margin:0; font-variant-numeric: tabular-nums; }
.estimate-results .net { border-top:1px solid #c6c3cd; font-weight:700; }
.estimate-results a { margin-top: 8px; padding-block: 12px; }
@media (max-width: 44rem) {
  .estimate-workbench { grid-template-columns: minmax(0,1fr); gap: 12px; padding: 30px 24px 24px; }
  .estimate-inputs p { margin-bottom:16px; }
}
@media (pointer: coarse) {
  #modeled-fees { height: 44px; touch-action: pan-y; }
}

.page-home .site-header { background: #231938; }
.page-home .header-row::before { background: #231938; }
.page-home .lockup-header img { filter: brightness(0) invert(1); }
.page-home .nav-links a { color: #f3f1f6; --ink: #fff; --nav-pill: #413b4d; }
.page-home .header-cta.btn { color: #262130; background: #d5c6ff; }
.page-home .header-cta.btn::before { background: #d5c6ff; }
.page-home .header-cta.btn:hover::before { background: #d5c6ff; }
.tx-pic, .tx-app > .fb, .tx-app::before, .tx-app::after { filter: hue-rotate(122deg) saturate(.67); }

.page-home .site-header, .page-home .header-row::before { background: #25232b; }
.page-home .lockup-header img { filter: none; }
.brand-name { font: 650 1.2rem/1 var(--font-body); letter-spacing: -.045em; color: #faf9fc; }
.tx-stage.on-stage { background: #eeebf4; }
.tx-stage.on-stage::after, .tx-app::after, .tx-app::before { display: none; }
.tx-stage.on-stage .tx-app { margin-top: clamp(26px,5vh,60px); }
.tx-stage.on-stage .tx-hero { padding-bottom: 0; }
.fold-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.fold-field i { position: absolute; width: 42%; height: 64%; left: -16%; top: 11%; clip-path: polygon(0 15%,100% 0,68% 65%,15% 100%); background: conic-gradient(from 17deg at 68% 65%,#d4c9e7 0deg 95deg,#c5b8dc 95deg 194deg,#e2dbea 194deg); }
.fold-field i + i { inset: 12% -22% auto auto; transform: rotate(165deg); }
@media(prefers-reduced-motion:no-preference) {
  .fold-field i { animation: fold-drift 9s ease-in-out infinite alternate; }
  .fold-field i + i { animation-direction: alternate-reverse; }
  .fold-field.paused i { animation-play-state: paused; }
  @keyframes fold-drift { to { translate: 2% 4%; } }
}
.tx-app .app-win { background: #fcfbff; border: 1px solid #d4cfdd; border-radius: 16px 16px 0 0; }
@media(max-width:719px) { .fold-field i { width:32%; } }

@font-face { font-family: Spectral; src: url(assets/spectral-medium.ttf) format("truetype"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: InstrumentSans; src: url(assets/instrument-sans.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
.page-home { --font-display: Spectral, Georgia, serif; --font-body: InstrumentSans, Arial, sans-serif; font-family: var(--font-body); }
.page-home .tx-h1 { max-width: 17ch; font: 500 clamp(2.35rem, 5vw, 4rem)/1.04 var(--font-display); letter-spacing: -.04em; text-wrap: balance; }
.page-home .tx-lead { max-width: 48ch; line-height: 1.55; }
.page-home :is(.case-section,.market-section,.reading-section,.notes-section) h2 { margin: 0; font: 500 clamp(1.8rem, 3.4vw, 2.7rem)/1.12 var(--font-display); letter-spacing: -.035em; }
.case-section, .reading-section, .notes-section { padding-block: clamp(40px, 6vw, 76px); }
.case-section, .notes-section { background: #fbfafc; color: #29262f; }
.reading-section { background: #eeebf3; color: #302b3b; }
.case-layout, .reading-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 86px); align-items: start; }
.case-section p, .reading-section p, .notes p { margin: 14px 0 0; max-width: 54ch; font-size: 1rem; line-height: 1.65; }
.case-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.case-table caption, .hurdles figcaption { text-align: left; margin: 0 0 12px; font-weight: 650; }
.case-table :is(td,th) { padding: 12px 4px; border-bottom: 1px solid #d9d4df; text-align: right; }
.case-table th:first-child { text-align: left; }
.case-table thead th { font-size: .875rem; }
.case-table tbody th { font-weight: 500; }
.case-table tbody tr:nth-child(2) { background: #ede8f5; }
.hurdles { margin: 0; }
.hurdles ul { padding: 0; margin: 0; list-style: none; }
.hurdles li { display: grid; grid-template-columns: 3.2em 1fr 6em; gap: 8px; align-items: center; padding: 12px 0; border-top: 1px solid #d1cbd9; }
.hurdles i { width: var(--length); height: 8px; background: #7b669c; }
.hurdles strong { text-align: right; font-variant-numeric: tabular-nums; }
.notes details { padding-block: 4px; border-top: 1px solid #d6d1dd; }
.notes summary { cursor: pointer; padding: 12px 0; font-weight: 600; }
.notes details p { margin: 0 0 16px; }
@media (max-width: 720px) {
  .case-layout, .reading-layout { grid-template-columns: 1fr; gap: 22px; }
  .case-table :is(th,td) { padding-inline: 3px; }
}
