/* =========================================
   HOME
   Page-level styles for / (index.html).
   Loads after: tailwind, site, launch, consumer-bar.
   Sections: Trust section · Explore section (no longer on Home) · Lender band (no longer on Home) · Why Rinn (offer) · How it works · Why borrow with Rinn · Partner organisations · Company story
   Add new styles for this page here, inside the matching section.
   ========================================= */

/* ---------- Trust section ---------- */
/* Home: "Why you can trust Rinn". Scoped to .trust-proof; reuses site.css tokens (--navy, --forest, --teal, --line, --muted, --mist). */
.trust-proof {
  --trust-tint: #edf7f5;
  --trust-tint-line: #cde3de;
  --trust-card-line: #d9e5e2;
  --trust-status: #f0efed;
  --trust-ink: #44525f;
  padding-block: 88px 96px;
  background: #fff;
}
.trust-proof__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}
.trust-eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0b7a6e;
}
.trust-proof .section-title {
  margin: 0;
  color: var(--navy);
}
.trust-proof__lede {
  margin: 14px 0 0;
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.5;
  color: var(--trust-ink);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
@media (min-width: 1100px) {
  .trust-grid:has(> .trust-card:nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .trust-grid:has(> .trust-card:nth-child(3):last-child) .trust-card__head {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
.trust-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
  padding: 32px 32px 28px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--trust-card-line);
  border-radius: 16px;
  transition:
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}
.trust-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--forest), var(--teal));
}
.trust-card--tint {
  background: var(--trust-tint);
  border-color: var(--trust-tint-line);
}
@media (hover: hover) {
  .trust-card:hover {
    border-color: color-mix(in srgb, var(--teal) 45%, var(--line));
    box-shadow: 0 18px 30px -28px rgb(15 92 69/0.55);
    transform: translateY(-2px);
  }
}

.trust-card__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.trust-card__text {
  min-width: 0;
}
.trust-card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  padding-top: 20px;
  border-top: 1px solid var(--trust-card-line);
}
/* Head and body are two shared rows (subgrid), so the divider sits at the same height in every card of a row. */
@supports (grid-template-rows: subgrid) {
  .trust-card:not(.trust-support) {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
  .trust-card:not(.trust-support) .trust-card__head {
    align-content: start;
    padding-bottom: 24px;
  }
}
.trust-icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 20px;
  background: linear-gradient(145deg, #eaf7f4, #d2eae4);
  box-shadow: inset 0 0 0 1px rgb(12 79 62/0.1);
  color: #0c4f3e;
}
.trust-card:not(.trust-card--tint) .trust-icon {
  width: 76px;
  height: 76px;
}
.trust-svg {
  width: 66px;
  height: 66px;
}
.trust-card:not(.trust-card--tint) .trust-svg {
  width: 62px;
  height: 62px;
}

.trust-label {
  margin: 2px 0 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0b6a5e;
}
.trust-card h3 {
  margin: 0;
  font-size: clamp(22px, 2.1vw, 29px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-wrap: balance;
}
.trust-meta {
  margin: 10px 0 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--trust-ink);
}
.trust-note {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--trust-ink);
}
.trust-card__body > .trust-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px 16px;
  background: #eef7f5;
  border-radius: 12px;
  font-weight: 500;
  color: var(--navy);
}
.trust-card__body > .trust-note::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c4f3e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='m7.8 12.3 2.8 2.8 5.6-6'/%3E%3C/svg%3E")
    center/contain no-repeat;
}
.trust-nowrap {
  white-space: nowrap;
}
.trust-dot {
  margin-inline: 0.45em;
  color: #6b7885;
}
.trust-fact {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--trust-tint-line);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.trust-chips li {
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  background: #eef7f5;
  border: 1px solid var(--trust-tint-line);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

/* Pending / awaiting: neutral container, never confirmed-looking, never error-coloured. */
.trust-status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 13px 18px;
  background: var(--trust-status);
  border-radius: 10px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--trust-ink);
}
.trust-status__icon {
  flex: none;
  color: #5b6772;
}
.trust-status strong {
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-size: 14px;
  color: #34414d;
}

.trust-action {
  margin-top: auto;
  padding-top: 2px;
}
.trust-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: #e4f3f0;
  font-size: 17px;
  font-weight: 600;
  color: var(--forest);
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.trust-link:hover {
  background: var(--forest);
  color: #fff;
}
.trust-card__body > .trust-action {
  margin-top: 0;
}
.trust-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}
.trust-link:hover .trust-arrow {
  transform: translateX(4px);
}
/* Destination not built yet: stays a non-link (see render.cjs link()), but keeps the row's shape. */
/* launch.css sets .pending-link display via a long :not() chain; !important keeps this row on one line. */
.trust-proof .trust-action span.pending-link {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 17px;
  color: var(--trust-ink);
}

.trust-support {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 28px;
  padding: 26px 32px;
}
.trust-support .trust-label {
  margin-bottom: 6px;
}
.trust-support h3 {
  font-size: clamp(22px, 2vw, 26px);
}
.trust-support .trust-meta {
  margin-top: 6px;
}
.trust-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 2px 0 0;
  font-size: 17px;
  line-height: 1.5;
}
.trust-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--forest);
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.trust-contact a:hover {
  text-decoration-thickness: 2px;
}
.trust-support__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-left: 36px;
  border-left: 1px solid var(--trust-tint-line);
}
.trust-support__actions .trust-action {
  margin: 0;
  padding: 0;
  white-space: nowrap;
}
.trust-cta {
  flex: none;
  min-height: 52px;
  gap: 14px;
  white-space: nowrap;
  padding-inline: 28px;
  font-size: 16px;
}

@media (max-width: 1099px) {
  .trust-support {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .trust-support__actions {
    grid-column: 1/-1;
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid var(--trust-tint-line);
    justify-content: space-between;
    flex-wrap: wrap;
  }
}
@media (max-width: 899px) {
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .trust-proof {
    padding-block: 64px 72px;
  }
  .trust-card {
    padding: 26px 24px 24px;
  }
  .trust-support {
    padding: 26px 24px;
  }
}
@media (max-width: 767px) {
  .trust-grid {
    gap: 16px;
  }
  .trust-proof__header {
    margin-bottom: 30px;
  }
  .trust-card__head {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .trust-icon,
  .trust-card:not(.trust-card--tint) .trust-icon {
    width: 68px;
    height: 68px;
  }
  .trust-svg,
  .trust-card:not(.trust-card--tint) .trust-svg {
    width: 50px;
    height: 50px;
  }
  .trust-meta {
    font-size: 16px;
  }
  .trust-support {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .trust-support__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding-top: 18px;
  }
  .trust-support__actions .trust-action {
    text-align: center;
  }
  .trust-support__actions .trust-link {
    justify-content: center;
    width: 100%;
  }
  .trust-cta {
    width: 100%;
  }
  .trust-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .trust-contact .trust-dot {
    display: none;
  }
}
@media (max-width: 359px) {
  .trust-card,
  .trust-support {
    padding-inline: 18px;
  }
  .trust-status {
    padding-inline: 14px;
    align-items: flex-start;
  }
  .trust-nowrap {
    white-space: normal;
  }
}
@media (prefers-reduced-motion: reduce) {
  .trust-card,
  .trust-arrow {
    transition: none;
  }
  .trust-card:hover {
    transform: none;
  }
  .trust-link:hover .trust-arrow {
    transform: none;
  }
}

/* ---------- Explore section ---------- */
/* Home: "Explore Rinncrest" (borrower and lender doors). Scoped to .explore; reuses --navy, --forest, --teal, --line, --muted. */
.explore {
  --explore-ink: #17283e;
  --explore-soft: #4d5f70;
  --explore-mint: #e1f1ec;
  --explore-glow: #43d1b4;
  padding: 64px 0 72px;
  background: #fbfdfc;
}
.explore-header {
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.explore-eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--forest);
}
.explore h2 {
  margin: 0;
  color: var(--explore-ink);
  font-size: clamp(34px, 4.1vw, 54px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.explore-lede {
  margin: 12px 0 0;
  color: var(--explore-soft);
  font-size: clamp(18px, 1.9vw, 24px);
  line-height: 1.4;
}

.explore-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
@media (min-width: 1180px) {
  .explore-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  }
}
.explore-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  padding: 34px 32px 30px;
  border-radius: 16px;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.explore-card h3 {
  margin: 26px 0 0;
  font-size: clamp(25px, 2vw, 29px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.03em;
}
.explore-copy {
  margin: 16px 0 0;
  max-width: 36ch;
  font-size: 16.5px;
  line-height: 1.65;
}
.explore-cta {
  margin: 20px 0 0;
}
.explore-card-head {
  display: flex;
  align-items: center;
  gap: 24px;
}
.explore-label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.explore-badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 58px;
  height: 58px;
  border-radius: 12px;
}
.explore-badge .explore-icon {
  width: 26px;
  height: 26px;
}
.explore-icon {
  flex: none;
}
.explore-arrow {
  width: 20px;
  height: 20px;
  flex: none;
  transition: transform 0.22s ease;
}
a:hover > .explore-arrow {
  transform: translateX(4px);
}

/* Borrower card */
.explore-borrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 20px;
  background: #fff;
  border: 1px solid #dde7e4;
  color: var(--explore-ink);
}
.explore-borrow > * {
  grid-column: 1;
}
.explore-borrow .explore-visual {
  grid-column: 2;
  grid-row: 1/5;
  align-self: center;
  margin: 6px -14px 0 0;
}
.explore-borrow .explore-features {
  grid-column: 1/-1;
}
.explore-borrow .explore-badge {
  background: var(--explore-mint);
  color: var(--forest);
}
.explore-borrow .explore-label {
  color: var(--forest);
}
.explore-borrow .explore-copy {
  color: var(--explore-soft);
}
.explore-visual {
  width: clamp(160px, 13.5vw, 230px);
}
.explore-phone-art {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.explore-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 34px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid #dde7e4;
  list-style: none;
}
.explore-features li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 2px 12px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--explore-ink);
}
.explore-features li:first-child {
  padding-left: 0;
}
.explore-features li + li {
  border-left: 1px solid #dde7e4;
}
.explore-features .explore-icon {
  width: 26px;
  height: 26px;
  color: var(--forest);
  stroke-width: 1.5;
}

