/* Classes used on the partnership page that the shared stylesheet
   names differently (or not at all). Kept separate so the design system
   file can stay a straight copy. */

:root,
:root[data-theme="light"],
:root[data-theme="dark"],
:root:not([data-theme="light"]) {
  --display: "Inter Tight", "IBM Plex Sans", sans-serif;
  --sans: "IBM Plex Sans", sans-serif;
  /* Match .hero black so every dark band on the homepage reads as one ink. */
  --landing-dark: #000;
  --landing-dark-hover: #141414;
  --canvas: var(--landing-dark);
  --surface: var(--landing-dark);
  --surface-2: var(--landing-dark);
  --surface-3: var(--landing-dark-hover);
  --ink: #f4f5f2;
  --ink-2: #d5d8d0;
  --muted: #a3a6ad;
  --muted-2: #8b8f96;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --primary: #f3eee4;
  --primary-ink: #ffffff;
  --on-primary: #14161b;
  --maxw: 960px;
}

.small {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
}

html {
  scroll-padding-top: 84px;
}

@media (min-width: 1000px) {
  .wrap {
    padding-left: 0;
    padding-right: 0;
  }
}

.section > .wrap > .detail-block:first-child {
  margin-top: 0;
}

.section > .wrap > .detail-block:first-child > h2 {
  font-size: clamp(1.7rem, 3.1vw, 2.15rem);
}

#partners {
  --bg: var(--landing-dark);
  --text: #ffffff;
  --muted: #a3a6ad;
  --blue: #E0592A;
  --track: #3a3c42;
  --dot: 64px;
  background: var(--bg);
  color: var(--text);
  padding: 80px 16px;
}

#partners .steps-block {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  font-family: var(--sans);
}

#partners .steps-block__title {
  font-family: "Inter Tight", var(--sans);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 72px;
}

#partners .steps-block__title span { color: var(--blue); }

#partners .timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 120px;
}

#partners .timeline__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

#partners .timeline__svg path {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
}

#partners .timeline__svg .track { stroke: var(--track); }

#partners .timeline__svg .fill {
  stroke: var(--blue);
  transition: stroke-dashoffset 0.7s cubic-bezier(0.45, 0, 0.25, 1);
}

#partners .step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 28px;
  z-index: 1;
  padding: 0;
  border: 0;
}

#partners .step:nth-child(even) {
  flex-direction: row-reverse;
  text-align: right;
}

#partners .step__dot {
  flex-shrink: 0;
  width: var(--dot);
  height: var(--dot);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-size: 30px;
  font-weight: 600;
  background: var(--bg);
  border: 3px solid var(--track);
  color: var(--muted);
  transform: scale(0.85);
  transition: background .4s, border-color .4s, color .4s, transform .5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#partners .step.is-active .step__dot {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: scale(1);
}

#partners .step__body {
  max-width: 400px;
  padding-top: 6px;
  opacity: 0.35;
  transform: translateY(8px);
  transition: opacity .5s, transform .5s;
}

#partners .step.is-active .step__body {
  opacity: 1;
  transform: none;
}

#partners .step__name {
  margin: 0 0 10px;
  font-family: "Inter Tight", var(--sans);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text);
}

#partners .step__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 640px) {
  #partners { --dot: 52px; }
  #partners .timeline { gap: 64px; }
  #partners .step:nth-child(even) {
    flex-direction: row;
    text-align: left;
  }
  #partners .step__name { font-size: 20px; }
  #partners .step__text { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  #partners .timeline__svg .fill,
  #partners .step__dot,
  #partners .step__body { transition: none; }
}

.grid-2x2,
.reliability-grid,
.rate-grid {
  margin-top: 32px;
}

.grid-2x2,
.reliability-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reliability-grid .card:last-child {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - 10px);
}

.rate-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

button.rate-card {
  width: 100%;
  font: inherit;
  text-align: left;
  color: #fff;
  background: var(--landing-dark);
  border-color: var(--landing-dark);
  cursor: pointer;
}

button.rate-card .small {
  color: #a3a6ad;
}

