/* Self-hosted variable faces, latin + latin-ext only. Google Fonts is never
   requested at runtime: the woff2 files sit next to this file in /assets/fonts/. */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/work-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/work-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* instantetransferloans.com — mint, teal and violet, taken from the logo gradient.

   Fallback faces are sized to the web fonts so a late swap does not shift text.
   Measured in Chrome on the same string: Space Grotesk 500 / 700 vs Arial Bold =
   100.10% / 100.23%, Work Sans 400 vs Arial = 110.23%, 600 vs Arial Bold = 104.30%. */
@font-face {
  font-family: "Grotesk Fallback";
  font-weight: 500;
  src: local("Arial Bold"), local("Arial-BoldMT");
  size-adjust: 100.10%;
}
@font-face {
  font-family: "Grotesk Fallback";
  font-weight: 700;
  src: local("Arial Bold"), local("Arial-BoldMT");
  size-adjust: 100.23%;
}
@font-face {
  font-family: "Work Fallback";
  font-weight: 400;
  src: local("Arial"), local("ArialMT");
  size-adjust: 110.23%;
}
@font-face {
  font-family: "Work Fallback";
  font-weight: 600;
  src: local("Arial Bold"), local("Arial-BoldMT");
  size-adjust: 104.30%;
}

:root {
  --pine-900: #07231E;
  --pine-800: #0C3A31;
  --pine-700: #14554A;
  --teal-600: #0B7A62;
  --teal-700: #095F4D;
  --teal-800: #074C3E;
  --mint-400: #35C9A4;
  --mint-200: #A7E7D5;
  --mint-050: #E6F7F1;
  --violet-600: #6B3FD4;
  --violet-700: #5730AE;
  --violet-050: #EFE9FC;
  --paper: #FFFFFF;
  --haze: #F2F8F5;
  --coal: #13201D;
  --body: #36463F;
  --dim: #5C6E66;
  --hair: #D6E5DE;
  --hair-soft: #E6F0EB;
  --hair-dark: rgba(167, 231, 213, 0.22);
  --on-pine: #E6F5EF;
  --on-pine-dim: #9FC4B7;
  --yes-wash: #E2F3EA;
  --yes-ink: #0D5C3C;
  --no-wash: #FBE8E4;
  --no-ink: #7B2618;
  --spark: #B07407;
  --ring: #095F4D;

  --head: "Space Grotesk", "Grotesk Fallback", "Segoe UI", system-ui, sans-serif;
  --body-face: "Work Sans", "Work Fallback", "Segoe UI", system-ui, sans-serif;

  --hold: 71rem;
  --column: 71rem;
  --edge: clamp(1.1rem, 3.6vw, 2.25rem);
  --beat: clamp(2.75rem, 5.5vw, 4.75rem);
  --r-tiny: 3px;
  --r-box: 12px;
  --r-big: 22px;
  --r-round: 999px;
  --raise: 0 1px 2px rgba(7, 35, 30, 0.05), 0 10px 26px rgba(7, 35, 30, 0.07);
  --raise-hi: 0 2px 5px rgba(7, 35, 30, 0.08), 0 20px 44px rgba(7, 35, 30, 0.13);
  --glide: cubic-bezier(0.3, 0.7, 0.4, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--haze);
  color: var(--body);
  font: 400 1.0625rem/1.7 var(--body-face);
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--coal);
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.024em;
}

h1 {
  font-size: clamp(2rem, 1.35rem + 2.7vw, 3.1rem);
}

h2 {
  font-size: clamp(1.45rem, 1.2rem + 1.1vw, 1.95rem);
}

h3 {
  font-size: clamp(1.12rem, 1.04rem + 0.36vw, 1.28rem);
  font-weight: 500;
  letter-spacing: -0.014em;
}

p {
  margin: 0 0 1.1em;
}

