/* ============================================================
   Every Day Loan Co — site.css
   Below-the-fold design CSS (Daybreak shell).

   Above-the-fold critical CSS (root tokens, body base, utility
   classes, topbar, hero, form-card) lives inline in index.html
   <head> for FOUC prevention. This file loads asynchronously via
   config-manager.js after the shared _cloudinary/styles.css, so
   its rules win the cascade for below-fold sections.
   ============================================================ */

/* ============================================================
   NUMBERS BAND — solid coral with white type
   ============================================================ */
.numbers-wrap {
  background: var(--accent);
  color: #fff;
  padding: clamp(44px, 7vw, 64px) 0;
  position: relative;
  overflow: hidden;
}
.numbers-wrap::before {
  content: ""; position: absolute;
  right: -150px; top: -150px;
  width: 400px; height: 400px; border-radius: 50%;
  background: var(--accent-deep); opacity: .5;
}
.numbers {
  position: relative;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 36px) clamp(20px, 3vw, 28px);
}
@media (min-width: 980px) { .numbers { grid-template-columns: repeat(4, 1fr); } }
.numbers .n {
  border-left: 1.5px solid rgba(255,255,255,.35);
  padding-left: 18px;
}
.numbers .v {
  font-family: var(--sans); font-weight: 800;
  font-size: 44px; line-height: 1; letter-spacing: -1.5px;
  margin-bottom: 8px;
}
.numbers .v .small { font-size: 18px; font-weight: 600; opacity: .85; }
.numbers .k {
  font-family: var(--sans); font-weight: 600; font-size: 12px;
  text-transform: uppercase; letter-spacing: 1.4px;
  opacity: .92;
}
.numbers .desc {
  font-family: var(--body); font-size: 13px; line-height: 1.5;
  margin-top: 6px; opacity: .85;
}

/* ============================================================
   HOW IT WORKS — three steps, big numbers, horizontal
   ============================================================ */
.how-wrap { background: var(--cream); padding: var(--section-y) 0; }
.section-head {
  display: grid; grid-template-columns: 1fr; gap: 14px;
  margin-bottom: clamp(32px, 5vw, 56px);
  max-width: 800px;
}
@media (min-width: 880px) {
  .section-head {
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: end;
  }
  .section-head--wide { grid-template-columns: 1.6fr 1fr; gap: 60px; }
}
.section-head .lhs .kicker { margin-bottom: 14px; }
.section-head h2 {
  font-family: var(--sans); font-weight: 800;
  font-size: clamp(40px, 6vw, 64px);
  line-height: .98; letter-spacing: -1.6px;
  margin: 0;
}
.section-head h2 .under {
  position: relative; display: inline-block;
  color: var(--accent-deep); font-style: italic;
}
.section-head h2 .under::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: 6px; height: 10px;
  background: var(--accent); opacity: .22;
  border-radius: 4px; z-index: -1;
}
.section-head .sub {
  font-family: var(--body); font-size: 16px; line-height: 1.6;
  color: var(--ink-soft);
}

.how-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 4px;
  border: 1.5px solid var(--ink);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--ink);
}
@media (min-width: 880px) { .how-grid { grid-template-columns: repeat(3, 1fr); } }
.how-cell {
  background: var(--cream);
  padding: clamp(28px, 4vw, 36px) clamp(24px, 3.5vw, 32px) clamp(24px, 3.5vw, 32px);
  position: relative;
}
.how-cell .big-num {
  font-family: var(--sans); font-weight: 800;
  font-size: clamp(64px, 9vw, 84px); line-height: 1; letter-spacing: -3px;
  color: var(--accent-deep);
  margin-bottom: clamp(16px, 2.5vw, 24px);
  opacity: .92;
}
.how-cell h3 {
  font-family: var(--sans); font-weight: 700;
  font-size: 22px; line-height: 1.15; letter-spacing: -.4px;
  margin: 0 0 12px;
}
.how-cell p {
  font-family: var(--body); font-size: 14.5px; line-height: 1.6;
  color: var(--ink-soft); margin: 0 0 22px;
  max-width: 32ch;
}
.how-cell .meta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  background: var(--peach);
  border-radius: 999px;
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: .6px; text-transform: uppercase;
  color: var(--accent-deep);
}

/* ============================================================
   USE CASES — six small cards in grid
   ============================================================ */