button.rate-card h3.stat {
  color: #fff;
}

button.rate-card:hover {
  background: var(--landing-dark-hover);
  border-color: var(--landing-dark-hover);
  box-shadow: none;
}

@media (max-width: 800px) {
  .rate-grid,
  .reliability-grid {
    grid-template-columns: 1fr;
  }

  .reliability-grid .card:last-child {
    grid-column: auto;
    width: auto;
  }
}

@media (max-width: 640px) {
  .grid-2x2 {
    gap: 12px;
  }

  .grid-2x2 .card {
    padding: 16px;
  }
}

.section.steps-band {
  background: #f7f1e6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 112px 48px;
}

/* Sell-hub provider index uses .sell-band (cream + orange card). */
#providers:not(.sell-band).steps-band {
  background: var(--landing-dark);
}

#providers:not(.sell-band) .why {
  background: transparent;
  padding-top: 8px;
  padding-bottom: 8px;
}

/* Sell payout CTA — dark contact card */
.contact-band.steps-band {
  --contact-orange: #E0592A;
  --contact-ink: #0b0b0b;
  --contact-white: #f5f5f3;
  --contact-muted: #7a7a7a;
  background: #f7f1e6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 16px;
  margin-bottom: 16px;
  border-radius: 40px;
}

.contact-band .contact {
  width: min(100%, 980px);
  background: var(--contact-ink);
  color: var(--contact-white);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 64px);
  font-family: var(--sans);
}

.contact-band .contact__title {
  margin: 0;
  /* Same face + weights as landing .hero__title */
  font-family: "Inter Tight", var(--sans);
  font-weight: 300;
  font-size: clamp(26px, 4.2vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--contact-white);
}

.contact-band .contact__title .contact__brand {
  color: var(--contact-orange);
  font-weight: 500;
}

.contact-band .contact__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(40px, 7vw, 88px);
}

.contact-band .contact__note {
  margin: 0;
  max-width: 36em;
  color: var(--contact-muted);
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.45;
}

.contact-band .contact__note-link {
  color: var(--contact-white);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.contact-band .contact__note-link:hover {
  color: var(--contact-orange);
}

.contact-band .contact__btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 24px;
  border-radius: 999px;
  background: var(--contact-orange);
  color: var(--contact-white);
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(15px, 1.4vw, 17px);
  transition: background-color .25s ease, color .25s ease;
}

.contact-band .contact__btn-icon {
  width: 40px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--contact-white);
  color: var(--contact-ink);
  display: grid;
  place-items: center;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), background-color .25s ease, color .25s ease;
}

.contact-band .contact__btn-icon svg {
  width: 18px;
  height: 18px;
}

.contact-band .contact__btn:hover {
  background: var(--contact-white);
  color: var(--contact-ink);
}

.contact-band .contact__btn:hover .contact__btn-icon {
  background: var(--contact-orange);
  color: var(--contact-white);
  transform: rotate(-45deg);
}

@media (max-width: 560px) {
  .contact-band.steps-band {
    padding: 48px 12px;
    border-radius: 28px;
  }

  .contact-band .contact {
    border-radius: 22px;
  }

  .contact-band .contact__foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Provider sell review — section heading + black dotted card (real quotes only) */
.sell-review-band.steps-band,
.section.steps-band.sell-review-band {
  flex-direction: column;
  text-align: center;
  padding: clamp(40px, 5vw, 64px) clamp(16px, 4vw, 56px);
}

.sell-review__heading {
  margin: 0 0 24px;
  font-family: "Inter Tight", "IBM Plex Sans", sans-serif;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #14161b;
  text-transform: uppercase;
}

.sell-review__row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  width: min(100%, 1100px);
  margin: 0 auto;
  align-items: stretch;
}

