/* Step Up badge + guide, footer Legal area, legal pages, simplified onboarding.
   New file name (not a ?v= bump) because /assets/* is cached for 7 days. Brand: Golden Gateway
   navy #14265b / blue #087cd9 / sun #ffd33b, Quicksand. */

/* ---------- Step Up approved badge ---------- */
.stepup-badge { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; margin-top: 18px; padding: 8px 14px 8px 8px; border-radius: 18px; text-decoration: none; background: #fff; color: #14265b; border: 2px solid #c9def5; box-shadow: 0 4px 0 #c9def5; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.stepup-badge:hover { transform: translateY(-2px); border-color: #087cd9; box-shadow: 0 6px 0 #087cd9; }
.stepup-badge .sb-logo { flex: none; display: grid; place-items: center; width: 52px; height: 44px; border-radius: 12px; background: #fff; }
.stepup-badge .sb-logo img { width: 46px; height: auto; border-radius: 0; box-shadow: none; }
.stepup-badge .sb-text { display: grid; line-height: 1.2; min-width: 0; }
.stepup-badge b { font-weight: 700; font-size: 1rem; }
.stepup-badge small { font-size: .85rem; color: #425374; font-weight: 600; }
.stepup-badge .sb-arrow { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #ffd33b; color: #14265b; font-weight: 700; }
.stepup-badge.sb-hero { margin: 16px 0 12px; }
.stepup-badge.sb-footer { margin-top: 18px; background: #0f3460; color: #fff; border-color: #2a5288; box-shadow: none; }
.stepup-badge.sb-footer small { color: #cfe0f5; }
.stepup-badge.sb-footer .sb-logo { background: #fff; }
.stepup-badge.sb-footer:hover { border-color: #ffd33b; box-shadow: none; }
.site-footer .brand { display: inline-flex; }
.site-footer .motion-control { display: block; margin-top: 14px; }

/* ---------- Footer: Legal area ---------- */
.footer-legal { grid-column: 1 / -1; margin-top: 14px; padding-top: 26px; border-top: 1px solid #ffffff1f; }
.fl-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 14px; }
.fl-head h2 { font: 700 1.35rem/1.2 var(--display, 'Quicksand', system-ui, sans-serif); color: #fff; letter-spacing: -.02em; margin: 0; }
.fl-head p { margin: 0; font-size: .88rem; color: #ffffffb3; }
.fl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 14px; align-items: start; }
.fl-item { border-radius: 12px; background: #ffffff0d; border: 1px solid #ffffff1a; }
.fl-item[open] { background: #ffffff17; }
.fl-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 14px; font-weight: 700; font-size: .92rem; color: #fff; border-radius: 12px; min-height: 44px; }
.fl-item summary::-webkit-details-marker { display: none; }
.fl-item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #ffffff1f; font-size: 1rem; line-height: 1; }
.fl-item[open] summary::after { content: "\2212"; background: #ffd33b; color: #14265b; }
.fl-item summary:focus-visible { outline: 3px solid #ffd33b; outline-offset: 2px; }
.fl-body { padding: 0 14px 14px; font-size: .88rem; line-height: 1.55; color: #ffffffd1; }
.fl-body p { margin: 0 0 10px; }
.fl-body a { color: #ffd33b; font-weight: 700; text-underline-offset: 3px; }
.site-footer .legal a { color: inherit; }
@media (max-width: 980px) { .fl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .fl-grid { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */
.legal-meta { font-size: .92rem; padding: 12px 16px; border-radius: 14px; background: #e5f5ff; color: #14265b !important; }
.legal-meta a { font-weight: 700; }
.prose h3 { font-size: 1.12rem; margin: 26px 0 8px; color: #14265b; }
.prose ol { padding-left: 1.3em; }
.prose ol li { margin-bottom: 8px; color: var(--ink-soft, #425374); }
.legal-toc { padding: 18px 22px; border-radius: 18px; background: #fff; border: 2px solid #e0eafe; }
.legal-toc ol { margin: 0; padding-left: 1.4em; columns: 2; column-gap: 32px; }
.legal-toc li { margin: 0 0 6px; break-inside: avoid; }
.table-wrap { max-width: 100%; overflow-x: auto; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; border-radius: 14px; overflow: hidden; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid #e0eafe; color: var(--ink-soft, #425374); }
.legal-table th { background: #e5f5ff; color: #14265b; font-weight: 700; }
.legal-index { list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.legal-index li { display: grid; gap: 2px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 2px solid #e0eafe; margin: 0; }
.legal-index a { font-weight: 700; font-size: 1.08rem; }
.legal-index span { font-size: .95rem; }
@media (max-width: 640px) { .legal-toc ol { columns: 1; } }

/* ---------- Step Up guide ---------- */
.su-hero { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; border-radius: 22px; background: #fff; border: 2px solid #e0eafe; box-shadow: 0 5px 0 #c9def5; }
.su-hero p { margin: 0 0 8px; }
.su-logo { flex: none; display: grid; place-items: center; width: 84px; height: 72px; border-radius: 16px; background: #fff; border: 1px solid #e0eafe; }
.su-logo img { width: 72px; height: auto; }
.status-pill.is-ok { background: #e9f9e4; }
.status-pill.is-ok span { background: #3aa35b; box-shadow: 0 0 0 4px #3aa35b33; animation: none; }
.su-check { padding-left: 0 !important; list-style: none; display: grid; gap: 8px; }
.su-check li { position: relative; padding-left: 32px; margin: 0; }
.su-check li::before { content: "\2713"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #ffd33b; color: #14265b; font-weight: 700; font-size: .8rem; }
.su-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.su-facts p { margin: 0; padding: 12px 14px; border-radius: 14px; background: #e5f5ff; display: grid; gap: 2px; }
.su-facts span { font-size: .82rem; color: #425374; }
.su-facts b { color: #14265b; overflow-wrap: anywhere; }
.su-lede { font-size: 1.05rem; }
.su-steps { list-style: none; padding: 0 !important; margin: 18px 0 0; display: grid; gap: 22px; max-width: 980px !important; counter-reset: none; }
.su-step { margin: 0; padding: 20px; border-radius: 22px; background: #fff; border: 2px solid #e0eafe; box-shadow: 0 5px 0 #c9def5; scroll-margin-top: 110px; }
.su-step h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; font-size: 1.2rem; color: #14265b; }
.su-num { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #c8102e; color: #fff; font-weight: 700; font-size: 1.05rem; }
.su-step > p { margin: 0 0 12px; }
.su-note { padding: 10px 12px; border-radius: 12px; background: #fff3bd; color: #14265b !important; font-size: .92rem; }
.su-shot { margin: 0; }
.su-shot a { display: block; border-radius: 14px; overflow: hidden; border: 1px solid #d6e3f3; background: #f4f6f9; cursor: zoom-in; }
.su-shot img { width: 100%; height: auto; display: block; }
.su-shot figcaption { margin-top: 6px; font-size: .82rem; color: #5b6b86; }
.su-soon { display: inline-block; padding: 1px 8px; border-radius: 999px; background: #fff3bd; color: #14265b; font-weight: 700; }
.su-callout { margin-top: 26px; padding: 18px 22px; border-radius: 18px; background: #fff3bd; border: 2px solid #f0d77a; }
.su-callout h3 { margin: 0 0 8px; color: #14265b; }
.su-callout ul { margin: 0; }
.stepup-page .prose h2[id] { scroll-margin-top: 110px; }
@media (max-width: 640px) {
  .su-hero { flex-direction: column; padding: 18px; }
  .su-facts { grid-template-columns: 1fr; }
  .su-step { padding: 16px 14px; border-radius: 18px; }
  .su-step h3 { font-size: 1.08rem; }
}

/* ---------- Screenshot lightbox ---------- */
.zoom-dialog { width: min(96vw, 1600px); max-width: none; max-height: 94vh; padding: 0; border: 0; border-radius: 14px; background: #0b1730; overflow: auto; }
.zoom-dialog::backdrop { background: #061d3bd9; }
.zoom-dialog img { display: block; width: 100%; height: auto; min-width: 900px; }
.zoom-dialog .zoom-close { position: sticky; top: 8px; display: block; margin: 8px 8px -52px auto; z-index: 2; box-shadow: 0 3px 0 #d78a06; min-width: 44px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 12px; background: #ffd33b; color: #14265b; font: 700 1rem var(--body, 'Quicksand', sans-serif); cursor: pointer; }
.zoom-dialog p { margin: 0; padding: 8px 14px 12px; color: #cfe0f5; font-size: .85rem; }

/* ---------- Simplified onboarding ---------- */
.ob.ob-simple { display: block; min-height: calc(100svh - 76px - 60px); }
.ob-simple .ob-stage { display: block; max-width: 640px; margin: 0 auto; padding: clamp(28px, 6vw, 64px) 20px 48px; }
.ob-simple .ob-form { max-width: none; width: 100%; }
.ob-choices { display: grid; gap: 14px; margin-top: 26px; }
.ob-choice { display: grid; gap: 4px; width: 100%; padding: 22px 24px; border-radius: 22px; text-align: left; cursor: pointer; font: inherit; color: #14265b; background: #fff; border: 2px solid #789df0; box-shadow: 0 5px 0 #bfd0f8; transition: transform .15s ease, border-color .15s ease; }
.ob-choice:hover { transform: translateY(-2px); border-color: #1542ce; }
.ob-choice .oc-title { font-size: clamp(1.25rem, 3.2vw, 1.55rem); font-weight: 700; line-height: 1.2; }
.ob-choice .oc-sub { font-size: 1rem; color: #435578; }
.ob-choice.is-quiz { background: #1542ce; border-color: #1542ce; color: #fff; box-shadow: 0 5px 0 #102b91; }
.ob-choice.is-quiz .oc-sub { color: #e6efff; }
.ob-choice:focus-visible { outline: 3px solid #6426ba; outline-offset: 4px; }
.ob-switch { margin: 22px 0 0; color: #435578; }
.ob-linkbtn { padding: 6px 2px; border: 0; background: none; font: inherit; font-weight: 700; color: #1539b5; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; padding-right: 84px !important; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-width: 64px; min-height: 40px; padding: 0 12px; border: 0; border-radius: 10px; background: #e7f7ff; color: #1539b5; font: 700 .92rem var(--body, 'Quicksand', sans-serif); cursor: pointer; }
.ob-consent { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; margin: 18px 0 6px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid #c4d7f3; font-size: .95rem; line-height: 1.5; color: #14265b; cursor: pointer; }
.ob-consent input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: #1542ce; cursor: pointer; }
.ob-consent a { color: #1539b5; font-weight: 700; }
.ob-error { margin: 10px 0 0; padding: 10px 14px; border-radius: 12px; background: #fde8ea; color: #8c1a28; font-weight: 600; font-size: .95rem; }
.ob-note { min-height: 1.4em; margin: 6px 0 0; color: #1539b5; font-weight: 600; }
.ob-mail { text-align: left; }
.mail-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 14px; border-radius: 20px; background: #ffd238; color: #14224e; font-size: 2rem; box-shadow: 0 5px 0 #d89508; }
.ob-simple .ob-actions .ob-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.ob-simple .ob-actions .ob-row > * { margin: 0; padding: 8px 0; line-height: 1.3; }
.ob-simple-body .ob-chips { gap: 8px; }
.ob-simple-body .ob-chip span { min-width: 56px; }
.ob-legal-line { padding: 18px 20px 26px; text-align: center; font-size: .85rem; color: #435578; }
.ob-legal-line p { margin: 0; }
.ob-legal-line a { color: #1539b5; font-weight: 600; }
@media (max-width: 480px) {
  .ob-choice { padding: 18px; }
  .ob-simple-body .ob-chips { gap: 6px; }
  .ob-simple-body .ob-chip span { min-width: 42px; height: 52px; padding: 0 6px; font-size: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .stepup-badge, .ob-choice { transition: none; }
}
