@import url("0-lb4bo-.rkz0.css");

:root {
  --page-max-width: 900px;
  --page-padding-x: 1.5rem;
  --page-padding-y: 3rem;
  --card-radius: 0.375rem;
  --section-gap: 4rem;
}

/* ===== BASE LAYOUT ===== */

.support-page,
.info-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: var(--background);
  color: var(--foreground);
  font-family: DM Sans, DM Sans Fallback, ui-sans-serif, system-ui, sans-serif;
}

.support-page main,
.info-page main {
  flex: 1;
  width: 100%;
  max-width: var(--page-max-width);
  margin-inline: auto;
  padding: var(--page-padding-y) var(--page-padding-x);
}

/* ===== HEADER ===== */

.sp-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: color-mix(in oklab, var(--header-background) 60%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.sp-header-inner {
  max-width: 1400px;
  margin-inline: auto;
  padding: 0.375rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sp-header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--foreground);
}

.sp-header-logo img {
  height: 34px;
  width: auto;
}

.sp-header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.sp-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none;
  background-color: transparent;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
  white-space: nowrap;
}

.sp-nav-link:hover {
  background-color: var(--tertiary-hover);
}

.sp-nav-link-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.sp-nav-link-primary:hover {
  background-color: var(--primary-hover);
  color: var(--primary-foreground);
}

/* ===== PAGE HERO ===== */

.sp-hero {
  margin-bottom: var(--section-gap);
  text-align: center;
}

.sp-hero h1 {
  font-size: clamp(1.875rem, 5vw, 2.25rem);
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.sp-hero p {
  font-size: 1rem;
  color: var(--warm);
  max-width: 52rem;
  margin-inline: auto;
  line-height: 1.6;
}

/* ===== SECTION ===== */

.sp-section {
  margin-bottom: var(--section-gap);
}

.sp-section h2 {
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.sp-section p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.sp-section p:last-child {
  margin-bottom: 0;
}

/* ===== CARD ===== */

.sp-card {
  background-color: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  padding: 1rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

@media (min-width: 48rem) {
  .sp-card {
    padding: 1.25rem;
  }
}

/* ===== Q&A LIST (support page) ===== */

.sp-qa-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sp-qa-item {
  background-color: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  padding: 1.25rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.sp-qa-item h2 {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--foreground);
  margin-bottom: 0.625rem;
}

.sp-qa-item p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--foreground);
  margin: 0;
}

.sp-qa-item a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 2px;
  text-decoration-thickness: 0.5px;
}

.sp-qa-item a:hover {
  color: var(--foreground);
}

/* ===== INFO PAGE SECTIONS ===== */

.sp-info-section {
  margin-bottom: var(--section-gap);
}

.sp-info-section h2 {
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  color: var(--foreground);
  text-align: center;
}

.sp-info-section p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--foreground);
  margin-bottom: 1rem;
  max-width: 70ch;
  margin-inline: auto;
  text-align: center;
}

.sp-info-section p:last-child {
  margin-bottom: 0;
}

/* ===== GRID (info page feature/stat grid) ===== */

.sp-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 40rem) {
  .sp-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sp-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 40rem) {
  .sp-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .sp-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ===== STAT CARD ===== */

.sp-stat-card {
  background-color: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.sp-stat-card .sp-stat-value {
  display: block;
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 16px rgba(111, 205, 232, 0.5);
}

.sp-stat-card .sp-stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--warm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== FEATURE CARD ===== */

.sp-feature-card {
  background-color: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  padding: 1.25rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.sp-feature-card h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.sp-feature-card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--warm);
  margin: 0;
}

/* ===== DIVIDER ===== */

.sp-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(to right, transparent, var(--secondary), transparent);
  margin-block: var(--section-gap);
}

/* ===== INLINE LINK ===== */

.sp-link {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 2px;
  text-decoration-thickness: 0.5px;
}

.sp-link:hover {
  color: var(--foreground);
}

/* ===== BREADCRUMB / NAV BAR ===== */

.sp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--warm);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.sp-breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

.sp-breadcrumb a:hover {
  text-decoration: underline;
}

.sp-breadcrumb-sep {
  color: var(--muted);
}

/* ===== BOTTOM CTA / HOME BUTTON ===== */

.sp-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: calc(var(--section-gap) * 0.75);
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 0.375rem;
  height: 2.75rem;
  min-width: 2.75rem;
  padding: 0.5rem 0.75rem;
  gap: 0.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.sp-btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.sp-btn-primary:hover {
  background-color: var(--primary-hover);
  color: var(--primary-foreground);
}

.sp-btn-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.sp-btn-secondary:hover {
  background-color: var(--secondary-hover);
  color: var(--secondary-foreground);
}

.sp-btn-ghost {
  background-color: transparent;
  color: var(--foreground);
}

.sp-btn-ghost:hover {
  background-color: var(--tertiary-hover);
}

/* ===== FOOTER ===== */

.sp-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 1rem;
  margin-top: auto;
}

.sp-footer-inner {
  max-width: 1400px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 40rem) {
  .sp-footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.sp-footer-copy {
  font-size: 0.875rem;
  color: var(--warm);
}

.sp-footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.sp-footer-links a {
  font-size: 0.875rem;
  color: var(--foreground);
  text-decoration: none;
}

.sp-footer-links a:hover {
  text-decoration: underline;
}

/* ===== DARK MODE SCROLLBAR (inherit from main site) ===== */

.dark .sp-header,
.dark .sp-footer,
.dark .sp-card,
.dark .sp-qa-item,
.dark .sp-stat-card,
.dark .sp-feature-card {
  scrollbar-color: #686868 #424242;
}

/* ===== RESPONSIVE TWEAKS ===== */

@media (max-width: 39.999rem) {
  .sp-hero h1 {
    font-size: 1.875rem;
  }

  .sp-header-nav .sp-nav-link:not(.sp-nav-link-primary) {
    display: none;
  }

  .support-page main,
  .info-page main {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

@media (min-width: 64rem) {
  .support-page main,
  .info-page main {
    max-width: 900px;
  }
}

/* ===== OVERFLOW GUARD ===== */

.support-page,
.info-page {
  overflow-x: hidden;
  max-width: 100%;
}