.sell-review {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  width: auto;
  max-width: none;
  margin: 0;
  padding: clamp(22px, 2.8vw, 32px) clamp(22px, 2.8vw, 30px) clamp(20px, 2.4vw, 28px);
  border-radius: 28px;
  background-color: #0a0a0a;
  background-image: radial-gradient(circle, #262626 1.15px, transparent 1.35px);
  background-size: 9px 9px;
  color: #f2f2f0;
  font-family: "Inter Tight", "IBM Plex Sans", sans-serif;
  text-align: left;
}

.sell-review__quote {
  margin: 0;
  flex: 1 1 auto;
  font-size: clamp(0.98rem, 1.5vw, 1.18rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: none;
}

.sell-review__attr {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 0.84rem;
  font-weight: 400;
  color: rgba(242, 242, 240, 0.52);
}

@media (max-width: 720px) {
  .sell-review__row {
    flex-direction: column;
  }

  .sell-review {
    flex: 1 1 auto;
  }
}

/* Orange Sell card — homepage, sell hub, provider “other credits” */
.sell-band.steps-band {
  --sell-orange: #E0592A;
  --sell-ink: #111;
  background: #f7f1e6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 16px;
  margin-top: 24px;
  border-radius: 40px;
}

.sell-band .sell {
  position: relative;
  width: min(100%, 980px);
  background: var(--sell-orange);
  border-radius: 28px;
  padding: clamp(18px, 2.4vw, 28px);
  overflow: hidden;
  color: var(--sell-ink);
  font-family: "Inter Tight", var(--sans);
}

.sell-band .sell__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--sell-ink);
  position: relative;
  z-index: 1;
}

.sell-band .sell__list li {
  border-bottom: 2px solid var(--sell-ink);
}

.sell-band .sell__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 4px 6px 6px;
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  font-size: clamp(15px, 2.1vw, 24px);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  border-radius: 10px;
  transition: background-color .25s ease, color .25s ease, padding .25s ease;
}

.sell-band .sell__row:hover {
  background: var(--sell-ink);
  color: var(--sell-orange);
  padding-left: 16px;
}

.sell-band .sell .arrow {
  flex: none;
  width: clamp(28px, 3vw, 36px);
  aspect-ratio: 1;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), background-color .25s ease, color .25s ease;
}

.sell-band .sell .arrow svg {
  width: 55%;
  height: 55%;
}

.sell-band .sell__row:hover .arrow {
  transform: rotate(-45deg);
  background: var(--sell-orange);
  color: var(--sell-ink);
}

.sell-band .sell__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(48px, 9vw, 110px);
}

.sell-band .sell__social {
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 700;
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.3;
}

.sell-band .sell__social a {
  color: inherit;
  text-decoration: none;
}

.sell-band .sell__social a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sell-band .sell__big {
  font-weight: 900;
  font-size: clamp(72px, 17vw, 190px);
  line-height: .78;
  letter-spacing: -0.035em;
  user-select: none;
}

