/* Homepage + shared marketing chrome.
   :root tokens first so later pages can reuse the same variables. */
:root {
  --ink: #12213C;
  --blue-dark: #124686;
  --blue: #1758A8;
  --blue-light: #1C6ACA;
  --orange: #FD6321;
  --orange-2: #F06B21;
  --orange-hover: #FD700E;
  --orange-deep: #C4501A;
  --orange-soft: #FFA774;
  --orange-pale: #FFD0B3;
  --orange-tint: #FDEDE4;
  --text: #474747;
  --gray-blue: #96A7BA;
  --blue-mist: #C7D5EE;
  --line: #DBDBDB;
  --line-2: #E5E7EB;
  --line-3: #E9EDF2;
  --bg-2: #F5F8FC;
  --bg-3: #F9FAFB;
  --bg-4: #EDF1F7;
  --white: #FFFFFF;
  --black: #000000;
  --modal-title: #1A1A1A;
  --modal-muted: #999999;
  --modal-sub: #666666;
  --modal-border: #E5E5E5;
  --modal-focus: #1086BE;
  --modal-focus-bg: #F8FCFF;
  --modal-line: #EEF0F3;

  --ink-rgb: 18, 33, 60;
  --blue-dark-rgb: 18, 70, 134;
  --blue-rgb: 23, 88, 168;
  --blue-light-rgb: 28, 106, 202;
  --orange-rgb: 253, 99, 33;
  --white-rgb: 255, 255, 255;
  --black-rgb: 0, 0, 0;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1200px;
  --gutter: 24px;
  --section: clamp(80px, 10vw, 128px);
  --r-panel: 20px;
  --r-card: 14px;
  --r-ctl: 10px;
  --lift: 0 40px 80px -34px rgba(var(--blue-dark-rgb), .45);
  --lift-dark: 0 40px 80px -30px rgba(var(--ink-rgb), .6);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --logo-w: 172px;
  --logo-w-sm: 150px;
  --logo-w-foot: 180px;
}

*,
*::before,
*::after {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%
}

body {
  margin: 0;
  font-family: var(--font);
  font-optical-sizing: auto;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility
}

.num,
.meter-row b,
.c-log time,
.gtable td.n,
.f-big,
.f-rows dd,
.est-out dd,
.q-head b,
.lic-amt,
.crow input,
.money input {
  font-variant-numeric: tabular-nums
}

img,
svg {
  display: block;
  max-width: 100%
}

a {
  color: var(--blue);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--orange);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--r-ctl);
  font-weight: 600;
  text-decoration: none
}

.skip:focus {
  top: 12px
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter)
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap
}

.nw {
  white-space: nowrap
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  margin: 0;
  text-wrap: balance
}

h1 {
  font-size: clamp(36px, min(4.3vw, 7.4vh), 60px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -.035em
}

h2 {
  font-size: clamp(30px, 3.3vw, 44px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.03em
}

h3 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.015em
}

p {
  margin: 0
}

.lead {
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--text);
  max-width: 62ch
}

.on-dark {
  color: var(--blue-mist)
}

.on-dark h2,
.on-dark h3,
.on-dark strong {
  color: var(--white)
}

.on-dark .lead,
.on-dark p {
  color: var(--blue-mist)
}

.section {
  padding: var(--section) 0
}

.bg-2 {
  background: var(--bg-2)
}

/* Visitor type: the tax-firm view is the default; "For my company" shows the company view.
   Pure CSS, so it works without JavaScript. JS adds memory, links between views and transitions. */
body:has(#who-biz:checked) .m-firm {
  display: none !important
}

body:not(:has(#who-biz:checked)) .m-biz {
  display: none !important
}

@supports not selector(:has(a)) {
  html[data-mode="biz"] .m-firm {
    display: none !important
  }

  html:not([data-mode="biz"]) .m-biz {
    display: none !important
  }
}

.mode-ready main .m-firm,
.mode-ready main .m-biz {
  animation: modeIn .5s var(--ease) both
}

.mode-ready .site-head .m-firm,
.mode-ready .site-head .m-biz {
  animation: fadeIn .35s var(--ease) both
}

@keyframes modeIn {
  from {
    opacity: 0;
    transform: translateY(10px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.swap {
  animation: swapIn .45s var(--ease)
}

@keyframes swapIn {
  from {
    opacity: 0;
    filter: blur(3px)
  }

  to {
    opacity: 1;
    filter: none
  }
}

/* Buttons and links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: var(--r-ctl);
  font: 600 16px/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
  white-space: nowrap
}

.btn-primary {
  background: var(--orange);
  color: var(--ink)
}

.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -12px rgba(var(--orange-rgb), .7)
}

.btn-line {
  color: var(--ink);
  border-color: var(--ink);
  background: transparent
}

.btn-line:hover {
  background: var(--ink);
  color: var(--white)
}

.btn-sm {
  min-height: 42px;
  padding: 0 16px;
  font-size: 15px
}

.btn:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none
}

.textlink {
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  background: linear-gradient(var(--orange), var(--orange)) 0 100%/100% 2px no-repeat, linear-gradient(currentColor, currentColor) 0 100%/0 2px no-repeat;
  padding-bottom: 3px;
  transition: background-size .35s var(--ease)
}

.textlink:hover {
  background-size: 0 2px, 100% 2px
}

.ph {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
  background: var(--orange-tint);
  border: 1.5px dashed var(--orange);
  border-radius: 8px;
  padding: 2px 8px;
  vertical-align: middle;
  white-space: normal
}

.ph.dark,
.on-dark .ph {
  color: var(--orange-pale);
  background: rgba(var(--orange-rgb), .12)
}

.src-note {
  font-size: 13.5px;
  color: var(--text)
}

.on-dark .src-note {
  color: var(--blue-mist)
}

.tk {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
  display: grid;
  place-items: center;
  flex: none
}

.tk svg {
  width: 11px;
  height: 11px
}

.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px
}

.ticks li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--text)
}

.ticks .tk {
  margin-top: 1px
}

/* Header */
.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease)
}

.site-head.scrolled {
  background: rgba(var(--blue-dark-rgb), .92);
  backdrop-filter: saturate(1.3) blur(14px);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  box-shadow: 0 1px 0 rgba(var(--white-rgb), .14)
}

.head-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 32px;
  height: 76px;
  transition: height .25s var(--ease)
}

.site-head.scrolled .head-row {
  height: 64px
}

.brand {
  display: block;
  flex: none;
  flex-shrink: 0;
  width: var(--logo-w);
  line-height: 0
}

.brand-logo,
.brand svg {
  width: var(--logo-w);
  height: auto;
  max-width: none;
  overflow: visible;
  display: block
}

.brand svg .u,
.brand svg .w {
  transform-box: fill-box;
  transform-origin: left center
}

.js .brand svg .u {
  animation: wipe 1s .15s var(--ease) both
}

.js .brand svg .w {
  animation: fadeIn .6s .95s var(--ease) both
}

@keyframes wipe {
  from {
    transform: scaleX(0)
  }

  to {
    transform: scaleX(1)
  }
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 28px;
  margin-left: auto
}

.nav > a,
.nav-resources-toggle {
  color: var(--line-3);
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  background: transparent;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: border-color .18s var(--ease), color .18s var(--ease)
}

.nav > a:hover,
.nav-resources:hover .nav-resources-toggle,
.nav-resources:focus-within .nav-resources-toggle,
.nav-resources.is-current .nav-resources-toggle {
  color: var(--white);
  border-bottom-color: var(--orange)
}

.nav-resources {
  position: relative
}

.nav-resources-toggle svg {
  display: block;
  transition: transform .18s var(--ease)
}

.nav-resources:hover .nav-resources-toggle svg,
.nav-resources:focus-within .nav-resources-toggle svg {
  transform: rotate(180deg)
}

.resources-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: auto;
  right: 0;
  width: 380px;
  transform: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 60;
  transition: opacity .18s var(--ease), visibility .18s var(--ease)
}

.nav-resources:hover .resources-dropdown,
.nav-resources:focus-within .resources-dropdown,
.nav-resources.is-open .resources-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto
}

.resources-dropdown-panel {
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: 0 18px 44px rgba(var(--blue-dark-rgb), .18);
  padding: 8px
}

.resources-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px;
  border-radius: var(--r-ctl);
  text-decoration: none;
  color: inherit;
  white-space: normal;
  border-bottom: 0;
  transition: background .15s var(--ease)
}

.resources-dropdown-item:hover {
  background: var(--bg-2);
  color: inherit;
  border-bottom-color: transparent
}

.resources-dropdown-item h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink)
}

.resources-dropdown-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text)
}

.resources-icon-box {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
  display: grid;
  place-items: center
}

.resources-icon-box--blue {
  background: rgba(var(--blue-dark-rgb), .08)
}

.resources-icon-box--orange {
  background: rgba(var(--orange-rgb), .1)
}

.head-cta {
  display: flex;
  flex-wrap: nowrap;
  flex-shrink: 0;
  align-items: center;
  gap: 18px
}

.head-cta .login {
  color: var(--line-3);
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: border-color .18s var(--ease), color .18s var(--ease)
}

.head-cta .login:hover {
  color: var(--white);
  border-bottom-color: var(--orange)
}

.site-head.is-compact .nav,
.site-head.is-compact .head-cta .login,
.site-head.is-compact .menu-btn {
  display: none !important
}

.site-head.is-compact .head-cta {
  margin-left: auto
}

.menu-btn {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1.5px solid rgba(var(--white-rgb), .4);
  color: var(--white);
  border-radius: var(--r-ctl);
  height: 42px;
  padding: 0 14px;
  font: 600 15px var(--font);
  cursor: pointer
}

@media (max-width:1120px) {

  .nav,
  .head-cta .login {
    display: none
  }

  .menu-btn {
    display: inline-flex;
    align-items: center
  }

  .head-cta {
    margin-left: 12px
  }

  .site-head.open {
    background: var(--blue-dark)
  }

  .site-head.open .nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px var(--gutter) 24px;
    background: var(--blue-dark);
    box-shadow: 0 1px 0 rgba(var(--white-rgb), .14)
  }

  .site-head.open .nav > a,
  .site-head.open .nav-resources-toggle {
    font-size: 18px;
    padding: 10px 0
  }

  .site-head.open .nav-resources {
    width: 100%
  }

  .site-head.open .nav-resources-toggle {
    width: 100%;
    justify-content: flex-start
  }

  .site-head.open .resources-dropdown {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    padding: 0
  }

  .site-head.open .resources-dropdown-panel {
    background: transparent;
    box-shadow: none;
    padding: 0 0 8px
  }

  .site-head.open .resources-dropdown-item {
    padding: 10px 0
  }

  .site-head.open .resources-dropdown-item h3 {
    color: var(--white)
  }

  .site-head.open .resources-dropdown-item p {
    color: var(--line-3)
  }

  .site-head.open .resources-icon-box--blue,
  .site-head.open .resources-icon-box--orange {
    background: rgba(var(--white-rgb), .12)
  }

  .site-head.open .resources-icon-box svg path,
  .site-head.open .resources-icon-box svg circle {
    stroke: var(--white)
  }

  .site-head.open .resources-icon-box svg circle[fill] {
    fill: var(--white)
  }
}