/* Lender card */
.explore-lend {
  padding-right: min(24%, 190px);
  background: linear-gradient(145deg, #17283e 0%, #132338 100%);
  border: 1px solid #1f3650;
  color: #fff;
}
.explore-lend .explore-badge {
  border: 1px solid rgba(110, 225, 203, 0.55);
  color: var(--explore-glow);
}
.explore-lend .explore-label {
  color: var(--explore-glow);
}
.explore-lend .explore-copy {
  max-width: 40ch;
  color: #c3d4dc;
}
.explore-circuit {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(23%, 190px);
  height: 100%;
  pointer-events: none;
}
.explore-stages {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.explore-stages li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #e6eef2;
}
.explore-stages li + li:before {
  content: "";
  position: absolute;
  top: 17px;
  right: 50%;
  width: 100%;
  height: 1px;
  background: rgba(110, 225, 203, 0.7);
  z-index: 0;
}
.explore-node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--explore-glow);
  border-radius: 50%;
  background: #16293f;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}
.explore-stages li:hover .explore-node {
  background: var(--explore-glow);
  color: #0e2a30;
  box-shadow: 0 0 0 5px rgba(67, 209, 180, 0.18);
}
.explore-lend .explore-cta {
  margin-top: 34px;
}
.explore-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 50px;
  padding: 12px 28px;
  border-radius: 7px;
  background: #1b7f64;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}
.explore-button:hover {
  background: #17725a;
  transform: translateY(-2px);
}

.explore-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--forest);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.explore-link:hover {
  text-decoration-thickness: 2px;
}
.explore-investor {
  margin: 22px 0 0;
}
.explore .pending-link {
  color: var(--explore-soft);
}
.explore-lend .pending-link {
  color: #b6c9e4;
}

@media (hover: hover) {
  .explore-borrow:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--teal) 45%, #dde7e4);
    box-shadow: 0 22px 34px -30px rgba(15, 92, 69, 0.5);
  }
  .explore-lend:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 38px -28px rgba(23, 40, 62, 0.8);
  }
}

/* Motion: the entrance only runs once the script has armed it, so content is never hidden without JS. */
.explore.is-armed .explore-header,
.explore.is-armed .explore-card,
.explore.is-armed .explore-investor {
  opacity: 0;
  transform: translateY(18px);
}
.explore.is-armed.is-in .explore-header,
.explore.is-armed.is-in .explore-card,
.explore.is-armed.is-in .explore-investor {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.explore.is-armed.is-in .explore-borrow {
  transition-delay: 0.1s;
}
.explore.is-armed.is-in .explore-lend {
  transition-delay: 0.2s;
}
.explore.is-armed.is-in .explore-investor {
  transition-delay: 0.3s;
}
@keyframes explore-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
@keyframes explore-flow {
  to {
    stroke-dashoffset: -186;
  }
}
@keyframes explore-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.22);
    opacity: 0.7;
  }
}
.explore-phone {
  animation: explore-float 7s ease-in-out infinite;
}
.explore-track {
  opacity: 0.55;
}
.explore-flow {
  stroke-dasharray: 3 90;
  animation: explore-flow 8s linear infinite;
}
.explore-node-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: explore-pulse 4.5s ease-in-out infinite;
}