.sell-band__stack {
  width: min(100%, 980px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}

.sell-band__stack > .sell {
  width: 100%;
}

.sell-band__extra {
  display: flex;
  justify-content: center;
}

@media (max-width: 560px) {
  .sell-band.steps-band {
    padding: 48px 12px;
    border-radius: 28px;
  }

  .sell-band .sell {
    border-radius: 22px;
  }

  .sell-band .sell__foot {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
}

.why {
  --page: #f2f2f2;
  --block: var(--landing-dark);
  --text: #ffffff;
  --muted: #9a9a9a;
  --line: rgba(255, 255, 255, 0.14);
  position: relative;
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
  background: var(--block);
  color: var(--text);
  border-radius: 28px;
  padding: 44px 36px 48px;
  overflow: hidden;
  font-family: var(--sans);
}

.why * {
  box-sizing: border-box;
}

.why__head {
  text-align: center;
  margin-bottom: 36px;
}

.why__label {
  display: inline-block;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 6px;
}

.why__title {
  font-family: "Inter Tight", var(--sans);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.features.features--trio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.features.features--duo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 640px;
  margin-inline: auto;
}

.features.features--trio .feature,
.features.features--duo .feature {
  text-align: center;
}

.features.features--trio .feature__icon,
.features.features--duo .feature__icon {
  margin-left: auto;
  margin-right: auto;
}

.why .feature {
  padding: 0 20px;
  border-left: 1px solid var(--line);
}

.why .feature:first-child {
  border-left: none;
  padding-left: 0;
}

.why .feature:last-child { padding-right: 0; }

.feature__icon {
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  color: #d9d9d9;
  transition: color .25s ease, transform .25s ease;
}

.why .feature:hover .feature__icon {
  color: #E0592A;
  transform: translateY(-3px);
}

.feature__name {
  font-family: "Inter Tight", var(--sans);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.feature__text {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

@media (max-width: 900px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 28px;
  }
  .features.features--trio {
    grid-template-columns: repeat(2, 1fr);
  }
  .features.features--duo {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
  }
  .why .feature:nth-child(3) { border-left: none; padding-left: 0; }
  .why .feature:nth-child(2) { padding-right: 0; }
}

@media (max-width: 560px) {
  .why { padding: 36px 20px 32px; border-radius: 22px; }
  .features,
  .features.features--trio,
  .features.features--duo {
    grid-template-columns: 1fr;
    row-gap: 0;
    max-width: none;
  }
  .why .feature,
  .why .feature:nth-child(n) {
    border-left: none;
    padding: 20px 0;
    border-top: 1px solid var(--line);
  }
  .why .feature:first-child { border-top: none; padding-top: 0; }
}

.process-band {
  background: var(--landing-dark);
  padding: 40px 16px;
}

.process {
  --bg: var(--landing-dark);
  --lime: #e9dfc9;
  --card: #f7f1e6;
  --text-dark: #14161b;
  --muted: #5c564c;
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  background: var(--bg);
  border-radius: 36px;
  padding: 72px 0 56px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  font-family: var(--sans);
}

.process::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 460px;
  height: 340px;
  background: radial-gradient(ellipse at 60% 50%, #f3eee4 0%, rgba(233, 223, 201, 0.55) 35%, rgba(180, 156, 110, 0) 70%);
  filter: blur(30px);
  transform: rotate(-18deg);
  z-index: -1;
}

.process::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 70px;
  width: 260px;
  height: 150px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.02) 60%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 18px;
  transform: skewX(-28deg) rotate(-8deg);
  backdrop-filter: blur(6px);
  z-index: -1;
}

h2.process__title {
  font-family: "Inter Tight", var(--sans);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 440px;
  margin: 0 0 56px;
  color: #fff;
}

h2.process__title span {
  color: #e0592a;
}

.process .steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.process .step {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: center;
  gap: 24px;
  background: var(--card);
  color: var(--text-dark);
  border: 0;
  border-radius: 28px;
  padding: 28px 36px;
  min-height: 180px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.process .step:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.process .step:hover .step__num {
  color: #e0592a;
}

.process .step--accent {
  background: var(--lime);
}

.process .step__num {
  font-family: var(--sans);
  font-size: clamp(80px, 14vw, 140px);
  font-weight: 100;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.process .step__body {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  gap: 20px;
}

.process .step__name {
  margin: 0;
  font-family: "Inter Tight", var(--sans);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-dark);
}

.process .step__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.18);
  opacity: 1;
}

.process .step--accent .step__text {
  color: #4a4032;
}

.process .step:last-child .step__text {
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .process {
    padding: 56px 20px 24px;
  }

  .process .step {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .process .step__num {
    font-size: 88px;
  }

  .process .step:last-child .step__text {
    margin-bottom: 0;
  }
}

.step-number {
  display: block;
  margin-bottom: 12px;
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
}

h3.stat {
  background: transparent;
  padding: 8px 0 0;
  text-align: left;
  border-radius: 0;
  font-family: "Inter Tight", var(--sans);
  font-size: clamp(2rem, 4vw, 2.55rem);
  font-weight: 660;
  letter-spacing: -0.04em;
  line-height: 1;
}

h3.stat + p {
  margin-top: 10px;
  color: var(--muted);
}

.notice {
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  color: var(--ink-2);
}

.notice strong {
  color: var(--ink);
}

#faq {
  --page: #f7f1e6;
  --card: #ffffff;
  --text: #121212;
  --muted: #74747c;
  --border: #e7e7ec;
  --violet: #E0592A;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--page);
  color: var(--text);
  padding: 80px 16px;
  font-family: var(--sans);
}