@media (max-width:560px) {
  .head-cta .btn {
    display: none
  }

  .site-head.is-compact .head-cta .btn {
    display: inline-flex
  }

  .brand-logo,
  .brand svg {
    width: var(--logo-w-sm)
  }
}

/* Hero */
.hero {
  position: relative;
  background: var(--blue-dark);
  color: var(--white);
  overflow: hidden;
  padding: calc(76px + clamp(28px, 3.4vw, 48px)) 0 clamp(96px, 9vw, 128px);
  isolation: isolate
}

.hero::before {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(46% 58% at 74% 40%, rgba(var(--blue-light-rgb), .85), transparent 70%),
    radial-gradient(640px 380px at 98% -4%, rgba(var(--orange-rgb), .22), transparent 62%),
    radial-gradient(52% 60% at -4% 104%, rgba(var(--blue-rgb), .75), transparent 70%)
}

.js .hero::before {
  animation: breathe 9s ease-in-out infinite alternate
}

@keyframes breathe {
  from {
    opacity: .82;
    transform: scale(1)
  }

  to {
    opacity: 1;
    transform: scale(1.04)
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(var(--white-rgb), .12) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(60% 72% at 74% 42%, #000 25%, transparent 78%);
  mask-image: radial-gradient(60% 72% at 74% 42%, #000 25%, transparent 78%)
}

.hero-base {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 140px;
  pointer-events: none;
  z-index: -1
}

.hero-base path {
  fill: none;
  stroke: url(#tv-trace);
  stroke-width: 2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 0
}

.js .hero-base path {
  animation: draw 2s 1.6s var(--ease) both
}

@keyframes draw {
  from {
    stroke-dashoffset: 1
  }

  to {
    stroke-dashoffset: 0
  }
}

/* Top-aligned, with the height reserved on desktop, so nothing moves while fonts and the scene settle */
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: start
}

@media (min-width:1081px) {
  .hero-grid {
    min-height: 770px
  }

  .hero-copy {
    padding-top: 18px
  }
}

/* The switch stays early in the HTML (it decides the view before the page paints) but shows under the buttons */
.hero-copy {
  display: flex;
  flex-direction: column
}

.hero-copy>.hero-main {
  order: 1
}

.hero-copy>.who {
  order: 2
}

.hero-copy>.hero-facts {
  order: 3
}

.hero h1 {
  color: var(--white);
  max-width: 16ch
}

.js .hero h1 {
  animation: rise .9s .1s var(--ease) both
}

@keyframes rise {
  from {
    clip-path: inset(0 0 100% 0);
    transform: translateY(26px)
  }

  to {
    clip-path: inset(0 0 -12% 0);
    transform: none
  }
}

.js .hero .after-h1 {
  animation: fadeUp .7s var(--ease) both
}

.js .hero .after-h1.d1 {
  animation-delay: .35s
}

.js .hero .after-h1.d2 {
  animation-delay: .5s
}

.js .hero .after-h1.d3 {
  animation-delay: .62s
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.who {
  margin: 24px 0 0;
  border: 0;
  padding: 0;
  min-width: 0
}

.seg2 {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  border: 1.5px solid rgba(var(--white-rgb), .35);
  border-radius: 12px;
  padding: 3px;
  isolation: isolate;
  background: rgba(var(--ink-rgb), .25)
}

.seg2::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: 9px;
  background: var(--orange);
  transition: transform .35s var(--ease)
}

.seg2:has(label:nth-of-type(2) input:checked)::before {
  transform: translateX(100%)
}

.seg2 label {
  position: relative;
  display: flex
}

.seg2 input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer
}

.seg2 span {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  transition: color .25s var(--ease);
  cursor: pointer
}

.seg2 input:checked+span {
  color: var(--ink);
  background: var(--orange);
  border-radius: 9px;
  transition: color .25s var(--ease), background-color 0s .32s
}

.seg2 input:focus-visible+span {
  outline: 3px solid var(--white);
  outline-offset: 1px;
  border-radius: 8px
}

.who .seg2 span {
  padding: 9px 18px;
  font-size: 14.5px
}

.hero-sub {
  font-size: 18.5px;
  line-height: 1.55;
  color: var(--line-3);
  max-width: 47ch;
  margin: 24px 0 28px;
  text-wrap: pretty
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  align-items: center
}

.cta-row .textlink {
  color: var(--white)
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--line-3)
}

.hero-note b {
  font-weight: 600;
  color: var(--white)
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 28px 0 0;
  max-width: 540px;
  border-top: 1px solid rgba(var(--white-rgb), .22)
}

.hero-facts div {
  padding: 14px 14px 0 0
}

.hero-facts div+div {
  padding-left: 14px;
  border-left: 1px solid rgba(var(--white-rgb), .22)
}

.hero-facts dt {
  font-size: 13.5px;
  color: var(--blue-mist);
  margin-bottom: 3px
}

.hero-facts dd {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  color: var(--white)
}

@media (max-width:1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 52px
  }

  .hero h1 {
    max-width: 18ch
  }
}

@media (max-width:480px) {
  .who .seg2 {
    display: grid;
    width: 100%
  }

  .who .seg2 span {
    padding: 9px 8px;
    font-size: 14px;
    line-height: 1.25;
    white-space: normal
  }
}

@media (max-width:420px) {
  .hero-facts dt {
    font-size: 12.5px
  }

  .hero-facts dd {
    font-size: 14.5px
  }

  .hero-facts div {
    padding-right: 10px
  }

  .hero-facts div+div {
    padding-left: 10px
  }
}

/* Hero scene: layered, with depth */
.scene {
  position: relative;
  margin: 0;
  min-height: var(--scene-h, 770px);
  --mx: 0;
  --my: 0
}

.layer {
  position: absolute;
  transform: translate3d(calc(var(--mx) * var(--d) * 14px), calc(var(--my) * var(--d) * 10px), 0);
  transition: transform .5s var(--ease)
}

.l-doc {
  --d: .35;
  top: 58px;
  right: -34px;
  width: 250px;
  z-index: 1
}

.l-src {
  --d: .8;
  top: 0;
  left: 0;
  width: calc(100% - 96px);
  z-index: 3
}

.l-console {
  --d: .6;
  top: 96px;
  left: 0;
  width: calc(100% - 96px);
  z-index: 2
}

.l-front {
  --d: 1.2;
  top: var(--front-top, 510px);
  right: -18px;
  width: 300px;
  z-index: 4
}

.paper {
  background: var(--white);
  border-radius: 8px;
  padding: 20px 20px 22px;
  box-shadow: 0 30px 60px -28px rgba(var(--ink-rgb), .6);
  transform: rotate(5deg);
  transform-origin: top left
}

.paper-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 3px solid var(--blue)
}

.paper-top i {
  display: block;
  width: 92px;
  height: 10px;
  border-radius: 5px;
  background: var(--blue-mist)
}

.seal {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  display: grid;
  place-items: center;
  align-content: center;
  flex: none;
  color: var(--orange-deep);
  font-size: 9.5px;
  font-weight: 700;
  text-align: center;
  line-height: 1.15;
  background: var(--white);
  transition: opacity .2s var(--ease), transform .55s cubic-bezier(.34, 1.56, .64, 1)
}

.seal svg {
  width: 14px;
  height: 14px;
  margin: 0 auto 1px
}

.seal svg path {
  stroke: var(--orange-deep)
}

.js .unsigned .seal {
  opacity: 0;
  transform: scale(1.7) rotate(-16deg)
}

.paper-lines i {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: var(--line-3);
  margin-bottom: 9px
}

.paper-sign {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line-2);
  display: flex;
  justify-content: flex-end
}

.paper-sign svg {
  width: 110px;
  height: 36px
}

.paper-sign path {
  fill: none;
  stroke: var(--blue-dark);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset .8s var(--ease)
}

.js .is-run .paper-sign path {
  stroke-dashoffset: 1
}

.sources {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px
}

.src {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(var(--white-rgb), .1);
  border: 1px solid rgba(var(--white-rgb), .22);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  transition: border-color .4s var(--ease), background-color .4s var(--ease)
}

.src i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-blue);
  flex: none;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease)
}

.src.on {
  border-color: rgba(var(--white-rgb), .5);
  background: rgba(var(--white-rgb), .16)
}

.src.on i {
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(var(--white-rgb), .18)
}

.traces {
  display: block;
  width: 100%;
  height: 56px;
  overflow: visible
}

.traces path {
  fill: none;
  stroke: rgba(var(--white-rgb), .32);
  stroke-width: 1.5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke
}

.traces .pulse {
  stroke: var(--white);
  stroke-width: 2.4;
  stroke-dasharray: 18 600;
  stroke-dashoffset: 618;
  opacity: 0
}

.traces .pulse.go {
  animation: pulse 1.1s var(--ease) forwards
}

@keyframes pulse {
  0% {
    opacity: 1;
    stroke-dashoffset: 618
  }

  90% {
    opacity: 1
  }

  100% {
    opacity: 0;
    stroke-dashoffset: 0
  }
}

.console {
  background: var(--white);
  border-radius: var(--r-panel);
  box-shadow: var(--lift-dark);
  overflow: hidden;
  color: var(--ink)
}

.c-top {
  display: flex;
  flex-wrap: wrap;
  row-gap: 6px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line-2);
  font-size: 14.5px
}

.c-top strong {
  font-weight: 700
}

.c-top>span:first-child {
  color: var(--text)
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue-dark);
  white-space: nowrap
}

.status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue)
}

.st-run {
  display: none
}

.js .is-run .st-run {
  display: inline
}

.js .is-run .st-done {
  display: none
}

.js .is-run .status i {
  background: var(--orange);
  animation: blink 1s ease-in-out infinite
}

@keyframes blink {
  50% {
    opacity: .25
  }
}

.meter {
  padding: 14px 20px 14px;
  border-bottom: 1px solid var(--line-2);
  background: var(--bg-3)
}

.meter-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  font-size: 14.5px;
  color: var(--ink)
}

.meter-row b {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--ink)
}

.bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: var(--line-3)
}

.bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 94%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--orange) 100%);
  transition: width .25s linear
}

.gate {
  position: absolute;
  left: 80%;
  top: -8px;
  bottom: -8px;
  width: 2px;
  background: var(--ink);
  border-radius: 2px
}

.gate.hit {
  animation: gateHit .8s var(--ease)
}

@keyframes gateHit {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--orange-rgb), .8);
    transform: scaleY(1)
  }

  40% {
    box-shadow: 0 0 0 7px rgba(var(--orange-rgb), .35);
    transform: scaleY(1.35)
  }

  100% {
    box-shadow: 0 0 0 12px rgba(var(--orange-rgb), 0);
    transform: scaleY(1)
  }
}

.gate-label {
  position: relative;
  height: 18px;
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--text)
}

.gate-label span {
  position: absolute;
  top: 0
}

.gate-label span:first-child {
  left: 0
}

.gate-label span:last-child {
  left: 80%;
  transform: translateX(-50%);
  white-space: nowrap
}

