@import url("index-58514608.css");

:root {
  --page-max-width: 860px;
  --page-padding: 48px;
  --header-height: 60px;
  --border-black: 1px solid #000;
  --font-mono-bold: FraktionMono-Bold, ui-monospace, monospace;
  --font-geneva: Geneva, Geneva-Regular, ui-sans-serif, sans-serif;
  --color-black: #000;
  --color-white: #fff;
  --color-bg-pattern: url("bg-fragment.png"), lightgray 0% 0% / 69.9999988079px 69.9999988079px repeat;
  --color-orange: #f7931a;
  --color-purple: #9747ff;
  --color-grey-light: #e8e8e8;
  --color-grey-mid: #d9d9d9;
  --color-grey-text: #999;
  --shadow-offset: 3px 3px 0px #000;
}

/* ─── Base layout ─────────────────────────────────────────────── */

.support-page,
.company-page {
  min-width: 360px;
  max-width: 1154px;
  margin: 0 auto;
  padding: var(--header-height) 20px 60px;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

.support-page *,
.company-page * {
  box-sizing: border-box;
}

/* ─── Site header bar (shared nav) ───────────────────────────── */

.sp-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 10;
  background: #fff;
  box-shadow: 0 1px 0 0 #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 var(--page-padding);
  font-family: var(--font-mono-bold);
}

.sp-header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #000;
}

.sp-header__logo img {
  display: block;
  height: 32px;
  width: auto;
}

.sp-header__version {
  padding: 4px;
  border-radius: 4px;
  background: var(--color-orange);
  color: #fff;
  font-family: var(--font-geneva);
  font-size: 12px;
  line-height: 1;
}