@media (max-width: 1179px) {
  .explore-card h3 {
    font-size: clamp(27px, 3.2vw, 34px);
  }
  .explore-visual {
    width: clamp(190px, 24vw, 250px);
  }
  .explore-lend {
    padding-right: min(20%, 190px);
  }
}
@media (max-width: 767px) {
  .explore {
    padding: 44px 0 52px;
  }
  .explore-header {
    padding-bottom: 24px;
    margin-bottom: 24px;
  }
  .explore-card {
    padding: 26px 22px 24px;
  }
  .explore-card h3 {
    margin-top: 22px;
  }
  .explore-borrow {
    grid-template-columns: minmax(0, 1fr);
  }
  .explore-borrow .explore-visual {
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
    width: 210px;
    margin: 26px 0 0;
  }
  .explore-features {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 26px;
    padding-top: 22px;
  }
  .explore-features li,
  .explore-features li:first-child {
    padding: 0;
  }
  .explore-features li + li {
    border-left: 0;
  }
  .explore-lend {
    padding-right: 22px;
  }
  .explore-circuit {
    width: 96px;
    opacity: 0.45;
    top: auto;
    height: 52%;
  }
  .explore-stages {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 26px;
  }
  .explore-stages li {
    flex-direction: row;
    gap: 16px;
    padding-bottom: 14px;
    font-size: 15px;
  }
  .explore-stages li + li:before {
    top: -14px;
    right: auto;
    left: 15px;
    width: 2px;
    height: 14px;
    background: #3fc9ae;
    opacity: 0.8;
  }
  .explore-node {
    width: 32px;
    height: 32px;
  }
  .explore-lend .explore-cta {
    margin-top: 16px;
  }
  .explore-button {
    width: 100%;
    justify-content: center;
  }
  .explore-investor {
    margin-top: 14px;
  }
}
@media (max-width: 359px) {
  .explore-card {
    padding-inline: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .explore.is-armed .explore-header,
  .explore.is-armed .explore-card,
  .explore.is-armed .explore-investor {
    opacity: 1;
    transform: none;
  }
  .explore-card,
  .explore-arrow,
  .explore-button,
  .explore-node {
    transition: none;
  }
  .explore-phone,
  .explore-flow,
  .explore-node-pulse {
    animation: none;
  }
}

/* ---------- Lender band ---------- */
/* Home: "For lenders" band. Scoped to .lb; the section keeps its .lender-band class and #for-lenders anchor. */
.lb {
  --lb-teal: #27e0c3;
  --lb-line: rgba(39, 224, 195, 0.3);
  --lb-soft: #c4d6e2;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(
      900px 520px at 85% 8%,
      rgba(39, 224, 195, 0.1),
      transparent 60%
    ),
    linear-gradient(160deg, #061629 0%, #0a2540 55%, #071c33 100%);
  color: #fff;
  padding-block: clamp(64px, 8vw, 104px);
}
.lb:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(39, 224, 195, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 224, 195, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
  pointer-events: none;
}
.lb-art {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: min(54%, 780px);
  height: auto;
  aspect-ratio: 560/420;
  pointer-events: none;
}
.lb-eyebrow {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 22px;
  color: var(--lb-teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.lb-intro-copy .lb-eyebrow:after {
  content: "";
  width: 52px;
  height: 2px;
  background: var(--lb-teal);
}
.lb-h2-line {
  display: block;
}
.lb-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 72px;
  align-items: end;
}
.lb h2 {
  margin: 0;
  max-width: none;
  color: #fff;
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.lb-lede {
  margin: 28px 0 0;
  max-width: 46ch;
  color: var(--lb-soft);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.55;
}
.lb-promise {
  padding: 6px 0 6px 44px;
  border-left: 1px solid var(--lb-line);
  align-self: center;
}
.lb-promise .lb-eyebrow:after {
  content: "";
  width: 48px;
  height: 2px;
  background: var(--lb-teal);
  display: block;
  position: absolute;
  margin-top: 34px;
}
.lb-promise .lb-eyebrow {
  position: relative;
  margin-bottom: 38px;
  font-size: 12.5px;
}
.lb-promise-text {
  margin: 0;
  color: #fff;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.lb-promise-note {
  margin: 16px 0 0;
  max-width: 46ch;
  color: #9fb8c8;
  font-size: 15px;
  line-height: 1.65;
}

/* Lifecycle */
.lb-lifecycle {
  margin-top: clamp(40px, 5vw, 64px);
}
.lb-stages {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lb-stage {
  position: relative;
  min-width: 0;
}
.lb-card {
  position: relative;
  display: grid;
  align-content: start;
  width: 100%;
  height: 100%;
  padding: 26px 22px 26px;
  border: 1px solid var(--lb-line);
  border-radius: 12px;
  background: rgba(7, 27, 48, 0.62);
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: default;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.28s ease,
    background-color 0.28s ease,
    box-shadow 0.28s ease;
}
.lb-card:after {
  content: "";
  position: absolute;
  top: 57px;
  left: calc(22px + 64px);
  right: 0;
  height: 1px;
  background: var(--lb-line);
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}
.lb-stage:last-child .lb-card:after {
  display: none;
}
.lb-ring {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 2px solid var(--lb-teal);
  border-radius: 50%;
  background: rgba(7, 27, 48, 0.9);
  color: var(--lb-teal);
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease;
}
.lb-icon {
  width: 30px;
  height: 30px;
}
.lb-n {
  margin-top: 22px;
  color: var(--lb-teal);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.lb-name {
  display: block;
  margin-top: 8px;
  font-size: clamp(21px, 1.9vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.lb-name:after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin-top: 12px;
  background: var(--lb-teal);
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.lb-brief {
  display: block;
  margin-top: 14px;
  color: var(--lb-soft);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.5;
}
.lb-link {
  position: absolute;
  z-index: 2;
  top: 57px;
  left: 100%;
  display: block;
  width: 40px;
  height: 0;
  pointer-events: none;
}
.lb-link:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--lb-line);
  transition: background-color 0.3s ease;
}
.lb-arrow {
  position: absolute;
  top: -15px;
  left: 5px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--lb-teal);
  border-radius: 50%;
  background: #0a2037;
  color: var(--lb-teal);
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}

/* Interactive state (enabled by lender-band.js) */
.lb-ready .lb-card {
  cursor: pointer;
}
.lb-ready .lb-card:hover,
.lb-stage.is-active .lb-card {
  border-color: var(--lb-teal);
  background: rgba(10, 38, 64, 0.9);
}
.lb-stage.is-active .lb-card {
  transform: translateY(-4px);
  box-shadow:
    0 22px 38px -28px rgba(39, 224, 195, 0.55),
    inset 0 0 0 1px rgba(39, 224, 195, 0.25);
}
.lb-stage.is-active .lb-ring {
  background: var(--lb-teal);
  color: #06222a;
  box-shadow: 0 0 0 6px rgba(39, 224, 195, 0.14);
}
.lb-stage.is-active .lb-name:after {
  width: 56px;
}
.lb-stage.is-active .lb-card:after,
.lb-stage.is-passed .lb-card:after,
.lb-stage.is-passed .lb-link:before {
  background: var(--lb-teal);
  box-shadow: 0 0 10px rgba(39, 224, 195, 0.5);
}
.lb-stage.is-passed .lb-arrow,
.lb-stage.is-active .lb-arrow {
  background: var(--lb-teal);
  color: #06222a;
}
.lb-stage.is-active .lb-link:before {
  background: linear-gradient(90deg, var(--lb-teal), var(--lb-line));
}
.lb-card:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}
.lb-card:active {
  transform: translateY(-1px);
}

.lb-panel {
  margin-top: 22px;
}
.lb-detail {
  padding: 24px 30px;
  border: 1px solid var(--lb-line);
  border-left: 3px solid var(--lb-teal);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}
.lb-detail + .lb-detail {
  margin-top: 12px;
}
.lb-ready .lb-detail:not([hidden]) {
  animation: lb-in 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.lb-detail:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.lb-detail-kicker {
  margin: 0 0 10px;
  color: var(--lb-teal);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.lb-detail-kicker span {
  margin-right: 6px;
}
.lb-detail-text {
  margin: 0;
  max-width: 78ch;
  color: #e8f1f6;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
}

/* Problem + status */
.lb-problem {
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.lb-problem summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 60px;
  padding: 14px 0;
  color: #e2edf3;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}
.lb-problem summary::-webkit-details-marker {
  display: none;
}
.lb-problem-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: var(--lb-teal);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.lb-problem-cue:after {
  content: "+";
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--lb-teal);
  border-radius: 50%;
  font-size: 17px;
  line-height: 1;
  transition: transform 0.25s ease;
}
.lb-problem[open] .lb-problem-cue:after {
  transform: rotate(45deg);
}
.lb-problem summary:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  border-radius: 4px;
}
.lb-problem-body {
  padding: 0 0 18px;
}
.lb-problem-body p {
  margin: 0;
  max-width: 88ch;
  color: var(--lb-soft);
  font-size: 16px;
  line-height: 1.7;
}
.lb-status {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2edf3;
}
.lb-status-icon {
  display: grid;
  flex: none;
  place-items: center;
  color: #c4d6e2;
}
.lb-status p {
  margin: 2px 0 0;
  max-width: 92ch;
  color: var(--lb-soft);
  font-size: 16px;
  line-height: 1.65;
}
.lb-status strong {
  color: #fff;
}
.lb .pending-fact {
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #c9dae5;
}
.lb-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 34px;
  margin-top: 14px;
}
.lb .lb-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 58px;
  padding: 16px 32px;
  border-radius: 8px;
  background: var(--lb-teal);
  color: #062029;
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.22s ease,
    background-color 0.22s ease,
    box-shadow 0.22s ease;
}
.lb .lb-cta:hover {
  transform: translateY(-2px);
  background: #4cf0d6;
  box-shadow: 0 16px 28px -16px rgba(39, 224, 195, 0.7);
}
.lb .lb-cta svg {
  transition: transform 0.22s ease;
}
.lb .lb-cta:hover svg {
  transform: translateX(4px);
}
.lb .lb-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--lb-teal);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}
.lb .lb-secondary:hover {
  text-decoration-thickness: 2px;
}
.lb a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
  border-radius: 4px;
}
.lb .pending-link {
  color: #b6c9e4;
}

/* Decorative motion + entrance */
.lb-orbit {
  animation: lb-drift 26s linear infinite;
}
.lb-node {
  transform-box: fill-box;
  transform-origin: center;
  animation: lb-pulse 5s ease-in-out infinite;
}
.lb-node:nth-of-type(2) {
  animation-delay: -1.6s;
}
.lb-node:nth-of-type(3) {
  animation-delay: -3.2s;
}
@keyframes lb-drift {
  to {
    stroke-dashoffset: -90;
  }
}
@keyframes lb-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.7);
    opacity: 0.45;
  }
}
@keyframes lb-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.lb-armed .lb-intro,
.lb-armed .lb-stage,
.lb-armed .lb-panel,
.lb-armed .lb-problem,
.lb-armed .lb-status,
.lb-armed .lb-actions {
  opacity: 0;
  transform: translateY(16px);
}
.lb-armed.lb-in .lb-intro,
.lb-armed.lb-in .lb-stage,
.lb-armed.lb-in .lb-panel,
.lb-armed.lb-in .lb-problem,
.lb-armed.lb-in .lb-status,
.lb-armed.lb-in .lb-actions {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s ease var(--d, 0s),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s);
}

