@charset "UTF-8";

:root {
  --bg: #085c36;
  --bg-footer: #18633d;
  --surface: #ffffff;
  --accent: #f3d55d;
  --accent-blue: #597bfe;
  --accent-warm: #15e088;
  --link: #003f88;
  --text: #000000;
  --text-2: #343333;
  --text-muted: #636363;
  --border: #e8e8e8;
  --table-stripe: #e8f2ff;
  --card-plate: #4e8041;
  --radius-card: 16px;
  --radius-pill: 25px;
  --container: 425px;
  --gutter: 15px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  overflow-y: scroll;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ===== Header ===== */
.site-header {
  padding: 17px 0 13px;
  z-index: 6;
}

.site-header__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.site-header__logo {
  display: block;
}

.site-header__logo img {
  height: 34px;
  width: auto;
}

.site-header__tagline {
  position: relative;
  color: var(--surface);
  font-weight: 500;
  font-size: 14px;
}

.site-header__tagline span {
  position: absolute;
  bottom: -18px;
  right: 12px;
  font-size: 12px;
  background: var(--accent);
  color: var(--bg);
  border-radius: var(--radius-pill);
  padding: 1px 7px;
  transform: rotate(-2deg) translateX(3px);
}

.site-header__action a {
  display: inline-block;
  color: var(--surface);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

/* ===== Page ===== */
.page {
  flex: 1;
  overflow: hidden;
  padding-top: 15px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding-bottom: 25px;
  text-align: center;
  background: url("/assets/images/ny/texture.svg") no-repeat center 42% / 150% auto;
}

.hero__title-img {
  position: relative;
  z-index: 1;
  width: calc(100% - 14px);
  margin: 0 auto;
}

.hero__banner {
  position: relative;
  display: flex;
  align-items: center;
  height: 200px;
  margin-top: -30px;
  padding: 16px;
  border-radius: 30px;
  text-align: left;
  background: linear-gradient(180deg, #085c36 0%, #fde278 100%);
}

.hero__copy {
  position: relative;
  z-index: 5;
  max-width: 180px;
}

.hero__copy h1 {
  position: relative;
  margin: 0;
  padding-left: 6px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--surface);
}

.hero__copy h1::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 2px;
  background: var(--accent);
}

.hero__image {
  position: absolute;
  bottom: -20px;
  right: -45px;
  width: 255px;
  z-index: 2;
  pointer-events: none;
}

/* ===== Offers ===== */
.offers {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  min-height: 100vh;
}

.offer-card {
  position: relative;
  width: calc(50% - 6px);
  margin-top: 30px;
  padding: 12px 10px;
  border-radius: var(--radius-card);
  background: var(--surface);
}

.offer-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: calc(100% - 16px);
  height: calc(100% + 16px);
  border-radius: var(--radius-card);
  background: var(--card-plate);
  transform: translate(-50%, -50%);
}

.offer-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px 0 8px;
  border-radius: 15px;
  background: var(--accent-blue);
  color: var(--surface);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.offer-card__badge::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-left: 4px;
  background: url("/assets/images/ny/star.svg") no-repeat center / contain;
}

.offer-card__logo-link {
  display: block;
  text-decoration: none;
}

.offer-card__logo {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.offer-card__rating {
  text-align: center;
  padding-bottom: 8px;
}

.offer-card__rating-label {
  display: block;
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--text);
}

.offer-card__rating-value {
  display: block;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-blue);
}

.offer-card__stats {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.offer-card__stats li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: 12px;
  color: var(--text-2);
}

.offer-card__stats li:last-child {
  margin-bottom: 0;
}

.offer-card__stats-label {
  font-weight: 400;
  font-size: 12px;
  color: var(--text);
  padding-bottom: 3px;
}

.offer-card__stats-value {
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
}

.offer-card__more {
  text-align: center;
}

.offer-card__details {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 10px 0 0;
  padding: 0 14px 0 0;
  border: 0;
  background: transparent;
  color: var(--link);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  user-select: none;
}

