:root {
  --bg: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --soft: #f1f5f9;
  --brand: #0e7c66;
  --brand-ink: #ffffff;
  --accent: #0e7c66;
  --radius: 12px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --ink: #e5e7eb;
    --muted: #94a3b8;
    --line: #1f2a3c;
    --soft: #111a2b;
    --brand: #22b38f;
    --brand-ink: #04140f;
    --accent: #34d1a7;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 560px; }
section { padding: 56px 0; }
section:nth-of-type(even) { background: var(--soft); }

.top { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.top__inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-weight: 800; font-size: 1.25rem; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.brand { display: inline-flex; align-items: center; }
.brand__text span { color: var(--accent); }
.brand__logo { height: 36px; width: auto; display: block; }
.brand:has(.brand__logo:not([hidden])) .brand__text { display: none; }

.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 800px) {
  .split:has(> .split__img) { grid-template-columns: 1.1fr .9fr; }
}
.split__img { width: 100%; height: auto; border-radius: var(--radius); display: block; }

.btn {
  display: inline-block; padding: 14px 24px; border: 0; border-radius: var(--radius);
  background: var(--brand); color: var(--brand-ink); font: inherit; font-weight: 700;
  text-decoration: none; cursor: pointer;
}
.btn:hover { filter: brightness(1.08); }
.btn--small { padding: 8px 16px; }
.btn--block { width: 100%; }

.hero { padding: 72px 0 64px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--muted); }
.accent { color: var(--accent); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40ch; }

.steps__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: s; }
.steps__list li { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; counter-increment: s; }
.steps__list li::before { content: counter(s); display: inline-grid; place-items: center; width: 32px; height: 32px;
  border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-weight: 800; margin-bottom: 12px; }
.steps__list p { color: var(--muted); margin: 0; }

.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding-left: 28px; position: relative; margin: 8px 0; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--muted); }

form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
input, select, textarea {
  font: inherit; color: var(--ink); background: var(--bg); width: 100%;
  border: 1px solid var(--line); border-radius: 10px; padding: 12px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: transparent; }
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 12px; margin: 0; }
legend { font-weight: 600; font-size: .95rem; padding: 0 4px; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.checks label, .consent { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.checks input, .consent input { width: auto; }
.upload__hint { color: var(--muted); font-size: .9rem; margin: 0 0 10px; }
.upload__pick {
  display: inline-block; padding: 10px 16px; border: 1px dashed var(--brand); border-radius: 10px;
  color: var(--brand); font-weight: 700; cursor: pointer;
}
.upload__list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.upload__list li { display: flex; justify-content: space-between; gap: 8px; align-items: center; font-size: .9rem; overflow-wrap: anywhere; }
.upload__list button { font: inherit; font-size: .85rem; background: none; border: 0; color: var(--accent); cursor: pointer; text-decoration: underline; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__status { min-height: 1.5em; margin: 0; font-weight: 600; }
.form__status.ok { color: var(--accent); }
.form__status.err { color: #dc2626; }

.legal h2 { font-size: 1.2rem; margin-top: 1.6em; }
.legal ul { padding-left: 20px; margin: 0 0 1em; }
.legal li { margin: 6px 0; }
.muted { color: var(--muted); }

.foot { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: .9rem; }
.foot__inner { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.foot nav { display: flex; gap: 16px; }
.foot a { color: var(--muted); }
.upload__need { margin: 0 0 10px; padding-left: 20px; font-size: .95rem; }
.upload__need li { margin: 4px 0; }
.upload__tips { border: 0; padding: 0 0 12px; font-size: .9rem; }
.upload__tips summary { font-weight: 600; }
.upload__tips ul { margin: 6px 0 0; padding-left: 20px; color: var(--muted); }
.upload__tips li { margin: 3px 0; }
.paid__list { margin: 0; padding-left: 22px; display: grid; gap: 10px; font-size: 1.05rem; max-width: 60ch; }
.paid__list li::marker { color: var(--accent); font-weight: 800; }
.fit {
  max-width: 52ch; margin: 0 0 1.4em; padding: 12px 16px; border-left: 4px solid var(--accent);
  background: var(--soft); border-radius: 0 10px 10px 0; font-weight: 600;
}
.upload__why { font-size: .9rem; margin: 0 0 8px; padding: 8px 12px; background: var(--soft); border-radius: 8px; }
.contact__email { font-size: 1.1rem; font-weight: 700; margin: 0 0 18px; }
.refer__lead { font-size: 1.1rem; max-width: 60ch; }
.refbox { margin-top: 20px; padding: 18px; border: 2px solid var(--accent); border-radius: var(--radius); }
.refbox h3 { margin: 0 0 6px; }
.refbox__link { font-weight: 700; font-size: 1.1rem; overflow-wrap: anywhere; }
.refbox__note { color: var(--muted); font-size: .9rem; }
.why__text { max-width: 62ch; font-size: 1.05rem; }
.upload__safe { font-size: .9rem; font-weight: 600; margin: 0 0 10px; }
.trust { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .95rem; font-weight: 600; }
.trust li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 6px; }
.paidcount { margin: 12px 0 0; font-weight: 700; color: var(--accent); }
.quotes__list { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.quote { margin: 0; padding: 20px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.quote blockquote { margin: 0 0 10px; font-size: 1.05rem; }
.quote blockquote::before { content: "\201C"; color: var(--accent); font-size: 1.6rem; font-weight: 800; margin-right: 2px; }
.quote figcaption { color: var(--muted); font-weight: 600; }
@media (min-width: 800px) {
  .split:has(> .hero__aside) { grid-template-columns: 1.1fr .9fr; }
}
.hero__aside { position: relative; display: grid; place-items: center; }
.refcard {
  display: grid; gap: 4px; width: min(320px, 100%); padding: 24px 26px;
  background: var(--bg); color: var(--ink); text-decoration: none;
  border: 2px solid var(--accent); border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .16);
  transform: rotate(-2deg); animation: refcard-float 5s ease-in-out infinite;
}
.refcard:hover { box-shadow: 0 22px 48px rgba(15, 23, 42, .22); }
.refcard__eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 800; color: var(--muted); }
.refcard__amount { font-size: 3.2rem; font-weight: 800; line-height: 1; color: var(--accent); }
.refcard__text { color: var(--ink); font-weight: 600; }
.refcard__cta { margin-top: 8px; font-weight: 800; color: var(--accent); }
.refcard__cta::after { content: " \2192"; }
/* With a top picture uploaded, the card floats over its corner instead of standing alone. */
.hero__aside:has(> img:not([hidden])) .refcard { position: absolute; left: -18px; bottom: -22px; width: min(260px, 80%); }
@keyframes refcard-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .refcard { animation: none; } }
@media (max-width: 799px) { .hero__aside { margin-top: 8px; } .refcard { transform: none; } }
