/* Bridgify marketing site. Tokens match the app palette in brokify-app/bridgify/ui.tsx.
   No animations or transitions. */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto;
}

:root {
  --purple: #4A1FA8;
  --purple-mid: #6B3BD1;
  --purple-deep: #2F1269;
  --ink: #150E26;
  --muted: #6B6484;
  --line: #E4DCF5;
  --canvas: #F6F3FE;
  --card: #FFFFFF;
  --green: #0E7A45;
  --green-bg: #E6F6ED;
  --chip-bg: #EDE6FC;
  --hero-top: #6A33C7;
  --hero-mid: #3D1688;
  --hero-bottom: #1C0A45;
  --shadow: 0 2px 10px rgba(21, 14, 38, 0.05);
  --radius-card: 16px;
  --radius-btn: 14px;
  --header-h: 68px;
  --max: 1080px;
}

html {
  -webkit-text-size-adjust: 100%;
}

html,
body {
  height: auto;
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 22px;
  color: var(--ink);
  background: var(--canvas);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--purple);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--purple);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

/* Header */
.site-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 20px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover,
.brand:focus-visible {
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
}

.brand span {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--purple-deep);
  line-height: 1;
}

.brand .logo-r {
  font-size: 0.42em;
  font-weight: 600;
  color: inherit;
  letter-spacing: 0;
  line-height: 0;
  margin-left: 2px;
  position: relative;
  top: -0.6em;
  vertical-align: baseline;
}

.nav-desktop {
  display: none;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 0 0;
}

.nav-desktop a {
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 7px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
}

.nav-desktop a:hover,
.nav-desktop a:focus-visible,
.nav-desktop a[aria-current="page"] {
  color: var(--purple);
  background: var(--chip-bg);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: 8px;
}

.header-apply,
.header-login {
  flex-shrink: 0;
}

.header-login[aria-current="page"] {
  background: var(--chip-bg);
}

.back-to-site-bar {
  background: #FFFFFF;
  border-top: 1px solid var(--line);
}

.back-to-site-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 6px 20px 8px;
}

.dash-header .back-to-site-inner {
  max-width: 1180px;
}

.back-to-site {
  display: inline-flex;
  align-items: center;
  color: #4A1FA8;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--canvas);
}

.back-to-site:hover {
  color: var(--purple-deep);
  border-color: #4A1FA8;
  text-decoration: none;
}

.back-to-site:focus-visible {
  color: var(--purple-deep);
  border-color: #4A1FA8;
  text-decoration: none;
  outline: 2px solid #4A1FA8;
  outline-offset: 2px;
}

.nav-menu {
  margin-left: auto;
  position: relative;
}

.nav-menu summary {
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--purple);
  border: 1.5px solid var(--purple);
  background: #fff;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 11px;
  display: flex;
  align-items: center;
}

.nav-menu summary::-webkit-details-marker,
.nav-menu summary::marker {
  display: none;
  content: "";
}

.nav-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  min-width: 220px;
  padding: 8px;
  z-index: 60;
}

.nav-menu-panel a {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
}

.nav-menu-panel a:hover,
.nav-menu-panel a:focus-visible,
.nav-menu-panel a[aria-current="page"] {
  color: var(--purple);
  background: var(--chip-bg);
  text-decoration: none;
}

@media (min-width: 1400px) {
  .nav-menu {
    display: none;
  }

  .nav-desktop {
    display: flex;
  }

  .header-actions {
    margin-left: 4px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: var(--radius-btn);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid transparent;
  line-height: 1.2;
  text-align: center;
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
}

.btn-primary {
  background: var(--purple);
  color: #FFFFFF;
  border-color: var(--purple);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--purple-deep);
  border-color: var(--purple-deep);
  color: #fff;
}

/* Apply / Apply now buttons that open the demo app */
.btn-apply {
  background: #EA580C;
  color: #FFFFFF;
  border-color: #EA580C;
  font-weight: 700;
  border-radius: 12px;
}

.btn-apply:hover,
.btn-apply:focus-visible {
  background: #C2410C;
  border-color: #C2410C;
  color: #FFFFFF;
  text-decoration: none;
}

.btn-sm.btn-apply {
  border-radius: 12px;
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--purple);
  border-color: var(--purple);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--chip-bg);
  color: var(--purple);
}

.btn-on-dark {
  background: #FFFFFF;
  color: var(--purple);
  border-color: #FFFFFF;
}

.btn-on-dark:hover,
.btn-on-dark:focus-visible {
  background: var(--chip-bg);
  color: var(--purple-deep);
}

/* Homepage "Ready to get started": orange label text on the white button. */
.cta-banner .btn-on-dark {
  color: #EA580C;
}

.cta-banner .btn-on-dark:hover,
.cta-banner .btn-on-dark:focus-visible {
  color: #C2410C;
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 15px;
  border-radius: 11px;
}

/* Layout */
main {
  flex: 1 0 auto;
}

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

.section {
  padding: 56px 0;
}

.section-tight {
  padding: 40px 0;
}

.section h2 {
  font-size: 28px;
  line-height: 34px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--ink);
  margin-bottom: 10px;
}

.lede {
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 28px;
}

.page-hero {
  padding: 48px 0 24px;
}

.page-hero h1 {
  font-size: 34px;
  line-height: 40px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--ink);
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
  max-width: 640px;
}

/* Home hero */
.hero {
  background: linear-gradient(180deg, var(--hero-top) 0%, var(--hero-mid) 48%, var(--hero-bottom) 100%);
  color: #fff;
  padding: 72px 0 80px;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr 1.15fr;
    gap: 40px;
  }
}