#faq .faq {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
  border: 0;
}

#faq .faq__intro {
  position: sticky;
  top: 80px;
  padding-top: 80px;
}

#faq .faq__title {
  margin: 0;
  font-family: "Inter Tight", var(--sans);
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
}

#faq .faq__title span { color: var(--violet); }

#faq .faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#faq .faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}

#faq .faq-item:hover { border-color: #f0c2b0; }

#faq .faq-item.is-open {
  box-shadow: 0 12px 32px rgba(224, 89, 42, 0.12);
}

#faq .faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

#faq .faq-item__icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--violet);
  display: grid;
  place-items: center;
  transition: transform .35s var(--ease);
}

#faq .faq-item__icon svg { width: 14px; height: 14px; }

#faq .faq-item.is-open .faq-item__icon { transform: rotate(180deg); }

#faq .faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease);
}

#faq .faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }

#faq .faq-item__a > div { overflow: hidden; }

#faq .faq-item__a p {
  margin: 0 28px;
  padding: 18px 0 26px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  opacity: 0;
  transition: opacity .3s var(--ease);
}

#faq .faq-item.is-open .faq-item__a p {
  opacity: 1;
  transition-delay: .1s;
}

@media (max-width: 860px) {
  #faq .faq { grid-template-columns: 1fr; gap: 40px; }
  #faq .faq__intro { position: static; padding-top: 0; }
  #faq .faq-item__q { font-size: 17px; padding: 20px; }
  #faq .faq-item__a p { margin: 0 20px; }
}

.table-wrap {
  overflow-x: auto;
}

.playbook-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.playbook-card td {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
}

.playbook-card tr:last-child td {
  border-bottom: 0;
}

.playbook-card td:last-child {
  text-align: right;
  white-space: nowrap;
}

.detail-block .playbook-card,
#partners .playbook-card {
  position: static;
}

#partners .playbook-grid {
  grid-template-columns: minmax(0, 42rem);
}

.cta-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 56px 36px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.cta-block .eyebrow {
  justify-content: center;
}

.cta-block .lede {
  max-width: 38em;
  margin: 14px auto 0;
}

.cta-block .playbook-list {
  max-width: 26em;
  margin: 22px auto 28px;
  text-align: left;
}

.cta-block .btn {
  margin-top: 28px;
}

.cta-block .small a {
  font-weight: 560;
}

body {
  background: #f7f1e6;
}

.site-header {
  background: rgba(247, 241, 230, 0.42);
  backdrop-filter: blur(22px) saturate(1.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  color: #14161b;
  font-family: var(--sans);
}

.site-header .logo {
  font-family: "Inter Tight", var(--sans);
  font-weight: 600;
}

.site-header .nav a,
.site-header .nav-toggle,
.site-header .lang-picker > summary {
  font-family: var(--sans);
  font-weight: 500;
}

.site-header .logo,
.site-header .nav a:not(.btn),
.site-header .nav-toggle,
.site-header .lang-picker > summary {
  color: #14161b;
}

.site-header .nav a:not(.btn):hover,
.site-header .lang-picker > summary:hover {
  background: rgba(20, 22, 27, 0.06);
  color: #14161b;
}

.site-header .nav a:not(.btn)[aria-current="page"] {
  background: #14161b;
  color: #f7f1e6;
}

.site-header .nav-cta {
  background: #e0592a;
  color: #fff;
  border-color: transparent;
  padding: 14px 24px;
  font-size: 1.05rem;
  font-weight: 600;
}

@media (max-width: 900px) {
  .site-header .nav-cta {
    padding: 11px 16px;
    font-size: 0.95rem;
  }
}

.site-header .nav-cta:hover {
  background: #c94e24;
  color: #fff;
}

/* Same orange as Contact us / nav CTA — provider chips on sell landings */
.chip-primary {
  background: #e0592a;
  color: #fff;
  border-color: transparent;
}

a.chip.chip-primary:hover {
  background: #c94e24;
  color: #fff;
}

.site-header .lang-picker > summary {
  border-color: rgba(20, 22, 27, 0.16);
}

.hero,
.steps-band,
.process-band,
#terms,
#partners,
#faq {
  border-radius: 40px;
}

