:root {
  --bg: #f6f7f4;
  --surface: #ffffff;
  --text: #1f2430;
  --muted: #5c6573;
  --navy: #1e3a2f;
  --green: #1f7a4d;
  --yellow: #f5c542;
  --border: #dadde6;
  --shadow: 0 8px 26px rgba(20, 27, 45, 0.08), 0 2px 8px rgba(20, 27, 45, 0.04);
  --radius: 20px;
  --max-width: 1024px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: 100%;
}

.top-disclosure {
  background: #efefef;
  text-align: center;
  padding: 10px 20px;
  font-size: 12px;
  line-height: 1.45;
  color: #4b5563;
}

.top-disclosure a {
  text-decoration: underline;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.brand-wrap {
  text-align: center;
  padding: 22px 0 6px;
}

.brand {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(54px, 7vw, 90px);
  line-height: 0.96;
  letter-spacing: -2px;
  color: var(--navy);
}

.hero {
  padding: 4px 0 28px;
}

.hero h1 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(52px, 7.2vw, 88px);
  line-height: 0.95;
  letter-spacing: -2.4px;
  color: #313b4f;
  text-align: center;
}

.hero p {
  margin: 0;
  max-width: 950px;
  font-size: clamp(20px, 2.6vw, 31px);
  line-height: 1.55;
  color: #596170;
}

.cards {
  padding-bottom: 34px;
}

.card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  overflow: hidden;
}

.card.featured {
  border: 3px solid var(--green);
}

.badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
  padding: 13px 22px 14px 20px;
  border-bottom-right-radius: 14px;
  z-index: 3;
}

.card-body {
  padding: 38px 34px 34px;
}

.featured .card-body {
  padding-top: 64px;
}

.logo-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 42px;
  margin-bottom: 18px;
}

.logo-stack {
  flex: 0 0 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 128px;
}

.copy-stack {
  flex: 1 1 auto;
  min-width: 0;
  padding-top: 8px;
}

.offer-logo {
  margin: 0;
  text-align: center;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
}

.offer-logo.sofi {
  color: #15a7d2;
  font-size: clamp(54px, 6vw, 80px);
}

.offer-logo.current {
  color: #000;
  font-size: clamp(64px, 6.5vw, 86px);
  letter-spacing: -3px;
}

.offer-logo.chime {
  color: #22c97a;
  font-size: clamp(64px, 6.5vw, 86px);
  letter-spacing: -3px;
}

.lead-copy {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.3;
  font-weight: 800;
  color: #202531;
}

.bullets {
  margin: 0;
  padding-left: 28px;
}

.bullets li {
  margin: 8px 0;
  font-size: clamp(18px, 2.25vw, 24px);
  line-height: 1.45;
  color: #242a36;
}

.cta-wrap {
  padding-top: 26px;
  display: flex;
  justify-content: center;
}

.cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: min(100%, 766px);
  min-height: 72px;
  background: var(--yellow);
  color: #fff;
  border: 0;
  border-radius: 14px;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.08);
}

.standard-card .card-body {
  padding-top: 26px;
}

.standard-card .logo-center {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 118px;
  margin-bottom: 12px;
}

.standard-card .content-narrow {
  width: min(100%, 760px);
  margin: 0 auto;
}

.legal-footer {
  padding: 18px 0 42px;
}

.legal-card {
  background: transparent;
  border-top: 1px solid #d8dbe3;
  padding-top: 22px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  justify-content: center;
  font-size: 15px;
  color: #4d5563;
}

.legal-links a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-note {
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
  color: #6b7280;
  margin-top: 14px;
}

@media (max-width: 900px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .logo-row {
    gap: 24px;
  }

  .logo-stack {
    flex-basis: 210px;
  }
}

@media (max-width: 760px) {
  .top-disclosure {
    font-size: 11px;
    padding: 9px 14px;
  }

  .brand-wrap {
    padding-top: 18px;
  }

  .hero {
    padding-bottom: 20px;
  }

  .hero h1 {
    font-size: 46px;
    line-height: 0.98;
    letter-spacing: -1.4px;
  }

  .hero p {
    font-size: 17px;
  }

  .card-body,
  .featured .card-body,
  .standard-card .card-body {
    padding: 28px 20px 22px;
  }

  .featured .card-body {
    padding-top: 58px;
  }

  .badge {
    font-size: 16px;
    padding: 12px 18px;
  }

  .logo-row {
    display: block;
    margin-bottom: 10px;
  }

  .logo-stack,
  .standard-card .logo-center {
    min-height: 88px;
    margin-bottom: 10px;
  }

  .copy-stack,
  .standard-card .content-narrow {
    width: 100%;
  }

  .lead-copy {
    font-size: 18px;
  }

  .bullets {
    padding-left: 24px;
  }

  .bullets li {
    font-size: 16px;
    margin: 7px 0;
  }

  .cta-wrap {
    padding-top: 18px;
  }

  .cta {
    min-height: 60px;
    font-size: 16px;
    border-radius: 12px;
  }

  .legal-links {
    gap: 10px 18px;
    font-size: 14px;
  }
}


.hidden {
  display: none !important;
}

.request-page {
  min-height: 100vh;
  padding: 34px 0 60px;
}

.request-container {
  width: min(calc(100% - 28px), 880px);
}

.request-shell {
  background: var(--surface);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 34px 30px;
}

.request-header {
  margin-bottom: 26px;
}

.back-link {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.request-header h1,
.success-shell h1 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 0.98;
  letter-spacing: -1.4px;
  color: #313b4f;
}