.sp-header__nav {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

.sp-header__nav a {
  font-family: var(--font-mono-bold);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 9px 16px;
  background: #fff;
  transition: background 0.2s, color 0.2s;
  user-select: none;
}

.sp-header__nav a:hover,
.sp-header__nav a.is-active {
  background: #000;
  color: #fff;
}

@media (max-width: 431px) {
  .sp-header {
    padding: 0 20px;
    height: 56px;
  }
  .sp-header__nav a {
    font-size: 12px;
    padding: 7px 10px;
  }
  .sp-header__version {
    font-size: 8px;
  }
}

/* ─── Page inner wrapper ──────────────────────────────────────── */

.sp-inner {
  position: relative;
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 40px;
}

/* ─── Window chrome (retro OS style, matching main app) ──────── */

.sp-window {
  background: #fff;
  border: 1px solid #000;
  box-shadow: 1px 1px 0 1px #000;
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
  max-width: 100%;
  overflow-x: hidden;
}

.sp-window__titlebar {
  padding: 6px 4px;
  width: 100%;
  height: 28px;
  border-bottom: var(--border-black);
  position: relative;
  display: flex;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: uppercase;
}

.sp-window__titlebar img {
  width: 100%;
  height: 16px;
}

.sp-window__title {
  padding: 0 8px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  font-family: var(--font-mono-bold);
  font-size: 20px;
  letter-spacing: -0.08px;
  color: #000;
  white-space: nowrap;
}

.sp-window__body {
  padding: 32px 40px 40px;
}

@media (max-width: 431px) {
  .sp-window__titlebar {
    height: 21px;
  }
  .sp-window__title {
    font-size: 14px;
  }
  .sp-window__body {
    padding: 20px 20px 28px;
  }
}

/* ─── Page h1 ─────────────────────────────────────────────────── */

.sp-page-title {
  font-family: var(--font-mono-bold);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  color: #000;
  margin: 0 0 8px;
  letter-spacing: -0.5px;
}

.sp-page-subtitle {
  font-family: var(--font-geneva);
  font-size: 14px;
  color: var(--color-grey-text);
  line-height: 1.5;
  margin: 0 0 32px;
}

@media (max-width: 431px) {
  .sp-page-title {
    font-size: 20px;
  }
  .sp-page-subtitle {
    font-size: 12px;
    margin-bottom: 20px;
  }
}

/* ─── Section headings h2 ─────────────────────────────────────── */

.sp-section-title {
  font-family: var(--font-mono-bold);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-align: left;
  margin: 0 0 16px;
  text-transform: uppercase;
}

@media (max-width: 431px) {
  .sp-section-title {
    font-size: 12px;
  }
}

/* ─── Divider line ────────────────────────────────────────────── */

.sp-divider {
  border: none;
  border-top: var(--border-black);
  margin: 32px 0;
}

@media (max-width: 431px) {
  .sp-divider {
    margin: 20px 0;
  }
}

/* ─── Q&A block ───────────────────────────────────────────────── */

.sp-qa-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sp-qa-item {
  border: 1px solid #000;
  margin-bottom: -1px;
  background: #fff;
  transition: background 0.15s;
  position: relative;
}

.sp-qa-item:first-child {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.sp-qa-item:last-child {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  margin-bottom: 0;
}

.sp-qa-item__question {
  font-family: var(--font-mono-bold);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: #000;
  padding: 16px 20px 16px 16px;
  margin: 0;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
}

.sp-qa-item__question::after {
  content: "+";
  font-family: var(--font-mono-bold);
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  color: #000;
  transition: transform 0.2s;
}

.sp-qa-item.is-open .sp-qa-item__question::after {
  transform: rotate(45deg);
}

.sp-qa-item__answer {
  font-family: var(--font-geneva);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: #000;
  padding: 0 16px 18px;
  margin: 0;
  border-top: 1px dashed #000;
}

.sp-qa-item__answer a {
  color: var(--color-purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sp-qa-item__answer a:hover {
  color: #000;
}

@media (max-width: 431px) {
  .sp-qa-item__question {
    font-size: 12px;
    padding: 12px 14px 12px 12px;
  }
  .sp-qa-item__answer {
    font-size: 12px;
    padding: 0 12px 14px;
  }
}

/* ─── Accordion open state ────────────────────────────────────── */

.sp-qa-item__answer-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.sp-qa-item.is-open .sp-qa-item__answer-wrap {
  max-height: 600px;
}

/* ─── Info card / feature card ───────────────────────────────── */

.sp-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 0 0 24px;
}

.sp-card {
  border: 1px solid #000;
  background: var(--color-grey-light);
  padding: 20px 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.15s;
}

.sp-card:hover {
  background: #000;
  color: #fff;
}

.sp-card:hover .sp-card__title,
.sp-card:hover .sp-card__body {
  color: #fff;
}

.sp-card__title {
  font-family: var(--font-mono-bold);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: #000;
  margin: 0;
  text-transform: uppercase;
}

.sp-card__body {
  font-family: var(--font-geneva);
  font-size: 13px;
  line-height: 1.55;
  color: #000;
  margin: 0;
}

@media (max-width: 700px) {
  .sp-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 431px) {
  .sp-card-grid {
    gap: 10px;
  }
  .sp-card {
    padding: 14px 14px;
  }
  .sp-card__title {
    font-size: 12px;
  }
  .sp-card__body {
    font-size: 12px;
  }
}

/* ─── Inline highlighted box ──────────────────────────────────── */

.sp-highlight-box {
  border: 1px solid #000;
  background: var(--color-grey-light);
  padding: 18px 20px;
  margin: 20px 0;
  font-family: var(--font-geneva);
  font-size: 14px;
  line-height: 1.6;
  color: #000;
}

.sp-highlight-box strong {
  font-family: var(--font-mono-bold);
  font-size: 14px;
}

@media (max-width: 431px) {
  .sp-highlight-box {
    padding: 12px 14px;
    font-size: 12px;
  }
}

/* ─── Inline text / body copy ─────────────────────────────────── */

.sp-body-text {
  font-family: var(--font-geneva);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  color: #000;
  margin: 0 0 16px;
}

.sp-body-text a {
  color: var(--color-purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sp-body-text a:hover {
  color: #000;
}

.sp-body-text strong {
  font-family: var(--font-mono-bold);
}

@media (max-width: 431px) {
  .sp-body-text {
    font-size: 12px;
  }
}

/* ─── Section with dashed top border (like window content row) ── */

.sp-section {
  margin-bottom: 40px;
}

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

@media (max-width: 431px) {
  .sp-section {
    margin-bottom: 28px;
  }
}

/* ─── Ordered / unordered lists in body ───────────────────────── */

.sp-list {
  font-family: var(--font-geneva);
  font-size: 14px;
  line-height: 1.65;
  color: #000;
  margin: 0 0 16px;
  padding-left: 20px;
}

.sp-list li {
  margin-bottom: 6px;
}

.sp-list li::marker {
  color: #000;
  font-family: var(--font-mono-bold);
}

.sp-list a {
  color: var(--color-purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 431px) {
  .sp-list {
    font-size: 12px;
  }
}

/* ─── Metric / stat blocks ────────────────────────────────────── */

.sp-stats-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 24px;
}

.sp-stat {
  flex: 1 1 140px;
  border: 1px solid #000;
  background: #fff;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  box-shadow: var(--shadow-offset);
}

.sp-stat__value {
  font-family: var(--font-mono-bold);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: #000;
}

.sp-stat__label {
  font-family: var(--font-geneva);
  font-size: 12px;
  color: var(--color-grey-text);
  line-height: 1.4;
}

@media (max-width: 431px) {
  .sp-stat {
    flex: 1 1 100px;
    padding: 12px 10px;
  }
  .sp-stat__value {
    font-size: 18px;
  }
  .sp-stat__label {
    font-size: 11px;
  }
}

/* ─── CTA / button (retro 3D style matching main app) ───────────*/

.sp-btn-wrap {
  position: relative;
  display: inline-block;
}

.sp-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 2px;
  border: 1px solid #000;
  background: #fff;
  font-family: var(--font-mono-bold);
  font-size: 18px;
  line-height: 1.2;
  color: #000;
  cursor: pointer;
  text-decoration: none;
  user-select: none;
  white-space: nowrap;
  min-width: 120px;
  transition: all 0.15s;
}

.sp-btn:hover {
  background: #000;
  color: #fff;
  transform: translate(3px, 3px);
}

.sp-btn--primary {
  background: #000;
  color: #fff;
}

.sp-btn--primary:hover {
  background: #333;
  color: #fff;
}

.sp-btn__shadow {
  position: absolute;
  z-index: 0;
  border: 1px solid #000;
  background: #d9d9d9;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transform: translate(4px, 4px);
  transition: all 0.15s;
  pointer-events: none;
}

.sp-btn-wrap:hover .sp-btn__shadow {
  transform: translate(2px, 2px);
}

@media (max-width: 431px) {
  .sp-btn {
    font-size: 14px;
    min-width: 90px;
  }
}

/* ─── Back / return button row ───────────────────────────────── */

.sp-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}

@media (max-width: 431px) {
  .sp-actions {
    gap: 12px;
    margin-top: 28px;
  }
}

/* ─── Internal nav link (text style) ─────────────────────────── */

.sp-link {
  font-family: var(--font-mono-bold);
  font-size: 14px;
  color: #000;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-style: dashed;
  transition: color 0.15s;
}

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

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

.sp-link--purple:hover {
  color: #000;
}

@media (max-width: 431px) {
  .sp-link {
    font-size: 12px;
  }
}

/* ─── Tag / badge pill ───────────────────────────────────────── */

.sp-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid #000;
  background: #fff;
  font-family: var(--font-mono-bold);
  font-size: 11px;
  line-height: 1;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sp-tag--orange {
  background: var(--color-orange);
  color: #fff;
  border-color: var(--color-orange);
}

.sp-tag--purple {
  background: var(--color-purple);
  color: #fff;
  border-color: var(--color-purple);
}

/* ─── Footer strip ───────────────────────────────────────────── */

.sp-footer {
  border-top: var(--border-black);
  padding: 28px var(--page-padding);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-geneva);
  font-size: 12px;
  color: var(--color-grey-text);
  margin-top: 60px;
}

.sp-footer a {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-style: dashed;
}

.sp-footer a:hover {
  color: var(--color-orange);
}

.sp-footer__links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 431px) {
  .sp-footer {
    padding: 20px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 40px;
  }
}

/* ─── Scrollbar (inherit project style) ─────────────────────── */

.support-page ::-webkit-scrollbar,
.company-page ::-webkit-scrollbar {
  width: 28px;
  height: 28px;
}

.support-page ::-webkit-scrollbar-thumb,
.company-page ::-webkit-scrollbar-thumb {
  border: 2px solid #000;
  background: #fff;
}

.support-page ::-webkit-scrollbar-track,
.company-page ::-webkit-scrollbar-track {
  border: 1px solid #000;
  background: url("bg-fragment.png"), #fff 0% 0% / 69.9999988079px 69.9999988079px repeat;
}

.support-page ::-webkit-scrollbar-button,
.company-page ::-webkit-scrollbar-button {
  width: 28px;
  height: 28px;
}

@media (max-width: 431px) {
  .support-page ::-webkit-scrollbar,
  .company-page ::-webkit-scrollbar {
    width: 16px;
    height: 16px;
  }
  .support-page ::-webkit-scrollbar-button,
  .company-page ::-webkit-scrollbar-button {
    width: 16px;
    height: 16px;
  }
}

/* ─── Utility overrides ──────────────────────────────────────── */

.sp-mt-0  { margin-top: 0 !important; }
.sp-mb-0  { margin-bottom: 0 !important; }
.sp-mt-8  { margin-top: 8px; }
.sp-mt-16 { margin-top: 16px; }
.sp-mt-24 { margin-top: 24px; }
.sp-mt-32 { margin-top: 32px; }
.sp-mb-8  { margin-bottom: 8px; }
.sp-mb-16 { margin-bottom: 16px; }
.sp-mb-24 { margin-bottom: 24px; }
.sp-text-center { text-align: center; }
.sp-text-right  { text-align: right; }
.sp-flex        { display: flex; }
.sp-flex-col    { flex-direction: column; }
.sp-gap-8       { gap: 8px; }
.sp-gap-16      { gap: 16px; }
.sp-gap-24      { gap: 24px; }
.sp-w-full      { width: 100%; }
.sp-hidden      { display: none; }
.sp-uppercase   { text-transform: uppercase; }