:root {
  --ink: #142332;
  --muted: #657483;
  --line: #dce4ea;
  --blue: #123f66;
  --blue-dark: #0b3152;
  --blue-soft: #eaf3f8;
  --blue-pale: #f5f9fb;
  --teal: #3c7d78;
  --gold: #b68a3e;
  --red: #b95b4b;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--white);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.splash {
  min-height: 100svh;
  background: var(--white);
  overflow: hidden;
}

.site-nav {
  width: min(1180px, calc(100% - 48px));
  height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  text-decoration: none;
}

.brand span {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  font-size: 19px;
  font-weight: 800;
}

.account-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.sign-in,
.coming-soon,
.primary-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.sign-in {
  color: var(--blue);
}

.coming-soon {
  border: 1px solid var(--blue);
  border-radius: 7px;
  padding: 0 18px;
  background: transparent;
  color: var(--blue);
}

.splash-content {
  width: 100%;
  margin: 0;
  padding: 0;
}

.message {
  width: min(1180px, calc(100% - 48px));
  max-width: none;
  margin: 0 auto;
  padding: 104px 0 100px;
}

.proof-heading p {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: 78px;
  font-weight: 670;
  letter-spacing: 0;
  line-height: 1.04;
  white-space: nowrap;
}

.lede {
  max-width: 640px;
  margin: 32px 0 0;
  color: #526575;
  font-size: 22px;
  line-height: 1.5;
}

.primary-action {
  width: fit-content;
  margin-top: 34px;
  border-radius: 7px;
  padding: 0 22px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgb(18 63 102 / 18%);
}

.product-proof {
  width: min(1180px, calc(100% - 48px));
  min-width: 0;
  position: relative;
  z-index: 0;
  margin: 0 auto;
  padding: 0 0 120px;
}

.product-proof::before {
  width: 100vw;
  position: absolute;
  top: -88px;
  bottom: 0;
  left: 50%;
  z-index: -1;
  background: var(--blue-pale);
  content: "";
  transform: translateX(-50%);
}

.proof-view {
  min-width: 0;
}

.proof-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.proof-heading p {
  margin-bottom: 5px;
  color: #667e8e;
  display: flex;
  align-items: center;
  gap: 10px;
}

.proof-heading p::before {
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

.flow-view .proof-heading p::before {
  content: "01";
}

.timeline-view .proof-heading p::before {
  content: "02";
}

.inbox-view .proof-heading p::before {
  content: "03";
}

.proof-heading h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
}

.match-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  color: #2c6952;
  font-size: 13px;
  font-weight: 700;
}

.match-badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3c8b68;
}

.sankey {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 30px;
  overflow: visible;
}

.sankey-desktop {
  max-width: 1100px;
  margin-right: auto;
  margin-left: auto;
  filter: drop-shadow(0 14px 20px rgb(18 63 102 / 10%));
}

.sankey-mobile {
  display: none;
}

.sankey-links path {
  stroke-linecap: butt;
  opacity: 0.72;
}

.link-total-funnel {
  stroke: none;
  opacity: 1 !important;
}

.link-total {
  stroke: #82afc8;
  stroke-width: 114;
}

.link-reduced {
  stroke: #69b5ad;
  stroke-width: 52;
}

.link-paid {
  stroke: #6e9fc5;
  stroke-width: 48;
}

.link-family {
  stroke: #d4aa52;
  stroke-width: 14;
}

.node-total {
  fill: var(--blue);
}

.node-reduced {
  fill: #2f817b;
}

.node-paid {
  fill: #2f78aa;
}

.node-family {
  fill: #bf8a2e;
}

.sankey-labels text {
  fill: #4e6171;
  font-family: inherit;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
}

.sankey-labels .amount {
  fill: var(--ink);
  font-size: 18px;
  font-weight: 780;
}

.sankey-labels .detail {
  fill: #748391;
  font-size: 11px;
  font-weight: 600;
}

.timeline-view {
  margin-top: 80px;
  padding-top: 72px;
  border-top: 1px solid var(--line);
}

.timeline-heading {
  align-items: end;
}

.timeline-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #687987;
  font-size: 12px;
  font-weight: 650;
}

.timeline-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.timeline-legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.processed {
  background: #33729e;
}

.pending {
  background: var(--gold);
}

.denied {
  background: var(--red);
}

.timeline-chart {
  margin-top: 38px;
  padding-left: 100px;
}

.month-labels {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 0 0 4px;
  color: #82909b;
  font-size: 12px;
  font-weight: 650;
}

.month-labels span:last-child {
  text-align: right;
}