a {
  color: var(--violet-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.17em;
}

a:hover {
  color: var(--violet-700);
}

img {
  max-width: 100%;
  height: auto;
}

iframe {
  border: 0;
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: 2px;
}

/* --------------------------------------------------------------- utilities */

.wrap {
  width: 100%;
  max-width: var(--hold);
  margin-inline: auto;
  padding-inline: var(--edge);
}

.skipto {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 60;
  padding: 0.7rem 1.1rem;
  background: var(--pine-800);
  color: var(--on-pine);
  border-radius: 0 0 var(--r-box) 0;
  text-decoration: none;
}

.skipto:focus {
  left: 0;
}

.hidetext {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.mini {
  flex: none;
  color: var(--mint-400);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--r-round);
  font: 500 0.99rem/1.1 var(--head);
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s var(--glide), color 0.18s var(--glide),
    border-color 0.18s var(--glide);
}

.cta svg {
  transition: transform 0.18s var(--glide);
}

.cta:hover svg {
  transform: translateX(3px);
}

.cta--primary {
  background: var(--teal-600);
  color: #fff;
}

.cta--primary:hover {
  background: var(--teal-700);
  color: #fff;
}

.cta--primary:active {
  background: var(--teal-800);
}

.cta--line {
  border-color: var(--hair);
  background: var(--paper);
  color: var(--pine-700);
}

.cta--line:hover {
  border-color: var(--mint-400);
  color: var(--pine-800);
}

.cta--plain {
  padding-inline: 0.35rem;
  color: var(--violet-600);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.cta--plain:hover {
  color: var(--violet-700);
}

.cta--lg {
  padding: 0.96rem 1.65rem;
  font-size: 1.05rem;
}

.cta[disabled],
.cta:disabled {
  background: var(--hair);
  border-color: var(--hair);
  color: var(--dim);
  cursor: not-allowed;
}

/* the two dark bands invert the quiet link; the rule stays scoped to them */
.opener .cta--plain,
.callout .cta--plain {
  color: var(--mint-200);
}

.opener .cta--plain:hover,
.callout .cta--plain:hover {
  color: #fff;
}

/* ------------------------------------------------------------------ header */

.topline {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--hair-soft);
}

.topline__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.4rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  text-decoration: none;
}

.wordmark__mark {
  width: auto;
  height: 2.4rem;
}

.wordmark__img {
  display: none;
  width: auto;
  height: clamp(2rem, 1.4rem + 1.6vw, 2.5rem);
}

/* the apply button stays in the bar at every width, next to the burger on mobile */
.topline__cta {
  padding: 0.6rem 1.05rem;
  font-size: 0.9rem;
}

.topline__cta svg {
  display: none;
}

.toggler {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--hair);
  border-radius: var(--r-round);
  background: var(--paper);
  color: var(--pine-800);
  font: 500 0.9rem/1 var(--head);
  cursor: pointer;
}