.c-log {
  list-style: none;
  margin: 0;
  padding: 4px 20px 6px
}

.c-log li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-3);
  font-size: 14.5px;
  line-height: 1.38;
  color: var(--ink)
}

.c-log li:last-child {
  border-bottom: 0
}

.c-log small {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 1px
}

.c-log .ck {
  width: 20px;
  height: 20px;
  margin-top: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  transition: background-color .3s var(--ease), border-color .3s var(--ease)
}

.c-log .ck svg {
  width: 11px;
  height: 11px;
  opacity: 0
}

.c-log li.done .ck {
  background: var(--blue);
  border-color: var(--blue)
}

.c-log li.done .ck svg {
  opacity: 1
}

.c-log li.flag .ck {
  border-color: var(--orange)
}

.c-log li.flag .ck::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange)
}

.c-log em {
  font-style: normal;
  color: var(--orange-deep);
  font-weight: 600
}

.c-log time {
  font-size: 13px;
  color: var(--text);
  margin-top: 10px
}

.js .c-log li {
  opacity: .32;
  transition: opacity .4s var(--ease)
}

.js .c-log li.done,
.js .c-log li.flag {
  opacity: 1
}

.front {
  border-radius: var(--r-card);
  padding: 18px 20px;
  box-shadow: 0 30px 56px -24px rgba(var(--ink-rgb), .7);
  transition: opacity .5s var(--ease), transform .5s var(--ease)
}

.js .is-run .front {
  opacity: 0;
  transform: translateY(16px)
}

.mode-ready .front {
  animation: flipIn .6s var(--ease) both
}

@keyframes flipIn {
  from {
    opacity: 0;
    transform: perspective(900px) rotateY(-70deg)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.front-biz {
  background: var(--ink);
  color: var(--white)
}

.front-biz .f-lbl {
  font-size: 13px;
  color: var(--blue-mist);
  display: flex;
  justify-content: space-between;
  gap: 10px
}

.front-biz .f-big {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.05;
  margin: 6px 0 2px;
  color: var(--white)
}

.front-biz .f-cap {
  font-size: 13.5px;
  color: var(--blue-mist);
  margin-bottom: 10px
}

.f-rows {
  margin: 0;
  border-top: 1px solid rgba(var(--white-rgb), .14)
}

.f-rows div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(var(--white-rgb), .1);
  font-size: 14px
}

.f-rows div:last-child {
  border-bottom: 0;
  padding-bottom: 0
}

.f-rows dt {
  color: var(--blue-mist)
}

.f-rows dd {
  margin: 0;
  font-weight: 700;
  color: var(--white)
}

.f-rows .keep dd {
  color: var(--orange-soft);
  font-size: 17px
}

.front-firm {
  background: var(--white);
  color: var(--ink)
}

.front-firm .f-lbl {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text)
}

.live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
  flex: none
}

.js .live {
  animation: live 2.4s ease-in-out infinite
}

@keyframes live {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(var(--orange-rgb), .45)
  }

  50% {
    box-shadow: 0 0 0 6px rgba(var(--orange-rgb), 0)
  }
}

.front-firm .f-title {
  font-weight: 700;
  font-size: 16px;
  margin: 4px 0 10px
}

.f-q {
  list-style: none;
  margin: 0 0 12px;
  padding: 0
}

.f-q li {
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line-3);
  font-size: 13px;
  line-height: 1.35;
  margin-bottom: 6px
}

.f-q li span {
  display: block;
  font-size: 12px;
  color: var(--text);
  margin-top: 2px
}

.f-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
  padding-top: 10px;
  border-top: 1px solid var(--line-2)
}

.f-foot b {
  color: var(--ink)
}

@media (max-width:1180px) {
  .l-front {
    right: 0
  }

  .l-doc {
    right: 0
  }
}

@media (max-width:1080px) {
  .scene {
    min-height: var(--scene-h, 750px);
    max-width: 720px
  }
}

@media (max-width:700px) {
  .scene {
    min-height: 0
  }

  .layer {
    position: relative;
    transform: none !important;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: auto
  }

  .l-doc {
    display: none
  }

  .l-front {
    margin-top: -18px;
    padding: 0 14px
  }

  .sources {
    gap: 6px
  }

  .src {
    font-size: 12.5px;
    padding: 0 4px;
    height: 36px
  }

  .src i {
    display: none
  }

  .traces {
    height: 40px
  }

  .c-log li {
    font-size: 14px
  }

  .hero-sub {
    font-size: 17px
  }
}

/* Proof: the market in three sourced figures, then Occams Advisory */
.proof {
  padding: 56px 0;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line-3)
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 2fr);
  gap: 48px;
  align-items: center
}

.proof-grid+.proof-grid {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line-2)
}

.proof-h {
  font-size: 19px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink)
}

.proof-h span {
  display: block;
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  margin-top: 4px
}

.stats,
.recog {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

.stats li {
  padding: 2px 24px;
  border-left: 2px solid var(--orange)
}

.stats b {
  display: block;
  font-size: clamp(34px, 3.3vw, 44px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--blue-dark)
}

.stats li>span {
  display: block;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
  margin-top: 10px
}

.stats small {
  display: block;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text);
  margin-top: 8px
}

.recog li {
  padding: 4px 24px;
  border-left: 2px solid var(--line-2)
}

.recog b {
  display: block;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--blue-dark);
  margin-bottom: 4px
}

.recog span {
  display: block;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--text)
}

.proof .src-note {
  margin-top: 18px
}

@media (max-width:960px) {
  .proof-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px
  }
}

@media (max-width:700px) {

  .stats,
  .recog {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px
  }

  .stats li,
  .recog li {
    padding: 2px 0 2px 16px
  }
}

/* Section heads and the in-section audience switch */
.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 48px
}

.split-head h2 {
  max-width: 17ch
}

.sec-head {
  max-width: 900px;
  margin-bottom: 48px
}

.sec-head h2 {
  max-width: 24ch
}

.sec-head .lead {
  margin-top: 18px
}

@media (max-width:960px) {
  .split-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px
  }
}

.mode-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 40px
}

.mode-switch p {
  font-size: 14.5px;
  color: var(--text)
}

.mode-switch .opts {
  display: inline-flex;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 3px;
  background: var(--white)
}

.mode-switch button {
  font: 600 14.5px var(--font);
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 8px 16px;
  border-radius: 9px;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease)
}

.mode-switch button[aria-pressed="true"] {
  background: var(--blue-dark);
  color: var(--white)
}

/* Why now */
.notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--ink)
}

.notes article {
  padding: 30px 30px 4px 0
}

.notes article+article {
  padding-left: 30px;
  border-left: 1px solid var(--line)
}

.notes .big {
  font-size: clamp(40px, 4.2vw, 56px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1;
  color: var(--blue-dark);
  margin-bottom: 18px
}

.notes h3 {
  margin-bottom: 10px
}

.notes p {
  font-size: 16px;
  color: var(--text)
}

.notes p+p {
  margin-top: 12px
}

.annot {
  color: var(--orange-deep);
  font-weight: 600
}

@media (max-width:900px) {
  .notes {
    grid-template-columns: minmax(0, 1fr)
  }

  .notes article {
    padding-right: 0
  }

  .notes article+article {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line)
  }
}

/* Company: estimate */
.biz {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start
}

.biz h2 {
  max-width: 16ch
}

.biz .lead {
  margin: 20px 0 30px
}

.facts-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  border-top: 1px solid var(--line)
}

.facts-list li {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px
}

.facts-list li b {
  font-weight: 700;
  color: var(--ink)
}

.facts-list li>span {
  color: var(--text)
}

.dark-card {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-panel);
  padding: 32px;
  box-shadow: var(--lift-dark);
  position: relative;
  overflow: hidden
}

.dark-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 100% 0%, rgba(var(--blue-light-rgb), .45), transparent 70%);
  pointer-events: none
}

.dark-card>* {
  position: relative
}

.dark-card h3 {
  color: var(--white);
  font-size: 24px;
  margin-bottom: 6px
}

.dark-card .q {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--white);
  margin: 18px 0 6px
}

.dark-card .hint {
  font-size: 14px;
  color: var(--blue-mist);
  margin-bottom: 12px
}

.money {
  display: flex;
  align-items: center;
  border: 1.5px solid rgba(var(--white-rgb), .35);
  border-radius: var(--r-ctl);
  background: rgba(var(--white-rgb), .05);
  transition: border-color .2s var(--ease)
}

.money:focus-within {
  border-color: var(--orange)
}

.money span {
  padding: 0 0 0 16px;
  font-size: 22px;
  font-weight: 600;
  color: var(--blue-mist)
}

.money input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  font: 800 26px var(--font);
  letter-spacing: -.02em;
  padding: 14px 14px 14px 6px;
  outline: none
}

.est-out {
  margin: 22px 0 0
}

.est-out div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(var(--white-rgb), .12)
}

.est-out dt {
  color: var(--blue-mist);
  font-size: 15px
}

.est-out dd {
  margin: 0;
  font-weight: 700;
  font-size: 19px;
  color: var(--white);
  text-align: right
}

.est-out .keep dd {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--orange-soft)
}

.est-note {
  font-size: 13px;
  color: var(--blue-mist);
  margin: 16px 0 22px
}

.est-warn {
  font-size: 14px;
  color: var(--orange-pale);
  margin-top: 10px
}

.est-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center
}

.est-actions .textlink {
  color: var(--white)
}

@media (max-width:960px) {
  .biz {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px
  }
}

@media (max-width:560px) {
  .facts-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px
  }

  .dark-card {
    padding: 24px 20px
  }
}

/* Agents */
.agents {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px
}

.agent {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--r-card);
  padding: 26px 22px 20px;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease)
}

.agent::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transform-origin: left center;
  transition: transform .7s var(--ease)
}

.js .agent:not(.lit)::before {
  transform: scaleX(0)
}

.agent:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px -28px rgba(var(--ink-rgb), .45)
}

.agent .ix {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px
}

.agent .ix::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease)
}

.js .agent:not(.lit) .ix::before {
  background: var(--line)
}

.agent.lit .ix::before {
  box-shadow: 0 0 0 4px rgba(var(--orange-rgb), .16)
}

.agent h3 {
  margin-bottom: 8px
}

.agent .d {
  font-size: 15px;
  color: var(--text);
  flex: 1
}

.handoff {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink)
}

.handoff b {
  font-weight: 600;
  color: var(--orange-deep)
}

.agent.you {
  background: var(--ink);
  border-color: var(--ink)
}

.agent.you::before {
  background: var(--orange)
}

.agent.you .ix {
  color: var(--orange-soft)
}

.agent.you h3 {
  color: var(--white)
}

.agent.you .d {
  color: var(--blue-mist)
}

.agent.you .handoff {
  border-top-color: rgba(var(--white-rgb), .22);
  color: var(--white)
}

.agent.you .handoff b {
  color: var(--orange-soft)
}

