* {
  box-sizing: border-box;
}

/* =============================================
   FAQ SECTION — index.html
   ============================================= */

#faq-section {
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.sw-faq-item {
  box-sizing: border-box;
  max-width: 100%;
}

.sw-faq-question {
  font-family: inherit;
  transition: opacity 0.2s;
}

.sw-faq-question:hover {
  opacity: 0.8;
}

.sw-faq-answer {
  box-sizing: border-box;
  max-width: 100%;
}

/* =============================================
   SHARED PAGE LAYOUT — faq/index.html & about/index.html
   ============================================= */

.sw-page-body {
  margin: 0;
  padding: 0;
  font-family: Inter, "Inter Fallback", ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  min-height: 100vh;
  overflow-x: hidden;
}

.body-light-theme.sw-page-body {
  background-color: rgb(244, 241, 248);
  color: #1a1d1c;
}

.body-dark-theme.sw-page-body {
  background-color: rgb(60, 54, 66);
  color: #ffffff;
}

/* Page gradient background */
@media (min-width: 1000px) {
  .sw-page-body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% 100%;
    content: "";
  }

  .body-light-theme.sw-page-body::before {
    background-image: linear-gradient(
      171.89deg,
      rgb(244, 241, 248),
      rgb(244, 241, 248) 60%,
      rgb(238, 233, 246) 78%,
      rgb(217, 210, 230) 90%,
      rgb(211, 203, 228)
    );
  }

  .body-dark-theme.sw-page-body::before {
    background-image: linear-gradient(
      171.89deg,
      rgb(33, 30, 36),
      rgb(60, 54, 66) 60%,
      rgb(62, 57, 71) 72%,
      rgb(69, 64, 79) 84%,
      rgb(94, 87, 107)
    );
  }
}

/* Page wrapper */
.sw-page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Page header */
.sw-page-header {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 12px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(119, 119, 119, 0.2);
}

@media (min-width: 577px) and (max-width: 999px) {
  .sw-page-header {
    padding: 12px 32px;
  }
}

@media (max-width: 576px) {
  .sw-page-header {
    padding: 12px 24px;
  }
}

.sw-page-header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  font-size: 16px;
  opacity: 1;
  transition: opacity 0.2s;
}

.sw-page-header-logo:hover {
  opacity: 0.75;
}

.sw-page-header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.sw-page-header-nav a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--moon, #1a1d1c);
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}

.sw-page-header-nav a:hover {
  opacity: 1;
  color: var(--lavender, #a578d8);
}

/* Page main content */
.sw-page-main {
  flex: 1;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 60px 60px 80px;
  overflow-x: hidden;
}

@media (min-width: 577px) and (max-width: 999px) {
  .sw-page-main {
    padding: 40px 32px 60px;
  }
}

@media (max-width: 576px) {
  .sw-page-main {
    padding: 32px 24px 48px;
  }
}

/* Page hero / title area */
.sw-page-hero {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.sw-page-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--moon, #1a1d1c);
  margin: 0 0 16px;
}

@media (max-width: 576px) {
  .sw-page-title {
    font-size: 28px;
  }
}

.sw-page-subtitle {
  font-size: 15px;
  line-height: 1.6;
  color: var(--stone, #777);
  margin: 0;
}

/* Content sections */
.sw-content-section {
  max-width: 760px;
  margin: 0 auto 48px;
  box-sizing: border-box;
}

.sw-content-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--moon, #1a1d1c);
  margin: 0 0 16px;
  line-height: 1.3;
}

.sw-content-section h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--moon, #1a1d1c);
  margin: 24px 0 10px;
  line-height: 1.4;
}

.sw-content-section p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--stone, #777);
  margin: 0 0 14px;
}

.sw-content-section ul {
  padding-left: 20px;
  margin: 0 0 14px;
  list-style: disc;
}

.sw-content-section ul li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--stone, #777);
  margin-bottom: 6px;
}

/* Card / panel style */
.sw-card {
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 20px;
  box-sizing: border-box;
  max-width: 100%;
}

.body-light-theme .sw-card {
  background-color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 12px rgba(39, 40, 42, 0.06);
}

.body-dark-theme .sw-card {
  background-color: rgba(82, 77, 87, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 12px rgba(39, 40, 42, 0.2);
}

/* Stats grid */
.sw-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 760px;
  margin: 0 auto 48px;
  box-sizing: border-box;
}