.timeline-row {
  min-height: 74px;
  display: grid;
  grid-template-columns: 86px 1fr;
  align-items: center;
  margin-left: -100px;
}

.timeline-row > strong {
  color: #4d6070;
  font-size: 12px;
  font-weight: 700;
}

.timeline-track {
  height: 74px;
  position: relative;
  border-bottom: 1px solid #d8e2e8;
  background-image: linear-gradient(to right, #dce5ea 1px, transparent 1px);
  background-size: 20% 100%;
}

.claim {
  --size: 12px;
  width: var(--size);
  height: var(--size);
  border: 2px solid var(--blue-pale);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 5px rgb(18 63 102 / 15%);
}

.claim.x-04 { left: 4%; }
.claim.x-10 { left: 10%; }
.claim.x-13 { left: 13%; }
.claim.x-19 { left: 19%; }
.claim.x-28 { left: 28%; }
.claim.x-36 { left: 36%; }
.claim.x-40 { left: 40%; }
.claim.x-43 { left: 43%; }
.claim.x-52 { left: 52%; }
.claim.x-59 { left: 59%; }
.claim.x-65 { left: 65%; }
.claim.x-70 { left: 70%; }
.claim.x-74 { left: 74%; }
.claim.x-78 { left: 78%; }
.claim.x-81 { left: 81%; }
.claim.x-83 { left: 83%; }
.claim.x-84 { left: 84%; }
.claim.x-87 { left: 87%; }
.claim.x-89 { left: 89%; }
.claim.x-91 { left: 91%; }
.claim.x-93 { left: 93%; }
.claim.x-98 { left: 98%; }

.claim.xs { --size: 10px; }
.claim.sm { --size: 15px; }
.claim.md { --size: 21px; }
.claim.lg { --size: 28px; }
.claim.xl { --size: 36px; }

.claim.offset-up { top: 24%; }
.claim.offset-down { top: 76%; }

.size-key {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 16px 0 0;
  color: #7b8994;
  font-size: 11px;
  font-weight: 600;
}

.size-key i {
  width: 12px;
  height: 12px;
  border: 1px solid #8ba0ae;
  border-radius: 50%;
}

.inbox-view {
  margin-top: 80px;
  padding-top: 72px;
  border-top: 1px solid var(--line);
}

.inbox-heading {
  align-items: end;
}

.inbox-count {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8f4338;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.inbox-count::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  content: "";
}

.inbox-list {
  display: block;
  margin-top: 32px;
  border-top: 1px solid #d8e2e8;
}

.inbox-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 120px;
  grid-template-areas: "priority copy amount";
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid #d8e2e8;
}

.inbox-item + .inbox-item {
  border-left: 0;
  padding-left: 0;
}

.issue-priority {
  grid-area: priority;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.urgent .issue-priority {
  color: #a94d40;
}

.review .issue-priority {
  color: #8b6a2e;
}

.tracking .issue-priority {
  color: #27658f;
}

.issue-copy {
  min-width: 0;
  grid-area: copy;
  display: grid;
  gap: 4px;
}

.issue-copy strong,
.issue-amount strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 750;
}

.issue-copy span,
.issue-amount span {
  color: #748391;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.issue-amount {
  grid-area: amount;
  display: grid;
  justify-items: end;
  gap: 2px;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .site-nav,
  .message,
  .product-proof {
    width: min(1040px, calc(100% - 48px));
  }

  .message {
    padding: 88px 0 100px;
  }

  h1 {
    font-size: 68px;
  }

  .proof-heading h2 {
    font-size: 32px;
  }
}

@media (max-width: 780px) {
  .sankey-desktop {
    display: none;
  }

  .sankey-mobile {
    width: min(520px, calc(100% + 32px));
    max-width: none;
    display: block;
    margin: 24px auto 0;
    filter: drop-shadow(0 12px 18px rgb(18 63 102 / 11%));
  }

  .flow-view {
    position: relative;
  }

  .flow-view::before {
    width: min(520px, 100%);
    height: 245px;
    position: absolute;
    top: -64px;
    left: 50%;
    z-index: 0;
    background: linear-gradient(
      180deg,
      rgb(234 243 248 / 0%) 0%,
      rgb(168 201 218 / 38%) 48%,
      rgb(108 159 188 / 92%) 100%
    );
    clip-path: polygon(0 0, 100% 0, 66% 100%, 34% 100%);
    content: "";
    transform: translateX(-50%);
  }

  .flow-view > * {
    position: relative;
    z-index: 1;
  }
}