.hero-kicker {
  font-family: inherit;
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #F8E7A8;
  margin: 0 0 10px;
}

.hero-kicker a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(248, 231, 168, 0.5);
}

.hero-kicker a:hover,
.hero-kicker a:focus-visible {
  border-bottom-color: #F8E7A8;
}

.hero h1 {
  font-size: 42px;
  line-height: 48px;
  font-weight: 800;
  letter-spacing: -1px;
  max-width: 16ch;
  margin-bottom: 14px;
}

.hero .sub {
  font-size: 18px;
  line-height: 26px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 36em;
  margin-bottom: 10px;
  font-weight: 500;
}

.hero-compare {
  font-size: 18px;
  line-height: 26px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 36em;
  margin: 0 0 12px;
  font-weight: 500;
}

.hero-emphasis {
  font-family: inherit;
  font-size: 22px;
  line-height: 28px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #F8E7A8;
  max-width: 36em;
  margin: 0 0 8px;
}

.hero-support {
  font-family: inherit;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: rgba(248, 231, 168, 0.88);
  max-width: 36em;
  margin: 0 0 22px;
}

.hero-available {
  font-size: 13.5px;
  line-height: 20px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 10px;
}

.hero-cta {
  margin-top: 24px;
}

/* Get started + Sign in / Sign up pair in the home hero */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.hero-ctas .hero-cta {
  margin-top: 0;
}

.hero-cta-secondary {
  background: #FFFFFF;
  color: var(--purple);
  border-color: #EA580C;
  border-radius: 12px;
}

.hero-cta-secondary:hover,
.hero-cta-secondary:focus-visible {
  background: #FFF4EC;
  color: var(--purple);
  border-color: #C2410C;
  text-decoration: none;
}

/* Home hero right-hand explainer, matching the How it works video block */
.hero-video {
  margin: 0;
  min-width: 0;
}

.hero-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: var(--purple-deep);
  box-shadow: 0 18px 40px rgba(10, 4, 30, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: var(--purple-deep);
}

.hero-video figcaption {
  font-size: 13.5px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 10px;
}

.hiw-def {
  margin-bottom: 16px;
}

/* Badges / chips, matching the app's purple chip tone */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--chip-bg);
  color: var(--purple);
  font-size: 13.5px;
  font-weight: 700;
  border: 1px solid var(--line);
  line-height: 1.3;
}

.badges-band {
  padding: 28px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

/* Cards and grids */
.grid-3,
.grid-2,
.grid-4 {
  display: grid;
  gap: 16px;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3,
.grid-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-2,
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .hero h1 {
    font-size: 52px;
    line-height: 58px;
  }

  .page-hero h1 {
    font-size: 40px;
    line-height: 46px;
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 20px;
}

.card h3 {
  font-size: 19px;
  line-height: 25px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
}

.card a.stretched {
  color: inherit;
  text-decoration: none;
  display: block;
}

.card a.stretched:hover h3,
.card a.stretched:focus-visible h3 {
  color: var(--purple);
  text-decoration: none;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--chip-bg);
  color: var(--purple);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 12px;
}

.tile-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 16px;
}

.tile-card h3 {
  margin-bottom: 0;
}

.tile-apply {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  text-align: center;
  border-radius: 12px;
}

.loan-page-cta {
  border-radius: 12px;
}

/* FAQ accordion */
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 0;
  margin-bottom: 10px;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-weight: 800;
  font-size: 16px;
  line-height: 22px;
  color: var(--ink);
  list-style: none;
  padding: 16px 20px;
}

.faq summary::-webkit-details-marker,
.faq summary::marker {
  display: none;
  content: "";
}

.faq summary:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
  border-radius: 8px;
}

.faq-chevron {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: -3px;
  border-right: 2px solid var(--purple);
  border-bottom: 2px solid var(--purple);
  transform: rotate(45deg);
  transition: none !important;
}

.faq details[open] .faq-chevron {
  margin-top: 3px;
  transform: rotate(225deg);
  transition: none !important;
}

.faq-body {
  padding: 0 20px 16px;
}

.faq details .faq-body,
.faq details .faq-body p {
  color: var(--muted);
}

.faq-body p {
  margin-top: 0;
}

.faq-body p + p {
  margin-top: 10px;
}

.faq-more {
  margin-top: 16px;
  font-weight: 700;
}

/* Closing CTA */
.cta-banner {
  background: linear-gradient(180deg, var(--hero-mid) 0%, var(--hero-bottom) 100%);
  color: #fff;
  padding: 56px 0;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 10px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 24px;
  max-width: 40em;
}

/* Prose pages */
.prose {
  max-width: 720px;
}

.prose h2 {
  font-size: 22px;
  line-height: 28px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin: 28px 0 10px;
}

.prose p,
.prose li {
  font-size: 15.5px;
  line-height: 24px;
  color: var(--ink);
  margin-bottom: 12px;
}

.prose ul,
.prose ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.prose li + li {
  margin-top: 6px;
}

.draft-note {
  background: #FFF6E3;
  border: 1px solid #E9C46A;
  color: #6E4300;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13.5px;
  line-height: 19px;
  font-weight: 700;
  margin-bottom: 24px;
}

/* Footer */
.site-footer {
  background: var(--purple-deep);
  color: rgba(255, 255, 255, 0.88);
  padding: 40px 0 88px;
  flex-shrink: 0;
  margin-bottom: 0;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  margin-bottom: 16px;
}

.footer-brand:hover,
.footer-brand:focus-visible {
  text-decoration: none;
}

.footer-brand img {
  width: 32px;
  height: 32px;
}

.footer-brand span {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 20px;
}

