/* Offerstep funnel — "warm coach" (blush) design system, trimmed to what
   the landing + quiz pages use. Source of truth for the full system:
   the mockups' styles.css; keep values in sync when porting more pages.
   Fonts are loaded via <link> in the templates (faster than @import). */

:root {
  --bg: #faf3ed;
  --surface: #ffffff;
  --surface-2: #f3e8dd;
  --border: #ead9c9;
  --text: #2e2822;
  --text-soft: #665a4d;
  --text-faint: #97897b;
  --accent: #2e6e5e;
  --accent-soft: #dfede6;
  --accent-strong: #24594c;
  --green: #35844a;
  --green-soft: #e4f2e3;
  --amber: #b26a00;
  --amber-soft: #f8edda;
  --red: #bc4b40;
  --shadow: 0 2px 4px rgba(38, 54, 44, .04), 0 14px 34px rgba(38, 54, 44, .08);
  --radius: 20px;
  --radius-sm: 14px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: var(--font-body); }
a:focus-visible, button:focus-visible {
  outline: 3px solid #b5d5c8; outline-offset: 2px; border-radius: 8px;
}
::selection { background: #f3ddc6; }

.logo { display: flex; align-items: center; gap: 11px; }
.logo .mark {
  width: 38px; height: 38px; border-radius: 13px;
  background: linear-gradient(135deg, #3d8a72, #24594c);
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 18px;
  transform: rotate(-4deg);
  box-shadow: 3px 3px 0 var(--accent-soft);
}

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.card h2 { font-family: var(--font-display); font-size: 21px; font-weight: 600; margin: 0 0 6px; letter-spacing: -.1px; }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.card-head h2 { margin: 0; }

.section-title { font-size: 16.5px; color: var(--text-soft); font-weight: 800;
  letter-spacing: .2px; margin: 36px 0 15px; }

.btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  border: 1.5px solid var(--border); background: var(--surface); color: var(--text);
  padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 15px;
  font-family: inherit;
  transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--surface-2); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff;
  box-shadow: 0 4px 14px rgba(46, 110, 94, .28); }
.btn.primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--accent-strong); }