@media (max-width:1080px) {
  .agents {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media (max-width:560px) {
  .agents {
    grid-template-columns: minmax(0, 1fr)
  }
}

.division {
  margin-top: 72px
}

.division-h {
  font-size: clamp(24px, 2.5vw, 32px);
  letter-spacing: -.025em;
  margin-bottom: 10px
}

.division>.lead {
  margin-bottom: 28px
}

.division-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px
}

.div-card {
  border-radius: var(--r-panel);
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line-2)
}

.div-card .who-lbl {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px
}

.div-card h4 {
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -.015em;
  margin-bottom: 18px
}

.div-card.dark {
  background: var(--blue-dark);
  border-color: var(--blue-dark)
}

.div-card.dark .who-lbl {
  color: var(--blue-mist)
}

.div-card.dark h4 {
  color: var(--white)
}

.div-card.dark .ticks li {
  color: var(--line-3)
}

.pledge {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  border-radius: var(--r-card);
  background: var(--white);
  border: 1px solid var(--line-2);
  font-size: 17.5px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--ink)
}

.pledge svg {
  flex: none;
  width: 84px;
  height: 28px
}

.pledge path {
  fill: none;
  stroke: var(--blue-dark);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.2s var(--ease)
}

.js .pledge:not(.lit) path {
  stroke-dashoffset: 1
}

@media (max-width:860px) {
  .division-grid {
    grid-template-columns: minmax(0, 1fr)
  }

  .pledge {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px
  }
}

/* How one study moves */
.flow {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 64px;
  align-items: start
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  --p: 0
}

.steps::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: var(--line-3)
}

.steps::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 20px;
  width: 2px;
  height: calc((100% - 40px) * var(--p));
  background: linear-gradient(var(--blue), var(--orange));
  transition: height .15s linear
}

.step {
  position: relative;
  z-index: 1;
  min-height: 38vh;
  padding: 0 0 40px 64px
}

.step:last-child {
  min-height: 22vh;
  padding-bottom: 0
}

.step .node {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  transition: all .3s var(--ease)
}

.step.is-active .node,
.step.is-past .node {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink)
}

.step.is-active .node {
  box-shadow: 0 0 0 6px rgba(var(--orange-rgb), .16)
}

.step button.step-title {
  all: unset;
  cursor: pointer;
  display: block;
  font-family: var(--font);
  font-size: 23px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--text);
  padding-top: 5px;
  transition: color .3s var(--ease)
}

.step button.step-title:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
  border-radius: 4px
}

.step.is-active button.step-title {
  color: var(--ink)
}

.step p {
  margin-top: 10px;
  color: var(--text);
  max-width: 46ch
}

.stage-wrap {
  position: sticky;
  top: 110px
}

.stage {
  position: relative;
  background: var(--ink);
  border-radius: var(--r-panel);
  padding: 28px;
  color: var(--white);
  box-shadow: var(--lift-dark);
  overflow: hidden
}

.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at 85% 0%, rgba(var(--blue-light-rgb), .45), transparent 70%);
  pointer-events: none
}

.stage-top {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-size: 14px;
  color: var(--blue-mist)
}

.stage-top strong {
  color: var(--white);
  font-weight: 700
}

.view {
  position: relative;
  display: none
}

.view.is-active {
  display: block;
  min-height: 330px;
  animation: viewIn .45s var(--ease)
}

@keyframes viewIn {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.stage .meter {
  background: transparent;
  border: 0;
  padding: 18px 0 0
}

.stage .meter-row,
.stage .meter-row b {
  color: var(--white)
}

.stage .bar {
  background: rgba(var(--white-rgb), .14)
}

.stage .gate {
  background: var(--white)
}

.stage .gate-label {
  color: var(--blue-mist)
}

.progress {
  display: flex;
  gap: 6px;
  margin-top: 16px
}

.progress button {
  flex: 1;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
  padding: 0;
  transition: background-color .3s var(--ease)
}

.progress button[aria-current="step"] {
  background: var(--orange)
}

.pill {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(var(--white-rgb), .12);
  color: var(--white);
  white-space: nowrap
}

.pill.call {
  background: var(--orange);
  color: var(--ink)
}

.invite {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--r-card);
  padding: 20px 22px;
  box-shadow: 0 24px 44px -26px rgba(var(--black-rgb), .6)
}

.inv-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line-2)
}

.inv-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--blue-dark);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -.02em;
  flex: none
}

.inv-head strong {
  display: block;
  font-size: 15px
}

.inv-head small {
  display: block;
  font-size: 13px;
  color: var(--text)
}

.inv-subj {
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 6px
}

.inv-body {
  font-size: 14.5px;
  color: var(--text);
  margin-bottom: 14px
}

.inv-btn {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 9px;
  background: var(--blue-dark);
  color: var(--white);
  font-weight: 600;
  font-size: 14px
}

.chips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.chip-src {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--r-card);
  background: rgba(var(--white-rgb), .07);
  border: 1px solid rgba(var(--white-rgb), .12);
  font-size: 15px
}

.chip-src span {
  color: var(--blue-mist);
  font-size: 13px
}

.okdot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange);
  display: grid;
  place-items: center;
  flex: none
}

.okdot svg {
  width: 10px;
  height: 10px
}

.consent {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-card);
  background: rgba(var(--orange-rgb), .12);
  border: 1px solid rgba(var(--orange-rgb), .45);
  font-size: 14.5px;
  color: var(--orange-pale)
}

.rows {
  list-style: none;
  margin: 0;
  padding: 0
}

.rows li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(var(--white-rgb), .1);
  font-size: 15px
}

.rows li:last-child {
  border-bottom: 0
}

.rows small {
  display: block;
  color: var(--blue-mist);
  font-size: 13px
}

.v-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--blue-mist)
}

.gtable {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px
}

.gtable th,
.gtable td {
  text-align: left;
  padding: 9px 6px;
  border-bottom: 1px solid rgba(var(--white-rgb), .1)
}

.gtable th {
  font-weight: 600;
  color: var(--blue-mist);
  font-size: 12.5px
}

.gtable td.n,
.gtable th.n {
  text-align: right
}

.gtable td .pill {
  font-size: 11.5px;
  padding: 2px 8px
}

#view-3.is-active tbody tr {
  animation: rowIn .5s var(--ease) both;
  animation-delay: calc(var(--i) * 240ms)
}

@keyframes rowIn {
  from {
    opacity: 0;
    transform: translateX(-18px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.c-sum {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(var(--white-rgb), .12);
  font-size: 13.5px;
  color: var(--blue-mist)
}

.c-sum b {
  color: var(--white);
  font-weight: 700
}

.q-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--blue-mist)
}

.q-head strong {
  color: var(--white)
}

.q-head b {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--white)
}

.queue-item {
  padding: 14px 16px;
  border-radius: var(--r-card);
  background: rgba(var(--white-rgb), .06);
  border: 1px solid rgba(var(--white-rgb), .12);
  margin-bottom: 12px;
  transition: background-color .3s var(--ease), border-color .3s var(--ease)
}

.queue-item.decided {
  background: rgba(var(--white-rgb), .03);
  border-color: rgba(var(--white-rgb), .2)
}

.queue-item .q {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px
}

.queue-item .ev {
  font-size: 13.5px;
  color: var(--blue-mist);
  margin-bottom: 10px
}

.queue-item .acts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.qbtn {
  font: 600 13.5px var(--font);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1.5px solid rgba(var(--white-rgb), .35);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease)
}

.qbtn:hover {
  border-color: var(--white)
}

.qbtn[aria-pressed="true"] {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink)
}

.qout {
  font-size: 13px;
  color: var(--orange-pale);
  margin-top: 8px
}

.signoff {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px
}

.signoff span {
  font-size: 13.5px;
  color: var(--blue-mist)
}

.walk {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px
}

@media (max-width:960px) {
  .flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px
  }

  .stage-wrap {
    position: sticky;
    top: 72px;
    z-index: 5;
    order: -1
  }

  .stage {
    padding: 20px
  }

  .step {
    min-height: 54vh
  }
}

@media (max-width:560px) {
  .chip-src {
    padding: 10px 12px;
    font-size: 14px
  }

  .stage {
    max-height: 60vh;
    overflow: auto
  }

  .view.is-active {
    min-height: 0
  }

  .step button.step-title {
    font-size: 21px
  }
}

.after-sign {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--r-card);
  background: rgba(var(--orange-rgb), .12);
  border: 1px solid rgba(var(--orange-rgb), .45);
  font-size: 14px;
  line-height: 1.5;
  color: var(--orange-pale)
}

.after-sign[hidden] {
  display: none
}

.after-sign .textlink {
  color: var(--white)
}

/* Next step: the call to action at the end of the walkthrough */
.next-step {
  position: relative;
  margin-top: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 48px;
  align-items: center;
  padding: 36px 40px;
  border-radius: var(--r-panel);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--lift-dark)
}

.next-step::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(60% 130% at 100% 0%, rgba(var(--blue-light-rgb), .5), transparent 70%), radial-gradient(40% 100% at 0% 100%, rgba(var(--orange-rgb), .16), transparent 70%)
}

.next-step h3 {
  color: var(--white);
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: -.025em;
  margin-bottom: 8px
}

.next-step p {
  font-size: 16px;
  color: var(--blue-mist);
  max-width: 60ch
}

.next-acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px
}

.next-acts .textlink {
  color: var(--white)
}

.next-step .proofline {
  grid-column: 1/-1;
  padding-top: 16px;
  border-top: 1px solid rgba(var(--white-rgb), .14);
  font-size: 13.5px;
  max-width: none
}

@media (max-width:860px) {
  .next-step {
    grid-template-columns: minmax(0, 1fr);
    padding: 28px 24px;
    margin-top: 48px
  }
}

/* Proof line: one sentence of evidence beside a call to action */
.proofline {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text)
}

.proofline b {
  font-weight: 700;
  color: var(--ink)
}

.next-step .proofline {
  color: var(--blue-mist)
}

.next-step .proofline b {
  color: var(--white)
}

/* White label */
.wl {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: center
}

.wl h2 {
  max-width: 14ch
}

.wl .lead {
  margin: 18px 0 30px
}

.field {
  margin-bottom: 22px
}

.lbl {
  display: block;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 8px
}

.input {
  width: 100%;
  font: 500 16px var(--font);
  padding: 12px 14px;
  border: 1.5px solid var(--gray-blue);
  border-radius: var(--r-ctl);
  background: var(--white);
  color: var(--ink)
}

.input:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--blue-rgb), .2)
}

.wl .input {
  max-width: 360px
}

.seg3 {
  display: inline-flex;
  flex-wrap: wrap;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 3px;
  background: var(--white)
}

.seg3 label {
  position: relative
}

.seg3 input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer
}

.seg3 span {
  display: block;
  padding: 8px 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  border-radius: 9px;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease)
}

.seg3 input:checked+span {
  background: var(--blue-dark);
  color: var(--white)
}

.seg3 input:focus-visible+span {
  outline: 3px solid var(--orange);
  outline-offset: 1px
}

.swatches {
  display: flex;
  gap: 12px
}

.sw {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1.5px var(--line);
  cursor: pointer;
  padding: 0;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease)
}

.sw:hover {
  transform: scale(1.08)
}

.sw[aria-pressed="true"] {
  box-shadow: 0 0 0 2.5px var(--ink)
}