/* Tablet: stage row scrolls, connectors keep the progression */
@media (max-width: 1099px) {
  .lb-intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .lb-promise {
    padding: 28px 0 0;
    border-left: 0;
    border-top: 1px solid var(--lb-line);
  }
  .lb-stages {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    padding: 8px 4px 18px;
    margin-inline: -4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(39, 224, 195, 0.5) transparent;
  }
  .lb-stage {
    flex: 0 0 min(240px, 68vw);
    scroll-snap-align: start;
  }
  .lb-stage:last-child {
    margin-right: 4px;
  }
  .lb-art {
    width: 80%;
    opacity: 0.6;
  }
}
@media (max-width: 767px) {
  .lb-card {
    padding: 22px 20px;
  }
  .lb-detail {
    padding: 20px 22px;
  }
  .lb-problem summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .lb-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .lb .lb-cta {
    justify-content: space-between;
  }
  .lb .lb-secondary {
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lb-orbit,
  .lb-node {
    animation: none;
  }
  .lb-ready .lb-detail:not([hidden]) {
    animation: none;
  }
  .lb-card,
  .lb-ring,
  .lb-name:after,
  .lb .lb-cta,
  .lb .lb-cta svg,
  .lb-problem-cue:after {
    transition: none;
  }
  .lb-stage.is-active .lb-card {
    transform: none;
  }
  .lb-armed .lb-intro,
  .lb-armed .lb-stage,
  .lb-armed .lb-panel,
  .lb-armed .lb-problem,
  .lb-armed .lb-status,
  .lb-armed .lb-actions {
    opacity: 1;
    transform: none;
  }
  .lb-stages {
    scroll-behavior: auto;
  }
}

/* ---------- Why Rinn ---------- */
/* Home "Rinn Chuno, Sapne Buno. ₹15,000 to ₹2 lakh." offer section (#why-rinn): headline, three key terms, download CTA,
   an animated phone preview and the "Your next steps" strip. Scoped to .offer so shared rules elsewhere are untouched.
   Motion is gated: launch.js adds .is-ready/.is-in; without JS or with reduced motion everything is simply visible. */
.offer {
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
  background: #fff;
}
.offer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.offer__title {
  max-width: 16ch;
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--navy);
  text-wrap: balance;
}
.offer__tagline {
  display: block;
}
/* "Sapne Buno." always starts its own line ("Rinn Chuno," / "Sapne Buno."), whether or not the CMS value keeps the
   .offer__tagline wrapper; fit-content keeps the marker band to the words. */
.offer__tagline-mark {
  display: block;
  width: fit-content;
  margin-inline: -4px;
  padding-inline: 4px;
  background: linear-gradient(transparent 62%, rgb(42 168 155 / 0.24) 62%);
  white-space: nowrap;
}
.offer__title-accent {
  display: block;
  max-width: none;
  color: var(--forest);
}
.offer__sub {
  margin: 16px 0 0;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.45;
  color: var(--muted);
}
.offer__stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  margin: 28px 0 0;
}
.offer__stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px clamp(12px, 2vw, 28px) 4px 0;
}
.offer__stat + .offer__stat {
  padding-left: clamp(12px, 2vw, 28px);
  border-left: 1px solid var(--line);
}
.offer__stat > div {
  display: flex;
  flex-direction: column;
}
.offer__stat-icon,
.offer__step-icon {
  display: grid;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--forest);
}
.offer__stat-icon {
  width: 44px;
  height: 44px;
}
.offer__stat-icon svg {
  width: 55%;
  height: 55%;
}
.offer__stat-icon svg,
.offer__step-icon svg,
.offer__download-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.offer__stat-value {
  margin: 0;
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  color: var(--navy);
}
.offer__stat-label {
  order: 2;
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
  color: var(--muted);
}
.offer__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 28px;
}
.offer__download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(100%, 300px);
  min-height: 50px;
  padding: 10px 20px;
  border-radius: 10px;
  background: var(--forest);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 12px 22px -14px rgba(15, 92, 69, 0.7);
  transition:
    background-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.offer__download:hover {
  background: #0b4836;
  transform: translateY(-2px);
  box-shadow: 0 14px 24px -14px rgba(15, 92, 69, 0.8);
}
.offer__download:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}
.offer__download-icon {
  width: 22px;
  height: 22px;
  flex: none;
}
.offer__download-arrow {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.2s;
}
.offer__download:hover .offer__download-arrow {
  transform: translateX(5px);
}
.offer__actions .text-link {
  font-size: 16px;
  font-weight: 600;
}

/* Phone preview */
.offer__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
}
.offer__blob {
  position: absolute;
  inset: 6% 0 2% 4%;
  border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%;
  background: var(--teal-tint);
  opacity: 0.8;
}
.offer__phone {
  position: relative;
  width: min(100%, calc(var(--offer-phone-h, 500px) * 0.4891));
  aspect-ratio: 9 / 18.4;
  container-type: inline-size;
  padding: 8px;
  border-radius: 36px;
  background: linear-gradient(150deg, #2c3e8f, var(--navy) 55%, #0d1b2a);
  box-shadow:
    0 40px 60px -26px rgba(23, 40, 62, 0.55),
    inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}
.offer__notch {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 50%;
  width: 34%;
  height: 18px;
  border-radius: 999px;
  background: #0d1b2a;
  transform: translateX(-50%);
}
.offer__screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  /* Everything inside the phone is sized in em, scaled from the phone's own width (container query units). */
  font-size: 5.7cqw;
  padding: 3.6em 1.25em 1.4em;
  border-radius: 29px;
  background: #fff;
  text-align: center;
}
.offer__logo {
  width: 3.4em;
  height: auto;
  flex: none;
}
.offer__screen-title {
  margin: 1.5em 0 0;
  font-size: 1.375em;
  font-weight: 700;
  color: var(--navy);
}
.offer__screen-amount {
  margin: 0.75em 0 0;
  max-width: 7ch;
  font-size: 2.125em;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--forest);
}
.offer__wallet {
  width: min(100%, 13em);
  height: auto;
  margin-block: auto;
  overflow: visible;
}
.offer__wallet-shadow {
  fill: rgba(23, 40, 62, 0.1);
}
.offer__wallet-back,
.offer__wallet-flap {
  fill: #bdeedd;
  stroke: var(--forest);
  stroke-width: 3.5;
  stroke-linejoin: round;
}
.offer__wallet-flap {
  fill: #d5f6ea;
}
.offer__wallet-clasp {
  fill: #fff;
  stroke: var(--forest);
  stroke-width: 3.5;
}
.offer__coin circle:first-of-type {
  fill: #e1f7ef;
  stroke: var(--forest);
  stroke-width: 3.5;
}
.offer__coin-ring {
  fill: none;
  stroke: var(--forest);
  stroke-width: 2;
  opacity: 0.5;
}
.offer__coin text {
  fill: var(--forest);
  font-size: 30px;
  font-weight: 800;
}
.offer__spark {
  fill: none;
  stroke: var(--forest);
  stroke-width: 3;
  stroke-linecap: round;
}
.offer__screen-cta {
  display: block;
  width: 100%;
  padding: 0.95em 0.6em;
  border-radius: 0.55em;
  background: var(--forest);
  color: #fff;
  font-size: 1em;
  font-weight: 700;
}