.uses-wrap { background: var(--cream); padding: var(--section-y) 0; }
.uses-grid {
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
@media (min-width: 560px) { .uses-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 880px) { .uses-grid { grid-template-columns: repeat(3, 1fr); } }
.use-card {
  background: #fff;
  border: 1px solid rgba(14,30,58,.06);
  border-radius: 14px;
  padding: 22px;
  display: flex; flex-direction: column;
  gap: 10px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.use-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 12px 28px -16px rgba(227,80,45,.30);
}
.use-card .ic {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--peach);
  display: grid; place-items: center;
  color: var(--accent-deep);
  margin-bottom: 6px;
}
.use-card .ic svg { width: 18px; height: 18px; }
.use-card h4 {
  font-family: var(--sans); font-weight: 700;
  font-size: 16px; letter-spacing: -.2px;
  margin: 0;
}
.use-card p {
  font-family: var(--body); font-size: 13.5px; line-height: 1.55;
  color: var(--ink-soft); margin: 0;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-wrap {
  background: var(--ink);
  color: var(--peach);
  padding: var(--section-y) 0;
  position: relative; overflow: hidden;
}
.cta-wrap::before {
  content: ""; position: absolute;
  width: 600px; height: 600px; border-radius: 50%;
  left: -200px; bottom: -300px;
  background: var(--accent); opacity: .2; filter: blur(40px);
}
.cta {
  display: grid; grid-template-columns: 1fr; gap: 28px;
  align-items: center; position: relative;
}
@media (min-width: 880px) { .cta { grid-template-columns: 1.4fr 1fr; gap: 60px; } }
.cta h2 {
  font-family: var(--sans); font-weight: 800;
  font-size: clamp(34px, 6.5vw, 64px);
  line-height: 1; letter-spacing: -1.8px;
  margin: 0;
  color: #fff;
}
.cta h2 .under {
  color: var(--accent);
  position: relative; font-style: italic;
}
.cta-side .btn { background: var(--accent); color: #fff; padding: 18px 28px; font-size: 16px; }
.cta-side .btn:hover { background: var(--accent-deep); }
.cta-side .small {
  margin-top: 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 1px;
  color: rgba(255,255,255,.55);
}

/* ============================================================
   DISCLOSURES
   ============================================================ */
.disc-wrap { background: var(--cream); padding: clamp(40px, 6vw, 56px) 0; }
.disc { max-width: 920px; }
.disc .kicker { margin-bottom: 14px; }
.disc h3 {
  font-family: var(--sans); font-weight: 700; font-size: 18px;
  letter-spacing: -.2px; margin: 0 0 18px;
}
.disc .body p {
  font-family: var(--body); font-size: 12.5px; line-height: 1.65;
  color: var(--ink-soft); margin: 0 0 12px;
}
.disc .body strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer-wrap { background: var(--peach); padding: 0 0 32px; }

/* Prominent privacy strip — the two reasons people open the footer */
.privacy-strip {
  background: var(--ink); color: #fff;
  border-bottom: 6px solid var(--accent);
}
.privacy-strip .row {
  display: grid; grid-template-columns: 1fr;
  gap: 16px; align-items: stretch;
  padding: 28px clamp(20px, 5vw, 32px) 32px;
}
@media (min-width: 720px) {
  .privacy-strip .row { grid-template-columns: minmax(220px, 1fr) 1.4fr 1.4fr; gap: 24px; align-items: center; }
}
.privacy-strip .head {
  display: flex; flex-direction: column; gap: 6px;
  padding-right: 20px;
}
@media (min-width: 720px) {
  .privacy-strip .head { border-right: 1px solid rgba(255,255,255,.18); }
}
.privacy-strip .head .kicker {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.3px;
  text-transform: uppercase; color: var(--accent); font-weight: 500;
}
.privacy-strip .head .ti {
  font-family: var(--sans); font-weight: 800; font-size: 18px;
  letter-spacing: -.3px; color: #fff;
  white-space: nowrap;
}
.privacy-action {
  display: flex; gap: 14px; align-items: center;
  padding: 16px 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
  text-decoration: none;
  color: inherit;
}
.privacy-action:hover {
  background: rgba(255,255,255,.10);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.privacy-action .ic {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; flex-shrink: 0;
}
.privacy-action .ic svg { width: 18px; height: 18px; }
.privacy-action .txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.privacy-action .txt .lbl {
  font-family: var(--sans); font-weight: 700; font-size: 14.5px;
  letter-spacing: -.1px; color: #fff;
}
.privacy-action .txt .hint {
  font-family: var(--body); font-size: 12px; line-height: 1.4;
  color: rgba(255,255,255,.65);
}
.privacy-action .arrow {
  margin-left: auto; color: var(--accent);
  font-family: var(--sans); font-weight: 800; font-size: 18px;
  transition: transform .2s, background .15s ease, color .15s ease;
  flex-shrink: 0;
}
.privacy-action:hover .arrow { transform: translateX(3px); }

/* On mobile, render the arrow as a clearer circular chevron chip */
@media (max-width: 719px) {
  .privacy-action {
    align-items: flex-start;
    padding-right: 14px;
  }
  .privacy-action .arrow {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: grid; place-items: center;
    font-size: 16px;
    align-self: center;
    line-height: 1;
  }
  .privacy-action:hover .arrow {
    transform: none;
    background: #fff;
    color: var(--accent);
  }
}

.footer-main { padding-top: clamp(36px, 5vw, 48px); }
.footer-top {
  display: grid; grid-template-columns: 1fr; gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(14,30,58,.10);
}
@media (min-width: 640px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 40px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 980px) {
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: auto; }
}
.footer-brand p {
  margin: 18px 0 0;
  font-family: var(--body); font-size: 13px; line-height: 1.6;
  color: var(--ink-soft); max-width: 36ch;
}
.footer-brand p + p { margin-top: 6px; }
.footer-col h4 {
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--ink-soft); margin: 0 0 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-family: var(--body); font-size: 13.5px; color: var(--ink);
  text-decoration: none; cursor: pointer;
}
.footer-col a:hover { color: var(--accent-deep); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; flex-wrap: wrap; gap: 14px;
}
.footer-bottom .copy {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .8px;
  color: var(--ink-soft);
}
.footer-bottom .legal { display: flex; gap: 22px; }
.footer-bottom .legal a {
  font-family: var(--body); font-size: 12px; color: var(--ink-soft);
  text-decoration: none; cursor: pointer;
}
.footer-bottom .legal a:hover { color: var(--accent-deep); }