@media (max-width: 640px) {
  .site-nav,
  .message,
  .product-proof {
    width: calc(100% - 36px);
  }

  .site-nav {
    height: 68px;
  }

  .brand {
    font-size: 15px;
  }

  .brand span {
    width: 30px;
    height: 30px;
    font-size: 17px;
  }

  .account-actions {
    gap: 12px;
  }

  .sign-in,
  .coming-soon {
    min-height: 40px;
    font-size: 13px;
  }

  .coming-soon {
    padding: 0 12px;
  }

  .message {
    padding: 54px 0 94px;
  }

  h1 {
    font-size: 36px;
    line-height: 1.06;
  }

  .lede {
    max-width: 350px;
    margin-top: 22px;
    font-size: 17px;
  }

  .product-proof {
    padding-bottom: 72px;
  }

  .product-proof::before {
    top: -70px;
  }

  .proof-heading {
    align-items: flex-start;
  }

  .proof-heading h2 {
    font-size: 25px;
  }

  .sankey-mobile {
    width: calc(100% + 32px);
    margin: 18px 0 0 -16px;
  }

  .flow-view::before {
    width: calc(100% + 32px);
    height: 220px;
    top: -60px;
  }

  .mobile-labels text {
    font-size: 11px;
  }

  .mobile-labels .amount {
    font-size: 15px;
  }

  .timeline-view {
    margin-top: 56px;
    padding-top: 52px;
  }

  .timeline-heading {
    display: block;
  }

  .timeline-legend {
    gap: 12px;
    margin-top: 14px;
    font-size: 10px;
  }

  .timeline-chart {
    margin-top: 28px;
    padding-left: 60px;
  }

  .timeline-row {
    min-height: 56px;
    grid-template-columns: 52px 1fr;
    margin-left: -60px;
  }

  .timeline-row > strong {
    font-size: 10px;
  }

  .timeline-track {
    height: 56px;
  }

  .claim.xs { --size: 9px; }
  .claim.sm { --size: 13px; }
  .claim.md { --size: 18px; }
  .claim.lg { --size: 24px; }
  .claim.xl { --size: 31px; }

  .size-key {
    margin-top: 12px;
    font-size: 10px;
  }

  .inbox-heading {
    display: block;
  }

  .inbox-count {
    margin-top: 16px;
  }

  .inbox-view {
    margin-top: 56px;
    padding-top: 52px;
  }

  .inbox-list {
    margin-top: 24px;
  }

  .inbox-item {
    grid-template-columns: 62px minmax(0, 1fr) auto;
    grid-template-areas: "priority copy amount";
    align-items: start;
    gap: 12px;
    padding: 14px 0;
  }

  .inbox-item + .inbox-item {
    border-top: 1px solid #d8e2e8;
    border-left: 0;
    padding-left: 0;
  }

  .issue-priority {
    font-size: 10px;
  }

  .issue-copy strong,
  .issue-amount strong {
    font-size: 12px;
  }

  .issue-copy span,
  .issue-amount span {
    font-size: 10px;
  }
}

@media (max-width: 390px) {
  .account-actions .sign-in {
    display: none;
  }

  h1 {
    font-size: 32px;
  }
}

@media (max-width: 340px) {
  h1 {
    font-size: 30px;
  }
}

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

/* Continuous claim story */
:root {
  --navy: #071f35;
  --navy-soft: #0d2c47;
  --ice: #f1f7fa;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

html {
  scroll-behavior: smooth;
}

.splash {
  overflow-x: clip;
  overflow-y: visible;
}

.site-nav {
  height: 80px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-nav::before {
  width: 100vw;
  position: absolute;
  inset: 0 auto 0 50%;
  z-index: -1;
  border-bottom: 1px solid rgb(20 35 50 / 7%);
  background: rgb(255 255 255 / 90%);
  backdrop-filter: blur(16px);
  content: "";
  transform: translateX(-50%);
}

.coming-soon {
  min-height: 32px;
  gap: 8px;
  border: 0;
  padding: 0;
  color: #607280;
  font-size: 12px;
  text-transform: uppercase;
}

.coming-soon::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4f8db5;
  content: "";
}

.message {
  min-height: clamp(520px, 68svh, 690px);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0 150px;
}

.message h1,
.message .lede {
  position: relative;
  z-index: 2;
}

h1,
.proof-heading h2 {
  font-family: var(--display);
}

h1 {
  color: #0c2133;
  font-size: 88px;
  font-weight: 500;
  line-height: 0.98;
}

.lede {
  max-width: 650px;
  margin-top: 34px;
  color: #516675;
  font-size: 21px;
  line-height: 1.55;
}

.hero-thread {
  width: min(760px, 74vw);
  height: 210px;
  position: absolute;
  right: auto;
  bottom: -106px;
  left: 50%;
  z-index: 1;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgb(234 243 248 / 0%) 0%,
    rgb(194 216 228 / 42%) 54%,
    rgb(107 158 187 / 88%) 100%
  );
  clip-path: polygon(6% 0, 94% 0, 58% 100%, 42% 100%);
  pointer-events: none;
  transform: translateX(-50%);
}