@media (max-width: 576px) {
  .sw-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.sw-stat-item {
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  box-sizing: border-box;
}

.body-light-theme .sw-stat-item {
  background-color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(39, 40, 42, 0.08);
}

.body-dark-theme .sw-stat-item {
  background-color: rgba(82, 77, 87, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sw-stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--lavender, #a578d8);
  display: block;
  margin-bottom: 4px;
  line-height: 1.2;
}

.sw-stat-label {
  font-size: 12px;
  color: var(--stone, #777);
  line-height: 1.4;
}

/* FAQ accordion — full page version */
.sw-faq-full {
  max-width: 760px;
  margin: 0 auto;
  box-sizing: border-box;
}

.sw-faq-full-item {
  border-bottom: 1px solid rgba(119, 119, 119, 0.15);
  box-sizing: border-box;
}

.sw-faq-full-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: opacity 0.2s;
  font-family: inherit;
}

.sw-faq-full-question:hover {
  opacity: 0.8;
}

.sw-faq-full-question h2 {
  font-size: 15px;
  font-weight: 500;
  color: var(--moon, #1a1d1c);
  margin: 0;
  text-align: left;
}

.sw-faq-full-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone, #777);
  font-size: 20px;
  transition: transform 0.3s;
  line-height: 1;
}

.sw-faq-full-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
  box-sizing: border-box;
}

.sw-faq-full-answer p {
  font-size: 14px;
  font-weight: 400;
  color: var(--stone, #777);
  margin: 0 0 20px;
  line-height: 1.6;
}

/* Divider */
.sw-divider {
  border: none;
  height: 1px;
  background-color: rgba(119, 119, 119, 0.15);
  margin: 48px 0;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA / navigation buttons at page bottom */
.sw-page-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-top: 48px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.sw-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 72px;
  background: var(--snow, #fff);
  box-shadow: inset 0 0 0 1px rgba(39, 40, 42, 0.25), 0 7px 15px 0 rgba(39, 40, 42, 0.12);
  font-size: 14px;
  font-weight: 500;
  color: var(--coal, #27282a);
  text-decoration: none;
  transition: box-shadow 0.2s;
  font-family: inherit;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.sw-btn-primary:hover {
  box-shadow: inset 0 0 0 2px rgba(39, 40, 42, 0.25), 0 3px 5px 0 rgba(39, 40, 42, 0.19);
}

.sw-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 72px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(39, 40, 42, 0.15), 0 7px 15px 0 rgba(39, 40, 42, 0.12);
  font-size: 14px;
  font-weight: 500;
  color: var(--moon, #1a1d1c);
  text-decoration: none;
  transition: box-shadow 0.2s, opacity 0.2s;
  font-family: inherit;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.sw-btn-secondary:hover {
  box-shadow: inset 0 0 0 2px rgba(39, 40, 42, 0.2), 0 3px 5px 0 rgba(39, 40, 42, 0.19);
  opacity: 0.9;
}

.sw-btn-lavender {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 72px;
  background: var(--lavender, #a578d8);
  box-shadow: inset 0 0 0 1px rgba(39, 40, 42, 0.2), 0 7px 15px 0 rgba(39, 40, 42, 0.12);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: box-shadow 0.2s, opacity 0.2s;
  font-family: inherit;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.sw-btn-lavender:hover {
  box-shadow: inset 0 0 0 2px rgba(39, 40, 42, 0.2), 0 3px 5px 0 rgba(39, 40, 42, 0.19);
  opacity: 0.9;
}

/* Internal link (text style) */
.sw-link {
  color: var(--lavender, #a578d8);
  text-decoration: none;
  transition: opacity 0.2s;
}

.sw-link:hover {
  opacity: 0.75;
  text-decoration: underline;
}

/* Page footer */
.sw-page-footer {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 60px;
  border-top: 1px solid rgba(119, 119, 119, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  box-sizing: border-box;
}

@media (min-width: 577px) and (max-width: 999px) {
  .sw-page-footer {
    padding: 24px 32px;
  }
}

@media (max-width: 576px) {
  .sw-page-footer {
    padding: 24px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
}

.sw-page-footer-copy {
  font-size: 12px;
  color: var(--stone, #777);
  text-transform: uppercase;
}

.sw-page-footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.sw-page-footer-links a {
  font-size: 12px;
  color: var(--stone, #777);
  text-decoration: none;
  transition: color 0.2s;
}

.sw-page-footer-links a:hover {
  color: var(--moon, #1a1d1c);
}

/* Team / feature cards grid */
.sw-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 760px;
  margin: 0 auto 48px;
  box-sizing: border-box;
}

@media (max-width: 576px) {
  .sw-features-grid {
    grid-template-columns: 1fr;
  }
}

.sw-feature-card {
  border-radius: 20px;
  padding: 24px;
  box-sizing: border-box;
}

.body-light-theme .sw-feature-card {
  background-color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(39, 40, 42, 0.08);
}

.body-dark-theme .sw-feature-card {
  background-color: rgba(82, 77, 87, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sw-feature-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--moon, #1a1d1c);
  margin: 0 0 10px;
}

.sw-feature-card p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--stone, #777);
  margin: 0;
}

/* Tag / badge */
.sw-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 72px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.sw-badge-lavender {
  background-color: rgba(165, 120, 216, 0.15);
  color: var(--lavender, #a578d8);
}

.sw-badge-jungle {
  background-color: rgba(46, 172, 105, 0.15);
  color: #2eac69;
}

/* Breadcrumb / page nav label */
.sw-page-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--lavender, #a578d8);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  display: block;
}

/* Prevent any overflow on subpages */
.sw-page-body *,
.sw-page-body *::before,
.sw-page-body *::after {
  box-sizing: border-box;
}