.toggler__bars,
.toggler__bars::before,
.toggler__bars::after {
  display: block;
  width: 1.05rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.toggler__bars {
  position: relative;
}

.toggler__bars::before,
.toggler__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.toggler__bars::before {
  top: -6px;
}

.toggler__bars::after {
  top: 6px;
}

.navbar {
  display: none;
}

.navbar.is-open {
  display: block;
  position: absolute;
  inset: 4.4rem 0 auto;
  padding: 0.75rem var(--edge) 1.4rem;
  background: var(--paper);
  border-bottom: 1px solid var(--hair);
  box-shadow: var(--raise);
}

.navbar__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.navbar__list > li + li {
  border-top: 1px solid var(--hair-soft);
}

.navbar__list a,
.navbar__pull {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.8rem 0;
  border: 0;
  background: none;
  color: var(--pine-800);
  font: 500 1rem/1.3 var(--head);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.navbar__list a[aria-current="page"],
.navbar__pull.is-here {
  color: var(--teal-600);
}

.navbar__list a:hover,
.navbar__pull:hover {
  color: var(--teal-600);
}

.toggler:hover {
  border-color: var(--mint-400);
  color: var(--teal-700);
}

.navbar__chev {
  width: 0.48rem;
  height: 0.48rem;
  margin-left: 0.15rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
}

.navbar__pull[aria-expanded="true"] .navbar__chev {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.navbar__drop {
  margin: 0 0 0.6rem;
  padding: 0 0 0 0.9rem;
  list-style: none;
  border-left: 2px solid var(--mint-200);
}

.navbar__drop a {
  padding: 0.55rem 0;
  font-family: var(--body-face);
  font-weight: 400;
  color: var(--body);
}

@media (min-width: 58rem) {
  .toggler {
    display: none;
  }

  .navbar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .navbar__list {
    display: flex;
    align-items: center;
    gap: 1.45rem;
  }

  .navbar__list > li + li {
    border-top: 0;
  }

  .navbar__list a,
  .navbar__pull {
    width: auto;
    padding: 0.35rem 0;
    font-size: 0.96rem;
  }

  .navbar__nest {
    position: relative;
  }

  .navbar__drop {
    position: absolute;
    top: calc(100% + 0.9rem);
    left: -1rem;
    z-index: 30;
    min-width: 15rem;
    margin: 0;
    padding: 0.5rem 0;
    background: var(--paper);
    border: 1px solid var(--hair);
    border-radius: var(--r-box);
    box-shadow: var(--raise);
  }

  .navbar__drop a {
    padding: 0.55rem 1.1rem;
  }

  .navbar__drop a:hover {
    background: var(--mint-050);
  }

  .wordmark__mark {
    display: none;
  }

  .wordmark__img {
    display: block;
  }

  .topline__cta {
    padding: 0.8rem 1.35rem;
    font-size: 0.99rem;
  }

  .topline__cta svg {
    display: inline;
  }
}

/* ------------------------------------------------------------- breadcrumbs */

.trailbar {
  background: var(--paper);
  border-bottom: 1px solid var(--hair-soft);
}

.trailbar__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-block: 0;
  padding-block: 0.7rem;
  list-style: none;
  font-size: 0.87rem;
  color: var(--dim);
}

.trailbar__list li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: var(--mint-400);
}

/* -------------------------------------------------------------------- hero */

.opener {
  background:
    radial-gradient(120% 140% at 88% 8%, rgba(107, 63, 212, 0.38) 0%, rgba(107, 63, 212, 0) 58%),
    linear-gradient(152deg, var(--pine-900) 0%, var(--pine-800) 62%, var(--pine-700) 100%);
  color: var(--on-pine);
}

.opener__inner {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-block: clamp(2.5rem, 5.5vw, 4.25rem);
}

.opener h1 {
  color: #fff;
}

.opener__lede {
  margin-top: 1.05rem;
  max-width: 60ch;
  font-size: 1.08rem;
  color: var(--on-pine);
}

.opener__lede p:last-child {
  margin-bottom: 0;
}

.opener__acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.35rem;
  margin: 1.9rem 0 0;
}

/* Three assurances between the intro and the buttons: they fill the space the
   shorter intro left behind and repeat nothing from the figures beside them. */
.assure {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.assure li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.94rem;
  color: var(--on-pine-dim);
}

.assure .mini {
  flex: none;
  color: var(--mint-400);
}

.opener--plain {
  background: linear-gradient(152deg, var(--pine-900) 0%, var(--pine-800) 100%);
}

.opener--plain .opener__inner {
  padding-block: clamp(2.25rem, 4.5vw, 3.25rem);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0;
}

/* the four figures sit as a diamond: one, two, one */
.metrics__item:first-child,
.metrics__item:last-child {
  grid-column: 1 / -1;
  width: min(100%, 15.5rem);
  justify-self: center;
}

.metrics__item {
  padding: 0.95rem 1.05rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--hair-dark);
  border-radius: var(--r-box);
}

.metrics dt {
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--on-pine-dim);
}

.metrics dd {
  margin: 0.3rem 0 0;
  font: 700 clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem)/1.2 var(--head);
  color: #fff;
}

.opener h1 {
  grid-column: 1 / -1;
}

@media (min-width: 58rem) {
  .opener__inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(17rem, 0.6fr);
    align-items: stretch;
    column-gap: clamp(2rem, 4vw, 3.5rem);
  }

  /* The intro is shorter than the figures beside it, so the buttons used to sit
     tight under the text with a hole below them. They now stand at the bottom
     of the row, level with the figures. */
  .opener__text {
    display: flex;
    flex-direction: column;
  }

  /* Two tidy columns instead of a ragged wrap: the third line starts under
     the first, and the block fills the space above the buttons. */
  .assure {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    margin-top: 1.7rem;
    gap: 0.8rem 1.9rem;
  }

  .opener__acts {
    margin-top: auto;
    padding-top: 1.1rem;
  }

  .metrics {
    align-self: start;
  }
}


/* ------------------------------------------------------- what a payday advance costs */

.pricer {
  background: var(--haze);
}

.pricer__inner {
  padding-block: var(--beat);
}

.pricer__head {
  max-width: none;
}

.pricer__title {
  font-size: clamp(1.4rem, 1.18rem + 0.95vw, 1.9rem);
}