.doc {
  --doc-accent: var(--blue);
  position: relative;
  margin: 0;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  box-shadow: var(--lift);
  padding: 42px 46px 74px;
  min-height: 520px;
  transform: rotate(-1deg);
  transition: transform .5s var(--ease)
}

.doc:hover {
  transform: rotate(0) translateY(-4px)
}

.doc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  border-bottom: 3px solid var(--doc-accent);
  padding-bottom: 16px;
  margin-bottom: 28px;
  transition: border-color .3s var(--ease)
}

.doc-logo {
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -.025em;
  line-height: 1.2;
  color: var(--doc-accent);
  transition: color .3s var(--ease)
}

.doc-co {
  font-size: 12px;
  color: var(--text);
  text-align: right;
  line-height: 1.5;
  flex: none
}

.doc-title {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-bottom: 6px;
  color: var(--ink)
}

.doc-sub {
  font-size: 14.5px;
  color: var(--text);
  margin-bottom: 22px
}

.doc-dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px 20px;
  margin: 0 0 26px;
  font-size: 14px
}

.doc-dl dt {
  color: var(--text)
}

.doc-dl dd {
  margin: 0;
  font-weight: 600
}

.doc-toc {
  list-style: none;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line-2);
  columns: 2;
  column-gap: 28px;
  font-size: 13.5px;
  color: var(--text)
}

.doc-toc li {
  padding: 3px 0;
  break-inside: avoid
}

.doc-foot {
  position: absolute;
  left: 46px;
  right: 46px;
  bottom: 24px;
  font-size: 11.5px;
  color: var(--text);
  border-top: 1px solid var(--line-3);
  padding-top: 8px
}

.wl-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 6px
}

.wl-cta p {
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--text);
  max-width: 32ch
}

@media (max-width:960px) {
  .wl {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px
  }
}

@media (max-width:560px) {
  .doc {
    padding: 26px 22px 66px;
    min-height: 0;
    transform: none
  }

  .doc:hover {
    transform: none
  }

  .doc-top {
    flex-direction: column;
    gap: 8px
  }

  .doc-co {
    text-align: left
  }

  .doc-foot {
    left: 22px;
    right: 22px
  }

  .doc-toc {
    columns: 1
  }
}

/* Section G */
.band-g {
  background: var(--blue-dark);
  position: relative;
  overflow: hidden;
  isolation: isolate
}

.band-g::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(50% 70% at 100% 0%, rgba(var(--blue-light-rgb), .6), transparent 70%);
  pointer-events: none
}

.g-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start
}

.g-grid h2 {
  max-width: 15ch
}

.g-grid .lead {
  margin-top: 22px
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 36px 0 26px;
  border-top: 1px solid rgba(var(--white-rgb), .18)
}

.facts div {
  padding: 20px 20px 20px 0;
  border-bottom: 1px solid rgba(var(--white-rgb), .18)
}

.facts div:nth-child(odd) {
  border-right: 1px solid rgba(var(--white-rgb), .18)
}

.facts div:nth-child(even) {
  padding-left: 20px
}

.facts dt {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--white);
  line-height: 1
}

.facts dd {
  margin: 8px 0 0;
  font-size: 15px;
  color: var(--blue-mist);
  line-height: 1.45
}

.screener {
  background: var(--white);
  border-radius: var(--r-panel);
  overflow: hidden;
  box-shadow: var(--lift-dark);
  color: var(--ink)
}

.screener form {
  padding: 28px
}

.screener fieldset {
  border: 0;
  margin: 0 0 20px;
  padding: 0
}

.screener legend {
  padding: 0;
  margin-bottom: 10px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink)
}

.screener .seg2 {
  border-color: var(--line);
  background: var(--bg-2)
}

.screener .seg2 span {
  padding: 8px 18px;
  font-size: 14.5px;
  min-width: 110px;
  color: var(--ink)
}

.screener .seg2 input:focus-visible+span {
  outline-color: var(--blue)
}

.verdict {
  position: relative;
  padding: 24px 28px;
  border-top: 1px solid var(--line-2);
  overflow: hidden;
  background: var(--bg-3)
}

.verdict::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--orange-tint);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .55s var(--ease)
}

.verdict.req::before {
  transform: scaleX(1)
}

.verdict>* {
  position: relative
}

.screener .verdict strong {
  display: block;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.025em;
  margin-bottom: 6px;
  color: var(--ink)
}

.screener .verdict p {
  font-size: 15px;
  color: var(--text)
}

.screener .verdict small {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--text)
}

.g-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 24px
}

.g-next .textlink {
  color: var(--white)
}

.band-trace {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  opacity: .5;
  pointer-events: none;
  z-index: -1
}

.band-trace path {
  fill: none;
  stroke: url(#tv-trace);
  stroke-width: 1.6;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke
}

@media (max-width:960px) {
  .g-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px
  }
}

/* Compare */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line-2);
  border-radius: var(--r-panel);
  background: var(--white);
  -webkit-overflow-scrolling: touch
}

.table-scroll:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px
}

.cmp {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  min-width: 860px;
  font-size: 15.5px
}

.cmp th,
.cmp td {
  padding: 18px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-3)
}

.cmp thead th {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  background: var(--bg-3);
  border-bottom: 1px solid var(--line-2)
}

.cmp tbody th {
  font-weight: 600;
  color: var(--ink);
  width: 19%;
  background: var(--white)
}

.cmp td {
  color: var(--text)
}

.cmp .us {
  background: var(--bg-2);
  color: var(--ink);
  font-weight: 600
}

.cmp thead .us {
  background: var(--blue-dark);
  color: var(--white);
  box-shadow: inset 0 3px 0 var(--orange)
}

.cmp tbody tr:last-child th,
.cmp tbody tr:last-child td {
  border-bottom: 0
}

.cmp th:first-child {
  position: sticky;
  left: 0;
  z-index: 1
}

.cmp tbody tr {
  transition: background-color .2s var(--ease)
}

.cmp tbody tr:hover td:not(.us),
.cmp tbody tr:hover th {
  background: var(--bg-3)
}

.scroll-hint {
  display: none;
  font-size: 13.5px;
  color: var(--text);
  margin-top: 10px
}

@media (max-width:900px) {
  .scroll-hint {
    display: block
  }
}

/* Pricing: four licences (from Anupam's draft), prepay toggle, full feature table, calculator */
.bill {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin: 0 0 34px
}

.bill .lbl {
  margin: 0
}

.bill .save {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--blue)
}

.founding {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px 22px;
  align-items: center;
  margin: 0 0 34px;
  padding: 18px 22px;
  border-radius: var(--r-card);
  background: var(--white);
  border: 1px solid var(--line-2);
  box-shadow: inset 4px 0 0 var(--orange)
}

.fp-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink);
  white-space: nowrap
}

.founding p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text)
}

.founding strong {
  color: var(--ink)
}

@media (max-width:860px) {
  .founding {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start
  }
}

.tiers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch
}

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--r-panel);
  padding: 30px 24px 24px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease)
}

.tier:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 48px -32px rgba(var(--ink-rgb), .45)
}

.tier h3 {
  font-size: 21px
}

.tier .for {
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--text);
  margin: 6px 0 20px;
  min-height: 42px
}

.tier .amt {
  font-size: clamp(36px, 3.2vw, 44px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1;
  color: var(--ink)
}

.tier .per {
  font-size: 14px;
  color: var(--text);
  margin-top: 8px
}

.tier .was {
  font-size: 13px;
  color: var(--text);
  min-height: 20px;
  margin-top: 2px
}

.ps {
  margin: 14px 0 18px;
  padding: 14px 0 16px;
  border-top: 1px solid var(--line-3);
  border-bottom: 1px solid var(--line-3);
  font-size: 14px;
  color: var(--text)
}

.ps b {
  font-weight: 700;
  color: var(--ink)
}

.ps i {
  position: relative;
  display: block;
  height: 5px;
  margin-top: 10px;
  border-radius: 5px;
  background: var(--line-3);
  overflow: hidden
}

.ps i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: 5px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transform-origin: left center;
  transition: transform 1.1s var(--ease)
}

.js .tiers:not(.lit) .ps i::after {
  transform: scaleX(0)
}

.tier .ticks {
  flex: 1;
  margin-bottom: 24px;
  gap: 9px
}

.tier .ticks li {
  font-size: 14.5px
}

.tier .btn {
  width: 100%
}

.tier .tag,
.fit-tag {
  position: absolute;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
  padding: 3px 11px;
  border-radius: 999px;
  white-space: nowrap
}

.tier .tag {
  top: -13px;
  left: 22px;
  background: var(--orange);
  color: var(--ink)
}

.fit-tag {
  bottom: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 0 0 3px var(--bg-2)
}

.fit-tag[hidden] {
  display: none
}

.tier.feat {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: var(--lift-dark)
}

.tier.feat h3,
.tier.feat .amt,
.tier.feat .ps b {
  color: var(--white)
}

.tier.feat .for,
.tier.feat .per,
.tier.feat .was,
.tier.feat .ps {
  color: var(--blue-mist)
}

.tier.feat .ps {
  border-color: rgba(var(--white-rgb), .14)
}

.tier.feat .ps i {
  background: rgba(var(--white-rgb), .14)
}

.tier.feat .ticks li {
  color: var(--line-3)
}

.tier.feat .btn-line {
  color: var(--white);
  border-color: rgba(var(--white-rgb), .6)
}

.tier.feat .btn-line:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink)
}

.tier.feat .fit-tag {
  background: var(--white);
  color: var(--ink)
}

.tier.is-fit {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px var(--blue), 0 26px 48px -32px rgba(var(--ink-rgb), .45)
}

.tier.feat.is-fit {
  box-shadow: 0 0 0 3px var(--blue-light), var(--lift-dark)
}

details.full {
  margin-top: 24px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-panel);
  background: var(--white);
  overflow: hidden
}

details.full>summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  padding: 20px 56px 20px 26px;
  position: relative;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink)
}

details.full>summary::-webkit-details-marker {
  display: none
}

details.full>summary small {
  font-size: 14px;
  font-weight: 500;
  color: var(--text)
}

details.full>summary::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 26px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  transition: transform .2s var(--ease)
}

details.full[open]>summary::after {
  transform: rotate(-135deg);
  top: 30px
}

details.full>summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: -3px
}

details.full .table-scroll {
  border: 0;
  border-top: 1px solid var(--line-2);
  border-radius: 0
}

.cmp td.y::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 5px;
  margin: 0 9px 3px 1px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg)
}

.addons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 56px;
  border-top: 2px solid var(--ink)
}

.addons>div {
  padding: 24px 26px 4px 0
}

.addons>div+div {
  padding-left: 26px;
  border-left: 1px solid var(--line)
}

.addons .p {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.02em;
  color: var(--blue-dark);
  margin-bottom: 8px
}

.addons h3 {
  font-size: 18px;
  margin-bottom: 6px
}

.addons p:not(.p) {
  font-size: 15px;
  color: var(--text)
}

.terms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 36px;
  margin-top: 30px;
  max-width: 900px
}

