/* Colors sampled from the confirmed offer flow at ai6mw.findresourcesusa.com
   (stylesheet stimulusmoney-landerv2A.css, the page in the owner's screenshots).
   Canvas #d7f2ff, white #ffffff, headline #0f4e8b, footer #193e6d.
   Primary green on that page is #0fb222. White text on it is 2.83:1,
   so the button uses the offer's own hover green #0a8a19 (4.50:1). */

:root {
  --canvas: #d7f2ff;
  --surface: #ffffff;
  --navy: #0f4e8b;
  --ink: #112233;
  --muted: #515151;
  --footer: #193e6d;
  --footer-text: #ffffff;
  --green: #0a8a19;
  --green-hover: #087416;
  --line: #beeaff;
  --focus: #0f4e8b;
}

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

html {
  font-size: 100%;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, "Segoe UI", "Liberation Sans", "Noto Sans", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-150%);
  background: var(--footer);
  color: var(--footer-text);
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  z-index: 2;
}

.skip:focus {
  transform: none;
}

.sheet {
  width: calc(100% - 1.5rem);
  max-width: 38rem;
  margin: 0.75rem auto 1.15rem;
  padding: 1.15rem 1.15rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.brand {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand a {
  color: var(--navy);
  text-decoration: none;
}

.brand a:hover {
  text-decoration: underline;
}

main {
  margin-top: 1.15rem;
}

h1 {
  margin: 0;
  color: var(--navy);
  font-size: 1.8rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.lede {
  margin: 0.75rem 0 0;
}

.cta {
  display: block;
  width: 100%;
  margin-top: 1.15rem;
  padding: 0.95rem 1.1rem;
  background: var(--green);
  color: #ffffff;
  font: inherit;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
}

.cta:hover {
  background: var(--green-hover);
}

.partner-note {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

footer {
  margin-top: auto;
  padding: 1.15rem 1.15rem 1.5rem;
  background: var(--footer);
  color: var(--footer-text);
  font-size: 0.95rem;
}

.footer-inner {
  width: 100%;
  max-width: 38rem;
  margin: 0 auto;
}

footer p {
  margin: 0;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-top: 0.85rem;
}

.legal-nav a {
  color: var(--footer-text);
}

.prose a {
  color: var(--navy);
}

.url {
  overflow-wrap: anywhere;
}

.prose h1 {
  font-size: 1.7rem;
}

.prose h2 {
  margin: 1.35rem 0 0.35rem;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.35;
}

.prose p {
  margin: 0.55rem 0 0;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

@media (min-width: 720px) {
  .sheet {
    margin-top: 2.5rem;
    margin-bottom: 2rem;
    padding: 2.5rem 2.4rem 2rem;
  }

  main {
    margin-top: 1.75rem;
  }

  h1 {
    font-size: 2.45rem;
  }

  .lede {
    margin-top: 0.9rem;
  }

  .cta {
    margin-top: 1.4rem;
  }

  footer {
    padding-top: 1.4rem;
    padding-bottom: 2rem;
  }
}