.hero,
.steps-band,
.process-band,
#terms,
#partners,
#faq {
  margin-bottom: 16px;
}

.hero {
  margin-top: 16px;
}

#terms {
  background: #f7f1e6;
  color: #121212;
}

#terms h2 {
  font-family: "Inter Tight", var(--sans);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.site-footer {
  border-top: 0;
  border-radius: 0;
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .steps-band,
  .process-band,
  #terms,
  #partners,
  #faq {
    border-radius: 28px;
  }

  .site-header {
    border-radius: 0 0 28px 28px;
  }
}

.hero {
  --hero-accent-1: #e0592a;
  --hero-accent-2: #f08a55;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100svh - 104px);
  padding: 88px 0 72px;
  background: var(--landing-dark);
  overflow: hidden;
}

.hero__visual {
  --w: min(68vw, 880px);
  /* Opaque card edge sits 41/1024 inside the image. Shift the box so that
     edge lands on the wrap's right edge, not the transparent padding. */
  --card-inset: calc(var(--w) * 0.04004);
  position: absolute;
  right: calc(max(22px, (100% - 960px) / 2 + 22px) - var(--card-inset));
  bottom: calc(var(--w) * -0.36);
  width: var(--w);
  z-index: 0;
  pointer-events: none;
}

@media (min-width: 1000px) {
  .hero__visual {
    right: calc((100% - 960px) / 2 - var(--card-inset));
  }
}

.hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  animation: hero-float 7s ease-in-out infinite;
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(-2deg); }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8d8d96;
  margin-bottom: 28px;
}

.hero__title {
  font-family: "Inter Tight", var(--sans);
  font-size: clamp(52px, 7.2vw, 104px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: wrap;
  color: #b9b9c0;
  margin-bottom: 36px;
}

.hero__title b {
  font-weight: 500;
  color: #fff;
}

.hero__title b.hero__accent {
  color: #e0592a;
}

.hero .hero__lead {
  max-width: 340px;
  margin: 0 0 40px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #8d8d96;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  /* Same orange pill as .site-header .nav-cta */
  background: #e0592a;
  color: #fff;
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(20, 22, 27, 0.08));
  transition: background 0.2s ease, transform 0.15s ease;
}

.hero__btn:hover {
  background: #c94e24;
  color: #fff;
  transform: none;
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(20, 22, 27, 0.08));
}