.terms p {
  font-size: 15px;
  color: var(--text)
}

.terms strong {
  color: var(--ink)
}

.econ {
  margin-top: 48px;
  max-width: 900px;
  padding: 20px 24px;
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--r-card) var(--r-card) 0;
  background: var(--white);
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--text)
}

.econ strong {
  color: var(--ink)
}

.calc {
  margin-top: 56px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 44px
}

.econ+.calc {
  margin-top: 28px
}

.calc-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 22px
}

.cfield {
  margin-top: 18px;
  border: 0;
  padding: 0
}

.cfield>label:not(.lcheck),
.cfield legend {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  padding: 0
}

.crow {
  display: flex;
  gap: 12px;
  align-items: center
}

.crow input[type=range] {
  flex: 1;
  min-width: 0;
  accent-color: var(--orange)
}

.crow input[type=number] {
  width: 130px;
  font: 700 17px var(--font);
  padding: 10px 12px;
  border-radius: var(--r-ctl);
  border: 1.5px solid rgba(var(--white-rgb), .35);
  background: rgba(var(--white-rgb), .05);
  color: var(--white)
}

.crow input[type=number]:focus {
  outline: none;
  border-color: var(--orange)
}

.cfield .lcheck {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--line-3);
  margin-top: 10px;
  cursor: pointer
}

.lcheck input {
  width: 18px;
  height: 18px;
  accent-color: var(--orange);
  margin: 0
}

.tier-name {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 4px
}

.tier-why {
  font-size: 15px;
  color: var(--blue-mist);
  margin-bottom: 14px
}

.calc-out .est-out {
  margin-top: 0
}

.calc-out .est-out div {
  padding: 11px 0
}

.calc-out .est-out .total {
  border-top: 1px solid rgba(var(--white-rgb), .45)
}

.cbar {
  display: flex;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(var(--white-rgb), .12);
  margin: 22px 0 10px
}

.cbar span {
  display: block;
  height: 100%;
  transition: width .4s var(--ease)
}

.cbar .c {
  background: var(--gray-blue)
}

.cbar .m {
  background: var(--orange)
}

.cbar-key {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--blue-mist)
}

.cbar-key i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 7px;
  vertical-align: -1px
}

@media (max-width:1080px) {
  .tiers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 34px
  }
}

@media (max-width:960px) {
  .calc {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px
  }
}

@media (max-width:820px) {

  .addons,
  .terms {
    grid-template-columns: minmax(0, 1fr)
  }

  .addons>div {
    padding-right: 0
  }

  .addons>div+div {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line)
  }
}

@media (max-width:560px) {
  .tiers {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 34px
  }

  .tier .for {
    min-height: 0
  }
}

/* Onboarding */
.plan {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  position: relative
}

.plan::before,
.plan::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 19px;
  height: 2px;
  border-radius: 2px
}

.plan::before {
  background: var(--line-3)
}

.plan::after {
  background: linear-gradient(90deg, var(--blue), var(--orange));
  transform-origin: left center;
  transition: transform 1.6s var(--ease)
}

.js .plan:not(.lit)::after {
  transform: scaleX(0)
}

.plan li {
  position: relative;
  padding-top: 54px
}

.plan li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--orange);
  box-shadow: 0 0 0 6px var(--white)
}

.plan .when {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 6px
}

.plan h3 {
  font-size: 19px;
  margin-bottom: 8px
}

.plan li p:not(.when) {
  font-size: 15.5px;
  color: var(--text)
}

@media (max-width:900px) {
  .plan {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 34px
  }

  .plan::before,
  .plan::after {
    display: none
  }
}

@media (max-width:520px) {
  .plan {
    grid-template-columns: minmax(0, 1fr)
  }
}

/* Security */
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 36px;
  border-top: 2px solid var(--ink)
}

.checks li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line)
}

.checks svg {
  width: 24px;
  height: 24px;
  margin-top: 2px
}

.checks h3 {
  font-size: 18px;
  margin-bottom: 4px
}

.checks p {
  color: var(--text);
  font-size: 15.5px
}

.sec-cta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px
}

.sec-cta p {
  font-size: 15px;
  color: var(--text)
}

.sec-cta strong {
  color: var(--ink)
}

body:has(#who-biz:checked) .checks {
  grid-template-columns: repeat(2, minmax(0, 1fr))
}

@supports not selector(:has(a)) {
  html[data-mode="biz"] .checks {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media (max-width:960px) {
  .checks {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr)
  }
}

@media (max-width:620px) {

  .checks,
  html[data-mode="biz"] .checks,
  body:has(#who-biz:checked) .checks {
    grid-template-columns: minmax(0, 1fr) !important
  }
}

/* Leadership */
.people {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 24px
}

.person figure {
  margin: 0 0 18px;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--bg-4);
  aspect-ratio: 480/560
}

.person img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .6s var(--ease)
}

.person:hover img {
  transform: scale(1.035)
}

.person h3 {
  font-size: 19px
}

.person .role {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--blue);
  margin: 4px 0 10px
}

.person p.bio {
  font-size: 15px;
  color: var(--text)
}

.person a.li {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink)
}

@media (max-width:980px) {
  .people {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width:520px) {
  .people {
    grid-template-columns: minmax(0, 1fr)
  }
}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: 64px
}

.faq .lead {
  margin-top: 18px
}

.faq-list details {
  border-bottom: 1px solid var(--line)
}

.faq-list details:first-child {
  border-top: 2px solid var(--ink)
}

.faq summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 22px 48px 22px 0
}

.faq summary::-webkit-details-marker {
  display: none
}

.faq summary h3 {
  font-size: 18.5px
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 30px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  transition: transform .2s var(--ease)
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
  top: 34px
}

.faq details p {
  margin: 0 0 22px;
  color: var(--text);
  max-width: 66ch
}

@media (max-width:900px) {
  .faq {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px
  }
}

/* Close */
.close {
  background: var(--orange);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  isolation: isolate
}

.close-trace {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  height: 160px;
  opacity: .18;
  pointer-events: none;
  z-index: -1
}

.close-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: 64px;
  align-items: center
}

.close h2 {
  color: var(--ink);
  max-width: 17ch
}

.close .lead {
  color: var(--ink);
  margin: 20px 0 26px;
  max-width: 50ch
}

.close .alt {
  font-size: 16px;
  color: var(--ink)
}

.close .alt a {
  color: var(--ink);
  font-weight: 700
}

.close .ph {
  background: rgba(var(--white-rgb), .6);
  border-color: var(--ink)
}

.offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  margin: 0 0 26px
}

.offer h3 {
  font-size: 17px;
  margin-bottom: 12px;
  color: var(--ink)
}

.offer .ticks li {
  color: var(--ink);
  font-size: 15.5px
}

.offer .tk {
  background: var(--ink)
}

.form-card {
  background: var(--white);
  border-radius: var(--r-panel);
  padding: 32px;
  box-shadow: 0 40px 80px -40px rgba(var(--ink-rgb), .55)
}

.form-card h3 {
  margin-bottom: 6px
}

.form-card .hint {
  font-size: 14.5px;
  color: var(--text);
  margin-bottom: 20px
}

.ffield {
  margin-bottom: 14px
}

.ffield label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 6px
}

select.input {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat
}

.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.fcheck {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink);
  margin: 6px 0 14px
}

.fcheck input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--orange)
}

.form-card .btn {
  width: 100%
}

.privacy {
  font-size: 13px;
  color: var(--text);
  margin-top: 14px
}

.next-list {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line-2)
}

.next-list>p {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px
}

.next-list ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: nx;
  display: grid;
  gap: 9px
}

.next-list li {
  counter-increment: nx;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text)
}

.next-list li::before {
  content: counter(nx);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-4);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 700;
  line-height: 22px;
  text-align: center
}

.form-done {
  padding: 6px 0 2px
}

.form-done[hidden] {
  display: none
}

.form-done strong {
  display: block;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 6px
}

.form-done p {
  font-size: 15px;
  color: var(--text)
}

.close .proofline {
  color: var(--ink);
  margin-top: 18px
}

.close .quote-ph {
  margin: 0 0 4px
}

@media (max-width:900px) {
  .close-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px
  }
}

@media (max-width:560px) {
  .offer {
    grid-template-columns: minmax(0, 1fr)
  }
}

@media (max-width:480px) {
  .frow {
    grid-template-columns: minmax(0, 1fr)
  }
}

/* Footer */
footer {
  background: var(--ink);
  color: var(--blue-mist);
  padding: 80px 0 48px
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .6fr));
  gap: 40px
}

.foot-brand .brand-logo,
.foot-brand svg.logo {
  width: var(--logo-w-foot);
  height: auto;
  max-width: none;
  overflow: visible
}

.foot-brand .foot-trace {
  width: 220px;
  height: 28px;
  margin: 18px 0
}

.foot-brand .foot-trace path {
  fill: none;
  stroke: url(#tv-trace);
  stroke-width: 1.8;
  stroke-linecap: round
}

.foot-brand p {
  font-size: 15px;
  max-width: 42ch
}

.foot-brand a {
  color: var(--white)
}

.foot-col p.h {
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 14px
}

.foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px
}

.foot-col a {
  color: var(--blue-mist);
  text-decoration: none;
  font-size: 15px
}

.foot-col a:hover {
  color: var(--white);
  text-decoration: underline
}

.legal {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(var(--white-rgb), .14);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto;
  gap: 24px;
  font-size: 13.5px
}

.legal p {
  max-width: 80ch
}

.legal nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end
}

.legal a {
  color: var(--blue-mist)
}

@media (max-width:900px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr
  }

  .foot-brand {
    grid-column: 1/-1
  }

  .legal {
    grid-template-columns: minmax(0, 1fr)
  }

  .legal nav {
    justify-content: flex-start
  }
}

/* Phones: one action that stays in reach once the hero has scrolled away (the header button is hidden at this width) */
.mbar {
  display: none
}

@media (max-width:560px) {
  .mbar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(var(--white-rgb), .95);
    -webkit-backdrop-filter: saturate(1.2) blur(12px);
    backdrop-filter: saturate(1.2) blur(12px);
    box-shadow: 0 -1px 0 var(--line-2), 0 -14px 30px -22px rgba(var(--ink-rgb), .5);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform .3s var(--ease), visibility 0s linear .3s
  }

  .mbar.show {
    transform: none;
    visibility: visible;
    transition: transform .3s var(--ease), visibility 0s
  }

  .mbar .btn {
    flex: 1;
    min-height: 48px
  }

  .mbar:not(.est-done) .mb-start,
  .mbar.est-done .mb-est {
    display: none !important
  }

  footer {
    padding-bottom: calc(48px + 70px + env(safe-area-inset-bottom, 0px))
  }
}

@media (max-width:560px) {
  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    padding-top: 12px;
    padding-bottom: 12px
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important
  }

  .layer {
    transform: none !important
  }
}


/* Speak-to-expert modal (existing TaxVantage) */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(var(--black-rgb), .5);
  backdrop-filter: blur(3px);
  z-index: 999;
}