.footer-links a {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
}

.footer-trustpilot {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 19px;
}

.footer-trustpilot a {
  color: #fff;
  font-weight: 600;
}

.footer-trustpilot a:hover,
.footer-trustpilot a:focus-visible {
  text-decoration: underline;
}

.footer-disclaimer {
  font-size: 13px;
  line-height: 19px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 720px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-broker {
  margin: 16px 0 0;
  max-width: 720px;
  text-align: left;
}

.footer-broker-heading {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 19px;
  font-weight: 700;
  color: #fff;
}

.footer-broker-line {
  margin: 0;
  font-size: 13px;
  line-height: 19px;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 639px) {
  .hero {
    padding: 48px 0 56px;
  }

  .hero h1 {
    font-size: clamp(25px, 8.1vw, 32px);
    line-height: 1.18;
    max-width: none;
    letter-spacing: -0.8px;
  }

  .hero h1 .h1-line {
    display: block;
    white-space: nowrap;
  }

  .section {
    padding: 40px 0;
  }

  .header-inner {
    gap: 10px;
  }

  .brand span {
    font-size: 21px;
  }

  .badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .badge {
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 8px 10px;
    font-size: 12.5px;
  }
}

/* Buttons used as <button> in the preview login form */
button.btn {
  font-family: inherit;
  cursor: pointer;
  width: 100%;
}

/* Homepage hero with preview login */
.hero-with-login {
  display: grid;
  gap: 32px;
  align-items: start;
}

@media (min-width: 900px) {
  .hero-with-login {
    grid-template-columns: 1fr minmax(260px, 320px);
    align-items: center;
    gap: 48px;
  }
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0;
  align-items: center;
}

.store-badge {
  min-width: 180px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  padding: 8px 14px 8px 12px;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  line-height: 1.1;
}

.store-badge:hover,
.store-badge:focus-visible {
  text-decoration: none;
  background: #111;
  color: #fff;
}

.store-badge svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  fill: currentColor;
}

.store-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.store-kicker {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.store-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

span.store-badge {
  cursor: default;
}

/* Preview login card */
.login-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
}

.login-kicker {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 4px;
}

.login-card h2 {
  font-size: 19px;
  line-height: 24px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 14px;
}

.login-card label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin: 0 0 6px;
}

.login-card input[type="email"],
.login-card input[type="password"],
.login-card input[type="text"],
.login-card input[type="tel"] {
  width: 100%;
  min-height: 46px;
  border-radius: 11px;
  border: 1.5px solid var(--line);
  background: #fff;
  padding: 10px 12px;
  font-size: 15.5px;
  color: var(--ink);
  font-family: inherit;
  margin-bottom: 12px;
}

.login-card input:focus {
  outline: 2px solid var(--purple);
  outline-offset: 0;
  border-color: var(--purple);
}

.login-note {
  margin-top: 10px;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}

/* Footer social links, next to Trustpilot */
.footer-follow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin: 0 0 16px;
}

.footer-trustpilot {
  margin: 0;
  font-size: 13px;
  line-height: 19px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-decoration: none;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: block;
}

/* Live chat placeholder (no third-party provider) */
.chat-widget {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 80;
}

.chat-widget > summary {
  list-style: none;
  cursor: pointer;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--purple);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  box-shadow: 0 2px 10px rgba(21, 14, 38, 0.2);
}

.chat-widget > summary::-webkit-details-marker,
.chat-widget > summary::marker {
  display: none;
  content: "";
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  width: min(320px, calc(100vw - 32px));
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 16px 16px 18px;
}

.chat-panel h2 {
  font-size: 17px;
  line-height: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.chat-panel p {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  margin-bottom: 14px;
}

.chat-panel .btn {
  width: 100%;
}

/* Dashboard preview */
.dash-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.dash-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 20px;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dash-header .preview-pill {
  margin-left: 4px;
}

.dash-header .btn {
  margin-left: auto;
}

.sample-banner {
  background: #FFF6E3;
  border-bottom: 1px solid #E9C46A;
  color: #6E4300;
  font-size: 13.5px;
  line-height: 19px;
  font-weight: 700;
  padding: 10px 20px;
  text-align: center;
}

.dash-radios {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.dash-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 20px 56px;
  display: grid;
  gap: 20px;
}

@media (min-width: 860px) {
  .dash-shell {
    grid-template-columns: 200px 1fr;
    align-items: start;
    gap: 28px;
  }
}

.dash-nav {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

@media (min-width: 860px) {
  .dash-nav {
    flex-direction: column;
    position: sticky;
    top: 16px;
  }
}

.dash-nav label,
.dash-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}

.dash-nav label:hover,
.dash-nav a:hover,
.dash-nav label:focus-visible,
.dash-nav a:focus-visible {
  background: var(--chip-bg);
  color: var(--purple);
  text-decoration: none;
}

#nav-applications:checked ~ .dash-shell label[for="nav-applications"],
#nav-rewards:checked ~ .dash-shell label[for="nav-rewards"],
#nav-account:checked ~ .dash-shell label[for="nav-account"] {
  background: var(--chip-bg);
  color: var(--purple);
}

.panel-rewards,
.panel-account,
#nav-rewards:checked ~ .dash-shell .panel-applications,
#nav-account:checked ~ .dash-shell .panel-applications {
  display: none;
}

#nav-rewards:checked ~ .dash-shell .panel-rewards,
#nav-account:checked ~ .dash-shell .panel-account {
  display: block;
}

.dash-main h1 {
  font-size: 26px;
  line-height: 32px;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-bottom: 8px;
}