/* Next steps */
.offer__steps-band {
  /* No hard edges: white fades into the light green on top, and the green fades into the next section's mist below. */
  --band-fade-top: clamp(40px, 5vw, 72px);
  --band-fade-bottom: clamp(24px, 3vw, 40px);
  padding-block: var(--band-fade-top) var(--band-fade-bottom);
  background: linear-gradient(
    180deg,
    #fff 0,
    var(--teal-tint) var(--band-fade-top),
    var(--teal-tint) calc(100% - var(--band-fade-bottom)),
    var(--mist) 100%
  );
}
.offer__steps-row {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  padding-block: 22px;
}
.offer__steps-title {
  flex: none;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.offer__steps {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.offer__step {
  display: flex;
  align-items: center;
  gap: 14px;
}
.offer__step-icon {
  width: 52px;
  height: 52px;
  background: #d3eee6;
}
.offer__step-icon svg {
  width: 26px;
  height: 26px;
}
.offer__step-text {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  line-height: 1.3;
  white-space: nowrap;
  color: var(--navy);
}
.offer__step-text small {
  margin-top: 2px;
  font-size: 15px;
  color: var(--muted);
}
.offer__step-arrow {
  width: 26px;
  height: 26px;
  margin-left: clamp(12px, 3.25vw, 52px);
  color: var(--forest);
  flex: none;
}
.offer__note {
  max-width: 100ch;
  margin: 0 auto;
  padding-block: 22px 40px;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
  color: var(--muted);
}
.offer__note a {
  color: var(--forest);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Entrance and ambient motion */
.offer.is-ready .offer__reveal {
  opacity: 0;
  transform: translateY(22px);
}
.offer.is-in .offer__reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s ease-out var(--d, 0ms),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms);
}
.offer.is-in .offer__phone {
  animation: offer-float 6s ease-in-out 0.9s infinite;
}
.offer.is-in .offer__blob {
  animation: offer-breathe 9s ease-in-out infinite;
}
.offer.is-in .offer__coin {
  animation: offer-coin 3.2s ease-in-out 1s infinite;
}
.offer.is-in .offer__spark {
  animation: offer-spark 3.2s ease-in-out 1s infinite;
}
.offer.is-in .offer__screen-cta {
  animation: offer-pulse 2.6s ease-out 1.4s infinite;
}
.offer.is-in .offer__step-arrow {
  animation: offer-nudge 2s ease-in-out infinite;
}
@keyframes offer-float {
  50% {
    transform: translateY(-10px);
  }
}
@keyframes offer-breathe {
  50% {
    transform: scale(1.05) rotate(2deg);
  }
}
@keyframes offer-coin {
  0%,
  100% {
    transform: translateY(-14px);
  }
  55% {
    transform: translateY(8px);
  }
  70% {
    transform: translateY(2px);
  }
}
@keyframes offer-spark {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}
@keyframes offer-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(15, 92, 69, 0.4);
  }
  70%,
  100% {
    box-shadow: 0 0 0 14px rgba(15, 92, 69, 0);
  }
}
@keyframes offer-nudge {
  50% {
    transform: translateX(6px);
  }
}