.expert-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 32px;
  z-index: 1000;
  animation: modalFadeIn 0.25s ease-in-out;
  background: white;
  border-radius: 16px;
  box-shadow: rgba(var(--black-rgb), .15) 0px 10px 40px;
  min-width: 360px;
  max-width: 400px;
}

.calendly-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 32px;
  z-index: 1000;
  animation: modalFadeIn 0.25s ease-in-out;
  background: white;
  border-radius: 16px;
  box-shadow: rgba(var(--black-rgb), .15) 0px 10px 40px;
  min-width: 1050px;
  max-width: 1100px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calendly-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.modal-header h2 {
  margin-top: 0px;
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 700;
  color: var(--modal-title);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--modal-muted);
  line-height: 1;
  font-size: 30px;
  margin-top: -20px;
}

.modal-sub {
  margin: 0px 0px 24px;
  font-size: 14px;
  color: var(--modal-sub) !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: left;
}

.modal-option {
  margin-top: 18px;
  padding: 16px;
  margin-bottom: 12px;
  background: white;
  color: var(--modal-title) !important;
  border: 1px solid var(--modal-border) !important;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  transition: 0.2s;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-decoration: none;
}

.modal-option:hover {
  border-color: var(--modal-focus) !important;
  background: var(--modal-focus-bg);
}

.icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--orange-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-option h3 {
  font-weight: 700;
  margin-bottom: 4px !important;
  font-size: 16px;
  margin-top: 0;
}

.modal-option p {
  margin: 2px 0 0 !important;
  font-size: 13px;
  color: var(--modal-sub) !important;
  font-weight: 400;
  line-height: 1.4;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -48%);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* Calendly iframe container - responsive */
.calendly-frame-wrap {
  margin-top: 16px;
  height: 700px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--modal-line);
}

.calendly-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 1120px) {
  .calendly-modal {
    min-width: 0;
    width: calc(100vw - 24px);
    max-width: 100%;
    padding: 16px
  }
}

@media (max-width: 560px) {
  .calendly-frame-wrap {
    height: 600px
  }
}

body:has(.legal-hero) .mbar,
body:has(.signup-page) .mbar,
body:has(.estimator-page) .mbar {
  display: none !important
}

/* Inner legal pages */
.legal-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--blue-dark);
  color: var(--white);
  padding: calc(76px + clamp(28px, 3.4vw, 48px)) 0 56px
}

.legal-hero::before {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(46% 58% at 74% 40%, rgba(var(--blue-light-rgb), .85), transparent 70%),
    radial-gradient(640px 380px at 98% -4%, rgba(var(--orange-rgb), .22), transparent 62%),
    radial-gradient(52% 60% at -4% 104%, rgba(var(--blue-rgb), .75), transparent 70%)
}

.legal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(var(--white-rgb), .12) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(60% 72% at 74% 42%, #000 25%, transparent 78%);
  mask-image: radial-gradient(60% 72% at 74% 42%, #000 25%, transparent 78%)
}

.legal-hero .wrap {
  position: relative;
  z-index: 1
}

.legal-kicker {
  margin: 0 0 18px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange)
}

.legal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 24px 44px;
  align-items: end
}

.legal-hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -.02em
}

.legal-sub {
  margin: 0;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.45;
  color: var(--white)
}

.legal-hero .legal-updated {
  margin: 8px 0 0;
  font-size: 14.5px;
  color: var(--blue-mist)
}

.legal-page {
  background: var(--bg-2);
  padding: 64px 0 104px
}

.legal-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 40px;
  align-items: start
}

.legal-toc {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  padding: 22px 20px;
  border-radius: var(--r-panel);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line-3)
}

.legal-toc-title {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px
}

.legal-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px
}

.legal-toc a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text);
  text-decoration: none
}

.legal-toc a:hover {
  background: var(--bg-2);
  color: var(--blue)
}

.legal-toc a.is-current,
.legal-toc a[aria-current="location"] {
  background: rgba(var(--blue-rgb), .08);
  color: var(--blue);
  font-weight: 600
}

.legal-body {
  min-width: 0;
  max-width: 820px;
  padding: 44px 48px;
  border-radius: var(--r-panel);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line-3), 0 18px 44px rgba(var(--blue-rgb), .06);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text)
}

.legal-body h2 {
  margin: 48px 0 14px;
  padding-top: 32px;
  border-top: 1px solid var(--line-3);
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
  scroll-margin-top: 96px
}

.legal-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none
}

.legal-body h2.legal-part {
  color: var(--blue);
  font-size: 20px;
  letter-spacing: .08em;
  text-transform: uppercase
}

.legal-body h3 {
  margin: 30px 0 10px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--blue)
}

.legal-body h4 {
  margin: 24px 0 8px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--ink)
}

.legal-body p {
  margin: 0 0 14px
}

.legal-body ul {
  margin: 0 0 16px;
  padding-left: 22px
}

.legal-body li {
  margin-bottom: 8px
}

.legal-body li::marker {
  color: var(--orange)
}

.legal-body a {
  color: var(--blue);
  text-decoration: underline;
  overflow-wrap: anywhere
}

.legal-body a:hover {
  color: var(--orange)
}

.legal-address {
  padding: 16px 20px;
  border-radius: var(--r-card);
  background: rgba(var(--blue-rgb), .08);
  color: var(--ink)
}

.legal-body .legal-updated {
  margin-top: 8px;
  font-size: 14px;
  color: var(--gray-blue)
}

@media (max-width: 1024px) {
  .legal-hero-grid,
  .legal-grid {
    grid-template-columns: minmax(0, 1fr)
  }

  .legal-toc {
    position: static;
    max-height: none
  }

  .legal-toc ol {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr))
  }

  .legal-body {
    max-width: none;
    padding: 28px 22px
  }
}

@media (max-width: 600px) {
  .legal-hero {
    padding-bottom: 40px
  }

  .legal-hero h1 {
    font-size: 28px
  }

  .legal-sub {
    font-size: 18px
  }

  .legal-page {
    padding: 28px 0 64px
  }

  .legal-toc {
    display: none
  }

  .legal-body {
    padding: 28px 20px;
    font-size: 15px
  }

  .legal-body h2 {
    font-size: 21px
  }

  .legal-body h3 {
    font-size: 17px
  }
}

.signup-hero h1 {
  max-width: 16ch;
  margin-bottom: 14px
}

.signup-hero .legal-sub {
  max-width: 38ch
}

/* Sign-up */
.signup-page {
  background: var(--bg-2);
  padding: 56px 0 104px
}

.signup-page .register-container {
  width: 100%;
  gap: 64px;
  align-items: start;
  justify-content: space-between
}

.signup-aside {
  flex: 1 1 44%;
  min-width: 0;
  max-width: 560px;
  position: sticky;
  top: 96px
}

.signup-aside-kicker {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange)
}

.signup-aside h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
  color: var(--ink)
}

.signup-aside .lead {
  margin: 0 0 22px
}

.signup-aside .ticks {
  margin-bottom: 24px
}

.signup-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

.signup-split article {
  padding: 18px 18px 20px;
  border-radius: var(--r-card);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line-3)
}

.signup-split h3 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--blue)
}

.signup-split p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text)
}

.signup-split a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none
}

.signup-split a:hover {
  color: var(--orange)
}

.signup-aside .proofline {
  margin: 22px 0 0
}

.signup-card {
  flex: 1 1 46%;
  max-width: 520px;
  min-width: 0;
  box-shadow: 0 0 0 1px var(--line-3), 0 18px 44px rgba(var(--blue-rgb), .06)
}

.signup-card h3 {
  margin: 0 0 6px;
  font-size: 22px;
  color: var(--ink)
}

.signup-page .form-fields-container {
  display: flex;
  flex-direction: column;
  gap: 0
}

.signup-page .req {
  color: var(--orange)
}

.signup-page .error-msg {
  display: block;
  min-height: 0;
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #c62828
}

.signup-page .fcheck {
  margin: 4px 0 8px
}

.signup-page .fcheck a {
  color: var(--blue)
}

.signup-page .btn {
  width: 100%;
  margin-top: 8px
}

.signup-login {
  margin: 16px 0 0;
  text-align: center;
  font-size: 15px;
  color: var(--text)
}

.signup-login a {
  font-weight: 600;
  color: var(--orange);
  text-decoration: none
}

.signup-login a:hover {
  color: var(--orange-deep)
}

.code-inputs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 8px 0 18px
}

.code-input {
  width: 100%;
  height: 56px;
  padding: 0;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums
}

.signup-otp-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 12px
}

.signup-otp-meta .time-value,
.signup-otp-meta .resend-link {
  color: var(--orange);
  font-weight: 600;
  text-decoration: none
}

.signup-warn {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: var(--r-ctl);
  background: var(--orange-tint);
  color: var(--ink);
  font-size: 13.5px
}

.cta-large8 {
  display: block;
  margin-top: 14px;
  text-align: center;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none
}

.cta-large8:hover {
  color: var(--orange-deep)
}

.signup-page .register-container:has(.signup-success) {
  justify-content: center
}

.signup-success {
  max-width: 640px;
  flex: 1 1 auto;
  text-align: center;
  padding: 48px 40px
}

.signup-success img {
  margin: 0 auto 18px
}

.signup-success h3 {
  font-size: 28px;
  color: var(--blue)
}

.signup-success p {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.6
}

.signup-success-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px
}

.signup-success-cta .btn {
  width: auto;
  min-width: 180px;
  margin-top: 0
}

/* Home "Book a partner call" form — inline validation (form is novalidate) */
#partner-form .req {
  color: var(--orange)
}

#partner-form .ferr {
  display: block;
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #c62828
}

#partner-form .ferr:empty {
  display: none
}

#partner-form .input[aria-invalid="true"] {
  border-color: #c62828;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, .12)
}

/* Home "Start my study" card — same sign-up steps as .signup-page, laid out inside one card */
.start-signup .register-container {
  flex-direction: column;
  width: 100%
}

.start-signup .form-fields-container {
  display: flex;
  flex-direction: column
}

.start-signup .req {
  color: var(--orange)
}

.start-signup .error-msg {
  display: block;
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #c62828
}

.start-signup .error-msg:empty {
  display: none
}

.start-signup .fcheck {
  margin: 4px 0 8px;
  font-size: 14px
}

.start-signup .fcheck a {
  color: var(--blue)
}

.start-signup .btn {
  width: 100%;
  margin-top: 8px
}

.start-signup .signup-success {
  padding: 8px 0 0
}

.start-signup .signup-success h3 {
  font-size: 24px
}

.start-signup .signup-success-cta .btn {
  width: auto;
  margin-top: 0
}

@media (max-width: 900px) {
  .signup-page .register-container {
    flex-direction: column;
    gap: 28px
  }

  .signup-aside,
  .signup-card {
    max-width: none;
    flex: 1 1 auto
  }

  .signup-aside {
    position: static
  }

  .signup-card {
    order: -1
  }

  .signup-split {
    grid-template-columns: 1fr
  }
}

@media (max-width: 600px) {
  .signup-page {
    padding: 28px 0 64px
  }

  .signup-card,
  .signup-success {
    padding: 24px 20px
  }

  .code-inputs {
    gap: 6px
  }

  .code-input {
    height: 48px;
    font-size: 18px
  }

  .signup-success-cta .btn {
    width: 100%
  }
}

