/* CloudBrum Help & Support page. Scoped to .sp */
.sp { --brand:#541ba3; --ink:#1e1b3a; --muted:#5b5a75; --line:#e6e0f5; --soft:#f6f2ff; --y:#ffb822; max-width: 1080px; margin: 0 auto; padding: 1rem 1rem 2.5rem; color: var(--ink); line-height: 1.65; overflow-wrap: break-word; }
.sp *, .sp *::before, .sp *::after { box-sizing: border-box; }
.sp-crumb { display: flex; flex-wrap: wrap; gap: .1rem .5rem; align-items: center; margin: .5rem 0 1rem; font-size: .85rem; color: #65648a; }
.sp-crumb a { display: inline-block; padding: .35rem 0; font-weight: 600; text-decoration: none; }
.sp-hero { border: 1px solid var(--line); border-radius: 22px; padding: 1.8rem 1.6rem; background: linear-gradient(135deg, #fffaf0, #f6f2ff 70%); border-left: 6px solid var(--y); }
.sp-hero h1 { margin: 0 0 .5rem; font-size: clamp(1.7rem, 4.2vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.sp-hero p { margin: 0 0 1.1rem; color: var(--muted); max-width: 66ch; font-size: 1.05rem; }
.sp-cta { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.4rem; border-radius: 12px; background: var(--y); color: var(--brand); font-weight: 800; text-decoration: none; box-shadow: 0 .125rem .3rem rgba(0,0,0,.12); }
.sp-cta:hover { background: #f5a800; color: var(--brand); }
.sp-sec { margin: 2.4rem 0 0; scroll-margin-top: 80px; }
.sp h2.sp-h { margin: 0 0 .3rem; font-size: 1.5rem; font-weight: 800; line-height: 1.3; }
.sp .sp-sub { margin: 0 0 1.1rem; color: var(--muted); }
.sp-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.sp-plan { position: relative; border: 1px solid var(--line); border-radius: 20px; padding: 1.3rem 1.2rem; background: #fff; box-shadow: 0 6px 20px rgba(84,27,163,.06); }
.sp-plan .tag { display: inline-block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); background: var(--soft); border-radius: 999px; padding: .2rem .7rem; }
.sp-plan h3 { margin: .7rem 0 .2rem; font-size: 1.15rem; font-weight: 800; }
.sp-plan .hrs { margin: 0 0 .8rem; color: var(--muted); font-size: .9rem; }
.sp-plan .price { margin: 0; padding: .7rem 0; border-top: 1px dashed var(--line); font-size: .95rem; }
.sp-plan .price b { display: block; font-size: 1.5rem; line-height: 1.2; color: var(--ink); }
.sp-plan .price small { color: var(--muted); }
.sp-plan.free { border-color: #f3c75a; background: linear-gradient(180deg, #fffaf0, #fff 60%); }
.sp-plan.free .tag { background: var(--y); }
.sp-plan.free .price b { color: #0f8a54; }
.sp-note { margin: 1rem 0 0; padding: .9rem 1.1rem; border-left: 4px solid var(--brand); background: var(--soft); border-radius: 0 12px 12px 0; font-size: .95rem; }
.sp-fine { margin: .8rem 0 0; font-size: .85rem; color: var(--muted); }
.sp-est { margin-top: 1.1rem; border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem 1.2rem; background: #fff; }
.sp-est h3 { margin: 0 0 .6rem; font-size: 1.05rem; font-weight: 800; color: var(--brand); }
.sp-est .row2 { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: end; }
.sp-est label { display: block; font-size: .78rem; font-weight: 700; margin: 0 0 .25rem; }
.sp-est input[type=number] { width: 120px; }
.sp-seg { display: inline-flex; border: 1px solid #d3c6f0; border-radius: 10px; overflow: hidden; }
.sp-seg label { margin: 0; cursor: pointer; }
.sp-seg input { position: absolute; opacity: 0; pointer-events: none; }
.sp-seg span { display: block; padding: .5rem .9rem; font-size: .88rem; font-weight: 700; color: var(--muted); background: #fff; }
.sp-seg input:checked + span { background: var(--brand); color: #fff; }
.sp-seg input:focus-visible + span { outline: 2px solid var(--y); outline-offset: -2px; }
.sp-est .out { margin-top: .9rem; padding: .8rem 1rem; border-radius: 12px; background: var(--soft); font-size: .95rem; }
.sp-est .out b { font-size: 1.2rem; color: var(--ink); }
.sp-est .out ul { margin: .4rem 0 0; padding-left: 1.2rem; font-size: .88rem; color: var(--muted); }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: .9rem; }
.sp-card { border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem; background: #fff; }
.sp-card h3 { margin: 0 0 .3rem; font-size: 1.02rem; font-weight: 800; color: var(--brand); }
.sp-card p { margin: 0; font-size: .92rem; color: var(--muted); }
.sp-steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: .9rem; padding: 0; margin: 0; list-style: none; }
.sp-steps li { counter-increment: s; position: relative; border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem 1rem 3.4rem; background: #fff; font-size: .93rem; color: var(--muted); }
.sp-steps li::before { content: counter(s); position: absolute; left: 1rem; top: 1rem; width: 1.7rem; height: 1.7rem; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; font-size: .85rem; }
.sp-steps b { display: block; color: var(--ink); }
.sp-formwrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.2rem; align-items: start; }
.sp-form { border: 1px solid #e2d9f3; border-radius: 22px; padding: 1.4rem 1.3rem; background: #fff; box-shadow: 0 10px 30px rgba(84,27,163,.08); border-top: 6px solid var(--y); }
.sp-form h3 { margin: 0 0 .2rem; font-size: 1.2rem; font-weight: 800; }
.sp-form .lead { margin: 0 0 1rem; font-size: .9rem; color: var(--muted); }
.sp-f2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .9rem; }
.sp-form label.l { display: block; font-size: .78rem; font-weight: 700; color: #3d3b58; margin: .75rem 0 .25rem !important; }
.sp-form label.l .req { color: #c4283d; }
.sp-form input[type=text], .sp-form input[type=email], .sp-form input[type=tel], .sp-form input[type=number], .sp-form select, .sp-form textarea, .sp-est input[type=number] { width: 100%; border: 1px solid #ddd6ee; border-radius: 11px; padding: .62rem .8rem; font-size: .92rem; background: #fff; color: var(--ink); }
.sp-form textarea { min-height: 140px; resize: vertical; }
.sp-form input:focus, .sp-form select:focus, .sp-form textarea:focus, .sp-est input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(84,27,163,.18); }
.sp-form [aria-invalid="true"] { border-color: #e5384f !important; background: #fff8f9; }
.sp-form .err { display: block; min-height: 1.1em; font-size: .75rem; color: #c4283d; margin-top: .15rem; }
.sp-form .cnt { float: right; font-size: .75rem; color: #65648a; }
.sp-form .chk { display: flex; gap: .55rem; align-items: flex-start; margin: .9rem 0 .2rem; font-size: .84rem; color: var(--muted); }
.sp-form .chk input { width: auto; margin: .25rem 0 0; flex: 0 0 auto; }
.sp-form .chk label { margin: 0 !important; font-weight: 500; }
.sp-form .warn { margin: .8rem 0 0; padding: .6rem .8rem; border-radius: 10px; background: #fff8dc; border: 1px dashed #b88700; font-size: .82rem; color: #5c4400; }
.sp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sp-submit { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; margin-top: 1rem; padding: .85rem 1.2rem; border: 0; border-radius: 12px; background: var(--y); color: var(--brand); font-weight: 800; font-size: 1rem; cursor: pointer; box-shadow: 0 .125rem .3rem rgba(0,0,0,.12); }
.sp-submit:hover { background: #f5a800; }
.sp-submit[disabled] { opacity: .6; cursor: progress; }
.sp-ok { display: none; text-align: center; padding: 1.2rem .4rem; }
.sp-ok.show { display: block; }
.sp-ok .tick { width: 56px; height: 56px; margin: 0 auto .6rem; border-radius: 50%; display: grid; place-items: center; background: #e5f6ec; color: #0f8a54; font-size: 1.8rem; font-weight: 800; }
.sp-ok .tid { display: inline-block; margin: .4rem 0; padding: .35rem .9rem; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-weight: 800; letter-spacing: .03em; }
.sp-ok button { border: 1px solid #d3c6f0; background: #fff; color: var(--brand); border-radius: 10px; padding: .45rem .9rem; font-weight: 700; cursor: pointer; margin: .2rem; }
.sp-side .sp-card { margin-bottom: .9rem; }
.sp-side ul { margin: .3rem 0 0; padding-left: 1.2rem; font-size: .9rem; color: var(--muted); }
.sp-side dl { margin: 0; font-size: .9rem; }
.sp-side dt { font-weight: 800; margin-top: .5rem; }
.sp-side dd { margin: 0; color: var(--muted); }
.sp .ph { background: #fff1a8; border-bottom: 1px dashed #b88700; padding: 0 .2em; border-radius: 3px; color: #3b2d00; font-weight: 600; }
.sp details { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin: 0 0 .6rem; }
.sp summary { cursor: pointer; padding: .8rem 1rem; font-weight: 700; list-style: none; display: flex; gap: .7rem; justify-content: space-between; align-items: center; }
.sp summary::-webkit-details-marker { display: none; }
.sp summary::after { content: "+"; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--brand); font-weight: 700; }
.sp details[open] summary::after { content: "\2212"; }
.sp details .ans { padding: 0 1rem .9rem; color: var(--muted); font-size: .93rem; }
.sp a { color: var(--brand); }
.sp-full { margin-top: 2.4rem; border-radius: 20px; padding: 1.4rem 1.4rem; background: linear-gradient(135deg, #541ba3, #7b3fd0); color: #fff; }
.sp-full h2 { color: #fff; margin: 0 0 .4rem; font-size: 1.3rem; font-weight: 800; }
.sp-full p { margin: 0 0 .9rem; color: #efe6ff; }
.sp-full .sp-cta { background: var(--y); }
@media (max-width: 991.98px) { .sp-formwrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767.98px) {
  .sp { padding: .5rem .85rem 2rem; }
  .sp-plans { grid-template-columns: minmax(0, 1fr); }
  .sp-hero { padding: 1.3rem 1.05rem; border-radius: 16px; }
  .sp-f2 { grid-template-columns: minmax(0, 1fr); }
  .sp-form { padding: 1.1rem .95rem; }
  .sp-form input, .sp-form select, .sp-form textarea { font-size: 16px; }   /* stops iOS zoom on focus */
  .sp-cta { width: 100%; justify-content: center; }
}
@media print { .sp-form, .sp-cta, .sp-full { display: none !important; } }
/* theme sets a large negative margin on every label: reset inside this page */
.sp label { margin: 0 0 .25rem !important; }
.sp-seg label, .sp-hp label { margin: 0 !important; }
.sp-form label.l { margin: .75rem 0 .25rem !important; }
.sp-form .chk label { margin: 0 !important; }
.sp h1, .sp h2.sp-h, .sp .sp-plan h3, .sp .sp-form > form > h3, .sp-ok h3 { color: var(--ink); }
.sp .sp-card h3, .sp .sp-est h3 { color: var(--brand); }
.sp-full h2 { color: #fff; }
/* feedback stars + generic */
.sp .stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: .15rem; margin-bottom: .3rem; }
.sp .stars label { margin: 0 !important; cursor: pointer; position: relative; }
.sp .stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sp .stars span { font-size: 2.1rem; line-height: 1; color: #d9d2ec; transition: color .12s, transform .12s; display: block; padding: 0 .1rem; }
.sp .stars label:hover span, .sp .stars label:hover ~ label span, .sp .stars input:checked ~ span, .sp .stars label:has(input:checked) ~ label span, .sp .stars input:checked + span { color: var(--y); }
.sp .stars label:hover span { transform: scale(1.12); }
.sp .stars input:focus-visible + span { outline: 2px solid var(--brand); border-radius: 6px; }
.sp .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sp fieldset { border: 0; padding: 0; margin: 0 0 .4rem; }
a.sp-card:hover { border-color: #bda6ee; box-shadow: 0 8px 22px rgba(84,27,163,.12); }

/* a11y: links inside running text must not rely on colour alone */
.sp-note a, .sp-card p a, .sp-sub a, .chk label a, .cc-aside p a, .cc-glance dd a, .cc-table td a { text-decoration: underline; text-underline-offset: 2px; }