/* Desktop: standard hero proportions. The phone preview stays compact (about 500px tall) instead of filling the viewport. */
@media (min-width: 1024px) {
  .offer {
    --offer-phone-h: clamp(420px, calc(100svh - 300px), 500px);
    padding-block: clamp(40px, 6vh, 72px) 0;
  }
  .offer__steps-band {
    --band-fade-top: clamp(32px, 5vh, 56px);
  }
}
@media (max-width: 1279px) {
  .offer__step-icon {
    width: 48px;
    height: 48px;
  }
  .offer__step-arrow {
    width: 22px;
    height: 22px;
    margin-left: 6px;
  }
}
@media (max-width: 1023px) {
  .offer__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .offer__title,
  .offer__title-accent {
    max-width: none;
  }
  .offer__visual {
    --offer-phone-h: 440px;
    min-height: 0;
    padding-block: 24px;
  }
  .offer__blob {
    inset: 4% 8%;
  }
  .offer__steps-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .offer__steps {
    width: 100%;
  }
}
/* Phone layout: centred key-term columns, full-width button, compact phone preview and a stepper-style list. */
.offer__br {
  display: none;
}
@media (max-width: 679px) {
  .offer {
    padding-block: 28px 0;
  }
  .offer__title {
    font-size: clamp(32px, 9.4vw, 40px);
    line-height: 1.1;
  }
  .offer__title-accent {
    text-wrap: wrap;
  }
  .offer__nowrap {
    white-space: nowrap;
  }
  .offer__br {
    display: inline;
  }
  .offer__sub {
    margin-top: 12px;
    font-size: clamp(16px, 4.4vw, 18px);
    line-height: 1.4;
  }
  .offer__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 22px;
  }
  .offer__stat,
  .offer__stat + .offer__stat {
    flex-direction: column;
    gap: 10px;
    padding: 0 6px;
    text-align: center;
  }
  .offer__stat + .offer__stat {
    border-left: 1px solid var(--line);
  }
  .offer__stat > div {
    align-items: center;
  }
  .offer__stat-icon {
    width: 44px;
    height: 44px;
  }
  .offer__stat-value {
    font-size: 14.5px;
  }
  .offer__stat-label {
    font-size: 13.5px;
    white-space: normal;
  }
  .offer__actions {
    gap: 14px;
    margin-top: 20px;
  }
  .offer__download {
    width: 100%;
    min-height: 52px;
    gap: 12px;
    padding-inline: 18px;
    font-size: 16px;
  }
  .offer__download-icon {
    width: 22px;
    height: 22px;
  }
  .offer__download-arrow {
    width: 18px;
    height: 18px;
  }
  .offer__actions .text-link {
    font-size: 16px;
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  .offer__visual {
    padding-block: 10px 0;
  }
  .offer__phone {
    --offer-phone-h: 360px;
    width: clamp(160px, 46vw, 190px);
    padding: 6px;
    border-radius: 28px;
  }
  .offer__notch {
    top: 11px;
    height: 12px;
  }
  .offer__screen {
    border-radius: 22px;
  }
  .offer__blob {
    inset: 6% -4% 0 -4%;
  }
  .offer__steps-band {
    --band-fade-top: 28px;
    --band-fade-bottom: 24px;
  }
  .offer__steps-row {
    gap: 14px;
    padding-block: 22px 24px;
  }
  .offer__steps-title {
    font-size: 20px;
  }
  .offer__steps {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .offer__step {
    position: relative;
    padding-bottom: 28px;
  }
  .offer__step:last-child {
    padding-bottom: 0;
  }
  .offer__step-icon {
    width: 44px;
    height: 44px;
  }
  .offer__step-text {
    font-size: 16px;
  }
  .offer__step-arrow {
    position: absolute;
    left: 14px;
    bottom: 6px;
    width: 16px;
    height: 16px;
    margin: 0;
    transform: rotate(90deg);
  }
  .offer.is-in .offer__step-arrow {
    animation: offer-nudge-down 2s ease-in-out infinite;
  }
  .offer.is-in .offer__stat-icon {
    animation: offer-pop 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .offer.is-in .offer__stat:nth-child(1) .offer__stat-icon {
    animation-delay: 0.35s;
  }
  .offer.is-in .offer__stat:nth-child(2) .offer__stat-icon {
    animation-delay: 0.45s;
  }
  .offer.is-in .offer__stat:nth-child(3) .offer__stat-icon {
    animation-delay: 0.55s;
  }
  .offer.is-in .offer__step {
    animation: offer-rise 0.6s ease-out both;
  }
  .offer.is-in .offer__step:nth-child(1) {
    animation-delay: 0.4s;
  }
  .offer.is-in .offer__step:nth-child(2) {
    animation-delay: 0.55s;
  }
  .offer.is-in .offer__step:nth-child(3) {
    animation-delay: 0.7s;
  }
  .offer__note {
    padding-block: 18px 32px;
    font-size: 13px;
    text-align: center;
  }
}
@keyframes offer-pop {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
}
@keyframes offer-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
@keyframes offer-nudge-down {
  50% {
    transform: rotate(90deg) translateX(4px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .offer.is-ready .offer__reveal {
    opacity: 1;
    transform: none;
  }
  .offer *,
  .offer.is-in * {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- How it works ---------- */
/* Home "Your personal loan starts with Rinn." (#how-it-works): copy and download CTA beside a 3-step timeline panel.
   launch.js adds .is-ready/.is-in, counts the amount up, and walks the steps (.is-active / .is-done, --p = line progress).
   Without JS or with reduced motion every step simply shows as done. */
.how {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding-bottom: 40px;
}
.how__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.how__title {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--navy);
  text-wrap: balance;
}
.how__title-accent {
  display: block;
  color: var(--forest);
}
.how__amount {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.5ch;
  margin: 22px 0 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
}
.how__lead {
  margin: 8px 0 0;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.5;
  color: var(--navy);
}
.how__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 26px;
}
.how__download {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 100%;
  min-height: 56px;
  padding: 12px 28px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--forest);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 12px 22px -14px rgba(15, 92, 69, 0.7);
  transition:
    background-color 0.2s,
    transform 0.2s;
}
.how__download::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}
.how__download:hover {
  background: #0b4836;
  transform: translateY(-2px);
}
.how__download:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}
.how__download-icon {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.how__download-arrow {
  width: 20px;
  height: 20px;
  flex: none;
  transition: transform 0.2s;
}
.how__download:hover .how__download-arrow {
  transform: translateX(5px);
}
.how__platform {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.how__platform .icon {
  width: 18px;
  height: 18px;
  fill: var(--forest);
  stroke: none;
}

/* Timeline panel */
.how__panel {
  padding: clamp(20px, 2.4vw, 32px);
  border-radius: 20px;
  background: var(--teal-tint);
}
.how__panel-title {
  margin-bottom: 20px;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.how__steps {
  position: relative;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.how__steps::before,
.how__steps::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 32px;
  z-index: 0;
  width: 2px;
  border-radius: 2px;
}
.how__steps::before {
  bottom: 32px;
  background: var(--teal-line);
}
.how__steps::after {
  height: calc((100% - 64px) * var(--p, 1));
  background: var(--forest);
  transition: height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.how__step {
  position: relative;
  display: grid;
  grid-template-columns: 36px 64px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 64px;
}
.how__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--teal);
  border-radius: 50%;
  background: #fff;
  color: var(--forest);
  font-size: 16px;
  font-weight: 700;
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.how__tile {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: #d5efe7;
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s,
    opacity 0.25s;
}
.how__tile svg {
  width: 64px;
  height: 64px;
  overflow: visible;
}
.how__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  transition:
    opacity 0.25s,
    transform 0.25s;
}
.how__text strong {
  font-size: clamp(16px, 1.4vw, 18px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.how__text span {
  font-size: clamp(14px, 1.1vw, 15px);
  line-height: 1.5;
  color: var(--muted);
}
.how__stroke {
  fill: none;
  stroke: var(--navy);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.how__stroke--teal {
  stroke: var(--teal);
}
.how__stroke--soft {
  stroke: var(--forest);
  stroke-width: 2.5;
  opacity: 0.5;
}
.how__stroke--thin {
  stroke-width: 2.5;
}
.how__stroke--thick {
  stroke-width: 5;
}
.how__fill--teal {
  fill: var(--teal);
}
.how__fill--forest {
  fill: var(--forest);
}
.how__fill--navy {
  fill: var(--navy);
}
.how__rupee.how__rupee--small {
  font-size: 15px;
}
.how__rupee {
  fill: var(--forest);
  font-size: 26px;
  font-weight: 800;
}
.how__check {
  fill: none;
  stroke: #fff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 26;
  stroke-dashoffset: 0;
}
.how__coin-text {
  font-size: 16px;
  font-weight: 800;
}
.how__foot {
  margin-top: clamp(28px, 4vw, 56px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.how__foot p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.how__foot .text-link {
  font-size: 15px;
  font-weight: 600;
}

/* Entrance, then the guided walk through the steps */
.how.is-ready .how__reveal {
  opacity: 0;
  transform: translateY(22px);
}
.how.is-in .how__reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.5s ease-out var(--d, 0ms),
    transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms);
}
.how.is-ready .how__step:not(.is-done) .how__tile,
.how.is-ready .how__step:not(.is-done) .how__text {
  opacity: 0.55;
}
.how.is-ready .how__step.is-done .how__num,
.how.is-ready .how__step.is-active .how__num {
  border-color: var(--forest);
  background: var(--forest);
  color: #fff;
}
.how.is-ready .how__step.is-active .how__num {
  animation: how-ring 1s ease-out infinite;
}
.how.is-ready .how__step.is-active .how__tile {
  transform: scale(1.05);
  box-shadow: 0 12px 20px -14px rgba(15, 92, 69, 0.55);
}
/* Hover nudges the text only. Never transform the whole step: that moves the number off the progress line and lifts it into its own stacking layer, so the line paints over the number. */
.how.is-ready .how__step:hover .how__text {
  transform: translateX(4px);
}
.how.is-ready .how__step.is-active .how__arrow {
  animation: how-download 0.8s ease-in-out infinite;
}
.how.is-ready .how__step.is-active .how__shield {
  transform-origin: 58px 62px;
  animation: how-shield 1.1s ease-in-out infinite;
}
.how.is-ready .how__step.is-active .how__check {
  stroke-dashoffset: 26;
  animation: how-check 1.1s ease-in-out infinite;
}
.how.is-ready .how__step.is-active .how__coin {
  transform-origin: 66px 62px;
  animation: how-coin 0.9s ease-in-out infinite;
}
.how.is-ready .how__step.is-active .how__slider {
  animation: how-slide 1.1s ease-in-out infinite;
}
.how.is-in .how__download::after {
  animation: how-sheen 4.5s ease-in-out 1.4s infinite;
}
.how.is-in .how__download-icon {
  animation: how-download 2.4s ease-in-out 1s infinite;
}
@keyframes how-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(15, 92, 69, 0.35);
  }
  80%,
  100% {
    box-shadow: 0 0 0 12px rgba(15, 92, 69, 0);
  }
}
@keyframes how-download {
  50% {
    transform: translateY(4px);
  }
}
@keyframes how-slide {
  0%,
  100% {
    transform: translateX(-10px);
  }
  50% {
    transform: translateX(8px);
  }
}
@keyframes how-shield {
  0%,
  100% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.14);
  }
}
@keyframes how-check {
  0% {
    stroke-dashoffset: 26;
  }
  45%,
  100% {
    stroke-dashoffset: 0;
  }
}
@keyframes how-coin {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  40% {
    transform: translateY(-6px) scale(1.12);
  }
}
@keyframes how-sheen {
  0%,
  60% {
    left: -60%;
  }
  100% {
    left: 130%;
  }
}

@media (max-width: 1023px) {
  .how__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .how__title {
    max-width: none;
  }
  .how__panel {
    max-width: 640px;
  }
}
@media (max-width: 679px) {
  .how {
    padding-bottom: 28px;
  }
  .how__title {
    font-size: clamp(28px, 8.2vw, 34px);
  }
  .how__amount {
    margin-top: 18px;
    font-size: clamp(20px, 5.6vw, 24px);
  }
  .how__actions {
    gap: 12px;
    margin-top: 20px;
  }
  .how__download {
    width: 100%;
    min-height: 52px;
    padding-inline: 18px;
    font-size: 16px;
  }
  .how__panel {
    max-width: none;
    padding: 20px 16px;
    border-radius: 16px;
  }
  .how__panel-title {
    margin-bottom: 16px;
    font-size: 20px;
  }
  .how__steps {
    gap: 12px;
  }
  .how__steps::before,
  .how__steps::after {
    left: 15px;
    top: 28px;
  }
  .how__steps::before {
    bottom: 28px;
  }
  .how__steps::after {
    height: calc((100% - 56px) * var(--p, 1));
  }
  .how__step {
    grid-template-columns: 32px 56px minmax(0, 1fr);
    gap: 12px;
    min-height: 56px;
  }
  .how__num {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  .how__tile {
    width: 56px;
    height: 56px;
    border-radius: 12px;
  }
  .how__tile svg {
    width: 56px;
    height: 56px;
  }
  .how__text strong {
    font-size: 16px;
  }
  .how__text span {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .how.is-ready .how__reveal,
  .how.is-ready .how__step:not(.is-done) .how__tile,
  .how.is-ready .how__step:not(.is-done) .how__text {
    opacity: 1;
    transform: none;
  }
  .how *,
  .how.is-in *,
  .how *::after,
  .how::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Why borrow with Rinn ---------- */
/* Home "Why borrow with Rinn?" (#why-borrow-with-rinn): three illustrated benefit cards, two quick facts, a terms strip and
   a closing CTA. Markup lives in partials/home-why-borrow.html. launch.js adds .is-ready/.is-in for the scroll reveal;
   the illustrations loop gently once .is-in is set. Reduced motion or no JS: everything is simply visible. */
.why {
  padding-block: clamp(48px, 5vw, 72px);
  background: #fff;
}
.why__head {
  margin-bottom: clamp(18px, 2vw, 28px);
}
.why__title {
  font-size: clamp(32px, 3.8vw, 54px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: var(--navy);
}
.why__sub {
  margin: 8px 0 0;
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.35;
  color: var(--muted);
}
.why__cards {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(14px, 1.6vw, 24px);
}
.why-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(300px, 23vw, 350px);
  padding: clamp(20px, 2vw, 30px);
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(160deg, #f4fbf8, #e3f5ee);
  transition:
    transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.35s;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 44px -26px rgba(15, 92, 69, 0.45);
}
.why-card__copy {
  position: relative;
  z-index: 1;
}
.why-card h3 {
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--navy);
}
.why-card__copy p {
  margin: 10px 0 0;
  max-width: 14ch;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.35;
  color: var(--muted);
}
.why-card__art {
  position: absolute;
  right: 0;
  bottom: 0;
  height: auto;
  overflow: visible;
}
.why-card--first .why-card__copy h3 {
  max-width: 9.5ch;
}
.why-card--first .why-card__copy p {
  max-width: 12ch;
}
.why-card--first .why-card__art {
  width: min(50%, 225px);
}
.why-card--free {
  background: linear-gradient(165deg, #12775a, #0b4836);
}
.why-card--free h3 {
  color: #fff;
}
.why-card--free .why-card__copy p {
  max-width: none;
  color: #c8f4e5;
}
.why-card--free .why-card__art {
  width: min(100%, 290px);
}
.why-card--paper .why-card__copy h3 {
  max-width: 8ch;
}
.why-card--paper .why-card__copy p {
  max-width: 12ch;
}
.why-card--paper .why-card__art {
  width: min(70%, 270px);
}

/* Illustration parts. The first card is a picture (assets/why-first-loan.webp) with a live glow behind the doorway
   and sparkles on top; the other two are inline SVG. */
.why-art__scene {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
}
.why-art__glow {
  position: absolute;
  top: 4%;
  left: 24%;
  width: 62%;
  height: 78%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(67, 201, 164, 0.45), rgba(67, 201, 164, 0));
  opacity: 0.75;
  transition: opacity 0.35s;
}
.why-card--first:hover .why-art__glow {
  opacity: 1;
}
.why-art__glints {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.why-art__glint {
  fill: #43c9a4;
}
.why-art__receipt,
.why-art__phone,
.why-art__tile {
  filter: drop-shadow(0 12px 14px rgba(15, 92, 69, 0.25));
}
.why-art__sparks path {
  fill: none;
  stroke: #8fe6c8;
  stroke-width: 5;
  stroke-linecap: round;
}
.why-art__coin-text {
  fill: #0f5c45;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.why-art__wire {
  fill: none;
  stroke: var(--teal);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 5 7;
}
.why-art__dot {
  fill: var(--teal);
}

/* Quick facts, terms strip and closing CTA */
.why__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: clamp(18px, 2vw, 26px) 0 0;
  padding: 0;
  list-style: none;
}
.why__fact {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 6px clamp(8px, 2vw, 32px);
}
.why__fact:first-child {
  padding-left: 0;
}
.why__fact + .why__fact {
  border-left: 1px solid var(--line);
}
.why__fact-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--forest);
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.3);
}
.why__fact:hover .why__fact-icon {
  transform: scale(1.08) rotate(-4deg);
}
.why__fact-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.why__fact h3 {
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.why__fact p {
  margin: 4px 0 0;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.45;
  color: var(--muted);
}
.why__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 0;
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.why__stats span + span::before {
  content: "·";
  margin-inline: 14px;
}
.why__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.why__cta h3 {
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--navy);
}
.why__cta-copy p {
  margin: 6px 0 0;
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--muted);
}
.why__cta-actions {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.why__cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 260px;
  min-height: 54px;
  padding: 12px 28px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--forest);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 16px 28px -18px rgba(15, 92, 69, 0.8);
  transition:
    background-color 0.2s,
    transform 0.2s;
}
.why__cta-button::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}
.why__cta-button:hover {
  background: #0b4836;
  transform: translateY(-2px);
}
.why__cta-button:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}
.why__cta-button .icon {
  width: 24px;
  height: 24px;
  transition: transform 0.2s;
}
.why__cta-button:hover .icon {
  transform: translateX(5px);
}
.why__cta .text-link {
  font-size: 17px;
  font-weight: 600;
}
.why__note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* Entrance, then ambient loops */
.why.is-ready .why__reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
}
.why.is-in .why__reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s ease-out var(--d, 0ms),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms);
}
.why.is-in .why-card.why__reveal:hover {
  transform: translateY(-6px);
  transition-delay: 0ms;
}
.why.is-in .why-art__scene {
  animation:
    why-walk-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s both,
    why-float 6s ease-in-out 1.2s infinite;
}
.why.is-in .why-art__glow {
  animation: why-breathe 4.8s ease-in-out infinite;
}
.why.is-in .why-art__glint {
  transform-box: fill-box;
  transform-origin: center;
  animation: why-glint 2.6s ease-in-out infinite;
}
.why.is-in .why-art__glint:nth-of-type(2) {
  animation-delay: 0.9s;
}
.why.is-in .why-art__glint:nth-of-type(3) {
  animation-delay: 1.7s;
}
.why.is-in .why-art__coin {
  transform-box: fill-box;
  transform-origin: center;
  animation: why-bob 3.4s ease-in-out infinite;
}
.why.is-in .why-art__sparks {
  animation: why-twinkle 2.4s ease-in-out infinite;
}
.why.is-in .why-art__bar {
  transform-box: fill-box;
  transform-origin: left center;
  animation: why-bar 3.6s ease-in-out infinite;
}
.why.is-in .why-art__bar:nth-of-type(2) {
  animation-delay: 0.15s;
}
.why.is-in .why-art__bar:nth-of-type(3) {
  animation-delay: 0.3s;
}
.why.is-in .why-art__bar:nth-of-type(4) {
  animation-delay: 0.45s;
}
.why.is-in .why-art__wire {
  animation: why-flow 1.6s linear infinite;
}
.why.is-in .why-art__dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: why-pulse 1.8s ease-in-out infinite;
}
.why.is-in .why-art__dot--b {
  animation-delay: 0.5s;
}
.why.is-in .why-art__tile {
  animation: why-float 4.4s ease-in-out infinite;
}
.why.is-in .why-art__tile--b {
  animation-delay: -1.6s;
}
.why.is-in .why-art__upload {
  transform-box: fill-box;
  transform-origin: center;
  animation: why-bob 2.2s ease-in-out infinite;
}
.why.is-in .why-art__phone {
  animation: why-float 6s ease-in-out infinite;
}
.why.is-in .why__cta-button::after {
  animation: why-sheen 4.8s ease-in-out 1.5s infinite;
}
@keyframes why-float {
  50% {
    transform: translateY(-7px);
  }
}
@keyframes why-pulse {
  50% {
    transform: scale(1.18);
  }
}
@keyframes why-bob {
  50% {
    transform: translateY(-8px) scale(1.03);
  }
}
@keyframes why-twinkle {
  0%,
  100% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
}
@keyframes why-bar {
  0%,
  100% {
    transform: scaleX(1);
  }
  50% {
    transform: scaleX(0.7);
  }
}
@keyframes why-flow {
  to {
    stroke-dashoffset: -24;
  }
}
@keyframes why-breathe {
  50% {
    transform: scale(1.08);
  }
}
@keyframes why-walk-in {
  from {
    opacity: 0;
    transform: translateX(-22px);
  }
}
@keyframes why-glint {
  0%,
  100% {
    opacity: 0.15;
    transform: scale(0.6) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1) rotate(45deg);
  }
}
@keyframes why-sheen {
  0%,
  60% {
    left: -60%;
  }
  100% {
    left: 130%;
  }
}