.dash-main .lede {
  margin-bottom: 18px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: end;
  margin-bottom: 16px;
}

.toolbar label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

.toolbar select {
  min-height: 42px;
  border-radius: 11px;
  border: 1.5px solid var(--line);
  background: #fff;
  padding: 8px 12px;
  font-size: 14.5px;
  font-weight: 600;
  font-family: inherit;
  color: var(--ink);
  min-width: 200px;
}

.app-view-radios {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.view-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.view-tabs label {
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
}

#view-table:checked ~ .view-tabs label[for="view-table"],
#view-group:checked ~ .view-tabs label[for="view-group"] {
  background: var(--chip-bg);
  border-color: var(--purple);
  color: var(--purple);
}

.view-group {
  display: none;
}

#view-group:checked ~ .view-group {
  display: grid;
}

#view-group:checked ~ .table-wrap {
  display: none;
}

.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}

.dash-main,
.dash-shell,
main {
  min-width: 0;
  max-width: 100%;
}

.table-wrap {
  width: 100%;
}

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 20px;
  min-width: 720px;
}

table.data th,
table.data td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

table.data th {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.02em;
  background: var(--canvas);
}

table.data tr:last-child td {
  border-bottom: 0;
}

table.data .empty {
  text-align: center;
  color: var(--muted);
  font-weight: 600;
  padding: 28px 14px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 9px;
  background: var(--chip-bg);
  color: var(--purple);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.status-pill.offer,
.status-pill.completed {
  background: var(--green-bg);
  color: var(--green);
}

.status-pill.legal {
  background: #FFF6E3;
  color: var(--amber);
}

.property-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 800px) {
  .property-grid,
  #view-group:checked ~ .view-group {
    grid-template-columns: 1fr 1fr;
  }
}

.property-card h3 {
  font-size: 16px;
  line-height: 22px;
  margin-bottom: 4px;
}

.property-card .prop-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

.property-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.property-card li {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: var(--canvas);
  font-size: 13.5px;
  line-height: 19px;
}

.property-card .who {
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

.reward-tiles {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

@media (min-width: 640px) {
  .reward-tiles {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.reward-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 16px 18px;
}

.reward-tile .label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
}

.reward-tile .value {
  font-size: 28px;
  line-height: 34px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--ink);
}

.reward-note {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* Affiliate programme page */
.aff-h2 {
  font-size: 28px;
  line-height: 34px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--ink);
  margin: 0 0 16px;
  max-width: var(--max);
}

.join-card h2 {
  font-size: 22px;
  line-height: 28px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.join-intro {
  color: var(--muted);
  margin-bottom: 18px;
}

.join-card label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin: 0 0 6px;
}

.join-card input[type="text"],
.join-card input[type="email"],
.join-card select,
.join-card textarea {
  width: 100%;
  min-height: 46px;
  border-radius: 11px;
  border: 1.5px solid var(--line);
  background: #fff;
  padding: 10px 12px;
  font-size: 15.5px;
  color: var(--ink);
  font-family: inherit;
  margin-bottom: 14px;
}

.join-card textarea {
  min-height: 96px;
  resize: vertical;
}

.join-card input:focus,
.join-card select:focus,
.join-card textarea:focus {
  outline: 2px solid var(--purple);
  outline-offset: 0;
  border-color: var(--purple);
}

.join-card .check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  margin-bottom: 16px;
}

.join-card .check-row input {
  margin-top: 3px;
  flex-shrink: 0;
}

.btn-affiliate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #EA580C;
  color: #FFFFFF;
  border: 0;
  border-radius: 12px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  padding: 14px 28px;
  min-height: 48px;
  min-width: 200px;
  width: auto;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
}

.btn-affiliate:hover,
.btn-affiliate:focus-visible {
  background: #C2410C;
  color: #FFFFFF;
  text-decoration: none;
}

@media (max-width: 639px) {
  .btn-affiliate {
    width: 100%;
  }
}

.join-thanks {
  margin-top: 8px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-bg);
  border-radius: 12px;
  padding: 14px 16px;
}

@media (max-width: 420px) {
  .header-actions .btn-sm {
    min-height: 36px;
    padding: 0 12px;
    font-size: 14px;
  }
}

.login-page {
  max-width: 560px;
  margin: 48px auto 72px;
}

.login-page .login-card h1 {
  font-size: 28px;
  line-height: 34px;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin: 8px 0 14px;
}

.login-page .login-kicker {
  text-transform: none;
  letter-spacing: 0;
  font-size: 13.5px;
  line-height: 19px;
  font-weight: 700;
}

/* Contact page */
.contact-layout {
  display: grid;
  gap: 16px;
  align-items: start;
  margin-bottom: 32px;
}

@media (min-width: 800px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1.6fr) minmax(240px, 0.9fr);
  }
}

.contact-form-card,
.contact-email-card {
  padding: 24px;
}

#contact-form,
.contact-form-card {
  scroll-margin-top: 84px;
}

.contact-form-card h2,
.contact-email-card h2 {
  font-size: 22px;
  line-height: 28px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.contact-intro,
.contact-email-card p {
  color: var(--muted);
  margin-bottom: 18px;
}

.contact-form-card label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin: 0 0 6px;
}

.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card input[type="tel"],
.contact-form-card textarea {
  width: 100%;
  min-height: 46px;
  border-radius: 11px;
  border: 1.5px solid var(--line);
  background: #fff;
  padding: 10px 12px;
  font-size: 15.5px;
  color: var(--ink);
  font-family: inherit;
  margin-bottom: 14px;
}

.contact-form-card textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
  outline: 2px solid var(--purple);
  outline-offset: 0;
  border-color: var(--purple);
}

