/* Signup + agreement pages. Builds on css/style.css variables. */
.signup-wrap { max-width: 720px; padding-top: 40px; padding-bottom: 70px; }
.signup-title { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-bottom: 22px; }
.muted { color: var(--ink-soft); }
.fine { font-size: .88rem; color: var(--ink-soft); margin: 8px 0 14px; }

.steps-progress { list-style: none; display: flex; gap: 6px; margin-bottom: 22px; counter-reset: none; }
.steps-progress li { flex: 1; font-size: .82rem; font-weight: 700; color: var(--ink-soft); border-top: 4px solid var(--line); padding-top: 8px; }
.steps-progress li span { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--line); color: var(--ink); font-size: .75rem; margin-right: 4px; }
.steps-progress li.done { border-top-color: var(--green); }
.steps-progress li.done span { background: var(--green); color: #fff; }
.steps-progress li.current { border-top-color: var(--accent); color: var(--ink); }
.steps-progress li.current span { background: var(--accent); color: #fff; }
@media (max-width: 480px) { .steps-progress li { font-size: 0; } .steps-progress li span { font-size: .75rem; } }

.signup-step, .signup-done { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
@media (max-width: 480px) { .signup-step, .signup-done { padding: 20px 16px; } }
.signup-step h2 { font-size: 1.45rem; margin-bottom: 14px; outline: none; }
.row-2, .row-3 { display: grid; gap: 0 14px; grid-template-columns: 1fr 1fr; }
.row-3 { grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 560px) { .row-2, .row-3 { grid-template-columns: 1fr; } }
.form-row input[aria-invalid="true"] { border-color: var(--accent-dark); background: #fff6f3; }

.step-errors { background: #fde5dd; border: 1px solid #f3b9a6; color: var(--accent-dark); border-radius: 8px; padding: 12px 16px; margin-bottom: 16px; font-size: .95rem; }
.step-errors ul { margin: 4px 0 0 18px; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.step-nav .btn { min-height: 48px; }
@media (max-width: 480px) { .step-nav .btn { flex: 1; text-align: center; } }

.agreement-panel { max-height: 62vh; min-height: 320px; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; padding: 22px 26px; background: #fff; font-size: 1.02rem; line-height: 1.65; }
@media (max-width: 480px) { .agreement-panel { max-height: 70vh; padding: 16px 14px; font-size: 1rem; } }
.agreement-panel h1 { font-size: 1.2rem; margin-bottom: 6px; }
.agreement-panel h3, #agreement-text h3 { font-size: 1rem; margin: 16px 0 6px; color: var(--ink); }
.agreement-panel p, .agreement-panel li { margin-bottom: 10px; color: var(--ink); }
.agreement-panel ul, #agreement-text ul { margin-left: 20px; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; margin: 14px 0; cursor: pointer; }
.check-row input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.check-row.small { font-weight: 500; font-size: .9rem; color: var(--ink-soft); }

.option-card { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; cursor: pointer; background: var(--paper); }
.option-card:has(input:checked) { border-color: var(--accent); background: #fff6f3; }
.option-card input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--accent); }
.option-body { display: flex; flex-direction: column; gap: 2px; }
.option-price { font-weight: 800; color: var(--ink); }
.build-card .muted { font-size: .88rem; }
.plan-fieldset { border: none; margin: 6px 0 10px; }
.plan-fieldset legend { font-weight: 700; font-size: .95rem; margin-bottom: 8px; }

.promo-block { border-top: 1px dashed var(--line); margin-top: 14px; padding-top: 14px; }
.promo-row { display: flex; gap: 10px; margin-top: 6px; }
.promo-row input { flex: 1; min-width: 0; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px; font-size: 1rem; text-transform: uppercase; background: var(--paper); font-family: inherit; }
.promo-row .btn { padding: 10px 16px; white-space: nowrap; }
.promo-chip { display: flex; justify-content: space-between; align-items: center; background: #ddf0e5; color: var(--green); border-radius: 8px; padding: 10px 14px; font-weight: 600; }
.link-btn { background: none; border: none; color: var(--accent-dark); font-weight: 700; text-decoration: underline; cursor: pointer; font-size: .95rem; padding: 6px; }
.promo-msg { font-size: .9rem; margin-top: 8px; color: var(--ink-soft); min-height: 1em; }
.promo-msg.ok { color: var(--green); }
.promo-msg.error { color: var(--accent-dark); }

.summary-h { font-size: 1.05rem; margin: 22px 0 8px; }
.order-summary { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 6px 0 4px; }
.order-summary td { padding: 9px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.order-summary td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.recap p { margin-bottom: 8px; }
.next-steps { margin: 16px 0 0 20px; color: var(--ink-soft); font-size: .93rem; }
.next-steps li { margin-bottom: 6px; }
.payment-note { margin-top: 14px; font-size: .93rem; background: var(--paper); border-left: 4px solid var(--accent); padding: 10px 14px; border-radius: 0 8px 8px 0; }
.submit-status { margin-top: 10px; font-weight: 600; min-height: 1em; }
.btn[disabled] { opacity: .6; cursor: progress; }

.agreement-page { max-width: 820px; padding-top: 40px; padding-bottom: 60px; }
.agreement-title { font-size: 2rem; margin-bottom: 6px; }
#agreement-text p, #agreement-text li { color: var(--ink-soft); margin-bottom: 10px; }

/* Public signup additions */
.signup-lede { margin: -10px 0 18px; font-size: .95rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.invite-banner { background: #ddf0e5; border: 1px solid #b7dcc6; color: #155c3b; border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; font-size: .95rem; }
.invite-banner.warn { background: #fdf1dc; border-color: #f1d49a; color: #7a4f06; }
.checklist { margin: 8px 0 18px 20px; color: var(--ink-soft); }
.checklist li { margin-bottom: 6px; }
.signup-done h2 { font-size: 1.2rem; margin: 18px 0 6px; }
select:disabled { opacity: .75; }
.disclosure { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 10px 16px; font-size: .93rem; }
.disclosure ul { margin-left: 18px; }
.disclosure li { margin: 4px 0; color: var(--ink); }

/* ---- Step 2: electronic signing ---- */
.agreement-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 10px 0 18px; }
.btn-sm { padding: 8px 14px; font-size: 0.92rem; }
.esign-consent { border: 1px solid #d8d2c4; background: #fff; border-radius: 10px; padding: 14px 16px; margin: 8px 0 12px; }
.esign-consent h3 { margin: 0 0 6px; font-size: 1rem; }
.esign-consent p { font-size: 0.92rem; margin: 0 0 10px; }
.sign-status { font-weight: 600; }
.signed-box { border: 2px solid #1f7a4d; background: #eef8f2; border-radius: 10px; padding: 14px 16px; margin: 8px 0 16px; }
.signed-title { color: #1f7a4d; font-weight: 700; font-size: 1.1rem; margin: 0 0 4px; }
.approve-row { border: 2px solid #e4572e; border-radius: 10px; padding: 12px 14px; background: #fff; margin: 14px 0; }

@media print {
  .site-header, .site-footer, .no-print, .agreement-actions { display: none !important; }
  body { background: #fff; }
}
/* buttons/boxes toggled with the hidden attribute must really disappear (.btn sets display) */
.signup-wrap [hidden] { display: none !important; }

/* first-party typed signature */
.sign-form h3 { margin: 18px 0 6px; }
.sign-box { border: 1px solid #d8d2c4; border-radius: 10px; padding: 12px 14px 6px; margin: 0 0 12px; background: #fff; }
.sign-box legend { font-weight: 700; padding: 0 6px; }
.typed-signature { font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive; font-size: 1.35rem; }
.ok-line { color: #1f7a4d; font-weight: 700; margin: 4px 0; }
.code-row .btn { width: 100%; }
.hash { display: block; word-break: break-all; color: #666; font-size: .8rem; margin-top: 4px; }

.agreement-upfront { margin: 18px 0 4px; padding: 14px 16px; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 8px; background: var(--paper); font-size: .95rem; }
.agreement-upfront a { font-weight: 700; }
.fac-row { max-width: 320px; margin-bottom: 14px; }

/* =====================================================================
   Signup page design (signup/index.html) — scoped to .signup-hero / .signup-wide
   ===================================================================== */
.signup-hero { background: radial-gradient(1200px 400px at 85% -10%, #2a3b52 0%, transparent 60%), linear-gradient(160deg, #14202e 0%, #1b2a3c 100%); color: #fff; padding: 46px 0 30px; }
.signup-hero .kicker { color: #ff8a66; }
.signup-hero .signup-title { color: #fff; font-size: clamp(1.9rem, 4.4vw, 2.8rem); margin: 0 0 8px; letter-spacing: -0.02em; }
.hero-sub { color: #c5cedb; font-size: 1.05rem; max-width: 620px; }
.signup-hero-inner { max-width: 1120px; }

.signup-hero .steps-progress { display: flex; gap: 0; margin: 28px 0 0; padding: 0; list-style: none; max-width: 760px; }
.signup-hero .steps-progress li { flex: 1; position: relative; display: flex; align-items: center; gap: 10px; border: 0; padding: 0 12px 0 0; font-size: .95rem; font-weight: 700; color: #8c9bb0; }
.signup-hero .steps-progress li::after { content: ""; flex: 1; height: 2px; background: #33465e; border-radius: 2px; margin-left: 4px; }
.signup-hero .steps-progress li:last-child::after { display: none; }
.signup-hero .step-num { width: 34px; height: 34px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: transparent; border: 2px solid #3b5069; color: #c5cedb; font-size: .95rem; font-weight: 800; margin: 0; }
.signup-hero .steps-progress li.current { color: #fff; }
.signup-hero .steps-progress li.current .step-num { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 0 6px rgba(232,84,47,.22); }
.signup-hero .steps-progress li.done { color: #d9f2e5; }
.signup-hero .steps-progress li.done .step-num { background: #2bb673; border-color: #2bb673; color: transparent; position: relative; }
.signup-hero .steps-progress li.done .step-num::before { content: "✓"; color: #fff; position: absolute; font-size: 1rem; }
.signup-hero .steps-progress li.done::after { background: #2bb673; }
@media (max-width: 620px) {
  .signup-hero { padding: 30px 0 22px; }
  .signup-hero .step-label { display: none; }
  .signup-hero .steps-progress li { padding-right: 6px; }
  .signup-hero .steps-progress li.current .step-label { display: inline; font-size: .9rem; }
}

.signup-wide { max-width: 1120px; padding-top: 28px; }
.signup-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; }
@media (max-width: 920px) { .signup-layout { grid-template-columns: 1fr; } }

.signup-wide .signup-step { border: 1px solid var(--line); border-radius: 18px; padding: 34px 36px; box-shadow: 0 1px 2px rgba(20,32,46,.04), 0 12px 32px -18px rgba(20,32,46,.25); }
@media (max-width: 560px) { .signup-wide .signup-step { padding: 22px 16px; border-radius: 14px; } }
.step-head { margin-bottom: 20px; }
.step-head h2 { font-size: clamp(1.45rem, 3vw, 1.85rem); margin: 6px 0 6px; }
.step-head .muted { font-size: .98rem; }
.step-pill { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark); background: #fdece6; border-radius: 999px; padding: 4px 10px; }

/* inputs */
.signup-wide .form-row { margin-bottom: 14px; }
.signup-wide .form-row label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.signup-wide .form-row input, .signup-wide .form-row select { width: 100%; padding: 13px 14px; border: 1.5px solid #d9d2c5; border-radius: 10px; font-size: 1rem; font-family: inherit; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.signup-wide .form-row input:focus, .signup-wide .form-row select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(20,32,46,.08); }
.signup-wide .form-row input[aria-invalid="true"], .signup-wide .form-row select[aria-invalid="true"] { border-color: #d0432b; background: #fff8f6; box-shadow: 0 0 0 4px rgba(208,67,43,.08); }
.field-error { color: #b42318; font-size: .86rem; font-weight: 600; margin-top: 6px; }
.optional { font-weight: 500; color: var(--ink-soft); font-size: .8rem; margin-left: 6px; }
.field-group { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 6px; }
.field-group:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.group-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); margin: 0 0 12px; }
.fac-row { max-width: 280px; }

/* package cards */
.signup-wide .option-card { background: #fff; border: 2px solid #e6e0d5; border-radius: 16px; padding: 20px 20px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.signup-wide .option-card:hover { border-color: #cfc6b6; }
.signup-wide .option-card:has(input:checked) { border-color: var(--accent); background: #fffaf8; box-shadow: 0 10px 30px -16px rgba(232,84,47,.55); }
.signup-wide .option-card input { width: 22px; height: 22px; margin-top: 4px; }
.build-card { margin-bottom: 22px; }
.card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.card-title { font-size: 1.2rem; }
.card-price { font-size: 1.9rem; font-weight: 900; letter-spacing: -0.02em; line-height: 1; color: var(--ink); white-space: nowrap; }
.card-price small { font-size: .82rem; font-weight: 700; color: var(--ink-soft); margin-left: 4px; letter-spacing: 0; }
.card-blurb { color: var(--ink-soft); margin: 4px 0 10px; }
.feature-list { display: grid; gap: 7px; margin: 2px 0 6px; }
.feature-list > span { display: flex; gap: 8px; align-items: flex-start; font-size: .95rem; color: var(--ink); line-height: 1.4; }
.feature-list svg, .trust-list svg, .ok-line svg, .signed-title svg, .promo-chip svg, .stripe-note svg, .upfront-icon svg { width: 18px; height: 18px; flex: none; fill: currentColor; }
.feature-list svg { color: var(--green); margin-top: 1px; }
.card-note { font-size: .82rem; color: var(--ink-soft); margin-top: 6px; }

.plan-fieldset { border: 0; margin: 0 0 18px; padding: 0; }
.plan-fieldset legend { font-weight: 800; font-size: 1.05rem; margin-bottom: 12px; }
.plan-fieldset legend .muted { font-weight: 500; font-size: .9rem; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .plan-grid { grid-template-columns: 1fr; } }
.signup-wide .plan-card { flex-direction: column; gap: 6px; margin: 0; padding: 18px 16px; position: relative; }
.plan-card .plan-head { display: flex; align-items: center; gap: 10px; }
.plan-card .plan-head input { margin: 0; }
.plan-card .plan-name { font-weight: 800; font-size: 1.02rem; }
.plan-card .plan-price { font-size: 1.6rem; font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; }
.plan-card .plan-price small { font-size: .78rem; font-weight: 700; color: var(--ink-soft); letter-spacing: 0; }
.plan-card .plan-blurb { font-size: .88rem; color: var(--ink-soft); }
.plan-card .feature-list > span { font-size: .86rem; }
.plan-tag { position: absolute; top: -11px; right: 14px; background: var(--ink); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }

.agreement-upfront { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 0; padding: 14px 16px; border: 1px solid #cfe6d9; border-left: 4px solid var(--green); border-radius: 12px; background: #f3faf6; font-size: .93rem; }
.upfront-icon { color: var(--green); margin-top: 1px; }

/* buttons */
.signup-wide .btn { border-radius: 12px; transition: transform .1s, box-shadow .15s, background .15s; }
.signup-wide .btn-accent { box-shadow: 0 8px 20px -10px rgba(232,84,47,.9); }
.signup-wide .btn-accent:hover:not([disabled]) { transform: translateY(-1px); }
.btn-next { padding: 15px 26px; font-size: 1.02rem; }
.btn-ghost { background: transparent; border: 2px solid transparent; color: var(--ink-soft) !important; padding-left: 6px; }
.btn-ghost:hover { color: var(--ink) !important; }
.btn-dark { background: var(--ink); color: #fff !important; }
.btn-dark:hover { background: #22344a; }
.btn-block { display: block; width: 100%; text-align: center; }
.signup-wide .step-nav { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 26px; align-items: center; }
.center { text-align: center; }

/* errors */
.signup-wide .step-errors { border-radius: 12px; background: #fff1ee; border: 1px solid #f6c3b5; color: #9b2c13; }

/* agreement as a document */
.doc { border: 1px solid #ddd5c6; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 1px 0 #ece6da, 0 18px 40px -26px rgba(20,32,46,.45); }
.doc-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 18px; background: #f4f1ea; border-bottom: 1px solid #e3dccd; font-size: .88rem; }
.doc-name { font-weight: 800; }
.doc-ver { font-weight: 600; color: var(--ink-soft); margin-left: 6px; font-size: .8rem; }
.doc .agreement-tools { margin: 0; gap: 14px; }
.doc .agreement-tools a, .doc .agreement-tools .link-btn { font-weight: 700; color: var(--ink); font-size: .88rem; padding: 0; text-decoration: underline; }
.signup-wide .agreement-panel { border: 0; border-radius: 0; max-height: 58vh; padding: 30px 40px; font-family: Georgia, "Iowan Old Style", "Times New Roman", serif; font-size: 1.04rem; line-height: 1.7; color: #1d2733; }
.signup-wide .agreement-panel h1 { font-family: inherit; font-size: 1.5rem; }
.signup-wide .agreement-panel h3 { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 1rem; letter-spacing: .01em; margin-top: 22px; }
@media (max-width: 560px) { .signup-wide .agreement-panel { padding: 20px 16px; max-height: 65vh; } }

/* signing card */
.sign-card { margin-top: 22px; border: 2px solid var(--ink); border-radius: 18px; padding: 24px 24px 18px; background: linear-gradient(180deg, #fff 0%, #fffdf9 100%); }
@media (max-width: 560px) { .sign-card { padding: 18px 14px; } }
.sign-card-head h3 { font-size: 1.35rem; margin: 0; }
.sign-card-head p { color: var(--ink-soft); margin: 2px 0 14px; font-size: .95rem; }
.sign-step { display: flex; gap: 14px; padding: 16px 0; border-top: 1px dashed #ddd5c6; }
.sign-num { width: 30px; height: 30px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-size: .9rem; }
.sign-body { flex: 1; min-width: 0; }
.sign-body h4 { font-size: 1.02rem; margin: 3px 0 8px; }
.code-row { display: flex; gap: 10px; align-items: stretch; max-width: 380px; }
.code-input { flex: 1; min-width: 0; font-size: 1.6rem !important; letter-spacing: .45em; text-align: center; font-weight: 800; padding: 10px 12px !important; border: 2px solid #d9d2c5; border-radius: 12px; font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.code-input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(20,32,46,.08); }
.resend { margin: 6px 0 0; }
.resend .link-btn { font-size: .88rem; padding: 0; color: var(--ink-soft); }
.ok-line { display: inline-flex; gap: 6px; align-items: center; background: #e7f6ee; color: #17663f; border-radius: 999px; padding: 6px 12px; font-size: .92rem; }
.sig-pad { position: relative; margin-top: 6px; border: 1px solid #e3dccd; border-radius: 12px; background: #fffef9; padding: 18px 20px 10px; min-height: 112px; }
.sig-preview { font-family: "Caveat", "Segoe Script", "Brush Script MT", cursive; font-size: 2.6rem; line-height: 1.1; color: #1c3b8f; min-height: 52px; padding-left: 26px; overflow-wrap: anywhere; }
.sig-preview:empty::before { content: "Your signature appears here"; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: .9rem; color: #a59c8b; line-height: 52px; }
.sig-line { border-bottom: 1.5px solid #6b6455; position: relative; margin-top: 2px; }
.sig-line span { position: absolute; left: 0; bottom: 2px; color: #6b6455; font-size: .9rem; }
.sig-meta { font-size: .8rem; color: var(--ink-soft); padding-top: 6px; min-height: 1.2em; }
.signup-wide .check-row { font-weight: 600; font-size: .95rem; line-height: 1.5; }
.signup-wide .signed-box { border-radius: 14px; margin-top: 18px; }
.signed-title { display: flex; align-items: center; gap: 6px; }

/* pay step */
.receipt { border: 1px solid #e3dccd; border-radius: 16px; background: #fff; padding: 20px 22px; }
.receipt .recap { font-size: .92rem; color: var(--ink-soft); border-bottom: 1px dashed #ddd5c6; padding-bottom: 10px; margin-bottom: 8px; }
.receipt .order-summary { font-size: 1rem; }
.receipt .order-summary tr:last-child td { border-bottom: 0; }
.receipt .order-summary strong { font-size: 1.05rem; }
.signup-wide .promo-block { border-top: 1px dashed #ddd5c6; margin-top: 10px; padding-top: 14px; }
.signup-wide .promo-block label { font-weight: 700; font-size: .88rem; }
.signup-wide .promo-row input { background: #fff; border-radius: 10px; }
.signup-wide .promo-chip { border-radius: 10px; }
.promo-chip > span { display: inline-flex; gap: 6px; align-items: center; }
.terms { margin: 16px 0 4px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; background: #fff; }
.terms summary { cursor: pointer; font-weight: 700; font-size: .95rem; }
.terms[open] summary { margin-bottom: 10px; }
.signup-wide .approve-row { border: 2px solid var(--ink); border-radius: 14px; padding: 16px 16px; background: #fff; margin-top: 18px; }
.btn-pay { padding: 16px 30px; font-size: 1.08rem; }
.stripe-note { display: flex; align-items: center; justify-content: flex-end; gap: 6px; color: var(--ink-soft); font-size: .85rem; margin: 10px 0 0; }
@media (max-width: 480px) { .stripe-note { justify-content: center; } }

/* order summary sidebar */
.order-aside { position: sticky; top: 86px; display: grid; gap: 14px; }
@media (max-width: 920px) { .order-aside { position: static; } }
.aside-card { background: var(--ink); color: #fff; border-radius: 18px; padding: 22px 22px 18px; box-shadow: 0 18px 40px -24px rgba(20,32,46,.8); }
.aside-card h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: #9fb0c6; margin: 0 0 12px; }
.aside-lines { display: grid; gap: 8px; font-size: .93rem; }
.aside-line { display: flex; justify-content: space-between; gap: 12px; color: #dbe3ee; }
.aside-line span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.aside-line.discount { color: #7be0a9; }
.aside-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid #33465e; margin-top: 14px; padding-top: 14px; font-weight: 700; }
.aside-total strong { font-size: 1.9rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.aside-monthly { color: #b9c6d6; font-size: .88rem; margin: 8px 0 0; }
.trust-list { list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: grid; gap: 10px; margin: 0; }
.trust-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; font-weight: 600; }
.trust-list svg { color: var(--green); margin-top: 1px; }
.aside-help { font-size: .85rem; color: var(--ink-soft); text-align: center; margin: 0; }
.signup-hero .steps-progress li span.step-label { display: inline; width: auto; height: auto; background: none; border: 0; border-radius: 0; margin: 0; padding: 0; font-size: .95rem; color: inherit; white-space: nowrap; }
.signup-hero .steps-progress li span.step-num { margin: 0; }
@media (max-width: 480px) { .signup-hero .steps-progress li { font-size: .9rem; } }
.signup-wide .option-body { flex: 1; min-width: 0; }
.signup-wide .code-row .btn { width: auto; flex: none; padding: 0 24px; }
.signup-wide .code-row .code-input { flex: 1 1 auto; width: 100%; min-width: 150px; background: #fff; }
@media (max-width: 620px) {
  .signup-hero .steps-progress li span.step-label { display: none; }
  .signup-hero .steps-progress li.current span.step-label { display: inline; }
  .signup-hero .steps-progress li.current { flex: 1.6; }
}

/* ===== Readable agreement (v2026-11-20.1): full page, colored sections, bullet points ===== */
.signup-wide .agreement-panel, .agreement-panel { max-height: none; min-height: 0; overflow: visible; padding: 26px 28px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 1.02rem; line-height: 1.6; color: #1d2733; }
@media (max-width: 560px) { .signup-wide .agreement-panel, .agreement-panel { max-height: none; padding: 16px 12px; font-size: 1rem; } }
.ag { --c: #64748b; --t: #f4f6f8; }
.ag .agreement-title, .signup-wide .agreement-panel .ag h1 { font-family: inherit; font-size: 1.7rem; font-weight: 900; letter-spacing: -0.02em; margin: 0 0 4px; color: var(--ink); }
.ag > p.muted { font-size: .88rem; margin-bottom: 18px; color: var(--ink-soft); }
.ag-parties { background: #14202e; color: #fff; border-radius: 12px; padding: 16px 20px; margin-bottom: 18px; }
.ag-parties p, #agreement-text .ag-parties p { color: #e8edf3; margin: 0; font-size: 1rem; }
.ag-parties strong { color: #fff; }
.ag-sec { padding: 0; border: 1px solid var(--c); border-left-width: 6px; border-radius: 12px; margin: 0 0 16px; background: #fff; overflow: hidden; break-inside: avoid-page; }
.ag-sec > h3, .signup-wide .agreement-panel .ag-sec > h3, #agreement-text .ag-sec > h3 { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 16px; background: var(--t); color: var(--ink); font-family: inherit; font-size: 1.06rem; font-weight: 800; letter-spacing: 0; }
.ag-num { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 999px; background: var(--c); color: #fff; font-size: .85rem; font-weight: 800; }
.ag-dot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ag-sec > ul, .ag-sec > p { margin: 0; padding: 12px 18px 6px; }
.ag-sec > p + ul { padding-top: 0; }
.ag-sec ul, #agreement-text .ag-sec ul, .agreement-panel .ag-sec ul { list-style: none; margin-left: 0; }
.ag-sec li, #agreement-text .ag-sec li, .agreement-panel .ag-sec li { position: relative; padding-left: 22px; margin: 0 0 10px; color: #1d2733; }
.ag-sec li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.ag-sec li strong { color: var(--ink); }
.ag-sec > p, #agreement-text .ag-sec > p { color: #1d2733; margin-bottom: 10px; }
.ag-green  { --c: #16a34a; --t: #ecfdf3; }
.ag-blue   { --c: #2563eb; --t: #eef4ff; }
.ag-amber  { --c: #d97706; --t: #fff7e8; }
.ag-slate  { --c: #64748b; --t: #f3f5f8; }
.ag-purple { --c: #7c3aed; --t: #f5f0ff; }
.ag-teal   { --c: #0d9488; --t: #ecfbf8; }
.ag-ink    { --c: #14202e; --t: #eef0f3; }

/* plain-English summary (outside the signed text) */
.ag-glance { border-radius: 14px; background: linear-gradient(135deg, #14202e, #1f3347); color: #fff; padding: 18px 22px; margin: 0 0 18px; }
.ag-glance-title { font-weight: 900; font-size: 1.1rem; margin: 0 0 10px; color: #fff; }
.ag-glance ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ag-glance li { position: relative; padding-left: 30px; color: #e8edf3; line-height: 1.5; }
.ag-glance li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 900; color: #fff; }
.ag-glance li.g-green::before { background: #16a34a; }
.ag-glance li.g-blue::before { background: #2563eb; }
.ag-glance li.g-amber::before { background: #d97706; content: "!"; }
.ag-glance strong { color: #fff; }
.ag-glance-note { margin: 12px 0 0; font-size: .82rem; color: #aab6c4; }
.agreement-page .ag-glance { margin-top: 8px; }
@media print { .ag-glance { display: none; } .ag-sec { border-left-width: 4px; } .ag-sec > h3 { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }
.signup-layout > * { min-width: 0; }
#email-target, .hash, #signed-detail { overflow-wrap: anywhere; word-break: break-word; }