.pricer__lede {
  margin: 0.7rem 0 0;
  color: var(--dim);
}

.pricer__body {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.6rem;
  padding: clamp(1.4rem, 3.5vw, 2.1rem);
  background: linear-gradient(140deg, var(--pine-900) 0%, var(--pine-700) 130%);
  border-radius: var(--r-big);
  box-shadow: var(--raise-hi);
  color: var(--on-pine);
}

.pricer__dialhead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.pricer__dialhead label {
  font: 500 0.95rem/1.3 var(--head);
  color: var(--on-pine);
}

.pricer__dialhead output {
  font: 700 clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem)/1 var(--head);
  color: var(--mint-400);
}

.pricer__dial input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 0.55rem;
  border-radius: var(--r-round);
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.pricer__dial input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1.6rem;
  height: 1.6rem;
  border: 3px solid var(--pine-900);
  border-radius: var(--r-round);
  background: var(--mint-400);
}

.pricer__dial input[type="range"]::-moz-range-thumb {
  width: 1.6rem;
  height: 1.6rem;
  border: 3px solid var(--pine-900);
  border-radius: var(--r-round);
  background: var(--mint-400);
}

.pricer__ends {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--on-pine-dim);
}

.pricer__out {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding-top: 1.3rem;
  border-top: 1px solid var(--hair-dark);
}

.pricer__out > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.pricer__out dt {
  font-size: 0.92rem;
  color: var(--on-pine-dim);
}

.pricer__out dd {
  margin: 0;
  font: 500 1.05rem/1.2 var(--head);
  color: #fff;
}

.pricer__out .is-total dd {
  font-weight: 700;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem);
  color: var(--mint-400);
}

.pricer__cta {
  margin: 1.5rem 0 0;
  text-align: center;
}

.pricer__note {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--dim);
}

@media (min-width: 52rem) {
  .pricer__body {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
  }

  .pricer__out {
    padding-top: 0;
    padding-left: 2.5rem;
    border-top: 0;
    border-left: 1px solid var(--hair-dark);
  }
}

/* ----------------------------------------------------------------- reviews */

.kudos {
  background: var(--paper);
  border-bottom: 1px solid var(--hair-soft);
}

.kudos__inner {
  padding-block: clamp(2.25rem, 4.5vw, 3.25rem);
}

.kudos__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.3rem;
}

.kudos__title {
  font-size: clamp(1.3rem, 1.12rem + 0.8vw, 1.7rem);
}

.kudos__nav {
  display: flex;
  gap: 0.5rem;
}

.kudos__arrow {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--hair);
  border-radius: var(--r-round);
  background: var(--paper);
  color: var(--pine-700);
  cursor: pointer;
}

.kudos__arrow:hover:not(:disabled) {
  border-color: var(--mint-400);
  color: var(--teal-600);
}

.kudos__arrow:disabled {
  color: var(--dim);
  opacity: 0.45;
  cursor: default;
}