.contact-form-card .check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  margin-bottom: 0;
}

.contact-form-card .check-row input {
  margin-top: 3px;
  flex-shrink: 0;
}

.consent-boxes {
  display: grid;
  gap: 12px;
  margin: 2px 0 16px;
}

.consent-box {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
}

.consent-help {
  margin: 6px 0 0 26px;
  font-size: 13px;
  line-height: 19px;
  font-weight: 500;
  color: var(--muted);
}

.postal-address {
  display: none;
  margin-top: 14px;
  border: 0;
  padding: 0;
  min-width: 0;
}

.consent-box:has(#contact-postal-consent:checked) .postal-address,
.postal-address.is-open {
  display: block;
}

.postal-address legend {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  padding: 0;
  margin: 0 0 10px;
}

.postal-address input[name="address_postcode"] {
  max-width: 12em;
}

.contact-form-card .honey {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form-card form {
  position: relative;
}

.contact-submit {
  background: #4A1FA8;
  color: #FFFFFF;
  font-weight: 700;
  border-radius: 12px;
  border-color: #4A1FA8;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  background: #2F1269;
  border-color: #2F1269;
  color: #FFFFFF;
}

.contact-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-mail-btn {
  border-radius: 12px;
  font-weight: 700;
  width: 100%;
  word-break: break-all;
}

.contact-thanks {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-bg);
  border-radius: 12px;
  padding: 14px 16px;
}

.contact-error {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  color: #8B1538;
  background: #FDECEC;
  border-radius: 12px;
  padding: 14px 16px;
}

.contact-apply {
  margin: 0 0 56px;
}


/* Team page */
.team-page {
  padding-bottom: 56px;
}

.team-lead {
  display: grid;
  gap: 20px;
  align-items: center;
  padding: 24px;
  margin-bottom: 24px;
}

@media (min-width: 640px) {
  .team-lead {
    grid-template-columns: auto 1fr;
    gap: 28px;
  }
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  background: var(--chip-bg);
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-photo-lead {
  width: 132px;
  height: 132px;
}

.team-photo-lead svg {
  width: 88px;
  height: 88px;
  fill: var(--purple);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-lead-copy h2 {
  font-size: 22px;
  line-height: 28px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.team-lead-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}

.team-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.team-slot {
  padding: 20px;
}

.team-slot .team-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  margin-bottom: 14px;
}

.team-slot .team-photo svg {
  width: 56%;
  height: 56%;
  fill: var(--purple);
}

.team-slot h3 {
  font-size: 17px;
  line-height: 24px;
  font-weight: 800;
  letter-spacing: -0.2px;
  margin-bottom: 2px;
}

.team-slot .team-role {
  font-size: 13.5px;
  line-height: 20px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0;
}

.team-slot .team-bio {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 21px;
  color: var(--muted);
  font-weight: 500;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Comparison section */
.compare-section {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.compare-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.compare-intro h2 {
  margin-bottom: 12px;
}

.compare-intro p {
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
  margin-bottom: 12px;
  max-width: 42em;
}

.compare-intro p:last-child {
  margin-bottom: 0;
}

.compare-table-wrap {
  display: none;
  margin-top: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: auto;
}

.compare-table-wrap:focus {
  outline: 2px solid var(--purple);
  outline-offset: 4px;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 13px;
  line-height: 18px;
}

.compare-table th,
.compare-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  overflow-wrap: break-word;
  word-break: break-word;
}

.compare-table thead th {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.2px;
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
}

.compare-table tbody th {
  font-weight: 700;
  width: 16%;
  background: var(--canvas);
  color: var(--ink);
}

.compare-table .compare-bridge {
  background: #4A1FA8;
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(21, 14, 38, 0.18);
  position: relative;
  z-index: 1;
  border-bottom-color: rgba(255, 255, 255, 0.18);
  width: 24%;
}

.compare-table thead .compare-bridge {
  border-radius: 16px 16px 0 0;
  font-weight: 800;
}

.compare-table tbody tr:last-child .compare-bridge {
  border-radius: 0 0 16px 16px;
  border-bottom-color: transparent;
}

.compare-table .compare-corner {
  background: var(--canvas);
}

.compare-pill {
  display: inline-block;
  margin: 0 0 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #FFFFFF;
  color: #4A1FA8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  border: 0;
}

.compare-col-name {
  display: block;
}

.compare-cards {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.compare-card h3 {
  margin-bottom: 12px;
}

.compare-card-bridge {
  background: #4A1FA8;
  color: #FFFFFF;
  border-color: #4A1FA8;
}

.compare-card-bridge h3,
.compare-card-bridge dt,
.compare-card-bridge dd {
  color: #FFFFFF;
}

.compare-card-bridge .compare-pill {
  margin-bottom: 10px;
}

.compare-dl {
  margin: 0;
}

.compare-pair {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.compare-card-bridge .compare-pair {
  border-top-color: rgba(255, 255, 255, 0.18);
}

.compare-pair:first-child {
  border-top: 0;
  padding-top: 0;
}

.compare-pair dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.compare-pair dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 21px;
  color: var(--muted);
}

.compare-card-bridge .compare-pair dd {
  color: rgba(255, 255, 255, 0.92);
}

@media (min-width: 800px) {
  .compare-cards {
    display: none;
  }

  .compare-table-wrap {
    display: block;
  }
}

@media (min-width: 1100px) {
  .compare-wrap {
    display: grid;
    grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }

  .compare-cards {
    display: none;
  }

  .compare-table-wrap {
    grid-column: 2;
    margin-top: 0;
  }
}

/* Welcome Pack */
.welcome-page {
  padding-bottom: 56px;
}

.welcome-h2 {
  font-size: 22px;
  line-height: 28px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin: 0 0 16px;
}

.welcome-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-bottom: 28px;
}

@media (min-width: 640px) {
  .welcome-grid {
    grid-template-columns: 1fr 1fr;
  }


}

@media (min-width: 900px) {
  .welcome-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.welcome-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--canvas);
  color: var(--purple);
  margin-bottom: 12px;
}

.welcome-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.welcome-item h3 {
  margin-bottom: 0;
  font-size: 17px;
  line-height: 24px;
}

.welcome-item p {
  margin-top: 8px;
}

.welcome-cta {
  margin: 0 0 16px;
}

.welcome-privacy {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 22px;
  max-width: 40em;
}

/* How it works beginner layout and get started form */
.hiw-lead {
  font-size: 22px;
  line-height: 28px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin: 0 0 12px;
  color: var(--ink);
}

.hiw-video {
  margin: 16px 0 0;
  max-width: 46em;
  width: 100%;
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--purple-deep);
}

.hiw-video iframe,
.hiw-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.hiw-video video {
  object-fit: contain;
  background: #ffffff;
}


.hiw-explainer {
  margin: 8px 0 32px;
}

.hiw-explainer-intro {
  font-family: inherit;
  font-size: 16.5px;
  line-height: 25px;
  color: var(--ink);
  max-width: 46em;
  margin: 0 0 20px;
}

.hiw-explain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 800px) {
  .hiw-explain-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.hiw-explain-art {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 0 0 14px;
}

.hiw-explain-card h3 {
  margin-bottom: 6px;
}

.hiw-explain-card p:last-child {
  margin-bottom: 0;
}

.hiw-intro {
  max-width: 46em;
  margin-bottom: 16px;
}

.hiw-intro p {
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
  margin-bottom: 12px;
}

.hiw-intro p:last-child {
  margin-bottom: 0;
}

.hiw-example {
  margin: 0 0 28px;
  max-width: 46em;
}

.hiw-example h3 {
  margin-bottom: 8px;
}

.hiw-steps {
  margin-bottom: 24px;
}

.hiw-steps-full {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.how-page .start-form-card,
.hiw-steps-full .start-form-card,
#how-it-works .start-form-card {
  margin: 0 0 28px;
  scroll-margin-top: 96px;
}

.start-form-grid {
  display: grid;
  gap: 0 16px;
}

@media (min-width: 640px) {
  .start-form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .start-form-span {
    grid-column: 1 / -1;
  }
}

.start-form-card textarea {
  min-height: 84px;
}

.start-form-privacy {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 22px;
  margin: 0 0 16px;
}

.fit-check {
  margin: 8px 0 28px;
}

.fit-check-title {
  font-size: 22px;
  line-height: 28px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin: 0 0 8px;
}

.fit-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-bottom: 16px;
}

