.sw-kicker { display: none; }
.sw-subhero { padding: 140px 0 56px; background: var(--bg-2); border-bottom: 1px solid var(--border); }
.sw-subhero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; color: var(--text); margin-bottom: 16px; }
.sw-subintro { font-size: 17px; color: var(--text-2); max-width: 560px; line-height: 1.7; }

.sw-guide-area { padding: 56px 0 100px; }
.sw-guide-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 80px; align-items: start; }
.sw-guide-sidebar { position: sticky; top: 90px; }
.sw-side-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); margin-bottom: 12px; }
.sw-side-nav { display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
.sw-side-link { font-size: 13.5px; color: var(--text-3); padding: 8px 12px; border-radius: 0 8px 8px 0; border-left: 2px solid var(--border); transition: color .15s, background .15s, border-color .15s; }
.sw-side-link:hover { color: var(--text); background: var(--bg-2); }
.sw-side-link.is-current { color: var(--text); font-weight: 500; border-left-color: var(--accent); background: var(--accent-pale); }

.sw-faq-group { margin-bottom: 56px; scroll-margin-top: 110px; }
.sw-group-kicker { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); margin-bottom: 8px; padding-bottom: 14px; border-bottom: 2px solid var(--text); }
.sw-faq-item { border-bottom: 1px solid var(--border); }
.sw-faq-question { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; background: none; border: none; cursor: pointer; padding: 20px 0; text-align: left; color: var(--text); font-family: var(--sans); font-size: 15px; font-weight: 500; line-height: 1.5; transition: color .15s; }
.sw-faq-question:hover { color: var(--accent-dark); }
.sw-faq-plus { font-size: 20px; color: var(--text-4); flex-shrink: 0; transition: transform .2s, color .2s; line-height: 1; }
.sw-faq-question[aria-expanded="true"] .sw-faq-plus { transform: rotate(45deg); color: var(--accent); }
.sw-faq-answer { display: none; padding-bottom: 4px; }
.sw-faq-answer.is-open { display: block; border-left: 2px solid var(--accent); padding-left: 18px; margin-bottom: 20px; }
.sw-faq-answer p { font-size: 15px; color: var(--text-2); line-height: 1.75; margin-bottom: 10px; }
.sw-faq-answer p:last-child { margin-bottom: 0; }
.sw-faq-answer a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; }
.sw-faq-answer code { font-family: var(--mono); font-size: 12.5px; background: var(--bg-2); border: 1px solid var(--border); padding: 2px 6px; border-radius: 6px; color: var(--text); }

.sw-code-slab { background: var(--ink); border-radius: 10px; padding: 14px 18px; margin: 12px 0; overflow-x: auto; }
.sw-code-slab code { font-family: var(--mono); font-size: 12.5px; color: #c8d0d6; line-height: 2; background: none; border: none; padding: 0; }

.sw-docs-content { max-width: 780px; }
.sw-docs-section { border-bottom: 1px solid var(--border); margin-bottom: 52px; padding-bottom: 40px; scroll-margin-top: 110px; }
.sw-docs-section:last-child { border-bottom: none; margin-bottom: 0; }
.sw-docs-section h2 { font-size: clamp(20px, 2.1vw, 27px); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; margin-bottom: 14px; }
.sw-docs-section p, .sw-docs-section li { font-size: 15px; color: var(--text-2); line-height: 1.75; }
.sw-docs-section p { margin-bottom: 12px; }
.sw-docs-section a { color: var(--accent-dark); border-bottom: 1px solid rgba(232,71,10,.35); }
.sw-docs-section a:hover { border-color: var(--accent); }
.sw-docs-section code { font-family: var(--mono); font-size: 12.5px; background: var(--bg-2); border: 1px solid var(--border); padding: 2px 6px; border-radius: 6px; color: var(--text); }
.sw-docs-section .sw-code-slab code { background: none; border: none; color: #c8d0d6; padding: 0; }
.sw-docs-list, .sw-docs-steps { padding-left: 20px; margin: 0 0 14px; }
.sw-docs-list li, .sw-docs-steps li { margin-bottom: 9px; }
.sw-docs-list li::marker { color: var(--accent); }
.sw-docs-steps { list-style: none; padding-left: 0; counter-reset: st; }
.sw-docs-steps li { counter-increment: st; position: relative; padding-left: 40px; }
.sw-docs-steps li::before { content: counter(st); position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 8px; background: var(--accent-pale); border: 1px solid #f3b99e; color: var(--accent-dark); font: 600 12px/24px var(--mono); text-align: center; }

.sw-subcta { background: repeating-linear-gradient(135deg, rgba(255,255,255,.07) 0 2px, transparent 2px 14px), var(--blue); padding: 56px 0; }
.sw-subcta-inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sw-subcta h2 { font-size: 23px; font-weight: 700; letter-spacing: -.03em; color: #fff; flex: 1 1 260px; margin-right: 12px; }
.sw-subcta .sw-btn-secondary { color: #fff; border-color: rgba(255,255,255,.6); background: transparent; }
.sw-subcta .sw-btn-secondary:hover { color: var(--blue); border-color: #fff; background: #fff; }

@media (max-width: 1100px) {
  .sw-guide-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .sw-guide-sidebar { position: sticky; top: 66px; z-index: 20; margin: 0 calc(var(--pad-x) * -1); padding: 10px var(--pad-x); background: rgba(251,250,247,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
  .sw-side-label { display: none; }
  .sw-side-nav { flex-direction: row; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; }
  .sw-side-nav::-webkit-scrollbar { display: none; }
  .sw-side-link { white-space: nowrap; background: #fff; border: 1px solid var(--border); border-radius: 99px; padding: 7px 14px; }
  .sw-side-link.is-current { background: var(--accent-pale); border-color: #f3b99e; color: var(--accent-dark); }
  .sw-faq-group, .sw-docs-section { scroll-margin-top: 140px; }
}
@media (max-width: 768px) {
  .sw-subhero { padding: 108px 0 40px; }
  .sw-subcta-inner { flex-direction: column; align-items: flex-start; }
  .sw-subcta-inner a { width: 100%; text-align: center; }
}