/* Estimator */
.estimator-hero h1 {
  max-width: 22ch
}

.estimator-hero .legal-sub {
  max-width: 48ch
}

.estimator-page {
  background: var(--bg-2);
  padding: 48px 0 64px
}

.estimator-page .main-content-container,
.estimator-page .main-content-container4 {
  display: flex;
  flex-direction: column;
  width: 100%
}

.estimator-page .form-container,
.estimator-page .container8 {
  width: 100%
}

.estimator-page .form-container {
  background: var(--white);
  border-radius: var(--r-panel);
  padding: 32px 36px 28px;
  box-shadow: 0 40px 80px -40px rgba(var(--ink-rgb), .45)
}

.estimator-page .form-header-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px
}

.estimator-page .form-step-container {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0
}

.estimator-page .step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0
}

.estimator-page .step-title {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.25;
  color: var(--ink)
}

.estimator-page .step-info-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0
}

.estimator-page .pre-screening-text {
  font-size: 13px;
  font-style: italic;
  color: var(--text)
}

.estimator-page .step-progress-container {
  border: 0;
  background: var(--orange-tint);
  color: var(--orange-deep);
  font: 700 12px/1 var(--font);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px
}

.estimator-page .form-fields-container,
.estimator-page .form-content,
.estimator-page .content-container {
  flex-direction: column;
  gap: 16px
}

.estimator-page .field-container,
.estimator-page .formtxt-input,
.estimator-page .formdropdown,
.estimator-page .formtxt-input3,
.estimator-page .formtxt-input12,
.estimator-page .budget-item-container {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.estimator-page .label-htmlfield,
.estimator-page .label-htmlfield13 {
  display: flex;
  align-items: center;
  gap: 8px
}

.estimator-page .copy,
.estimator-page .footer-note {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink)
}

.estimator-page .iconset-info15x15,
.estimator-page .iconset-info15x154,
.estimator-page .iconset-arrow15x15,
.estimator-page .label-htmlfield4 {
  display: none
}

.estimator-page .textbox,
.estimator-page .textbox2,
.estimator-page .textbox4 {
  width: 100%
}

.estimator-page .select,
.estimator-page .text-field-data,
.estimator-page .text-field-data3,
.estimator-page .styled-select {
  width: 100%;
  font: 500 16px var(--font);
  padding: 12px 14px;
  border: 1.5px solid var(--gray-blue);
  border-radius: var(--r-ctl);
  background: var(--white);
  color: var(--ink)
}

.estimator-page input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield
}

.estimator-page input[type="number"]::-webkit-outer-spin-button,
.estimator-page input[type="number"]::-webkit-inner-spin-button {
  appearance: none;
  -webkit-appearance: none;
  margin: 0
}

.estimator-page .select:focus,
.estimator-page .text-field-data:focus,
.estimator-page .text-field-data3:focus,
.estimator-page .styled-select:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--blue-rgb), .2)
}

.estimator-page select.styled-select,
.estimator-page select.select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px
}

.estimator-page .field-description,
.estimator-page .budget-note,
.estimator-page .content-container > .footer-note {
  font-size: 14px;
  font-style: italic;
  color: var(--text);
  font-weight: 400
}

.estimator-page .checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-card);
  background: var(--white)
}

.estimator-page .radiocheckboxclose {
  flex-shrink: 0;
  padding-top: 2px
}

.estimator-page .checkbox-input,
.estimator-page .test,
.estimator-page .industry-q,
.estimator-page input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--orange)
}

.estimator-page .checkbox .label,
.estimator-page .checkbox-label {
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--ink)
}

.estimator-page .eg-coatings-concrete {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--text)
}

.estimator-page .info-container {
  background: var(--bg-4);
  border-radius: var(--r-card);
  padding: 14px 16px
}

.estimator-page .info-text {
  font-size: 14.5px;
  color: var(--text)
}

.estimator-page .industry-block {
  display: none;
  flex-direction: column;
  gap: 16px
}

.estimator-page .industry-block .hint {
  margin: 0;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink)
}

.estimator-page .table-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-x: auto
}

.estimator-page .table-header,
.estimator-page .table-row,
.estimator-page .table-row3 {
  display: grid;
  grid-template-columns: 1.3fr .7fr .8fr 1.1fr;
  gap: 12px;
  align-items: center;
  min-width: 640px
}

.estimator-page .table-header {
  padding: 0 4px 8px;
  border-bottom: 1px solid var(--line-2)
}

.estimator-page .full-name-header,
.estimator-page .email-header2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text)
}

.estimator-page .role-type {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink)
}

.estimator-page .budget-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 8px
}

.estimator-page .container8 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start
}

.estimator-page .frame-parent,
.estimator-page .frame-group {
  background: var(--white);
  border-radius: var(--r-panel);
  overflow: visible;
  box-shadow: 0 40px 80px -40px rgba(var(--ink-rgb), .45);
  display: flex;
  flex-direction: column
}

.estimator-page .see-your-potential-rd-tax-cre-wrapper {
  background: var(--blue-dark);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--r-panel) var(--r-panel) 0 0
}

.estimator-page .see-your-potential,
.estimator-page .estimated-rd-tax {
  margin: 0;
  color: var(--white);
  font-size: 20px;
  line-height: 1.3
}

.estimator-page .inputs-container-parent,
.estimator-page .value-container-parent {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px
}

.estimator-page .inputs-container {
  display: flex;
  flex-direction: column
}

.estimator-page .qualified-wages-est-parent,
.estimator-page .total-qres-parent {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 15px;
  color: var(--text)
}

.estimator-page .total-qres-parent {
  border-bottom: 0;
  padding-top: 14px;
  color: var(--ink);
  font-size: 16px
}

.estimator-page .inputs-values,
.estimator-page .total-qres,
.estimator-page #qreTotal2 {
  font-weight: 700;
  color: var(--ink)
}

.estimator-page .screening-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.estimator-page .screening-fields {
  border: 1.5px solid var(--line-2);
  background: var(--bg-3);
  border-radius: 999px;
  padding: 8px 12px;
  font: 600 13px var(--font);
  color: var(--ink)
}

.estimator-page .screening-fields .value {
  color: var(--orange);
  margin-left: 4px
}

.estimator-page .pre-screening {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 8px
}

.estimator-page .federal-credit-estimated-at-7 {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text)
}

.estimator-page .value-container {
  overflow: visible
}

.estimator-page .potential-annual-credit {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--text)
}

.estimator-page .est-main {
  margin: 8px 0 6px;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.1;
  color: var(--ink)
}

.estimator-page .est-range {
  font-size: 14.5px;
  color: var(--text)
}

.estimator-page .meter {
  width: 100%;
  height: 10px;
  padding: 0;
  border: 0;
  background: var(--line-2);
  border-radius: 999px;
  overflow: hidden;
  margin: 16px 0
}

.estimator-page .meter-bar {
  display: block;
  height: 10px;
  width: 0;
  min-width: 0;
  border-radius: 0;
  background: linear-gradient(to right, var(--blue), var(--orange));
  transition: width .3s ease
}

.estimator-page .total-estimated-qres-0-parent {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.estimator-page .ellipse-parent {
  display: flex;
  align-items: center;
  gap: 8px
}

.estimator-page .frame-child {
  display: none
}

.estimator-page .fit-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f97316;
  display: inline-block;
  flex-shrink: 0
}

.estimator-page .estimator-cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.estimator-page .estimator-cta-row .btn {
  width: 100%
}

.estimator-page .this-tool-is {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5
}

.estimator-page .estimator-mid-estimate-info {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 0
}

.estimator-page .estimator-mid-estimate-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  width: max-content;
  max-width: min(280px, calc(100vw - 32px));
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font: 400 12px/1.45 var(--font);
  text-align: left;
  white-space: normal;
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  pointer-events: none
}

.estimator-page .estimator-mid-estimate-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--ink)
}

.estimator-page .estimator-mid-estimate-info:hover .estimator-mid-estimate-tooltip,
.estimator-page .estimator-mid-estimate-info:focus .estimator-mid-estimate-tooltip,
.estimator-page .estimator-mid-estimate-info:focus-visible .estimator-mid-estimate-tooltip {
  opacity: 1;
  visibility: visible
}

.estimator-page .form-actions-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  padding: 0;
  background: transparent;
  border: 0;
  position: static
}

.estimator-page .estimator-next-wrap {
  display: inline-flex
}

.estimator-page #back-button,
.estimator-page #next-button {
  width: 140px;
  min-width: 140px;
  padding-left: 16px;
  padding-right: 16px
}

.estimator-page .form-actions-container.is-overview #next-button {
  width: auto;
  min-width: 200px;
  padding-left: 20px;
  padding-right: 20px
}

@media (max-width: 900px) {
  .estimator-page .container8,
  .estimator-page .budget-container {
    grid-template-columns: 1fr
  }

  .estimator-page .form-container {
    padding: 24px 20px 32px
  }

  .estimator-page .form-header-container {
    flex-direction: column
  }

  .estimator-page .step-info-container {
    align-items: flex-start
  }
}

@media (max-width: 600px) {
  .estimator-page {
    padding: 28px 0 48px
  }

  .estimator-page .table-header,
  .estimator-page .table-row,
  .estimator-page .table-row3 {
    min-width: 560px
  }

  .estimator-page .form-actions-container {
    margin-top: 20px
  }

  .estimator-page #back-button,
  .estimator-page #next-button {
    flex: 1;
    min-width: 0
  }
}

body:has(.white-label-page) .mbar,
body:has(.become-an-affiliate) .mbar {
  display: none !important
}

.aff-name-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px
}

.become-an-affiliate .signup-card .form-fields-container {
  display: flex;
  flex-direction: column
}

.become-an-affiliate .signup-success {
  max-width: 640px;
  margin: 0 auto
}

.wl-head {
  max-width: 720px;
  margin: 0 0 40px
}

.wl-head h2 {
  margin: 0 0 12px
}

.wl-grid,
.wl-steps,
.wl-audience {
  display: grid;
  gap: 18px
}

.wl-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

.wl-steps,
.wl-audience {
  grid-template-columns: repeat(2, minmax(0, 1fr))
}

.wl-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

.wl-card {
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: 0 0 0 1px var(--line-3);
  padding: 22px 22px 24px
}

.section.bg-2 .wl-card {
  box-shadow: 0 0 0 1px var(--line-3), 0 12px 28px rgba(var(--blue-rgb), .05)
}

.wl-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--ink)
}

.wl-card p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text)
}

.wl-step-n {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange)
}

.wl-audience-card {
  overflow: hidden;
  padding: 0 0 22px
}

.wl-audience-card img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 18px
}

.wl-audience-card h3,
.wl-audience-card p {
  padding: 0 22px
}

.white-label-page .signup-card {
  max-width: 560px
}

.white-label-page .signup-card .btn {
  margin: 8px 0 0
}

@media (max-width: 900px) {
  .aff-name-row,
  .wl-grid,
  .wl-steps,
  .wl-audience {
    grid-template-columns: 1fr
  }
}