.kudos__rail {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0 0 0.4rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.kudos__rail::-webkit-scrollbar {
  display: none;
}

.kudos__card {
  display: flex;
  flex: 0 0 min(20rem, 82%);
  flex-direction: column;
  gap: 0.7rem;
  margin: 0;
  padding: 1.2rem 1.25rem;
  background: var(--mint-050);
  border: 1px solid var(--hair-soft);
  border-radius: var(--r-big);
  scroll-snap-align: start;
}

.kudos__stars {
  margin: 0;
  color: var(--spark);
  font-size: 1.02rem;
  letter-spacing: 0.1em;
}

.kudos__quote {
  margin: 0;
  flex: 1;
}

.kudos__quote p {
  margin: 0;
  color: var(--body);
}

.kudos__who {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin: 0;
  padding-top: 0.65rem;
  border-top: 1px solid var(--hair);
}

.kudos__name {
  font: 500 0.97rem/1.3 var(--head);
  color: var(--coal);
}

.kudos__city {
  font-size: 0.85rem;
  color: var(--dim);
}

.kudos__dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.kudos__dots button {
  width: 1.8rem;
  height: 0.32rem;
  padding: 0;
  border: 0;
  border-radius: var(--r-round);
  background: var(--mint-200);
  cursor: pointer;
}

.kudos__dots button[aria-current="true"] {
  background: var(--teal-600);
}

@media (min-width: 42rem) {
  .kudos__card {
    flex-basis: calc((100% - 1rem) / 2);
  }
}

@media (min-width: 58rem) {
  .kudos__card {
    flex-basis: calc((100% - 2rem) / 3);
  }
}

/* ----------------------------------------------------------------- article */

.readarea {
  display: flex;
  justify-content: flex-start;
  padding-block: var(--beat);
  background: var(--haze);
}

.mainread {
  width: 100%;
  max-width: var(--column);
  font-size: 1.09rem;
}

/* copy runs to the same edge as the tables and the panels: the client asked for
   one shared width for everything inside the article. */

.chunk + .chunk {
  margin-top: clamp(2rem, 4vw, 2.9rem);
}

.chunk h2 {
  margin-bottom: 0.85rem;
  padding-left: 0.9rem;
  border-left: 4px solid var(--mint-400);
}

.chunk h3 {
  margin: 1.75rem 0 0.6rem;
  color: var(--pine-700);
}

.mainread ul,
.mainread ol {
  margin: 0 0 1.25rem;
  padding-left: 1.3rem;
}

.mainread li {
  margin-bottom: 0.55rem;
}

.mainread ul {
  list-style: none;
  padding-left: 0;
}

.mainread ul > li {
  position: relative;
  padding-left: 1.6rem;
}

.mainread ul > li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.66em;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--teal-600);
  border-radius: var(--r-tiny);
  transform: rotate(45deg);
}

.mainread ol {
  counter-reset: cue;
  list-style: none;
  padding-left: 0;
}

.mainread ol > li {
  position: relative;
  counter-increment: cue;
  padding-left: 2.7rem;
  min-height: 1.9rem;
}

.mainread ol > li::before {
  content: counter(cue);
  position: absolute;
  left: 0;
  top: 0.05em;
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  background: var(--violet-050);
  color: var(--violet-700);
  border-radius: var(--r-round);
  font: 700 0.9rem/1 var(--head);
}

.stepcue {
  margin: 1.5rem 0 0;
  text-align: center;
}

/* tables keep table semantics; only the wrapper scrolls */
.slab {
  margin: 1.4rem 0 1.6rem;
  overflow-x: auto;
  border: 1px solid var(--hair);
  border-radius: var(--r-box);
  background: var(--paper);
}

.slab table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.slab th,
.slab td {
  padding: 0.7rem 0.9rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--hair-soft);
}

.slab thead th {
  position: sticky;
  top: 0;
  background: var(--pine-800);
  color: #fff;
  font: 500 0.88rem/1.35 var(--head);
  letter-spacing: 0.015em;
  white-space: nowrap;
}

.slab tbody th {
  font-weight: 600;
  color: var(--coal);
}

.slab tbody tr:nth-child(even) {
  background: var(--mint-050);
}

.slab tbody tr:last-child th,
.slab tbody tr:last-child td {
  border-bottom: 0;
}

.snap {
  margin: 0 0 1.1rem;
  border-radius: var(--r-box);
  overflow: hidden;
  box-shadow: var(--raise);
}

.snap img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

@media (min-width: 42rem) {
  .snap {
    width: 19rem;
    margin: 0.4rem 0 1rem 1.6rem;
    float: right;
    shape-outside: inset(0 round var(--r-box));
  }

  .snap--b {
    margin: 0.4rem 1.6rem 1rem 0;
    float: left;
  }
}

@media (min-width: 58rem) {
  .snap {
    width: 23rem;
  }
}

/* ----------------------------------------------- the three-stage speed card */

.stages {
  clear: both;
  margin: 0 0 clamp(2rem, 4vw, 2.9rem);
  padding: clamp(1.4rem, 3.5vw, 2.1rem);
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--r-big);
  box-shadow: var(--raise);
}

.stages__inner {
  max-width: none;
  padding-inline: 0;
}

.stages__title {
  font-size: clamp(1.3rem, 1.15rem + 0.75vw, 1.7rem);
}

.stages__lede {
  margin: 0.7rem 0 0;
  color: var(--dim);
}

.stages__track {
  display: grid;
  gap: 0.9rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.stages__step {
  position: relative;
  padding: 1.1rem 1.15rem 1.15rem;
  background: var(--mint-050);
  border: 1px solid var(--hair-soft);
  border-radius: var(--r-box);
}

.stages__step::before {
  display: none;
}

.stages__no {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  margin: 0 0 0.6rem;
  background: var(--teal-600);
  color: #fff;
  border-radius: var(--r-round);
  font: 700 0.88rem/1 var(--head);
}

.stages__name {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--coal);
}