.hero-thread span {
  width: 3px;
  height: 76px;
  position: absolute;
  bottom: 0;
  left: 50%;
  background: linear-gradient(180deg, rgb(18 63 102 / 0%), var(--blue));
  transform: translateX(-50%);
}

.product-proof {
  padding-bottom: 0;
}

.product-proof::before {
  content: none;
}

.proof-view {
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.flow-view {
  margin: 0;
  padding: 104px 0 88px;
}

.flow-view::before {
  content: none !important;
}

.flow-view::after,
.timeline-view::after,
.inbox-view::after {
  width: 100vw;
  position: absolute;
  inset: 0 auto 0 50%;
  z-index: -1;
  content: "";
  transform: translateX(-50%);
}

.flow-view::after {
  background: linear-gradient(180deg, #f8fbfd 0%, #edf5f9 54%, #f5f9fb 100%);
}

.proof-heading h2 {
  color: #102538;
  font-size: 52px;
  font-weight: 500;
  line-height: 1.02;
}

.proof-heading p {
  margin-bottom: 9px;
  color: #5f7889;
  font-size: 11px;
}

.match-badge,
.inbox-count {
  padding-bottom: 7px;
}

.sankey {
  margin-top: 54px;
}

.sankey-desktop {
  max-width: 1120px;
  filter: drop-shadow(0 18px 28px rgb(18 63 102 / 12%));
}

.sankey-labels text {
  fill: #41586a;
  font-size: 14px;
}

.sankey-labels .amount {
  fill: #102538;
  font-size: 20px;
}

.sankey-labels .detail {
  fill: #6d7f8c;
  font-size: 12px;
}

.story-bridge {
  height: 170px;
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
}

.story-bridge::before {
  width: 100vw;
  position: absolute;
  inset: 0 auto 0 50%;
  z-index: -1;
  content: "";
  transform: translateX(-50%);
}

.reconcile-bridge::before {
  background: linear-gradient(180deg, #f5f9fb 0%, #fff 100%);
}

.story-bridge svg {
  width: 320px;
  height: 150px;
  display: block;
  overflow: visible;
}

.story-bridge path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.reconcile-bridge .bridge-reduced {
  stroke: #4c9c95;
  stroke-width: 8;
}

.reconcile-bridge .bridge-paid {
  stroke: #4f86b0;
  stroke-width: 8;
}

.reconcile-bridge .bridge-family {
  stroke: #c89d49;
  stroke-width: 4;
}

.reconcile-bridge .bridge-spine {
  stroke: var(--blue);
  stroke-width: 3;
}

.reconcile-bridge circle {
  fill: var(--blue);
}

.timeline-view {
  margin: 0;
  padding: 86px 0 110px;
  border: 0;
}

.timeline-view::after {
  background: #fff;
}

.timeline-chart {
  position: relative;
  margin-top: 58px;
}

.timeline-chart::before {
  width: 10%;
  position: absolute;
  top: -18px;
  bottom: 36px;
  left: 76.5%;
  z-index: -1;
  border-right: 1px solid #dce8ee;
  border-left: 1px solid #dce8ee;
  background: #f1f7fa;
  content: "";
}

.timeline-row {
  min-height: 86px;
}

.timeline-track {
  height: 86px;
  border-color: #d8e3e9;
}

.claim {
  border-color: #fff;
  box-shadow: 0 3px 8px rgb(18 63 102 / 18%);
}

.handoff-claim {
  outline: 1px solid rgb(185 91 75 / 42%);
  outline-offset: 4px;
}

.issue-bridge {
  height: 170px;
}

.issue-bridge::before {
  background: linear-gradient(180deg, #fff 0%, #eef3f6 44%, var(--navy) 100%);
}

.issue-bridge path {
  stroke: #b95b4b;
  stroke-width: 2.5;
}

.issue-bridge circle {
  fill: #d47a69;
}

.inbox-view {
  margin: 0;
  padding: 96px 0 90px;
  border: 0;
  color: #fff;
}

.inbox-view::after {
  background: var(--navy);
}

.inbox-view .proof-heading h2,
.inbox-view .issue-copy strong,
.inbox-view .issue-amount strong {
  color: #fff;
}

.inbox-view .proof-heading p {
  color: #a9bdcc;
}

.inbox-view .proof-heading p::before {
  color: #78afd1;
}

.inbox-count {
  color: #efaa9e;
}

.inbox-count::before {
  background: #df7a69;
  box-shadow: 0 0 0 5px rgb(223 122 105 / 11%);
}

.inbox-list {
  margin-top: 44px;
  border-color: rgb(255 255 255 / 18%);
}

.inbox-item {
  position: relative;
  padding: 30px 0;
  border-color: rgb(255 255 255 / 18%);
}

.inbox-item.urgent {
  margin-left: -28px;
  padding-left: 28px;
  background: linear-gradient(90deg, rgb(185 91 75 / 16%), rgb(185 91 75 / 0%) 68%);
  box-shadow: inset 3px 0 0 #d47a69;
}

.inbox-view .issue-copy span,
.inbox-view .issue-amount span {
  color: #9eb3c2;
}

.inbox-view .urgent .issue-priority {
  color: #efaa9e;
}

.inbox-view .review .issue-priority {
  color: #e0bf7b;
}

.inbox-view .tracking .issue-priority {
  color: #8fc1df;
}

.site-footer {
  min-height: 112px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgb(255 255 255 / 16%);
  color: #fff;
}

.site-footer::before {
  width: 100vw;
  position: absolute;
  inset: 0 auto 0 50%;
  z-index: -1;
  background: var(--navy);
  content: "";
  transform: translateX(-50%);
}

.footer-brand {
  color: #fff;
}

.footer-brand span {
  background: #fff;
  color: var(--navy);
}

.site-footer p {
  margin: 0;
  color: #9eb3c2;
  font-size: 13px;
  font-weight: 650;
}

/* Scene choreography */
.motion-ready .message h1,
.motion-ready .message .lede,
.motion-ready .hero-thread,
.motion-ready .proof-heading,
.motion-ready .match-badge,
.motion-ready .timeline-legend,
.motion-ready .timeline-chart,
.motion-ready .inbox-list,
.motion-ready .site-footer > * {
  transition: opacity 700ms ease, transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready .message:not(.is-visible) h1,
.motion-ready .message:not(.is-visible) .lede,
.motion-ready .story-scene:not(.is-visible) .proof-heading,
.motion-ready .flow-view:not(.is-visible) .match-badge,
.motion-ready .timeline-view:not(.is-visible) .timeline-legend,
.motion-ready .timeline-view:not(.is-visible) .timeline-chart,
.motion-ready .inbox-view:not(.is-visible) .inbox-list,
.motion-ready .site-footer:not(.is-visible) > * {
  opacity: 0;
  transform: translateY(24px);
}

.motion-ready .message:not(.is-visible) .hero-thread {
  opacity: 0;
  transform: translateX(-50%) scaleY(0.35);
  transform-origin: center bottom;
}

.motion-ready .message.is-visible .lede {
  transition-delay: 120ms;
}

.motion-ready .message.is-visible .hero-thread {
  transition-delay: 220ms;
}

.motion-ready .flow-view .link-total-funnel {
  transform-box: fill-box;
  transform-origin: left center;
  transition: opacity 800ms ease 180ms, transform 1100ms cubic-bezier(0.22, 1, 0.36, 1) 180ms;
}

.motion-ready .flow-view:not(.is-visible) .link-total-funnel {
  opacity: 0 !important;
  transform: scaleX(0.3);
}

.motion-ready .flow-view .sankey-links .link-total,
.motion-ready .flow-view .sankey-links .link-reduced,
.motion-ready .flow-view .sankey-links .link-paid,
.motion-ready .flow-view .sankey-links .link-family {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready .flow-view .sankey-links .link-reduced {
  transition-delay: 420ms;
}

.motion-ready .flow-view .sankey-links .link-paid {
  transition-delay: 500ms;
}

.motion-ready .flow-view .sankey-links .link-family {
  transition-delay: 580ms;
}

.motion-ready .flow-view:not(.is-visible) .sankey-links .link-total,
.motion-ready .flow-view:not(.is-visible) .sankey-links .link-reduced,
.motion-ready .flow-view:not(.is-visible) .sankey-links .link-paid,
.motion-ready .flow-view:not(.is-visible) .sankey-links .link-family {
  stroke-dashoffset: 1;
}

.motion-ready .flow-view .sankey-nodes rect {
  transform-box: fill-box;
  transform-origin: center bottom;
  transition: opacity 500ms ease 520ms, transform 650ms cubic-bezier(0.22, 1, 0.36, 1) 520ms;
}

.motion-ready .flow-view:not(.is-visible) .sankey-nodes rect {
  opacity: 0;
  transform: scaleY(0.05);
}

.motion-ready .flow-view .sankey-labels {
  transition: opacity 600ms ease 680ms, transform 700ms ease 680ms;
}

.motion-ready .flow-view:not(.is-visible) .sankey-labels {
  opacity: 0;
  transform: translateY(8px);
}

.motion-ready .story-bridge path {
  transition: stroke-dashoffset 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready .story-bridge circle {
  transition: opacity 350ms ease 720ms, transform 500ms cubic-bezier(0.22, 1, 0.36, 1) 720ms;
  transform-box: fill-box;
  transform-origin: center;
}

.motion-ready .story-bridge:not(.is-visible) path {
  stroke-dashoffset: 1;
}

.motion-ready .story-bridge:not(.is-visible) circle {
  opacity: 0;
  transform: scale(0);
}

.motion-ready .timeline-view .claim {
  transition: opacity 400ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--claim-delay, 120ms);
}

.motion-ready .timeline-view:not(.is-visible) .claim {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.08);
}

.claim.x-04 { --claim-delay: 80ms; }
.claim.x-10 { --claim-delay: 120ms; }
.claim.x-13 { --claim-delay: 145ms; }
.claim.x-19 { --claim-delay: 180ms; }
.claim.x-28 { --claim-delay: 230ms; }
.claim.x-36 { --claim-delay: 280ms; }
.claim.x-40 { --claim-delay: 310ms; }
.claim.x-43 { --claim-delay: 330ms; }
.claim.x-52 { --claim-delay: 390ms; }
.claim.x-59 { --claim-delay: 430ms; }
.claim.x-65 { --claim-delay: 470ms; }
.claim.x-70 { --claim-delay: 510ms; }
.claim.x-74 { --claim-delay: 540ms; }
.claim.x-78 { --claim-delay: 570ms; }
.claim.x-81 { --claim-delay: 600ms; }
.claim.x-83 { --claim-delay: 630ms; }
.claim.x-84 { --claim-delay: 650ms; }
.claim.x-87 { --claim-delay: 680ms; }
.claim.x-89 { --claim-delay: 700ms; }
.claim.x-91 { --claim-delay: 720ms; }
.claim.x-93 { --claim-delay: 750ms; }
.claim.x-98 { --claim-delay: 800ms; }

.motion-ready .inbox-item {
  transition: opacity 550ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1), background-color 250ms ease;
}

.motion-ready .inbox-view:not(.is-visible) .inbox-item {
  opacity: 0;
  transform: translateX(-22px);
}

.motion-ready .inbox-view.is-visible .inbox-item:nth-child(1) {
  transition-delay: 180ms;
}

.motion-ready .inbox-view.is-visible .inbox-item:nth-child(2) {
  transition-delay: 280ms;
}

.motion-ready .inbox-view.is-visible .inbox-item:nth-child(3) {
  transition-delay: 380ms;
}

@media (max-width: 1180px) {
  h1 {
    font-size: 78px;
  }

  .proof-heading h2 {
    font-size: 46px;
  }

  .flow-view {
    padding-top: 92px;
  }
}

@media (max-width: 780px) {
  .hero-thread {
    width: min(620px, calc(100% + 96px));
  }

  .sankey-mobile {
    margin-top: 32px;
  }

  .story-bridge {
    height: 150px;
  }

  .story-bridge svg {
    width: 290px;
    height: 136px;
  }
}

@media (max-width: 640px) {
  .site-nav {
    height: 64px;
  }

  .coming-soon {
    min-height: 28px;
    font-size: 10px;
  }

  .message {
    min-height: 336px;
    padding: 44px 0 108px;
  }

  h1 {
    font-size: clamp(30px, 9.2vw, 39px);
    line-height: 1;
  }

  .lede {
    max-width: 350px;
    margin-top: 24px;
    font-size: 17px;
    line-height: 1.48;
  }

  .hero-thread {
    width: calc(100% + 92px);
    height: 174px;
    bottom: -92px;
    clip-path: polygon(0 0, 100% 0, 64% 100%, 36% 100%);
  }

  .flow-view {
    padding: 76px 0 42px;
  }

  .proof-heading h2 {
    font-size: 34px;
    line-height: 1.02;
  }

  .proof-heading p {
    margin-bottom: 8px;
  }

  .match-badge,
  .inbox-count {
    padding-bottom: 2px;
  }

  .sankey-mobile {
    margin-top: 24px;
  }

  .story-bridge,
  .issue-bridge {
    height: 122px;
  }

  .story-bridge svg {
    width: 244px;
    height: 114px;
  }

  .timeline-view {
    padding: 60px 0 74px;
  }

  .timeline-chart {
    margin-top: 36px;
  }

  .timeline-chart::before {
    width: 13%;
    top: -14px;
    bottom: 28px;
    left: 73.5%;
  }

  .timeline-row {
    min-height: 62px;
  }

  .timeline-track {
    height: 62px;
  }

  .inbox-view {
    padding: 66px 0 58px;
  }

  .inbox-list {
    margin-top: 30px;
  }

  .inbox-item {
    padding: 18px 0;
  }

  .inbox-item.urgent {
    margin-left: -14px;
    padding-left: 14px;
  }

  .site-footer {
    min-height: 94px;
  }

  .site-footer p {
    font-size: 11px;
  }
}

@media (max-width: 390px) {
  h1 {
    font-size: clamp(29px, 9vw, 34px);
  }

  .proof-heading h2 {
    font-size: 31px;
  }

  .inbox-item {
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 10px;
  }
}

@media (max-width: 340px) {
  h1 {
    font-size: 28px;
  }

  .lede {
    font-size: 16px;
  }

  .proof-heading h2 {
    font-size: 29px;
  }

  .flow-view .proof-heading {
    display: block;
  }

  .flow-view .match-badge {
    margin-top: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready [data-reveal],
  .motion-ready [data-reveal] *,
  .motion-ready .link-total-funnel,
  .motion-ready .sankey-links path,
  .motion-ready .sankey-nodes rect,
  .motion-ready .sankey-labels,
  .motion-ready .story-bridge path,
  .motion-ready .story-bridge circle {
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
  }
}

/* Proof refinements */
.flow-view {
  padding-bottom: 34px;
}

.flow-view .proof-heading {
  display: block;
}

.metric-spinning {
  animation: metric-roll 920ms cubic-bezier(0.22, 1, 0.36, 1) both;
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes metric-roll {
  0% {
    opacity: 0;
    transform: translateY(12px) scaleY(0.72);
  }

  34% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

.story-bridge .bridge-desktop {
  width: 100%;
  height: 150px;
  display: block;
}

.story-bridge .bridge-mobile {
  display: none;
}

.reconcile-bridge {
  height: 154px;
}

.reconcile-bridge::before {
  background: linear-gradient(180deg, #f5f9fb 0%, #f7fafc 36%, #fff 100%);
}

.timeline-view {
  padding-top: 68px;
  padding-bottom: 0;
}

.timeline-chart {
  isolation: isolate;
}

.month-labels,
.timeline-row {
  position: relative;
  z-index: 2;
}

.handoff-claim {
  z-index: 3;
}

.timeline-handoff {
  width: calc(100% - 100px);
  height: 258px;
  position: absolute;
  top: 20px;
  right: 0;
  left: 100px;
  z-index: 1;
  display: block;
  overflow: visible;
  pointer-events: none;
}

.timeline-handoff path {
  fill: none;
  stroke: #c66b5b;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  opacity: 0.34;
}

.issue-bridge {
  height: 154px;
}

.issue-bridge .bridge-desktop {
  height: 154px;
}

.motion-ready .timeline-handoff path {
  transition: stroke-dashoffset 1050ms cubic-bezier(0.22, 1, 0.36, 1) 520ms;
}

.motion-ready .timeline-view:not(.is-visible) .timeline-handoff path {
  stroke-dashoffset: 1;
}

@media (max-width: 780px) {
  .story-bridge .bridge-desktop {
    display: none;
  }

  .story-bridge .bridge-mobile {
    width: 290px;
    height: 136px;
    display: block;
  }

  .reconcile-bridge,
  .issue-bridge {
    height: 140px;
  }
}

@media (max-width: 640px) {
  .flow-view {
    padding-bottom: 16px;
  }

  .story-bridge .bridge-mobile {
    width: 100%;
    height: 122px;
  }

  .reconcile-bridge,
  .issue-bridge {
    height: 122px;
  }

  .timeline-view {
    padding-top: 50px;
    padding-bottom: 0;
  }

  .timeline-handoff {
    width: calc(100% - 60px);
    height: 186px;
    top: 18px;
    left: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .metric-spinning {
    animation: none !important;
  }

  .motion-ready .timeline-handoff path {
    stroke-dashoffset: 0 !important;
  }
}

/* Continuous claim current */
.claim-current {
  pointer-events: none;
}

.hero-current {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: visible;
}

.hero-current .current-traces path,
.flow-current-bridge .current-trace {
  fill: none;
  stroke: #7da7c0;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.hero-current .current-traces path {
  stroke-width: 1px;
  opacity: 0.2;
}

.hero-thread > span {
  z-index: 1;
  opacity: 0.55;
}

.current-pulse {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 0.07 0.93;
  stroke-dashoffset: 1;
  vector-effect: non-scaling-stroke;
  opacity: 0;
}

.hero-current .current-pulse {
  stroke: #f4fbff;
  stroke-width: 2px;
  animation: claim-current-funnel 7.2s linear infinite;
}

.hero-current .current-pulse-center {
  stroke-width: 2.5px;
  animation-delay: 120ms;
}

.hero-current .current-pulse-right {
  animation-delay: 240ms;
}

.flow-view > .flow-current-bridge {
  position: absolute;
  z-index: 0;
  display: block;
  overflow: visible;
}

.flow-current-bridge-desktop {
  width: 100%;
  height: 290px;
  top: 104px;
  left: 0;
}

.flow-current-bridge-mobile {
  display: none !important;
}

.flow-current-bridge .current-trace {
  stroke-width: 2px;
  opacity: 0.2;
}

.flow-current-bridge .current-pulse {
  stroke: #dff3fc;
  stroke-width: 3px;
  animation: claim-current-bridge 7.2s linear infinite;
}

.flow-view .proof-heading,
.flow-view .sankey {
  position: relative;
  z-index: 1;
}

.sankey-current {
  pointer-events: none;
}

.sankey-desktop,
.sankey-mobile {
  filter: none;
}

.sankey-current .current-pulse {
  stroke-width: 5px;
}

.sankey-current .current-pulse-total {
  stroke: #eefaff;
  stroke-width: 6px;
  animation: claim-current-total 7.2s linear infinite;
}

.sankey-current .current-pulse-reduced {
  stroke: #dcfffa;
  animation: claim-current-branch 7.2s linear infinite;
}

.sankey-current .current-pulse-paid {
  stroke: #e4f4ff;
  animation: claim-current-branch 7.2s linear 160ms infinite;
}

.sankey-current .current-pulse-family {
  stroke: #fff0c7;
  animation: claim-current-branch 7.2s linear 320ms infinite;
}

.current-node-glow {
  fill: #effaff;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: claim-current-node 7.2s linear infinite;
}

@keyframes claim-current-funnel {
  0%,
  3% {
    stroke-dashoffset: 1;
    opacity: 0;
  }

  7% {
    opacity: 0.78;
  }

  27% {
    stroke-dashoffset: -0.08;
    opacity: 0.72;
  }

  31%,
  100% {
    stroke-dashoffset: -0.08;
    opacity: 0;
  }
}

@keyframes claim-current-bridge {
  0%,
  23% {
    stroke-dashoffset: 1;
    opacity: 0;
  }

  27% {
    opacity: 0.72;
  }

  44% {
    stroke-dashoffset: -0.08;
    opacity: 0.68;
  }

  48%,
  100% {
    stroke-dashoffset: -0.08;
    opacity: 0;
  }
}

@keyframes claim-current-total {
  0%,
  40% {
    stroke-dashoffset: 1;
    opacity: 0;
  }

  44% {
    opacity: 0.9;
  }

  57% {
    stroke-dashoffset: -0.08;
    opacity: 0.78;
  }

  61%,
  100% {
    stroke-dashoffset: -0.08;
    opacity: 0;
  }
}

@keyframes claim-current-node {
  0%,
  52% {
    opacity: 0;
    transform: scale(0.52);
  }

  57% {
    opacity: 0.8;
    transform: scale(1.08);
  }

  65% {
    opacity: 0;
    transform: scale(1.5);
  }

  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

@keyframes claim-current-branch {
  0%,
  55% {
    stroke-dashoffset: 1;
    opacity: 0;
  }

  59% {
    opacity: 0.8;
  }

  76% {
    stroke-dashoffset: -0.08;
    opacity: 0.7;
  }

  80%,
  100% {
    stroke-dashoffset: -0.08;
    opacity: 0;
  }
}

@media (max-width: 780px) {
  .flow-current-bridge-desktop {
    display: none !important;
  }

  .flow-view > .flow-current-bridge-mobile {
    width: 100%;
    height: 205px;
    top: 106px;
    left: 0;
    display: block !important;
  }

  .flow-current-bridge .current-trace {
    stroke-width: 1.5px;
  }

  .flow-current-bridge .current-pulse {
    stroke-width: 2.5px;
  }
}

@media (max-width: 640px) {
  .flow-view > .flow-current-bridge-mobile {
    height: 140px;
    top: 92px;
  }

  .hero-current .current-traces path {
    opacity: 0.16;
  }

  .sankey-current .current-pulse {
    stroke-width: 4px;
  }

  .sankey-current .current-pulse-total {
    stroke-width: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .current-pulse,
  .current-node-glow {
    animation: none !important;
    opacity: 0 !important;
  }
}