@media (max-width: 760px) {
  .hero {
    min-height: 0;
    padding: 56px 0 0;
    justify-content: flex-start;
  }

  .hero__visual {
    --w: 110vw;
    position: relative;
    right: auto;
    bottom: auto;
    margin: -20px 0 calc(var(--w) * -0.36);
    order: 2;
    align-self: center;
  }

  .hero__title {
    font-size: clamp(44px, 12vw, 64px);
  }

  .hero .hero__lead {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__visual img {
    animation: none;
  }
}


.playbook-card .detail-block + .detail-block {
  margin-top: 22px;
}

.playbook-card .detail-block h3 + p {
  margin-top: 8px;
  color: var(--ink-2);
}

/* The mark is a dark tile. Flip it when the canvas is dark so it stays visible. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-mark rect {
    fill: #f2f5fa;
  }
  :root:not([data-theme="light"]) .logo-mark polygon {
    fill: #14161b;
    stroke: #14161b;
  }
}

:root[data-theme="dark"] .logo-mark rect {
  fill: #f2f5fa;
}

:root[data-theme="dark"] .logo-mark polygon {
  fill: #14161b;
  stroke: #14161b;
}

:root[data-theme="dark"] .site-header .logo-mark rect,
:root:not([data-theme="light"]) .site-header .logo-mark rect {
  fill: #14161b;
}

:root[data-theme="dark"] .site-header .logo-mark polygon,
:root:not([data-theme="light"]) .site-header .logo-mark polygon {
  fill: #fff;
  stroke: #fff;
}

@media (max-width: 640px) {
  .cta-block {
    padding: 36px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #faq .faq-item,
  #faq .faq-item__icon,
  #faq .faq-item__a,
  #faq .faq-item__a p { transition: none; }
}

/* ---------- payout calculator ---------- */

.loan {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  margin-top: 48px;
  align-items: stretch;
  font-family: var(--sans);
}

.loan .stats {
  margin: 0;
  height: 100%;
  background: #E0592A;
  color: #14161b;
  border: 0;
  border-radius: 20px;
  /* Extra horizontal room so $100K+ payouts do not widen the orange panel. */
  padding: 56px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.loan .stats__label {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 500;
  margin-bottom: 8px;
}

.loan .stats__number {
  font-size: clamp(56px, 8vw, 104px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 28px -0.08em;
  font-variant-numeric: tabular-nums;
  /* Widest figure is $140,000 (350K × 40%) — reserve it up front. */
  min-width: 8.5ch;
}

.loan .stats__badge {
  align-self: flex-start;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 20px;
  border: 1.5px solid #14161b;
  border-radius: 999px;
}

.loan .stats__extra {
  margin: 18px 0 0;
  font-size: 16px;
  font-weight: 500;
  color: #14161b;
}

.loan__panel {
  height: 100%;
  background: var(--landing-dark);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.loan .field {
  display: block;
}

.loan .field__box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f3eee4;
  border-radius: 999px;
  height: 56px;
  padding: 0 8px;
}

.loan .field__btn {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  color: #14161b;
  cursor: pointer;
  border-radius: 50%;
  transition: background .2s;
}

.loan .field__btn:hover { background: rgba(20, 22, 27, 0.07); }

.loan .field__value {
  font-size: 20px;
  font-weight: 600;
  color: #14161b;
  font-variant-numeric: tabular-nums;
  display: inline-block;
  min-width: 8.5ch;
  text-align: center;
}

.loan .field__range {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: -1px;
  width: calc(100% - 48px);
  height: 4px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(to right, #14161b 0 var(--fill, 50%), #cfc6b4 var(--fill, 50%) 100%);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}

.loan .field__range::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
}

.loan .field__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -9px;
  border-radius: 50%;
  background: #14161b;
  border: 3px solid #f3eee4;
  box-shadow: 0 0 0 2px #14161b;
  cursor: grab;
}

.loan .field__range::-moz-range-track {
  height: 4px;
  background: transparent;
  border: 0;
}

.loan .field__range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #14161b;
  border: 3px solid #f3eee4;
  box-shadow: 0 0 0 2px #14161b;
  cursor: grab;
}

.loan .field__limits {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #b7b1a6;
  margin-top: 12px;
  padding: 0 6px;
}

.loan__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #f7f1e6;
  font-size: 14px;
  line-height: 1.45;
  cursor: pointer;
}

.loan__check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: none;
  accent-color: #f7f1e6;
}

.loan .submit {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  border: none;
  border-radius: 999px;
  background: #f7f1e6;
  color: #14161b;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}

.loan .submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20, 22, 27, 0.2);
  text-decoration: none;
}

@media (max-width: 820px) {
  .loan { grid-template-columns: 1fr; }
  .loan .stats { padding: 40px 28px; }
}

/* Headings are Inter Tight. Every other block is IBM Plex Sans. */
body,
button,
input,
textarea,
select,
summary,
.site-header,
.site-footer,
.hero,
.why,
.process,
.loan,
#terms,
#partners,
#faq {
  font-family: "IBM Plex Sans", sans-serif;
}

h1, h2, h3, h4, h5, h6,
.hero__title,
.why__title,
h2.process__title,
.steps-block__title,
.faq__title,
.feature__name,
.step__name,
h3.stat,
.loan .stats__number,
.process .step__num,
.contact-band .contact__title,
.site-header .logo {
  font-family: "Inter Tight", "IBM Plex Sans", sans-serif;
}