.stages__what {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
}

.stages__pair {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--hair);
}

.stages__pair dt {
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}

.stages__pair dd {
  margin: 0.15rem 0 0;
  font-size: 0.93rem;
  color: var(--body);
}

.stages__speed {
  font-family: var(--head);
  font-weight: 700;
  color: var(--teal-700);
}

.stages__cta {
  margin: 1.3rem 0 0;
}

.stages__note {
  margin: 0.9rem 0 0;
  font-size: 0.85rem;
  color: var(--dim);
}

@media (min-width: 42rem) {
  .stages__track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------- FAQ */

.asks {
  margin-top: 1.2rem;
  border-top: 1px solid var(--hair);
}

.asks__item {
  border-bottom: 1px solid var(--hair);
}

.asks__item summary {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  list-style: none;
  cursor: pointer;
}

.asks__item summary::-webkit-details-marker {
  display: none;
}

.asks__item summary:hover .asks__q,
.asks__item[open] .asks__q {
  color: var(--teal-700);
}

.asks__item summary:hover .asks__sign {
  border-color: var(--mint-400);
  background: var(--mint-050);
}

.asks__item summary:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
  border-radius: var(--r-tiny);
}

.asks__q {
  flex: 1;
  font: 500 1.03rem/1.45 var(--head);
  color: var(--coal);
}

.asks__sign {
  position: relative;
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.1rem;
  border: 1px solid var(--hair);
  border-radius: var(--r-round);
}

.asks__sign::before,
.asks__sign::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.64rem;
  height: 2px;
  background: var(--teal-600);
  transform: translate(-50%, -50%);
  transition: opacity 0.18s var(--glide);
}

.asks__sign::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.asks__item[open] .asks__sign::after {
  opacity: 0;
}

.asks__a {
  padding-bottom: 1rem;
}

.asks__a p:last-child {
  margin-bottom: 0;
}

/* ------------------------------------------------------------- closing CTA */

.callout {
  background:
    radial-gradient(110% 160% at 12% 0%, rgba(53, 201, 164, 0.3) 0%, rgba(53, 201, 164, 0) 55%),
    linear-gradient(110deg, var(--pine-800) 0%, var(--violet-700) 130%);
  color: var(--on-pine);
}

.callout__inner {
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
  text-align: center;
}

.callout__title {
  color: #fff;
  margin-inline: auto;
  max-width: 21ch;
}

.callout__copy {
  margin: 0.9rem auto 0;
  max-width: 56ch;
}

.callout__acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem 1.35rem;
  margin: 1.55rem 0 0;
}

/* -------------------------------------------------------- contact and form */

.contactgrid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  padding-block: var(--beat);
  background: var(--haze);
}

.reachout__list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.reachout__item {
  padding: 1rem 1.1rem;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--r-box);
}

.reachout__item dt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font: 500 0.8rem/1.2 var(--head);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}

.reachout__item dd {
  margin: 0.4rem 0 0;
  color: var(--coal);
}

.reachout__map {
  margin-top: 0.9rem;
  border: 1px solid var(--hair);
  border-radius: var(--r-box);
  overflow: hidden;
  line-height: 0;
}

.reachout__map iframe {
  width: 100%;
  height: clamp(15rem, 34vw, 20rem);
}

.claimform {
  padding: clamp(1.4rem, 3.5vw, 2.1rem);
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--r-big);
  box-shadow: var(--raise);
}

.claimform__title {
  font-size: clamp(1.22rem, 1.08rem + 0.7vw, 1.5rem);
}

.claimform__status {
  margin: 0.6rem 0 0;
  min-height: 1.2rem;
  color: var(--dim);
  font-size: 0.93rem;
}

.claimform__fields {
  margin: 1.1rem 0 0;
  padding: 0;
  border: 0;
}

.claimform__grid {
  display: grid;
  gap: 0.9rem;
}

.entryline label {
  display: block;
  margin-bottom: 0.3rem;
  font: 500 0.9rem/1.3 var(--head);
  color: var(--coal);
}