@media (max-width: 1023px) {
  .why__cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .why-card {
    min-height: 300px;
  }
  .why-card--first .why-card__art {
    width: min(36%, 250px);
  }
  .why-card--free .why-card__art {
    width: min(54%, 280px);
  }
  .why-card--paper .why-card__art {
    width: min(62%, 320px);
  }
  .why__cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .why__cta-actions {
    align-items: flex-start;
  }
}
@media (max-width: 679px) {
  .why-card {
    min-height: 300px;
    padding: 24px 22px;
  }
  .why-card h3 {
    font-size: 30px;
  }
  .why-card--first .why-card__copy h3,
  .why-card--paper .why-card__copy h3 {
    max-width: 9ch;
  }
  .why-card--first .why-card__copy h3 {
    max-width: 9.5ch;
  }
  .why-card--first {
    min-height: 360px;
  }
  .why-card--first .why-card__art {
    width: 50%;
  }
  .why-card--free .why-card__art {
    width: 62%;
  }
  .why-card--paper {
    min-height: 380px;
  }
  .why-card--paper .why-card__art {
    width: 74%;
  }
  .why__facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .why__fact,
  .why__fact + .why__fact {
    padding: 0;
    border-left: 0;
  }
  .why__fact-icon {
    width: 60px;
    height: 60px;
  }
  .why__stats {
    flex-direction: column;
    align-items: center;
  }
  .why__stats span + span::before {
    content: none;
  }
  .why__cta-actions {
    width: 100%;
    align-items: stretch;
    text-align: center;
  }
  .why__cta-button {
    min-width: 0;
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .why.is-ready .why__reveal {
    opacity: 1;
    transform: none;
  }
  .why *,
  .why *::after,
  .why.is-in * {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Partner organisations ---------- */
.home-partners {
  padding-block: clamp(56px, 5vw, 72px);
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}
.home-partners__header {
  margin-bottom: 32px;
}
.home-partners__header .section-title {
  max-width: 24ch;
  color: var(--navy);
  font-size: clamp(30px, 3vw, 40px);
}
.home-partners__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* Fill the row naturally when editors publish only one or two cards. */
.home-partners__list:has(> li:only-child) { grid-template-columns: minmax(0, 1fr); }
.home-partners__list:has(> li:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-partners__list > li {
  min-width: 0;
}
.home-partners__link {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--navy);
  text-align: center;
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease;
}
.home-partners__link:focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 4px;
}
.home-partners__link:active {
  background: var(--teal-tint);
}
.home-partners__logo {
  display: flex;
  width: 100%;
  height: 128px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.home-partners__logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 88px;
  object-fit: contain;
}
.home-partners__logo--fcc img {
  width: 180px;
}
/* Give the circular membership badge comparable visual weight to the wordmarks. */
.home-partners__logo--face img {
  max-height: 128px;
}
.home-partners__name {
  max-width: 28ch;
  min-height: 3em;
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-wrap: balance;
}
.home-partners__visit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--forest);
  font-size: 14px;
  font-weight: 600;
}
.home-partners__visit .icon {
  width: 16px;
  height: 16px;
}
@media (hover: hover) {
  .home-partners__link:hover {
    border-color: var(--forest);
    background: var(--teal-wash);
  }
  .home-partners__link:hover .home-partners__visit {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}
@media (max-width: 700px) {
  .home-partners__header {
    margin-bottom: 24px;
  }
  .home-partners__list,
  .home-partners__list:has(> li:nth-child(2):last-child) {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .home-partners__link {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    column-gap: 20px;
    row-gap: 12px;
    padding: 20px;
    text-align: left;
  }
  .home-partners__logo {
    grid-row: 1 / 3;
    height: 104px;
    margin: 0;
  }
  .home-partners__logo--face img {
    max-height: 104px;
  }
  .home-partners__name {
    align-self: end;
    min-height: 0;
    margin: 0;
    text-wrap: initial;
  }
  .home-partners__visit {
    align-self: start;
    margin: 0;
  }
}
@media (max-width: 360px) {
  .home-partners__link {
    grid-template-columns: 88px minmax(0, 1fr);
    column-gap: 16px;
    padding: 16px;
  }
  .home-partners__logo,
  .home-partners__logo--face img {
    max-height: 88px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-partners__link {
    transition: none;
  }
}

/* ---------- Company story ---------- */
/* Home "The app is Rinn. The people behind it? We're Rinncrest." (#about): an app > company > lender flow under the heading.
   The art is three cropped illustrations (assets/story-*.webp); the labels, dotted connectors and the "not a lender" note are live
   HTML/CSS. launch.js adds .is-ready/.is-in on scroll: nodes and connectors build left to right, then the dots flow and the art
   floats gently. Without JS or with reduced motion everything is simply visible. Under 400px of width the flow stacks vertically. */
.story__flow {
  container-type: inline-size;
  margin: clamp(28px, 4vw, 44px) 0 0;
}
.story__nodes {
  --art-h: clamp(96px, 24cqw, 150px);
  display: flex;
  align-items: flex-start;
  margin: 0;
  padding: 0;
  list-style: none;
}
.story__node {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.story__node--app {
  width: calc(var(--art-h) * 0.937);
}
.story__node--team {
  width: calc(var(--art-h) * 1.38);
}
.story__node--lender {
  width: calc(var(--art-h) * 1.14);
}
.story__art {
  display: block;
  width: 100%;
  height: var(--art-h);
  object-fit: contain;
}
.story__name {
  margin-top: 10px;
  font-size: clamp(15px, 3.4cqw, 19px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--navy);
}
.story__role {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.4;
  text-wrap: balance;
  color: var(--muted);
}
/* Dotted connector, centred on the illustrations' mid-line (the art's own dots sat at about 57% of its height). */
.story__link {
  flex: 1 1 0;
  min-width: 24px;
  height: 4px;
  margin-top: calc(var(--art-h) * 0.575 - 2px);
  background: radial-gradient(circle at center, var(--teal) 2px, transparent 2.6px) 0 50% / 10px 4px repeat-x;
}
.story__note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--teal-tint);
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}
.story__note svg {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@container (max-width: 399px) {
  .story__nodes {
    --art-h: 88px;
    flex-direction: column;
    align-items: stretch;
  }
  .story__node {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    column-gap: 16px;
    align-items: center;
    width: auto;
    text-align: left;
  }
  .story__art {
    grid-row: 1 / span 2;
    justify-self: center;
    width: 112px;
  }
  .story__name {
    align-self: end;
    margin-top: 0;
  }
  .story__role {
    align-self: start;
  }
  .story__link {
    flex: none;
    width: 4px;
    min-width: 0;
    height: 24px;
    margin: 2px 0 2px 54px;
    background: radial-gradient(circle at center, var(--teal) 2px, transparent 2.6px) 50% 0 / 4px 10px repeat-y;
  }
}

/* Entrance: app, connector, company, connector, lender, note, in that order (--t is each piece's start). */
.story__nodes > :nth-child(1) {
  --t: 0.1s;
}
.story__nodes > :nth-child(2) {
  --t: 0.45s;
}
.story__nodes > :nth-child(3) {
  --t: 0.75s;
}
.story__nodes > :nth-child(4) {
  --t: 1.1s;
}
.story__nodes > :nth-child(5) {
  --t: 1.4s;
}
.story__note {
  --t: 1.85s;
}
.story.is-ready:not(.is-in) .story__node,
.story.is-ready:not(.is-in) .story__note {
  opacity: 0;
  transform: translateY(18px) scale(0.97);
}
.story.is-ready:not(.is-in) .story__link {
  clip-path: inset(0 100% 0 0);
}
.story.is-in .story__node,
.story.is-in .story__note {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.6s ease-out var(--t),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) var(--t);
}
.story.is-in .story__link {
  clip-path: inset(0);
  transition: clip-path 0.45s cubic-bezier(0.4, 0, 0.2, 1) var(--t);
  animation: story-flow-x 0.9s linear infinite;
}
.story.is-in .story__art {
  animation: story-float 6s ease-in-out infinite;
}
.story.is-in .story__node--app .story__art {
  animation-delay: 2.2s;
}
.story.is-in .story__node--team .story__art {
  animation-delay: 3.1s;
}
.story.is-in .story__node--lender .story__art {
  animation-delay: 4s;
}
@container (max-width: 399px) {
  .story.is-ready:not(.is-in) .story__link {
    clip-path: inset(0 0 100% 0);
  }
  .story.is-in .story__link {
    animation-name: story-flow-y;
  }
}
@keyframes story-flow-x {
  to {
    background-position-x: 10px;
  }
}
@keyframes story-flow-y {
  to {
    background-position-y: 10px;
  }
}
@keyframes story-float {
  50% {
    transform: translateY(-6px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .story *,
  .story.is-in * {
    animation: none !important;
    transition: none !important;
  }
  .story.is-ready:not(.is-in) .story__node,
  .story.is-ready:not(.is-in) .story__note {
    opacity: 1;
    transform: none;
  }
  .story.is-ready:not(.is-in) .story__link {
    clip-path: none;
  }
}