.offer-card__chevron {
  position: absolute;
  top: 50%;
  right: 0;
  width: 9px;
  height: 9px;
  margin-top: -2px;
  border: solid var(--link);
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-50%) rotate(45deg);
}

.offer-card__cta {
  margin-top: 15px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 43px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

/* Soft outer glow — button itself stays still */
@keyframes offer-cta-glow {
  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(230, 180, 40, 0.65),
      0 2px 10px rgba(243, 213, 93, 0.55);
  }

  70% {
    box-shadow:
      0 0 0 12px rgba(230, 180, 40, 0),
      0 2px 10px rgba(243, 213, 93, 0.15);
  }
}

.offer-card__cta .btn {
  animation: offer-cta-glow 2.6s ease-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .offer-card__cta .btn {
    animation: none;
  }
}

/* ===== More offers CTA ===== */
.more-offers {
  margin-top: 36px;
  padding: 28px 20px 30px;
  text-align: center;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.more-offers__title {
  margin: 0 0 16px;
  color: var(--surface);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* Distinct CTR color — mint teal, same family as green, not the yellow CTAs */
@keyframes more-offers-glow {
  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(21, 224, 136, 0.5),
      0 2px 12px rgba(21, 224, 136, 0.35);
  }

  70% {
    box-shadow:
      0 0 0 12px rgba(21, 224, 136, 0),
      0 2px 12px rgba(21, 224, 136, 0.12);
  }
}

.btn--more {
  width: auto;
  min-width: 210px;
  padding: 0 28px;
  background: var(--accent-warm);
  color: #06291f;
  animation: more-offers-glow 2.6s ease-out infinite;
}

.btn--more:hover {
  filter: brightness(1.06);
}

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

/* ===== Lenders ===== */
.lenders {
  margin-top: 40px;
}

.section-title {
  margin: 0 0 25px;
  color: var(--surface);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
}

.section-title span {
  color: var(--accent);
}

.seo .section-title {
  margin: 0;
}

.seo .section-title h1,
.seo .section-title h2 {
  margin: 0 0 10px;
  color: var(--surface);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}

.lenders__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
  color: var(--text-muted);
}

.lenders__item {
  width: 100%;
  margin: 7px 0;
}

.lenders__link {
  position: relative;
  display: block;
  height: 100%;
  padding: 10px;
  border-radius: 20px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
}

.lenders__link:hover {
  color: inherit;
  text-decoration: none;
}

.offers__empty {
  width: 100%;
  margin: 20px 0;
  color: var(--surface);
  text-align: center;
}

.lenders__table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text-muted);
}

.lenders__table thead {
  border-bottom: 1px solid #333;
  background: var(--table-stripe);
}

.lenders__table tbody tr:nth-child(even) {
  background: var(--table-stripe);
}

.lenders__table th,
.lenders__table td {
  padding: 5px;
  border: 1px solid transparent;
}

.lenders__table th {
  height: 68px;
}

/* ===== SEO / legal ===== */
.seo {
  padding-top: 30px;
  color: var(--surface);
}

.seo p,
.seo ul {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.4;
  opacity: 0.8;
}

.seo ul {
  padding-left: 25px;
}

.seo li {
  list-style: circle;
  margin-bottom: 5px;
}

.seo h1 br {
  display: none;
}

.legal {
  margin-top: 42px;
  color: var(--surface);
}

.legal p {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  text-align: justify;
  opacity: 0.8;
}

