.help-main { width: min(1040px, calc(100% - 64px)); margin: 0 auto; padding-bottom: 100px; }
.help-header-link { font-size: .875rem; color: var(--muted); }
.help-header-link:hover { color: var(--accent-text); }
.help-heading { max-width: 730px; margin: 0 auto; padding: 76px 0 64px; text-align: center; }
.help-heading h1 { margin: 18px 0 24px; font-size: clamp(2.75rem, 5.7vw, 4.5rem); }
.help-heading > p:not(.eyebrow) { max-width: 530px; margin: 0 auto; font-size: 1.0625rem; color: var(--muted); }
.help-jumps { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.help-jumps a { padding: 10px 17px; border: 1px solid var(--line); border-radius: 100px; font-size: .8125rem; background: var(--surface); }
.help-jumps a:hover { border-color: var(--accent-text); color: var(--accent-text); }
.help-section { padding: 72px 0; border-top: 1px solid var(--line); }
.help-section h2 { font-size: clamp(1.875rem, 3vw, 2.5rem); margin: 12px 0 20px; }
.help-intro { color: var(--muted); max-width: 570px; }
.restore-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; align-items: start; gap: 80px; }
.help-steps { list-style: none; padding: 0; margin: 30px 0; counter-reset: steps; }
.help-steps > li { position: relative; padding-left: 51px; counter-increment: steps; }
.help-steps > li + li { margin-top: 27px; }
.help-steps > li::before { content: counter(steps, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 33px; height: 33px; display: grid; place-items: center; background: var(--soft); color: var(--accent-text); border: 1px solid var(--line); border-radius: 10px; font-weight: 650; font-size: .8125rem; }
.help-steps h3 { font-size: 1.0625rem; letter-spacing: -.025em; line-height: 1.5; }
.help-steps p { margin-top: 7px; color: var(--muted); font-size: .9375rem; }
.help-main strong { font-weight: 650; }
.help-note { border-left: 2px solid var(--accent-text); padding-left: 18px; font-size: .875rem; color: var(--muted); }
.help-note strong { color: var(--text); }
.help-main .text-link { color: var(--accent-text); text-decoration: underline; text-underline-offset: 4px; }
.help-main a { overflow-wrap: anywhere; }
.purchase-figure { margin: 0; max-width: 350px; width: 100%; justify-self: center; }
.purchase-figure > a { display: block; padding: 7px; background: var(--soft); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 50px #6534f512; }
.purchase-figure img { width: 100%; height: auto; border-radius: 9px; }
.purchase-figure figcaption { margin-top: 16px; font-size: .75rem; color: var(--muted); line-height: 1.7; text-align: center; }
.purchase-figure figcaption a { display: inline-block; margin-top: 5px; }
.help-step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 32px 0 24px; }
.help-step-grid > li { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.help-step-grid > li + li { margin: 0; }
.help-step-grid > li::before { position: static; margin-bottom: 22px; }
.faq-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 70px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 600; cursor: pointer; list-style: none; line-height: 1.5; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--accent-text); font-size: 1.4rem; font-weight: 400; flex-shrink: 0; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details[open] summary { color: var(--accent-text); }
.faq-answer { padding: 0 22px 24px 0; color: var(--muted); font-size: .9375rem; }
.faq-answer p + p { margin-top: 12px; }
.help-contact { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 35px; padding: 38px; border: 1px solid var(--line); border-radius: 22px; background: var(--soft); }
.help-contact h2 { font-size: 1.75rem; margin-bottom: 12px; }
.help-contact p { max-width: 580px; font-size: .9375rem; color: var(--muted); }
.help-contact .contact-small { margin-top: 12px; font-size: .8125rem; }
.success-main { max-width: 1000px; }
.success-heading { position: relative; isolation: isolate; padding-top: 54px; padding-bottom: 40px; }
.success-heading::before { content: ''; position: absolute; z-index: -1; inset: 0 -15% -60px; background: radial-gradient(ellipse at 50% 28%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 64%); pointer-events: none; }
.success-emblem { width: 92px; height: 92px; position: relative; margin: 0 auto 24px; display: grid; place-items: center; border-radius: 28px; border: 1px solid color-mix(in srgb, var(--accent-text) 24%, var(--line)); background: var(--surface); box-shadow: 0 12px 44px #6534f518; transform: rotate(-6deg); }
.success-emblem img { width: 61px; height: 61px; }
.success-emblem::before, .success-emblem::after { content: '✦'; position: absolute; color: var(--accent-text); font-size: 22px; }
.success-emblem::before { top: -10px; right: -28px; }
.success-emblem::after { bottom: 1px; left: -32px; font-size: 15px; }
.success-heading h1 { font-size: clamp(2.8rem, 5.9vw, 4.5rem); }
.success-heading .button { margin-top: 36px; }
.success-heading > p.success-micro { margin: 24px auto 0; }
.unlock-card { max-width: 850px; margin: 0 auto 76px; padding: 25px 30px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; border: 1px solid color-mix(in srgb, var(--accent-text) 22%, var(--line)); border-radius: 18px; background: var(--surface); }
.unlock-card div { position: relative; padding-left: 25px; }
.unlock-card div::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--accent-text); font-weight: 700; }
.unlock-card strong, .unlock-card span { display: block; font-size: .875rem; }
.unlock-card span { color: var(--muted); font-size: .8125rem; margin-top: 3px; }
.activation-heading { text-align: center; }
.activation-heading h2 { font-size: clamp(1.875rem, 3vw, 2.5rem); margin: 12px 0 18px; }
.activation-heading > p:last-child { color: var(--muted); }
.success-help { margin-top: 25px; text-align: center; font-size: .875rem; color: var(--muted); }
.save-id-card { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 62px; padding: 38px; border-radius: 22px; border: 1px solid var(--line); background: var(--soft); }
.save-id-card h2 { font-size: 1.75rem; line-height: 1.25; margin-bottom: 13px; }
.save-id-card p { color: var(--muted); font-size: .9375rem; }
.save-id-card p + p { margin-top: 14px; }
.purchase-id-label { display: inline-block; margin: 18px 0 12px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); font: .875rem ui-monospace, Consolas, monospace; letter-spacing: .015em; }
.save-id-card .id-caption { font-size: .8125rem; }
.success-bottom { text-align: center; margin-top: 45px; color: var(--muted); font-size: .875rem; }
.success-bottom p + p { margin-top: 12px; font-size: .8125rem; }
.confetti-canvas { position: fixed; inset: 0; z-index: 11; width: 100%; height: 100%; pointer-events: none; }
.confetti-replay { display: block; margin: 22px auto 0; padding: 8px 12px; border: 0; border-bottom: 1px solid var(--line); background: transparent; font-size: .8125rem; color: var(--muted); cursor: pointer; }
.confetti-replay:hover { color: var(--accent-text); }
.purchase-details { margin: 16px auto 48px; padding: 32px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.purchase-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.purchase-card-heading h2 { font-size: 1.6rem; }
.purchase-status { max-width: 480px; font-size: .875rem; color: var(--accent-text); }
.purchase-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 28px 0; }
.purchase-facts dt, .purchase-id-box span { display: block; color: var(--muted); font-size: .8125rem; margin-bottom: 7px; }
.purchase-facts dd { margin: 0; font-weight: 600; font-size: .9375rem; }
.purchase-facts code { font-size: .875rem; overflow-wrap: anywhere; }
.purchase-id-box { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.purchase-id-box code { overflow-wrap: anywhere; user-select: all; font-size: .9375rem; }
.purchase-id-box > div { min-width: 0; }
.purchase-id-box button { flex-shrink: 0; }
.purchase-privacy { margin-top: 12px; color: var(--muted); font-size: .8125rem; }
.purchase-receipt-note { margin-top: 24px; color: var(--muted); font-size: .9375rem; }
.purchase-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.purchase-details button.button { font-family: inherit; cursor: pointer; border: 1px solid transparent; }
.purchase-details .button-secondary { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.purchase-details button.button-secondary { border-color: var(--line); }
.purchase-details .button-primary:hover { background: var(--accent-hover); }
.purchase-details button:disabled { opacity: .6; cursor: wait; }
.purchase-feedback { margin-top: 18px; color: var(--muted); font-size: .875rem; }
.purchase-feedback:empty { display: none; }
#purchase-retry { margin-top: 20px; }
@media (max-width: 650px) {
  .purchase-details { padding: 24px; }
  .purchase-card-heading, .purchase-id-box { flex-direction: column; align-items: stretch; }
  .purchase-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .purchase-actions > .button { width: 100%; }
}
@media (max-width: 900px) {
  .restore-layout { gap: 36px; grid-template-columns: minmax(0, 1fr) 300px; }
  .faq-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 35px; }
  .help-contact { grid-template-columns: 1fr; gap: 24px; }
  .help-contact .button { justify-self: start; }
  .help-step-grid { gap: 14px; }
  .help-step-grid > li { padding: 22px; }
}
@media (max-width: 650px) {
  .help-page .header-actions { gap: 16px; }
  .help-header-link { font-size: .8125rem; }
  .help-main { width: calc(100% - 40px); padding-bottom: 64px; }
  .help-heading { padding: 46px 0 40px; }
  .help-heading > p:not(.eyebrow) { font-size: 1rem; }
  .help-heading h1 { margin: 18px 0 21px; }
  .help-section { padding: 48px 0; }
  .restore-layout, .faq-layout, .save-id-card { grid-template-columns: 1fr; gap: 36px; }
  .purchase-figure { max-width: 330px; }
  .help-step-grid { grid-template-columns: 1fr; gap: 14px; }
  .help-step-grid > li { padding: 23px; }
  .help-step-grid > li::before { margin-bottom: 16px; }
  .help-contact { padding: 26px; }
  .help-contact .button { width: 100%; padding: 14px 16px; font-size: .875rem; }
  .unlock-card { grid-template-columns: 1fr; gap: 18px; padding: 24px; margin-bottom: 52px; }
  .success-heading { padding-top: 42px; }
  .success-heading::before { inset: 0 -20px -60px; }
  .success-heading h1 { font-size: clamp(2.65rem, 11.5vw, 3.75rem); }
  .save-id-card { margin-top: 44px; padding: 26px; gap: 25px; }
  .success-emblem { width: 78px; height: 78px; border-radius: 23px; }
  .success-emblem img { width: 53px; height: 53px; }
}
@media (prefers-reduced-motion: reduce) {
  .confetti-canvas, .confetti-replay { display: none !important; }
}