@media (min-width: 640px) {
  .fit-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .fit-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.fit-not {
  margin: 0;
  padding: 16px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--canvas);
  color: var(--ink);
  font-size: 15.5px;
  line-height: 23px;
  font-weight: 600;
  max-width: 52em;
}

.hiw-notes {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin: 0 0 20px;
}

@media (min-width: 640px) {
  .hiw-notes {
    grid-template-columns: 1fr 1fr;
  }
}

.hiw-questions {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 24px;
  color: var(--muted);
}

.good-to-know {
  margin: 0 0 28px;
  max-width: 46em;
}

.good-to-know h2 {
  font-size: 22px;
  line-height: 28px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin: 0 0 8px;
}

.how-page-cta {
  margin: 0 0 56px;
}

.how-page {
  padding-bottom: 8px;
}

/* Auth tabs on the login page */
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 18px;
}

.auth-tab {
  appearance: none;
  background: var(--canvas);
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  min-height: 44px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 12px;
}

.auth-tab[aria-selected="true"] {
  background: var(--chip-bg);
  color: var(--purple);
  border-color: var(--purple);
}

.auth-tab:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}

.auth-switch {
  margin: 14px 0 0;
  font-size: 14.5px;
  line-height: 22px;
  color: var(--muted);
}

.auth-text-btn {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--purple);
  cursor: pointer;
  text-decoration: underline;
}

.auth-text-btn:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}

.signup-form .consent-boxes {
  margin-top: 4px;
}

.login-card .honey {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.signup-form {
  position: relative;
}

/* Funded projects */
.funded-disclaimer,
.funded-strip-note {
  max-width: 46em;
}

.funded-more {
  margin-top: 36px;
}

@media (max-width: 639px) {
  .funded-more {
    margin-top: 24px;
  }
}

.funded-mini-facts-detailed {
  display: grid;
  gap: 4px;
}

.funded-mini-facts-detailed div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.funded-mini-facts-detailed dt {
  font-weight: 600;
}

.funded-mini-facts-detailed dd {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
  text-align: right;
}

.funded-mini-note {
  margin: 6px 16px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
}


.funded-page {
  padding-bottom: 56px;
}

.funded-grid {
  display: grid;
  gap: 24px;
}

.funded-card {
  padding: 0;
  overflow: hidden;
}

.funded-card-top {
  position: relative;
}

.funded-card-body {
  padding: 20px;
}

.funded-card-body h2 {
  font-size: 22px;
  line-height: 28px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin: 0 0 6px;
}

.funded-card-body h3 {
  font-size: 16px;
  line-height: 22px;
  margin: 16px 0 6px;
}

.funded-meta {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 12px;
}

.funded-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--purple-deep);
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.funded-mini .funded-badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