.entryline input {
  width: 100%;
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--hair);
  border-radius: var(--r-box);
  background: var(--paper);
  color: var(--coal);
  font: 400 1rem/1.4 var(--body-face);
}

.entryline input::placeholder {
  color: var(--dim);
}

.entryline input:focus-visible {
  border-color: var(--teal-600);
}

.agree {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.1rem;
  font-size: 0.92rem;
  color: var(--body);
}

.agree input {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  accent-color: var(--teal-600);
}

/* the submit sits centred, in the modal and on the contact page alike */
.claimform__send {
  display: flex;
  justify-content: center;
  margin: 1.3rem auto 0;
}

.claimform__fields[disabled] .entryline input,
.claimform__fields[disabled] .agree {
  opacity: 0.6;
}

.alertbox {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--r-box);
  font-size: 0.95rem;
}

.alertbox--good {
  background: var(--yes-wash);
  color: var(--yes-ink);
}

.alertbox--bad {
  background: var(--no-wash);
  color: var(--no-ink);
}

@media (min-width: 42rem) {
  .claimform__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 58rem) {
  .contactgrid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: start;
  }
}

/* ------------------------------------------------------------------- modal */

.popbox {
  width: min(41rem, calc(100vw - 1.5rem));
  padding: 0;
  border: 0;
  border-radius: var(--r-big);
  background: transparent;
}

.popbox::backdrop {
  background: rgba(7, 35, 30, 0.62);
}

.popbox__panel {
  position: relative;
  background: var(--paper);
  border-radius: var(--r-big);
  padding: clamp(1.1rem, 3vw, 1.6rem);
}

.popbox__shut {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid var(--hair);
  border-radius: var(--r-round);
  background: var(--paper);
  color: var(--pine-700);
  cursor: pointer;
}

.popbox__shut:hover {
  border-color: var(--mint-400);
  color: var(--teal-600);
}

.popbox .claimform {
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.popbox .claimform__title {
  padding-right: 2.6rem;
}

/* ----------------------------------------------------------- 404 / received */

.nowhere {
  max-width: 40rem;
  padding-block: clamp(3rem, 8vw, 5.5rem);
  text-align: center;
}

.nowhere__code {
  margin: 0 0 0.4rem;
  font: 700 clamp(3rem, 8vw, 4.5rem)/1 var(--head);
  color: var(--mint-400);
  letter-spacing: -0.04em;
}

.nowhere__lede {
  margin: 0.8rem auto 0;
  max-width: 44ch;
  color: var(--dim);
}

.nowhere__acts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin: 1.6rem 0 0;
}

.nowhere .alertbox {
  text-align: left;
}

/* ------------------------------------------------------------------ footer */

.footline {
  background: var(--pine-900);
  color: var(--on-pine-dim);
  font-size: 0.95rem;
}

.footline a {
  color: var(--on-pine);
  text-decoration: none;
}

.footline a:hover {
  color: #fff;
  text-decoration: underline;
}

/* one line: mark on the left, every page on the right */
.footline__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem 2rem;
  padding-block: clamp(1.75rem, 3.5vw, 2.5rem);
}

.footline__logo {
  width: auto;
  height: 2.3rem;
}

.footline__navs {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 2.5rem;
}

.footline__links .footline__label {
  margin: 0 0 0.45rem;
}

.footline__links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font: 500 0.95rem/1.3 var(--head);
}

.footline__links a[aria-current="page"] {
  color: var(--mint-400);
}

/* contact sits on its own card, not in a column */
.footline__cardwrap {
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
}

.footline__reach {
  display: grid;
  gap: 1.1rem;
  margin: 0;
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
  list-style: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hair-dark);
  border-radius: var(--r-big);
}

.footline__reach li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.15rem 0.7rem;
  align-items: start;
}

.footline__reach .mini {
  grid-row: span 2;
  margin-top: 0.25rem;
}

.footline__label {
  font: 500 0.74rem/1.2 var(--head);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint-400);
}

.footline__fine {
  padding-block: 1.4rem;
  border-top: 1px solid var(--hair-dark);
  font-size: 0.84rem;
  line-height: 1.6;
}

.footline__about {
  color: var(--on-pine);
}

.footline__fine p {
  margin: 0 0 0.6rem;
  max-width: 100ch;
}

.footline__mark {
  margin: 0;
  color: var(--mint-400);
}

@media (min-width: 42rem) {
  .footline__reach {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  .kudos__rail {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