.request-header p,
.success-shell p {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

.request-form {
  margin-top: 6px;
}

.field-grid {
  display: grid;
  gap: 18px;
}

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

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 800;
  color: #253041;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 15px 16px;
  font-size: 16px;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 122, 77, 0.12);
}

.field textarea {
  resize: vertical;
  min-height: 150px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 14px;
  font-size: 15px;
  color: #253041;
  background: #fff;
}

.checkbox-item input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  margin: 0;
}

.field-note {
  margin: 10px 0 0;
  font-size: 13px;
  color: #6b7280;
}

.form-actions {
  padding-top: 8px;
}

.request-submit,
.success-cta {
  background: var(--yellow);
  color: #2d2a1f;
}

.success-shell {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 30px;
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: rgba(31, 122, 77, 0.12);
  color: var(--green);
  font-size: 36px;
  font-weight: 800;
}

.success-actions {
  padding-top: 24px;
  display: flex;
  justify-content: center;
}

@media (max-width: 760px) {
  .request-page {
    padding-top: 20px;
  }

  .request-shell,
  .success-shell {
    border-radius: 18px;
    padding: 24px 18px;
  }

  .two-up,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .request-header h1,
  .success-shell h1 {
    font-size: 34px;
  }
}


/* ============================================================
   Legal pages (privacy-policy.html, terms-of-use.html,
   california-privacy-rights.html)
   ============================================================ */

.legal-page {
  padding: 20px 0 50px;
}

.legal-shell {
  background: var(--surface);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 44px 48px 52px;
}

.legal-header {
  border-bottom: 1px solid #e6e8ee;
  padding-bottom: 22px;
  margin-bottom: 28px;
}

.legal-header .back-link {
  margin-bottom: 16px;
}

.legal-header h1 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: -1.6px;
  color: #313b4f;
}

.legal-header .legal-meta {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.legal-content {
  color: #2a303c;
  font-size: 16px;
  line-height: 1.72;
}

.legal-content h2 {
  margin: 36px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.2;
  color: #1e3a2f;
  letter-spacing: -0.5px;
}

.legal-content h3 {
  margin: 26px 0 10px;
  font-size: 18px;
  font-weight: 800;
  color: #253041;
  letter-spacing: 0.01em;
}

.legal-content h2:first-child,
.legal-content h3:first-child {
  margin-top: 0;
}

.legal-content p {
  margin: 0 0 14px;
}

.legal-content ul,
.legal-content ol {
  margin: 6px 0 18px;
  padding-left: 26px;
}

.legal-content li {
  margin: 6px 0;
}

.legal-content a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content strong {
  color: #1f2430;
}

.legal-content .legal-note {
  background: #f3f5f2;
  border-left: 3px solid var(--green);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 18px 0;
  font-size: 15px;
  color: #3b4250;
}

.legal-toc {
  background: #f8f9f6;
  border: 1px solid #e6e8ee;
  border-radius: 14px;
  padding: 20px 22px;
  margin: 0 0 28px;
}

.legal-toc h2 {
  margin: 0 0 10px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5c6573;
}

.legal-toc ol {
  margin: 0;
  padding-left: 22px;
  columns: 2;
  column-gap: 28px;
  font-size: 14px;
}

.legal-toc li {
  margin: 4px 0;
  break-inside: avoid;
}

.legal-toc a {
  color: #253041;
  text-decoration: none;
}

.legal-toc a:hover {
  color: var(--green);
  text-decoration: underline;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 22px;
  font-size: 14px;
  line-height: 1.55;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #e6e8ee;
}

.legal-table th,
.legal-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e6e8ee;
}

.legal-table th {
  background: #f3f5f2;
  color: #1e3a2f;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.legal-table td.collected-yes {
  font-weight: 700;
  color: var(--green);
}

.legal-table td.collected-no {
  font-weight: 700;
  color: #9aa0ab;
}

@media (max-width: 760px) {
  .legal-shell {
    border-radius: 18px;
    padding: 26px 20px 32px;
  }

  .legal-content {
    font-size: 15px;
  }

  .legal-toc ol {
    columns: 1;
  }

  .legal-table {
    font-size: 13px;
  }

  .legal-table th,
  .legal-table td {
    padding: 10px 10px;
  }
}


/* ============================================================
   Footer disclaimer note (all pages)
   ============================================================ */

.footer-disclaimer-note {
  max-width: 760px;
  margin: 14px auto 0;
  font-size: 12px;
  line-height: 1.55;
  color: #6b7280;
}

.footer-disclaimer-note a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   Disclaimer page (disclaimer.html) — reuses .legal-* shell
   ============================================================ */

.provider-block {
  background: #f8f9f6;
  border: 1px solid #e6e8ee;
  border-radius: 14px;
  padding: 22px 24px 18px;
  margin: 18px 0 26px;
}

.provider-block h2,
.provider-block > h3:first-child {
  margin-top: 0;
}

.provider-block h3 {
  color: #1e3a2f;
}

.provider-block h4 {
  margin: 18px 0 8px;
  font-size: 15px;
  font-weight: 800;
  color: #253041;
  letter-spacing: 0.01em;
}

.provider-block p,
.provider-block li {
  font-size: 14px;
  line-height: 1.65;
}

.provider-block ol {
  padding-left: 22px;
}

.provider-block ol > li {
  margin: 10px 0;
}

.fine-print {
  font-size: 13px;
  line-height: 1.6;
  color: #4b5563;
}