.funded-mini {
  position: relative;
  padding: 0 0 16px;
  overflow: hidden;
}

.funded-mini h3 {
  font-size: 16px;
  line-height: 22px;
  margin: 12px 16px 8px;
}

.funded-mini-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 16px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 700;
}

.funded-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #EDE7F8;
  overflow: hidden;
}

.funded-mini .funded-media {
  border-bottom: 1px solid var(--line);
}

.funded-poster {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(180deg, #EDE7F8 0%, #D4C6F0 100%);
}

.funded-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.funded-media-has-poster .funded-play,
.funded-media-has-poster .funded-play-disabled {
  background: rgba(21, 14, 38, 0.38);
}

.funded-media-has-poster .funded-play-icon {
  background: #4A1FA8;
}

.funded-play,
.funded-play-disabled {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 0;
  color: #fff;
}

.funded-play {
  cursor: pointer;
  font: inherit;
}

.funded-play:focus-visible {
  outline: 2px solid #4A1FA8;
  outline-offset: -6px;
}

.funded-play-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #4A1FA8;
  display: block;
  position: relative;
}

.funded-play-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 0 9px 16px;
  border-color: transparent transparent transparent #fff;
  transform: translate(-50%, -50%);
}

.funded-media-empty .funded-play-icon {
  background: #6B6484;
}

.funded-soon {
  font-size: 13px;
  font-weight: 700;
  color: var(--purple-deep);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 4px 10px;
}

.funded-facts,
.funded-cost {
  display: grid;
  gap: 10px 24px;
  grid-template-columns: 1fr;
  margin: 0 0 8px;
}

@media (min-width: 640px) {
  .funded-facts,
  .funded-cost {
    grid-template-columns: 1fr 1fr;
  }
}

.funded-facts dt,
.funded-cost dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.funded-facts dd,
.funded-cost dd {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.funded-cost-note {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 20px;
  margin: 8px 0 0;
}

.funded-mini-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-bottom: 16px;
}

@media (min-width: 700px) {
  .funded-mini-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* Funded Projects page: compact cards, 2-up on desktop, tidy key/value rows */
@media (min-width: 900px) {
  .funded-page .funded-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
  }
}

.funded-page .funded-grid {
  gap: 20px;
}

.funded-page .funded-card {
  display: flex;
  flex-direction: column;
}

.funded-page .funded-media {
  aspect-ratio: 2 / 1;
}

.funded-page .funded-play-icon {
  width: 44px;
  height: 44px;
}

.funded-page .funded-play-icon::after {
  border-width: 7px 0 7px 12px;
}

.funded-page .funded-soon {
  font-size: 12px;
  padding: 3px 9px;
}

.funded-page .funded-card-body {
  padding: 14px 18px 16px;
}

.funded-page .funded-card-body h2 {
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.2px;
  margin: 0 0 2px;
}

.funded-page .funded-meta {
  font-size: 13px;
  line-height: 18px;
  margin: 0 0 8px;
}

.funded-page .funded-card-body h3 {
  font-size: 13px;
  line-height: 18px;
  font-weight: 800;
  color: var(--purple-deep);
  margin: 10px 0 4px;
}

.funded-page .funded-card-body > p:not(.funded-meta):not(.funded-cost-note) {
  font-size: 14px;
  line-height: 21px;
  margin: 0;
}

.funded-page .funded-facts,
.funded-page .funded-cost {
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
  margin: 0;
}

.funded-page .funded-facts div,
.funded-page .funded-cost div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px solid var(--line);
}

.funded-page .funded-facts dt,
.funded-page .funded-cost dt {
  font-size: 12.5px;
  line-height: 18px;
  font-weight: 600;
}

.funded-page .funded-facts dd,
.funded-page .funded-cost dd {
  font-size: 14px;
  line-height: 18px;
  text-align: right;
  white-space: nowrap;
}

.funded-page .funded-cost-note {
  font-size: 12px;
  line-height: 17px;
  margin: 6px 0 0;
}

@media (max-width: 420px) {
  .funded-page .funded-facts,
  .funded-page .funded-cost {
    grid-template-columns: 1fr;
  }
}