/* ===== Footer ===== */
.site-footer {
  position: relative;
  margin-top: 40px;
  padding: 24px 0 14px;
  background: var(--bg-footer);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.site-footer__logo img {
  width: 105px;
  height: auto;
}

.site-footer__copy {
  font-size: 12px;
  font-weight: 500;
  line-height: 14px;
  color: var(--surface);
  opacity: 0.8;
}

.site-footer__privacy {
  width: 100%;
  padding: 7px 0;
  text-align: center;
}

.site-footer__privacy a {
  color: var(--surface);
  font-size: 13px;
  text-decoration: none;
}

/* ===== Privacy page ===== */
.privacy {
  margin: 8px 0 28px;
  padding: 28px 20px 32px;
  border-radius: 24px;
  background: var(--surface);
  color: var(--text-2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.privacy__hero {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.privacy__eyebrow {
  margin: 0 0 8px;
  color: var(--bg);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.privacy__title {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.privacy__lead {
  margin: 0 auto 12px;
  max-width: 36em;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}

.privacy__meta {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

.privacy__toc {
  margin-bottom: 28px;
  padding: 18px 16px;
  border-radius: 16px;
  background: #f3f8f4;
}

.privacy__toc-title {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}

.privacy__toc-list {
  margin: 0;
  padding-left: 20px;
}

.privacy__toc-list li {
  margin: 0 0 8px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.35;
  list-style: decimal;
}

.privacy__toc-list a {
  color: var(--bg);
  font-weight: 500;
  text-decoration: none;
}

.privacy__toc-list a:hover {
  color: var(--link);
  text-decoration: underline;
}

.privacy__section {
  margin-bottom: 28px;
  padding-bottom: 8px;
}

.privacy__section h2 {
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.privacy__section h3 {
  margin: 18px 0 8px;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}

.privacy__section p {
  margin: 0 0 12px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.55;
}

.privacy__section ul {
  margin: 0 0 14px;
  padding-left: 18px;
}

.privacy__section li {
  margin: 0 0 8px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.45;
  list-style: disc;
}

.privacy__section a,
.privacy__lead a,
.privacy__footer a {
  color: var(--link);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy__footer {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.privacy__footer p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}


/* ===== Modal (moneyonline pattern) ===== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 16px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-backdrop__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 92, 54, 0.55);
  backdrop-filter: blur(4px);
}

.offer-modal {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(8, 92, 54, 0.28);
  color: var(--text-2);
  animation: offer-modal-in 0.22s ease-out;
}

@keyframes offer-modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.offer-modal__content {
  padding: 22px 0 0;
}

.offer-modal__top-group {
  margin: 0 12px;
  border-radius: 16px;
  background: #f3f8f4;
}

.offer-modal__close {
  position: absolute;
  top: 28px;
  right: 18px;
  z-index: 2;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.offer-modal__header {
  padding: 18px 16px 8px;
}

.offer-modal__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 28px;
}

.offer-modal__logo-badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 8px 18px rgba(8, 92, 54, 0.18);
}

.offer-modal__logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.offer-modal__eyebrow {
  font-size: 12px;
  color: var(--text-muted);
}

.offer-modal__title {
  margin-top: 2px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
}

.offer-modal__hero {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 8px 16px 18px;
}

.offer-modal__metric span {
  display: block;
  margin-bottom: 2px;
  color: var(--text-muted);
  font-size: 13px;
}

.offer-modal__metric strong {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--text);
}

.offer-modal__cta {
  min-height: 48px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(243, 213, 93, 0.35);
  font-size: 15px;
}

.offer-modal__tabs {
  display: flex;
  gap: 18px;
  padding: 0 16px;
  border-top: 1px solid rgba(8, 92, 54, 0.1);
}

.offer-modal__tab {
  display: inline-flex;
  align-items: center;
  padding: 12px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.offer-modal__tab.is-active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.offer-modal__tab--link:hover {
  color: var(--text);
}

.offer-modal__panel {
  display: none;
  padding: 16px;
  border-top: 1px solid rgba(8, 92, 54, 0.1);
}

.offer-modal__panel.is-active {
  display: block;
}

.offer-modal__panel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.offer-modal__list p {
  margin: 0 0 8px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.35;
}

.offer-modal__list p:last-child {
  margin-bottom: 0;
}

.offer-modal__list strong {
  color: var(--text-2);
  font-weight: 500;
}

/* ===== Responsive ===== */
@media (max-width: 350px) {
  .site-header__logo img {
    height: 30px;
  }

  .site-header__tagline {
    font-size: 12px;
  }

  .offer-card__stats-value {
    font-size: 15px;
  }
}

@media (min-width: 480px) {
  .offer-modal {
    width: min(620px, 100%);
    border-radius: 24px;
  }

  .offer-modal__hero {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .offer-modal__cta {
    flex: 0 0 180px;
    width: 180px;
    max-width: 180px;
    margin-left: auto;
  }

  .offer-modal__panel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 28px;
  }
}

@media (min-width: 768px) {
  .seo h1 br {
    display: inline;
  }
}

/* ===== Desktop ===== */
@media (min-width: 900px) {
  :root {
    --container: 1180px;
    --gutter: 24px;
  }

  .site-header {
    padding: 22px 0 18px;
  }

  .site-header__logo img {
    height: 40px;
  }

  .site-header__tagline {
    font-size: 16px;
  }

  .site-header__tagline span {
    font-size: 13px;
    padding: 2px 10px;
  }

  .page {
    padding-top: 10px;
  }

  /* Hero — wide stage, same layers */
  .hero {
    padding-top: 30px;
    padding-bottom: 0;
    text-align: left;
    max-width: 940px;
    margin: 0 auto;
    background-size: 92% auto;
    background-position: center 45%;
  }

  .hero__title-img {
    width: 460px;
    margin: 0 0 0 12px;
  }

  .hero__banner {
    height: 200px;
    margin-top: -56px;
    padding: 40px 48px;
    border-radius: 30px;
    background: linear-gradient(115deg, #085c36 0%, #1f7a48 42%, #b8c45a 78%, #fde278 100%);
    overflow: visible;
  }

  .hero__copy {
    max-width: 440px;
  }

  .hero__copy h1 {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    padding-left: 14px;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
  }

  .hero__copy h1::before {
    width: 3px;
    top: 0.15em;
    bottom: 0.15em;
    background: var(--accent);
    box-shadow: 0 0 0 1px rgba(243, 213, 93, 0.25);
  }

  .hero__image {
    width: 360px;
    right: 28px;
    bottom: -24px;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.22));
  }

  /* Offers — 4 per row */
  .offers {
    gap: 0 12px;
    justify-content: flex-start;
    min-height: 0;
  }

  .offer-card {
    width: calc((100% - 36px) / 4);
    margin-top: 28px;
    padding: 14px 12px;
  }

  .offer-card__logo {
    max-width: 180px;
  }

  .offer-card__rating-value {
    font-size: 34px;
  }

  .offer-card__stats-label {
    font-size: 14px;
  }

  .offer-card__stats-value {
    font-size: 18px;
  }

  .offer-card__details {
    font-size: 14px;
  }

  .offer-card__cta .btn {
    height: 48px;
    font-size: 16px;
    text-transform: uppercase;
  }

  /* Lenders — 3 per row */
  .more-offers {
    margin-top: 48px;
    padding: 36px 40px 40px;
    border-radius: 28px;
  }

  .more-offers__title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .btn--more {
    min-width: 240px;
    height: 48px;
    font-size: 16px;
    text-transform: uppercase;
  }

  .lenders {
    margin-top: 56px;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 28px;
  }

  .lenders__list {
    justify-content: flex-start;
    gap: 14px;
  }

  .lenders__item {
    width: calc((100% - 28px) / 3);
    margin: 0;
  }

  .seo {
    padding-top: 48px;
  }

  .seo .section-title h1,
  .seo .section-title h2 {
    font-size: 24px;
    line-height: 1.2;
  }

  .seo p,
  .seo ul {
    font-size: 14px;
    line-height: 1.5;
  }

  .legal {
    margin-top: 56px;
  }

  .legal p {
    font-size: 13px;
    line-height: 1.35;
  }

  .site-footer {
    margin-top: 56px;
    padding: 28px 0 20px;
  }

  .site-footer__inner {
    flex-wrap: nowrap;
    gap: 24px;
  }

  .site-footer__privacy {
    width: auto;
    margin-left: auto;
    padding: 0;
    text-align: right;
  }

  .privacy {
    max-width: 760px;
    margin: 16px auto 48px;
    padding: 40px 44px 44px;
    border-radius: 28px;
  }

  .privacy__title {
    font-size: 34px;
  }

  .privacy__lead {
    font-size: 16px;
  }

  .privacy__section h2 {
    font-size: 22px;
  }

  .privacy__section p,
  .privacy__section li {
    font-size: 15px;
  }
}

