@font-face {
    font-family: "Overused Grotesk";
    src: url("https://cdn.jsdelivr.net/gh/RandomMaerks/Overused-Grotesk@main/fonts/variable/OverusedGrotesk-VF.woff2") format("woff2");
    font-weight: 300 900;
    font-display: swap;
  }

  :root {
    --frame: #C9C6B0;
    --cream: #FFFCF7;
    --pale: #DCE6E1;
    --teal: #0B3A3C;
    --teal-mid: #1C5658;
    --teal-dark: #072a2c;
    --greige: #EFEAE1;
    --clay: #B4552E;
    --clay-tint: #F5E3D9;
    --ink: #1B2322;
    --ink-soft: #566060;
    --on-dark: #F4EBE4;
    --on-dark-soft: rgba(244, 235, 228, 0.8);
    --rule: rgba(11, 58, 60, 0.16);
    --rule-dark: rgba(244, 235, 228, 0.24);
    --serif: "Newsreader", Georgia, "Times New Roman", serif;
    --sans: "Overused Grotesk", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
    --gap: clamp(10px, 2.1vw, 30px);
    --pad: clamp(22px, 5.5vw, 88px);
    --section: clamp(80px, 11vw, 152px);
    --max: 1180px;
  }

  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; }
  body {
    margin: 0;
    padding: var(--gap);
    background: var(--frame);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
  }
  @media (min-width: 720px) { body { font-size: 17px; } }

  img { display: block; max-width: 100%; }
  h1, h2, h3 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 400;
    font-optical-sizing: auto;
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: var(--teal);
    text-wrap: balance;
  }
  p { margin: 0; }
  a { color: inherit; }
  a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

  .skip {
    position: absolute; left: 24px; top: -100px; z-index: 10;
    background: var(--teal); color: var(--on-dark); padding: 10px 16px;
  }
  .skip:focus { top: 12px; }

  /* Panels on the frame */
  .panel { position: relative; overflow: hidden; border-radius: 8px; background: var(--cream); padding: var(--section) var(--pad); }
  .panel + .panel { margin-top: var(--gap); }
  .inner { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; }
  .pale { background: var(--pale); }
  .greige { background: var(--greige); }
  .dark { background: var(--teal); color: var(--on-dark); }
  .mid { background: var(--teal-mid); color: var(--on-dark); }
  .dark h2, .dark h3, .mid h2, .mid h3 { color: var(--on-dark); }

  /* Buttons */
  .actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
  .btn {
    display: inline-block; padding: 15px 24px; border-radius: 8px;
    font-size: 16px; font-weight: 500; line-height: 1.2; text-decoration: none;
    background: var(--teal); color: var(--on-dark);
  }
  .btn:hover { background: var(--teal-dark); }
  .btn-line { background: transparent; color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
  .btn-line:hover { background: rgba(11, 58, 60, 0.06); }

  /* Photos. When the file is missing the figure shows its slot description instead. */
  .photo { margin: 0; position: relative; overflow: hidden; border-radius: 8px; background: #E6DDD3; }
  .photo img { width: 100%; height: 100%; object-fit: cover; }
  .slot { display: none; }
  .photo.is-empty { display: flex; align-items: flex-end; border: 1px dashed rgba(11, 58, 60, 0.4); }
  .photo.is-empty img { display: none; }
  .photo.is-empty .slot { display: block; padding: 18px; max-width: 34em; font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
  .slot strong { color: var(--teal); font-weight: 600; }
  .dark .photo { background: #144749; }
  .dark .photo.is-empty { border-color: rgba(244, 235, 228, 0.35); }
  .dark .photo.is-empty .slot { color: var(--on-dark-soft); font-size: 13px; padding: 14px; }
  .dark .slot strong { color: var(--on-dark); }

  /* Hero */
  .hero { padding: 0; display: grid; }
  /* Frosted nav bar top left and a separate contact button top right, both pinned while the page scrolls */
  html { scroll-padding-top: 96px; }
  .topbar {
    position: fixed; z-index: 50;
    top: calc(var(--gap) + 14px); left: calc(var(--gap) + 14px);
    height: 50px; display: flex; align-items: center; gap: 30px; padding: 0 6px 0 18px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(214, 225, 219, 0.94);
    box-shadow: 0 8px 28px rgba(7, 42, 44, 0.14);
  }
  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .topbar {
      background: rgba(214, 225, 219, 0.78);
      -webkit-backdrop-filter: blur(14px) saturate(1.2);
      backdrop-filter: blur(14px) saturate(1.2);
    }
  }
  .nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
  .nav a { text-decoration: none; color: rgba(7, 42, 44, 0.88); }
  .nav a:hover { color: var(--teal-dark); }
  .logo { display: block; }
  .logo img { display: block; height: 24px; width: auto; }
  .nav a.nav-cta {
    display: flex; align-items: center; height: 38px; padding: 0 18px;
    border-radius: 8px; font-weight: 500;
    background: var(--teal-dark); color: #CFE3D7;
  }
  .nav a.nav-cta:hover { background: #041d1f; color: #E3F0E8; }
  @media (max-width: 599px) {
    .topbar { height: 44px; gap: 14px; padding: 0 5px 0 14px; }
    .nav { gap: 0; }
    .nav .nav-link { display: none; }
    .nav-cta { height: 34px; padding: 0 14px; font-size: 14px; }
    .logo img { height: 21px; }
  }

  .hero-text { display: flex; flex-direction: column; padding: calc(var(--gap) + 96px) var(--pad) clamp(56px, 8vw, 96px); }
  .hero h1 { font-size: clamp(2.3rem, 4.2vw, 3.8rem); font-weight: 400; line-height: 1.1; letter-spacing: -0.005em; }
  .hero .lede { margin-top: 28px; max-width: 28em; color: var(--ink); font-size: clamp(1.0625rem, 1.3vw, 1.2rem); line-height: 1.45; }
  .hero .photo { aspect-ratio: 4 / 5; }
  @media (min-width: 900px) {
    .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(90vh, 880px); }
    .hero-text { padding-top: 110px; }
    .hero-body { margin: auto 0; }
    .hero .photo { aspect-ratio: auto; height: 100%; }
  }

  /* The problem */
  .problem .narrow { max-width: 760px; }
  .problem h2 { font-size: clamp(2.1rem, 4.5vw, 4rem); }
  .problem p { margin-top: 28px; max-width: 34em; }

  /* How it works, with the collage running off the bottom of the panel */
  .how { padding-bottom: 0; }
  .how h2 { text-align: center; font-size: clamp(2.2rem, 4.7vw, 4.2rem); }
  .flow { margin-top: clamp(56px, 7vw, 96px); display: grid; gap: clamp(80px, 9vw, 124px); }
  .fstep { display: grid; gap: 32px; align-items: center; }
  .fstep h3 { font-size: clamp(1.4rem, 2.1vw, 1.95rem); font-weight: 500; line-height: 1.16; }
  .fstep-text > p { margin-top: 16px; max-width: 34em; color: var(--ink-soft); }
  @media (min-width: 900px) {
    .fstep { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 80px); }
    .fstep.flip .fstep-text { order: 2; }
  }

  /* Diagrams */
  .dia { margin: 0; padding: 20px; border-radius: 8px; background: #fff; color: var(--ink); font-size: 14px; line-height: 1.45; box-shadow: 0 12px 34px rgba(11, 58, 60, 0.08); }
  .dia-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; color: var(--teal); }
  .dia-note { font-weight: 400; font-size: 12px; color: var(--ink-soft); }
  .dia-cap { margin-top: 14px; font-size: 13px; color: var(--ink-soft); }
  .dia-cap { margin-top: 14px; font-size: 13px; color: var(--ink-soft); }
  .tag { display: inline-block; padding: 3px 8px; border-radius: 4px; font-size: 12px; font-weight: 500; background: rgba(11, 58, 60, 0.09); color: var(--teal); white-space: nowrap; }
  .tag + .tag { margin-left: 6px; }
  .tag-alt { background: var(--clay); color: #fff; }

  /* Panel rows you can open */
  .rows { margin-top: 16px; display: grid; gap: 10px; }
  .row { background: #fff; border-radius: 10px; box-shadow: 0 4px 18px rgba(7, 42, 44, 0.1); overflow: hidden; }
  .row-top {
    display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px;
    padding: 15px 16px; background: none; border: 0; font: inherit; color: inherit; text-align: left; cursor: pointer;
  }
  .row-top:hover { background: rgba(11, 58, 60, 0.03); }
  .row-name { font-weight: 600; color: var(--teal); }
  .row-right { display: flex; align-items: center; gap: 8px; }
  .chev {
    width: 8px; height: 8px; margin-left: 4px;
    border-right: 1.5px solid rgba(11, 58, 60, 0.45); border-bottom: 1.5px solid rgba(11, 58, 60, 0.45);
    transform: rotate(45deg); transition: transform 0.3s ease;
  }
  .row.is-open .chev { transform: rotate(-135deg); }
  .row-body { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.3s ease, opacity 0.3s ease; }
  .row.is-open .row-body { grid-template-rows: 1fr; opacity: 1; }
  .row-inner { overflow: hidden; }
  .tl { margin: 0 16px 16px 22px; padding: 2px 0 0 18px; list-style: none; border-left: 1px solid rgba(11, 58, 60, 0.15); }
  .tl li { position: relative; padding: 7px 0; font-size: 13.5px; }
  .tl li::before { content: ""; position: absolute; left: -21px; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

  /* Still card stack */
  .stack { margin-top: 16px; display: grid; gap: 10px; }
  .stack-card { background: #fff; border-radius: 10px; box-shadow: 0 4px 18px rgba(7, 42, 44, 0.1); padding: 15px 16px; }
  .stack-app { display: flex; align-items: center; gap: 11px; font-weight: 600; color: var(--teal); }
  .stack-app i { display: block; width: 22px; height: 22px; border-radius: 6px; background: var(--teal); }
  .stack-title { font-weight: 500; }
  .stack-sub { margin-top: 6px; font-size: 13.5px; color: var(--ink-soft); }
  .stack-btn { margin-top: 2px; padding: 14px; border-radius: 10px; text-align: center; font-weight: 500; background: var(--teal); color: var(--cream); }

  /* Texting: bubbles float straight on the panel, no card */
  .chatwrap { margin: 0; }
  .chat { display: grid; gap: 10px; justify-items: start; align-content: start; min-height: 300px; }
  .msg {
    max-width: 84%; padding: 12px 16px; border-radius: 19px; border-bottom-left-radius: 6px;
    font-size: 15px; line-height: 1.4; background: #E9E9EB; color: #1C1C1E;
    box-shadow: 0 10px 26px rgba(11, 58, 60, 0.13);
    opacity: 0; transform: translateY(12px) scale(0.97); transform-origin: bottom left;
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
  }
  .msg-out {
    justify-self: end; background: #0A84FF; color: #fff;
    border-bottom-left-radius: 19px; border-bottom-right-radius: 6px; transform-origin: bottom right;
  }
  .msg-note {
    justify-self: stretch; max-width: 100%; padding: 8px 2px 0;
    background: none; box-shadow: none; font-size: 13px; color: var(--ink-soft);
  }
  .msg.show { opacity: 1; transform: none; }
  .typing {
    display: none; align-items: center; gap: 5px; width: max-content;
    padding: 14px 16px; border-radius: 19px; border-bottom-left-radius: 6px;
    background: #E9E9EB; box-shadow: 0 10px 26px rgba(11, 58, 60, 0.13);
  }
  .typing.show { display: flex; }
  .typing i { display: block; width: 6px; height: 6px; border-radius: 50%; background: rgba(60, 60, 67, 0.5); animation: chatDot 1.2s infinite; }
  .typing i:nth-child(2) { animation-delay: 0.15s; }
  .typing i:nth-child(3) { animation-delay: 0.3s; }
  @keyframes chatDot {
    0%, 80%, 100% { opacity: 0.35; transform: translateY(0); }
    40% { opacity: 1; transform: translateY(-3px); }
  }

  /* Getting paid */
  .paid { margin-top: 26px; padding: 16px 18px; border-radius: 8px; background: var(--clay-tint); }
  .paid-track { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 4px; }
  .paid-step { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 6px; font-size: 13px; background: rgba(180, 85, 46, 0.1); color: var(--ink); opacity: 0.35; }
  .paid-step + .paid-step::before { content: "\2192"; margin: 0 12px 0 -2px; opacity: 0.5; }
  .paid-final { background: var(--clay); color: #fff; font-weight: 600; }
  .paid-cap { margin-top: 12px; font-size: 13px; color: var(--ink-soft); }
  .paid.in .paid-step { animation: paidstep 6.4s ease infinite; }
  .paid.in .paid-step:nth-child(2) { animation-delay: 0.55s; }
  .paid.in .paid-step:nth-child(3) { animation-delay: 1.1s; }
  .paid.in .paid-step:nth-child(4) { animation-delay: 1.65s; }
  @keyframes paidstep {
    0%, 6% { opacity: 0.35; transform: translateY(4px); }
    14%, 88% { opacity: 1; transform: none; }
    100% { opacity: 0.35; transform: translateY(4px); }
  }
  @media (prefers-reduced-motion: reduce) {
    .paid.in .paid-step { animation: none; opacity: 1; transform: none; }
  }

  .medicare-inline { display: inline-block; height: 0.62em; width: auto; vertical-align: baseline; margin-left: 0.06em; }

  /* Section headings light up as they rise through the viewport */
  .lit .wd { display: inline-block; white-space: nowrap; }
  .lit .ch { opacity: 0.38; transition: opacity 0.32s ease-out; }
  .lit .ch.on { opacity: 1; }
  @media (prefers-reduced-motion: reduce) { .lit .ch { opacity: 1; } }

  /* Stats */
  .stats { display: grid; gap: 40px; margin-top: clamp(56px, 7vw, 92px); }
  @media (min-width: 760px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; } }
  .stat { border-top: 1px solid var(--rule); padding-top: 20px; }
  .stat .num {
    display: block; font-family: var(--serif); font-weight: 400;
    font-size: clamp(2.4rem, 4.6vw, 3.7rem); line-height: 1; letter-spacing: -0.01em;
    color: var(--teal); font-variant-numeric: tabular-nums;
  }
  .stat p { margin-top: 14px; font-size: 16px; }
  .stat cite { display: block; margin-top: 10px; font-style: normal; font-size: 13px; color: var(--ink-soft); }
  .stat cite a { text-underline-offset: 3px; }

  /* Calculator */
  .calc h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); }
  .calc .lead { margin-top: 20px; max-width: 40em; }
  .calc-grid { display: grid; gap: 32px; margin-top: clamp(40px, 5vw, 64px); }
  @media (min-width: 860px) { .calc-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: start; } }
  .field { display: grid; gap: 10px; margin-bottom: 28px; }
  .field-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 15px; }
  .field-top output { font-family: var(--serif); font-size: 1.3rem; color: var(--teal); font-variant-numeric: tabular-nums; }
  .field input[type="range"] { width: 100%; accent-color: var(--teal); }
  .field select {
    width: 100%; height: 50px; padding: 0 44px 0 14px;
    border: 1px solid var(--rule); border-radius: 8px;
    color: var(--ink); font: inherit; font-size: 15px; line-height: 1.2;
    appearance: none; -webkit-appearance: none;
    background-color: var(--cream);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230B3A3C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center;
  }
  .field select:hover { border-color: rgba(11, 58, 60, 0.35); }
  .calc-out { border-radius: 8px; background: var(--teal); color: var(--on-dark); padding: 26px; }
  .calc-figure + .calc-figure { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--rule-dark); }
  .calc-figure b {
    display: block; font-family: var(--serif); font-weight: 400;
    font-size: clamp(2.1rem, 4vw, 3rem); line-height: 1; font-variant-numeric: tabular-nums;
  }
  .calc-figure span { display: block; margin-top: 8px; font-size: 14px; color: var(--on-dark-soft); }
  .calc-note { margin-top: 24px; font-size: 13px; color: var(--on-dark-soft); }

  @media (prefers-reduced-motion: reduce) {
    .msg { opacity: 1; transform: none; }
    .typing i { animation: none; }
  }

  .collage {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: clamp(72px, 9vw, 128px) calc(-1 * var(--pad)) 0;
  }
  @media (min-width: 900px) { .collage { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  .cell { position: relative; aspect-ratio: 3 / 4; }
  .cell .photo { position: absolute; }
  .c1 .photo, .c4 .photo { inset: 0; }
  .c2 .photo { left: 8%; right: 0; top: 34%; bottom: 0; }
  .c3 .photo { left: 4%; right: 8%; top: 18%; bottom: 0; }

  /* Crops that keep each subject in frame */
  .hero .photo img { object-position: 50% 55%; }
  .c1 img { object-position: 4% 50%; }
  .c2 img { object-position: 45% 60%; }
  .c3 img { object-position: 45% 40%; }
  .c4 img { object-position: 40% 50%; }

  /* Not another inbox */
  .inbox .col { max-width: 800px; }
  .inbox h2 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); line-height: 1.02; }
  .inbox p { margin-top: clamp(30px, 3.8vw, 48px); font-size: clamp(1.0625rem, 1.55vw, 1.35rem); line-height: 1.45; }
  @media (min-width: 900px) { .inbox .col { margin-left: 6%; } }
  @media (min-width: 1100px) {
    .inbox::after { content: ""; position: absolute; top: 0; right: 0; width: 20%; height: 48%; background: var(--teal); }
  }

  /* Reimbursement */
  .pay-head { display: grid; gap: 28px; }
  @media (min-width: 900px) { .pay-head { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; } }
  .pay h2 { font-size: clamp(1.8rem, 3.1vw, 2.7rem); text-wrap: nowrap; }
  .pay-head p { max-width: 36em; }
  .terms { margin: clamp(64px, 8vw, 112px) 0 0; display: grid; column-gap: 72px; }
  @media (min-width: 760px) { .terms { grid-template-columns: 1fr 1fr; } }
  .term { border-top: 1px solid var(--rule); padding: 22px 0 28px; }
  .term dt { font-weight: 600; color: var(--teal); }
  .term dd { margin: 4px 0 0; }

  /* Who it's for */
  .who h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); }
  .who-grid { display: grid; gap: 56px; margin-top: clamp(48px, 6vw, 80px); }
  @media (min-width: 800px) { .who-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
  .who h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; }
  .who-grid p { margin-top: 16px; max-width: 30em; }
  .specialty { margin-top: clamp(56px, 7vw, 88px); padding-top: 28px; border-top: 1px solid var(--rule); }
  .specialty h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; }
  .specialty p { margin-top: 16px; max-width: 30em; }

  /* Closing and footer in one panel: wordmark behind, everything else on one card */
  .endpanel { margin-top: var(--gap); padding: var(--pad); }
  .endcard {
    position: relative; z-index: 1; max-width: var(--max); margin: 0 auto;
    padding: clamp(30px, 5vw, 64px); border-radius: 8px;
    background: var(--cream); color: var(--ink);
  }
  .endlogo { height: 26px; width: auto; }
  .endcard h2 { margin-top: clamp(30px, 5vw, 52px); color: var(--teal); font-size: clamp(2rem, 3.7vw, 3.3rem); line-height: 1.1; max-width: 24ch; }
  .endcard p { margin-top: 26px; max-width: 32em; color: var(--ink-soft); }
  .endcard .btn { margin-top: 32px; }
  .endrow {
    margin-top: clamp(36px, 5vw, 56px); padding-top: 22px; border-top: 1px solid var(--rule);
    display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; color: var(--ink-soft);
  }
  .endrow a { color: var(--ink-soft); text-underline-offset: 4px; }
  .endrow a:hover { color: var(--teal); }