.funded-strip {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.funded-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(21, 14, 38, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.funded-lightbox[hidden] {
  display: none;
}

body.funded-lightbox-open {
  overflow: hidden;
}

.funded-lightbox-panel {
  width: min(960px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 16px;
}

.funded-lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.funded-lightbox-bar h2 {
  font-size: 18px;
  line-height: 24px;
  margin: 0;
}

.funded-lightbox-close {
  appearance: none;
  background: var(--canvas);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  min-height: 40px;
  padding: 0 14px;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.funded-lightbox-close:focus-visible {
  outline: 2px solid #4A1FA8;
  outline-offset: 2px;
}

.funded-lightbox-frame {
  aspect-ratio: 16 / 9;
  background: #150E26;
  border-radius: 12px;
  overflow: hidden;
}

.funded-lightbox-frame video {
  width: 100%;
  height: 100%;
  display: block;
  background: #150E26;
}

.hiw-trio {
  color: var(--muted);
}

/* Scrolling bubble row: explicit exception to the site-wide no-animation rule,
   requested for the homepage at-a-glance chips. Duration is set so the
   longer list still moves at a comfortable reading pace. */
.badges-band .wrap {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
}

.badges-marquee {
  overflow: hidden;
  touch-action: pan-y;
}

.badges-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: 10px;
  padding: 0 10px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.badges-track.is-dragging {
  cursor: grabbing;
}

.badges-track .badge {
  width: auto;
  flex: 0 0 auto;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

/* Footer download badges, under the social links, with a dividing line. */
.footer-stores {
  padding-top: 16px;
  margin: 0 0 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-store-row {
  margin-top: 0;
}

@media (max-width: 639px) {
  .footer-store-row {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-store-row .store-badge {
    min-width: 0;
    width: 100%;
    justify-content: flex-start;
  }
}

.trust-strip {
  background: var(--chip-bg);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  text-align: center;
}

.trust-strip-line {
  margin: 0;
  font-family: inherit;
  font-size: 15px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--purple);
}

.faq-cta {
  margin-top: 12px;
  margin-bottom: 0;
  color: var(--muted);
}

.faq-cta a {
  font-weight: 600;
}

/* Loan calculator */
.calc-card {
  max-width: 720px;
  margin: 0 0 56px;
  padding: 24px;
}

.calc-grid {
  display: grid;
  gap: 0 16px;
}

@media (min-width: 640px) {
  .calc-grid {
    grid-template-columns: 1fr 1fr;
  }

  .calc-span {
    grid-column: 1 / -1;
  }
}

.calc-card label,
.calc-card legend {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink);
}

.calc-hint {
  display: block;
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  color: var(--muted);
  margin: -2px 0 6px;
}

.calc-hint-under {
  margin: -8px 0 14px;
}

.calc-card input[type="number"] {
  width: 100%;
  min-height: 46px;
  border-radius: 11px;
  border: 1.5px solid var(--line);
  background: #fff;
  padding: 10px 12px;
  font-size: 15.5px;
  color: var(--ink);
  font-family: inherit;
  margin-bottom: 14px;
}

.calc-card input[type="number"]:focus {
  outline: 2px solid var(--purple);
  outline-offset: 0;
  border-color: var(--purple);
}

.calc-types {
  border: 0;
  padding: 0;
  margin: 0 0 16px;
}

.calc-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.calc-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.calc-radio input {
  margin: 0;
}

.calc-results {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 4px;
}

.calc-results h2 {
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 12px;
}

.calc-results dl {
  margin: 0;
}

.calc-results dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.calc-results dl > div:first-child {
  border-top: 0;
  padding-top: 0;
}

.calc-results dt {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

.calc-results dd {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  text-align: right;
}

.calc-explain {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 22px;
  color: var(--muted);
}

.calc-note {
  margin: 18px 0 0;
  font-size: 14.5px;
  line-height: 22px;
  color: var(--muted);
  max-width: 46em;
}

.calc-cta {
  margin: 20px 0 0;
}

/* Static decorative background shapes (homepage only). No animation. */
.hero,
.has-bg-shapes {
  position: relative;
  overflow: hidden;
}

.hero-inner,
.has-bg-shapes > .wrap {
  position: relative;
  z-index: 1;
}

.bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-shape {
  position: absolute;
  pointer-events: none;
  display: block;
}

.bg-blob-a {
  width: 460px;
  height: 420px;
  left: -180px;
  top: -140px;
  border-radius: 62% 38% 48% 52% / 44% 46% 54% 56%;
  background: radial-gradient(circle at 32% 28%, #7B4FE0 0%, #4A1FA8 58%, #2F1269 100%);
  opacity: 0.34;
}

.bg-blob-b {
  width: 380px;
  height: 340px;
  right: -160px;
  bottom: -120px;
  border-radius: 42% 58% 50% 50% / 52% 40% 60% 48%;
  background: linear-gradient(160deg, #7B4FE0 0%, #4A1FA8 48%, #2F1269 100%);
  opacity: 0.28;
}

.bg-ring {
  width: 280px;
  height: 280px;
  right: 8%;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 0 58%, rgba(123, 79, 224, 0.5) 60%, rgba(47, 18, 105, 0.35) 74%, transparent 76%);
  opacity: 0.7;
}

.bg-circle {
  width: 160px;
  height: 160px;
  left: 42%;
  bottom: -70px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #7B4FE0 0%, #4A1FA8 70%);
  opacity: 0.22;
}

.has-bg-shapes .bg-blob-faint-a {
  width: 420px;
  height: 380px;
  right: -160px;
  top: -80px;
  border-radius: 48% 52% 40% 60% / 50% 42% 58% 50%;
  background: radial-gradient(circle at 30% 30%, #7B4FE0 0%, #4A1FA8 60%, #2F1269 100%);
  opacity: 0.10;
}

.has-bg-shapes .bg-blob-faint-b {
  width: 360px;
  height: 320px;
  left: -140px;
  bottom: -100px;
  border-radius: 56% 44% 58% 42% / 46% 54% 46% 54%;
  background: linear-gradient(200deg, #7B4FE0 0%, #4A1FA8 55%, #2F1269 100%);
  opacity: 0.09;
}

@media (max-width: 639px) {
  .bg-blob-a {
    width: 260px;
    height: 240px;
    left: -120px;
    top: -90px;
    opacity: 0.28;
  }

  .bg-blob-b {
    width: 220px;
    height: 200px;
    right: -100px;
    bottom: -80px;
    opacity: 0.22;
  }

  .bg-ring {
    width: 170px;
    height: 170px;
    right: 4%;
    top: -50px;
    opacity: 0.55;
  }

  .bg-circle {
    width: 96px;
    height: 96px;
    left: 38%;
    bottom: -44px;
    opacity: 0.18;
  }

  .has-bg-shapes .bg-blob-faint-a {
    width: 240px;
    height: 220px;
    right: -100px;
    top: -60px;
  }

  .has-bg-shapes .bg-blob-faint-b {
    width: 210px;
    height: 190px;
    left: -90px;
    bottom: -70px;
  }
}