.progress { height: 11px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.progress.green > i { background: var(--green); }
.progress.amber > i { background: #d98e1b; }

.bar-row { margin: 12px 0; }
.bar-row .top { display: flex; justify-content: space-between; font-size: 14.5px; margin-bottom: 6px; }
.bar-row .top span:last-child { color: var(--text-soft); font-weight: 700; }

.issues { list-style: none; margin: 14px 0 0; padding: 0; }
.issues li { display: flex; gap: 12px; padding: 13px 15px; background: var(--amber-soft);
  border-radius: var(--radius-sm); margin-bottom: 10px; font-size: 14.5px; }
.issues li .ic { flex-shrink: 0; }

.field label { display: block; font-size: 14px; font-weight: 700; color: var(--text-soft); margin-bottom: 7px; }
textarea, input[type=text], input[type=email] {
  width: 100%; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px 15px; font-family: inherit; font-size: 15px; background: var(--surface); color: var(--text);
  resize: vertical;
}
textarea:focus, input:focus { outline: 3px solid var(--accent-soft); border-color: var(--accent); }
input[type=file] { width: 100%; border: 2px dashed var(--border); border-radius: var(--radius-sm);
  padding: 18px 16px; font-family: inherit; font-size: 14.5px; background: var(--surface);
  color: var(--text-soft); cursor: pointer; }
input[type=file]:hover { border-color: var(--accent); }
input[type=file]::file-selector-button { font-family: inherit; font-weight: 700; font-size: 14px;
  border: 1.5px solid var(--border); background: var(--surface-2); color: var(--text);
  border-radius: 999px; padding: 8px 16px; margin-right: 12px; cursor: pointer; }
input[type=file]::file-selector-button:hover { background: var(--surface); border-color: var(--accent); }

.pill { display: inline-block; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.pill.green { background: var(--green-soft); color: var(--green); }
.pill.amber { background: var(--amber-soft); color: var(--amber); }
.muted { color: var(--text-faint); }
.spacer { height: 20px; }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { display: flex; align-items: center; gap: 13px; padding: 13px 0;
  border-bottom: 1px solid var(--border); }
.checklist li:last-child { border-bottom: none; }
.checkbox { width: 25px; height: 25px; border-radius: 9px; border: 2px solid var(--border);
  flex-shrink: 0; display: grid; place-items: center; font-size: 14px; }
.checklist li.done .checkbox { background: var(--green); border-color: var(--green); color: #fff; }
.label { flex: 1; }

.processing { text-align: center; padding: 28px 22px; }
.processing h2 { margin: 14px 0 0; }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 3.5px solid var(--accent-soft);
  border-top-color: var(--accent); animation: spin .8s linear infinite; margin: 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.proc-steps { list-style: none; margin: 20px auto 0; padding: 0; max-width: 360px; text-align: left; }
.proc-steps li { display: flex; gap: 11px; align-items: center; padding: 8px 0; font-size: 15px;
  color: var(--text-faint); opacity: .45; transition: opacity .35s, color .35s; }
.proc-steps li.on { opacity: 1; color: var(--text); }
.proc-steps li .tick { width: 19px; flex-shrink: 0; color: var(--border); }
.proc-steps li.on .tick { color: var(--green); font-weight: 800; }

.hint-box { display: flex; gap: 10px; background: var(--accent-soft); color: var(--accent-strong);
  border-radius: var(--radius-sm); padding: 13px 16px; font-size: 14px; margin-bottom: 14px; line-height: 1.55; }
.hint-box .ic { flex-shrink: 0; }

.score-hero { display: flex; align-items: center; gap: 28px; }
.score-hero .ring-lg { width: 140px; height: 140px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; }
.score-hero .ring-lg .inner { width: 106px; height: 106px; border-radius: 50%;
  background: var(--surface); display: grid; place-items: center; text-align: center; }
.score-hero .ring-lg .inner b { font-family: var(--font-display); font-size: 42px; font-weight: 600; letter-spacing: -1.5px; display: block; }
.score-hero .ring-lg .inner span { font-size: 11.5px; color: var(--text-faint); }

.next-steps { list-style: none; margin: 15px 0 0; padding: 0; }
.next-steps li { display: flex; align-items: center; gap: 13px; padding: 14px 16px;
  background: var(--surface-2); border-radius: var(--radius-sm); margin-bottom: 11px;
  font-size: 15px; line-height: 1.5; }
.next-steps li .n { width: 27px; height: 27px; border-radius: 50%; background: var(--accent);
  color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; flex-shrink: 0; }

.reveal { animation: reveal .5s ease both; }
@keyframes reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ── Landing (funnel-landing mockup) ── */
/* Header: brand left, sign-in right — one line, so the link reads as
   part of the design instead of floating text. */
.fl-head { max-width: 720px; margin: 0 auto; padding: 26px 20px 34px;
  display: flex; align-items: center; gap: 16px; }
.fl-head .fl-brand { margin: 0; }
.fl-signin { margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  font-size: 14.5px; font-weight: 700; color: var(--text-soft);
  padding: 9px 17px; border: 1.5px solid var(--border); border-radius: 999px;
  background: var(--surface); white-space: nowrap;
  transition: border-color .15s, color .15s, transform .15s, box-shadow .15s; }
.fl-signin:hover { border-color: var(--accent); color: var(--accent-strong);
  transform: translateY(-1px); box-shadow: 0 3px 10px rgba(38, 54, 44, .07); }
.fl { max-width: 720px; margin: 0 auto; padding: 0 20px 80px; }
.fl-brand { display: flex; align-items: center; gap: 11px; }
.fl-brand .name { font-family: var(--font-display); font-weight: 600; font-size: 21px; }
@media (max-width: 480px) {
  .fl-head { padding: 20px 18px 26px; }
  .fl-signin { padding: 8px 14px; font-size: 14px; }
}
.fl h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 6vw, 50px);
  line-height: 1.12; text-align: center; letter-spacing: -.6px; margin: 0 0 16px; }
.fl .sub { text-align: center; font-size: 18px; color: var(--text-soft);
  max-width: 540px; margin: 0 auto 12px; line-height: 1.55; }
.fl .trust { text-align: center; color: var(--text-faint); font-size: 14.5px; margin-bottom: 34px; }
.fl-q { max-width: 540px; margin: 0 auto; }
.fl-q .ask-label { text-align: center; font-size: 14px; color: var(--text-soft); font-weight: 800; margin-bottom: 13px; }
.fl-opt { display: flex; align-items: center; gap: 13px; width: 100%; text-align: left;
  border: 2px solid var(--border); background: var(--surface); border-radius: var(--radius-sm);
  padding: 17px 19px; font-size: 16.5px; font-weight: 700; color: var(--text); font-family: inherit;
  cursor: pointer; margin-bottom: 12px; transition: border-color .15s, transform .15s; }
.fl-opt:hover { border-color: var(--accent); transform: translateY(-1px); }
.fl-opt .em { font-size: 21px; }
.fl-stats { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 56px 0 10px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 24px; text-align: center; min-width: 168px; box-shadow: var(--shadow); flex: 1; }
.stat .n { font-family: var(--font-display); font-size: 31px; font-weight: 600; letter-spacing: -.5px; }
.stat .c { color: var(--text-faint); font-size: 13.5px; margin-top: 5px; line-height: 1.4; }
.fl-stats-cap { text-align: center; color: var(--text-faint); font-size: 13.5px; margin-bottom: 46px; }
.fl-get { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.fl-get.two { grid-template-columns: repeat(2, 1fr); max-width: 660px; margin-left: auto; margin-right: auto; }
.get-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow); }
.get-card .em { font-size: 26px; }
.get-card .t { font-weight: 800; font-size: 15.5px; margin-top: 10px; }
.get-card .d { color: var(--text-soft); font-size: 14px; margin-top: 5px; line-height: 1.5; }
.fl-foot { text-align: center; color: var(--text-faint); font-size: 13px; margin-top: 54px; line-height: 1.6; }
@media (max-width: 640px) { .fl-get { grid-template-columns: 1fr; } }

/* ── Quiz page (funnel-quiz mockup) ── */
.fq { max-width: 560px; margin: 0 auto; padding: 20px 18px 70px; }
.fq-top { position: sticky; top: 0; background: var(--bg); z-index: 5;
  padding: 12px 0 10px; margin-bottom: 18px; }
.fq-top .row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.fq-top .mark { width: 28px; height: 28px; border-radius: 9px; font-size: 14px;
  background: linear-gradient(135deg, #3d8a72, #24594c); color: #fff; display: grid;
  place-items: center; font-weight: 700; transform: rotate(-4deg); }
.fq-top .bname { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.fq-top .pct { margin-left: auto; color: var(--text-faint); font-size: 13px; font-weight: 700; }
.fq h1 { font-family: var(--font-display); font-weight: 600; font-size: 26px;
  line-height: 1.25; letter-spacing: -.3px; margin: 6px 0 8px; }
.fq .qsub { color: var(--text-soft); font-size: 15px; margin: 0 0 22px; }
.inter-card { text-align: center; padding: 34px 24px; }
.inter-card .big { font-size: 40px; margin-bottom: 12px; }
.inter-card h2 { font-size: 23px; }
.inter-card p { color: var(--text-soft); font-size: 15.5px; line-height: 1.6; }
.inter-card .n { font-family: var(--font-display); font-size: 40px; font-weight: 600;
  letter-spacing: -1px; margin: 6px 0 2px; }
.lockrow { position: relative; }
.lockrow .blurred { filter: blur(5px); user-select: none; pointer-events: none; }
.locktag { font-size: 12px; font-weight: 800; color: var(--text-faint); }
.plan { display: flex; align-items: center; gap: 13px; border: 2px solid var(--border);
  border-radius: var(--radius-sm); padding: 15px 17px; cursor: pointer; background: var(--surface);
  margin-bottom: 11px; }
.plan.sel { border-color: var(--accent); background: var(--accent-soft); }
.plan .pt { font-weight: 800; font-size: 16px; }
.plan .pd { color: var(--text-soft); font-size: 13.5px; margin-top: 2px; }
.plan .tag { margin-left: auto; }
.paybtn { width: 100%; justify-content: center; padding: 15px; font-size: 16.5px; }
.smallprint { color: var(--text-faint); font-size: 12.5px; line-height: 1.6; margin-top: 16px; }
.smallprint a { color: var(--text-soft); text-decoration: underline; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px;
  color: var(--text-soft); margin: 14px 0 18px; }
.consent input { width: auto; margin-top: 3px; }
.err { color: var(--red); font-size: 13.5px; margin: 8px 0 0; }

/* ── Policy / help documents ── */
.doc { max-width: 720px; margin: 0 auto; padding: 10px 20px 70px; }
.doc h1 { font-family: var(--font-display); font-weight: 600; font-size: 34px;
  letter-spacing: -.5px; margin: 0 0 8px; }
.doc h2 { font-family: var(--font-display); font-weight: 600; font-size: 23px;
  margin: 38px 0 10px; }
.doc h3 { font-size: 17px; font-weight: 800; margin: 24px 0 6px; }
.doc p, .doc li { color: var(--text-soft); font-size: 16px; line-height: 1.7; }
.doc strong { color: var(--text); }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc a { color: var(--accent-strong); text-decoration: underline; }
.doc em { color: var(--text-faint); font-style: normal; font-size: 14px; }
.doc hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }

.site-footer { border-top: 1px solid var(--border); margin-top: 40px;
  padding: 32px 20px 44px; }
/* Columns, centred as a block on wide screens and stacked on narrow.
   auto-fit keeps a lone column from stretching across an ultra-wide. */
.foot-cols { display: grid; gap: 26px 56px; justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(150px, max-content));
  max-width: 720px; margin: 0 auto; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: 9px; }
.foot-col li:last-child { margin-bottom: 0; }
.foot-h { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-faint); margin: 0 0 12px; }
/* Hit target: the link text is ~19px tall, so the padding brings the row
   to the 24px minimum without moving anything visually. */
.site-footer .foot-col a { display: inline-block; padding: 3px 0;
  color: var(--text-soft); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.site-footer .foot-col a:hover,
.site-footer .foot-col a:focus-visible { color: var(--accent-strong); text-decoration: underline; }
.foot-legal { color: var(--text-faint); font-size: 13px; line-height: 1.6;
  margin: 30px auto 0; max-width: 520px; text-align: center; text-wrap: balance; }
@media (max-width: 560px) {
  .foot-cols { justify-content: start; max-width: none; gap: 22px 32px;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .foot-legal { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; }
  .spinner { animation-duration: 2.5s; }
  .btn, .fl-opt { transition: none; }
}