/* ---------- Sell Boundaries: orange pixel cards ---------- */
.bounds.steps-band,
.section.steps-band.bounds {
  flex-direction: column;
  text-align: center;
  padding: clamp(40px, 5vw, 64px) clamp(16px, 4vw, 56px);
}

.bounds__eyebrow {
  margin: 0;
  font-family: "Inter Tight", "IBM Plex Sans", sans-serif;
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 800;
  letter-spacing: -0.045em;
  color: #14161b;
}

.bounds__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1080px;
  margin: 24px auto 0;
}

@property --bounds-spill {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 0%;
}

.bounds-card {
  --bounds-spill: 0%;
  background: #E0592A;
  border-radius: 20px;
  padding: 18px 18px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  color: #fff;
  transition: --bounds-spill 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.bounds-card:hover {
  --bounds-spill: 135%;
}

.bounds-card__tag {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: transparent;
  background-image: radial-gradient(
    circle at 50% 50%,
    #14161b 0%,
    #14161b max(0%, calc(var(--bounds-spill) - 14%)),
    #ffffff var(--bounds-spill),
    #ffffff 100%
  );
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
}

.bounds-card canvas {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  margin: 6px 0 4px;
}

.bounds-card h3 {
  margin: 0;
  font-family: "Inter Tight", "IBM Plex Sans", sans-serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.035em;
  color: transparent;
  background-image: radial-gradient(
    circle at 50% 50%,
    #14161b 0%,
    #14161b max(0%, calc(var(--bounds-spill) - 14%)),
    #ffffff var(--bounds-spill),
    #ffffff 100%
  );
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
}

.bounds-card p {
  margin: 6px 0 0;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  max-width: 28ch;
  color: transparent;
  background-image: radial-gradient(
    circle at 50% 50%,
    #14161b 0%,
    #14161b max(0%, calc(var(--bounds-spill) - 14%)),
    rgba(255, 255, 255, 0.82) var(--bounds-spill),
    rgba(255, 255, 255, 0.82) 100%
  );
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
}

@media (max-width: 960px) {
  .bounds__cards {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

/* ---------- Homepage Mechanics: orange pixel cards ---------- */
.mech.steps-band,
.section.steps-band.mech {
  flex-direction: column;
  text-align: center;
  padding: clamp(40px, 5vw, 64px) clamp(16px, 4vw, 56px);
}

.mech__eyebrow {
  margin: 0;
  font-family: "Inter Tight", "IBM Plex Sans", sans-serif;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #14161b;
}

.mech__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1080px;
  margin: 24px auto 0;
}

.mech__cards--trio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 920px;
}

.mech__lede {
  margin: 10px auto 0;
  max-width: 42rem;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: #5c5f68;
}

.mech-card {
  background: #E0592A;
  border-radius: 18px;
  padding: 16px 16px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.mech-card__tag,
.mech-card h3,
.mech-card p {
  transition: color 0.3s ease 0.08s;
}

.mech-card__tag::before {
  transition: background-color 0.3s ease 0.08s;
}

.mech-card:hover .mech-card__tag,
.mech-card:hover h3 {
  color: #141414;
}

.mech-card:hover p {
  color: rgba(20, 20, 20, 0.8);
}

.mech-card:hover .mech-card__tag::before {
  background: #141414;
}

.mech-card__tag {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.mech-card__tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: mech-blink 1.6s steps(2) infinite;
}

@keyframes mech-blink {
  50% { opacity: 0.25; }
}

.mech-card canvas {
  width: 100%;
  height: 96px;
  display: block;
  margin: 14px 0 12px;
}

.mech-card h3 {
  margin: 0;
  font-family: "Inter Tight", "IBM Plex Sans", sans-serif;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.035em;
  color: #fff;
}

.mech-card p {
  margin: 6px 0 0;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

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

@media (max-width: 520px) {
  .mech__cards {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}
