/* Sign-up funnel. Builds on /styles.css and /free-clean/funnel.css. */

.price-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0 6px; max-width: 520px; }
.price-list div {
  background: var(--white); border: var(--border); border-radius: var(--radius-sm); box-shadow: 3px 3px 0 var(--sage);
  padding: 12px 10px; text-align: center; display: flex; flex-direction: column; gap: 2px;
}
.price-list span { font-size: .85rem; font-weight: 700; color: var(--muted); }
.price-list b { font-family: var(--font-head); font-weight: 400; font-size: 1.6rem; line-height: 1.1; }
.price-list small { font-family: var(--font-body); font-size: .8rem; font-weight: 700; color: var(--muted); }

/* First-month callout */
.first-month {
  display: flex; align-items: flex-start; gap: 12px; max-width: 520px; margin: 14px 0 4px;
  background: var(--sage); border: var(--border); border-radius: var(--radius-sm); padding: 12px 14px;
}
.first-month p { margin: 0; font-size: .98rem; }
.first-month-badge {
  flex: none; background: var(--heart); color: var(--white); border: 2px solid var(--ink); border-radius: 999px;
  font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; margin-top: 1px;
}
.first-month-plan { background: var(--white); margin: 0 0 14px; flex-direction: column; gap: 8px; }

/* Plan step */
.plan-card { background: var(--butter); border: var(--border); border-radius: var(--radius); padding: 22px; box-shadow: 4px 4px 0 var(--sage); margin-bottom: 14px; }
.plan-price { font-family: var(--font-head); font-size: 3.4rem; line-height: 1; margin: 6px 0 8px; color: var(--ink); }
.plan-price small { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; color: var(--muted); margin-left: 4px; }
.plan-sub { font-weight: 700; margin-bottom: 14px; }
.plan-home { color: var(--muted); font-size: .95rem; margin: 0 0 14px; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--green); text-decoration: underline; cursor: pointer; }

/* Agreement step: give it room */
body.signing .f-hero-copy { display: none; }
body.signing .f-hero-grid { grid-template-columns: 1fr; justify-items: center; }
body.signing .quiz { max-width: 760px; width: 100%; }

.agreement { border: var(--border); border-radius: var(--radius-sm); background: var(--cream); padding: 18px 18px 6px; margin-bottom: 18px; }
.agreement-title { font-family: var(--font-head); font-size: 1.3rem; line-height: 1.15; margin-bottom: 8px; }
.agreement-intro, .agreement-closing { font-size: .95rem; }
.agreement-closing { font-weight: 700; }
.agreement-sections { display: grid; gap: 10px; margin: 6px 0 16px; }
.agreement-sections details { background: var(--white); border: 2px solid var(--ink); border-radius: 10px; }
.agreement-sections summary {
  cursor: pointer; list-style: none; padding: 13px 48px 13px 16px; font-weight: 800; position: relative;
}
.agreement-sections summary::-webkit-details-marker { display: none; }
.agreement-sections summary::after {
  content: "+"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--sunshine); border: 2px solid var(--ink);
  display: grid; place-items: center; font-size: 1rem; line-height: 1;
}
.agreement-sections details[open] summary::after { content: "–"; }
.agreement-sections details.read summary::before {
  content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px;
  border-radius: 50%; background: var(--green); color: var(--cream); font-size: .75rem;
}
.agreement-sections details p { padding: 0 16px 14px; margin: 0; font-size: .97rem; }
.agreement-sections details.key { border-color: var(--heart); }
.agreement-sections .key-tag { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--heart); margin-left: 6px; }

.sign-summary { margin: 0 0 18px; border-top: 2px dashed var(--sage); }
.sign-summary div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 2px dashed var(--sage); }
.sign-summary dt { font-weight: 700; color: var(--muted); }
.sign-summary dd { margin: 0; font-weight: 700; text-align: right; }

.sig-wrap { position: relative; }
.sig-pad {
  display: block; width: 100%; height: 160px; background: var(--white); border: var(--border); border-radius: var(--radius-sm);
  touch-action: none; cursor: crosshair;
}
.sig-wrap::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 38px; border-bottom: 2px solid var(--sage); pointer-events: none; }
.sig-hint { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; color: #8FA096; pointer-events: none; }
.sig-wrap.has-ink .sig-hint { display: none; }
.sig-clear { position: absolute; right: 10px; top: 10px; background: var(--cream); border: 2px solid var(--ink); border-radius: 999px; padding: 4px 12px; font: 700 .85rem var(--font-body); cursor: pointer; }
.field.invalid .sig-pad { border-color: var(--heart); }

.agree { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; font-size: .95rem; margin: 6px 0 18px; cursor: pointer; }
.agree input { width: 24px; height: 24px; min-height: 0; flex: none; margin-top: 2px; padding: 0; accent-color: var(--green); appearance: auto; -webkit-appearance: checkbox; }
.agree.invalid span { color: #B23A22; }

@media (max-width: 640px) {
  .price-list b { font-size: 1.3rem; }
  .price-list span { font-size: .75rem; }
  .plan-price { font-size: 2.8rem; }
  .agreement { padding: 14px 12px 4px; }
  .sign-summary div { flex-direction: column; gap: 2px; }
  .sign-summary dd { text-align: left; }
}
