/* ==========================================================================
   FreeCash content pages (SEO / legal) — scoped to .sp-page + shared chrome
   Palette matches the homepage: #0a0f0e bg, #171c1a surface, #273530 line,
   #00ffaa accent.
   ========================================================================== */

:root {
  --sp-bg: #0a0f0e;
  --sp-surface: #121816;
  --sp-surface-2: #171f1c;
  --sp-line: #24312c;
  --sp-line-soft: #1c2624;
  --sp-text: #f2f7f5;
  --sp-muted: #9db0a8;
  --sp-accent: #00ffaa;
  --sp-accent-dim: #00c987;
  --sp-radius: 16px;
}

html,
body {
  background: var(--sp-bg);
}


/* ---------------------------------------------------------------- header */

.sp-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 15, 14, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--sp-line-soft);
}

.sp-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.sp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--sp-text);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 17px;
}

.sp-brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  object-fit: cover;
}

.sp-header-nav {
  display: none;
  margin-left: auto;
  gap: 22px;
}

.sp-header-nav a {
  color: var(--sp-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.sp-header-nav a:hover {
  color: var(--sp-accent);
}

.sp-header-cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--sp-accent);
  color: #04120d;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sp-header-nav + .sp-header-cta {
  margin-left: 0;
}

.sp-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 255, 170, 0.28);
}

@media (min-width: 900px) {
  .sp-header-nav {
    display: flex;
  }
  .sp-header-inner {
    padding: 14px 24px;
  }
}

/* ------------------------------------------------------------------ page */

.sp-page {
  position: relative;
  background: var(--sp-bg);
  color: var(--sp-text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.sp-page::before {
  content: "";
  position: absolute;
  inset: -10% -20% auto -20%;
  height: 520px;
  background: radial-gradient(60% 60% at 50% 0%, rgba(0, 255, 170, 0.12), transparent 70%);
  pointer-events: none;
}

.sp-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 20px 72px;
}

.sp-container > * + * {
  margin-top: 32px;
}

@media (min-width: 1024px) {
  .sp-container {
    max-width: 900px;
    padding: 32px 24px 88px;
  }

  .sp-container > * + * {
    margin-top: 40px;
  }
}


/* -------------------------------------------------------------- reveals */

.sp-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.sp-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .sp-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ------------------------------------------------------------------ hero */

.sp-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--sp-muted);
  margin-bottom: 18px;
}

.sp-crumbs span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.sp-crumbs a {
  color: var(--sp-muted);
  text-decoration: none;
}

.sp-crumbs a:hover {
  color: var(--sp-accent);
}

.sp-crumbs [aria-current="page"] {
  color: var(--sp-text);
}

.sp-eyebrow {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 170, 0.28);
  background: rgba(0, 255, 170, 0.08);
  color: var(--sp-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.sp-page h1 {
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  background: linear-gradient(180deg, #ffffff 30%, #b6ded0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sp-lede {
  font-size: 17px;
  line-height: 1.6;
  color: #cfe0d9;
  margin: 0;
  max-width: 62ch;
}

.sp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.sp-ghost {
  display: inline-flex;
  align-items: center;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid var(--sp-line);
  color: var(--sp-text);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.sp-ghost:hover {
  border-color: var(--sp-accent);
  background: rgba(0, 255, 170, 0.06);
}

/* ------------------------------------------------------------------- cta */

.sp-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, #00ffaa, #00d18c);
  color: #04120d;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 255, 170, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sp-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(0, 255, 170, 0.32);
}

.sp-cta span {
  transition: transform 0.15s ease;
}

.sp-cta:hover span {
  transform: translateX(3px);
}

.sp-cta-block {
  text-align: center;
  padding: 30px 24px;
  border-radius: var(--sp-radius);
  border: 1px solid rgba(0, 255, 170, 0.2);
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(0, 255, 170, 0.1), transparent 70%),
    var(--sp-surface);
}

.sp-cta-note {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--sp-text);
}

/* ----------------------------------------------------------- sticky cta */

.sp-sticky {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translate(-50%, 140%);
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--sp-line);
  background: rgba(18, 24, 22, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s ease;
  opacity: 0;
  max-width: calc(100vw - 24px);
}

.sp-sticky.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.sp-sticky p {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--sp-text);
  display: none;
}

.sp-sticky .sp-cta {
  padding: 11px 20px;
  box-shadow: none;
}

@media (min-width: 640px) {
  .sp-sticky p {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp-sticky {
    transition: opacity 0.2s ease;
  }
}

/* ----------------------------------------------------------------- stats */

.sp-statwrap {
  border-radius: var(--sp-radius);
  border: 1px solid var(--sp-line-soft);
  background: var(--sp-surface);
  padding: 22px;
}

.sp-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.sp-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.sp-stat-val {
  font-size: clamp(20px, 4.4vw, 26px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--sp-accent);
}

.sp-stat-label {
  font-size: 12.5px;
  color: var(--sp-muted);
  line-height: 1.4;
}

.sp-source {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--sp-line-soft);
  font-size: 11.5px;
  color: #7d908a;
  line-height: 1.5;
}

/* -------------------------------------------------------------- sections */

.sp-page section {
  scroll-margin-top: 90px;
}

.sp-page h2 {
  font-size: clamp(22px, 4.2vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 14px;
  color: #ffffff;
}

.sp-page h3 {
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  color: #ffffff;
}

.sp-page p {
  font-size: 15.5px;
  line-height: 1.65;
  color: #b9cbc3;
  margin: 0 0 12px;
}

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

.sp-page a:not(.sp-cta):not(.sp-ghost):not(.sp-header-cta) {
  color: var(--sp-accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 255, 170, 0.3);
}

.sp-page a:not(.sp-cta):not(.sp-ghost):not(.sp-header-cta):hover {
  border-bottom-color: var(--sp-accent);
}

/* ------------------------------------------------------------- verdict */

.sp-verdict {
  border-radius: var(--sp-radius);
  border: 1px solid rgba(0, 255, 170, 0.22);
  background: linear-gradient(180deg, rgba(0, 255, 170, 0.07), rgba(0, 255, 170, 0.02));
  padding: 22px;
}

.sp-verdict-title {
  margin: 0 0 8px !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sp-accent) !important;
}

/* --------------------------------------------------------------- lists */

.sp-checks,
.sp-page ul.sp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.sp-checks li,
.sp-page ul.sp-list li {
  position: relative;
  margin: 0;
  padding: 12px 16px 12px 40px;
  border-radius: 12px;
  border: 1px solid var(--sp-line-soft);
  background: var(--sp-surface);
  font-size: 15px;
  line-height: 1.55;
  color: #b9cbc3;
}

.sp-checks li strong,
.sp-page ul.sp-list li strong {
  color: #ffffff;
  font-weight: 700;
}

.sp-checks li::before,
.sp-page ul.sp-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 19px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sp-accent);
  box-shadow: 0 0 0 4px rgba(0, 255, 170, 0.12);
}

/* --------------------------------------------------------------- cards */

.sp-cards,
.sp-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.sp-card {
  border-radius: var(--sp-radius);
  border: 1px solid var(--sp-line-soft);
  background: var(--sp-surface);
  padding: 20px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.sp-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 255, 170, 0.35);
  background: var(--sp-surface-2);
}

.sp-card p {
  margin: 0;
  font-size: 14.5px;
}

/* --------------------------------------------------------------- steps */

.sp-steps {
  list-style: none;
  counter-reset: sp;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.sp-steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 0;
  padding: 18px 20px;
  border-radius: var(--sp-radius);
  border: 1px solid var(--sp-line-soft);
  background: var(--sp-surface);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.sp-steps li:hover {
  border-color: rgba(0, 255, 170, 0.35);
  transform: translateY(-2px);
}

.sp-step-num {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 14px;
  color: #04120d;
  background: linear-gradient(180deg, #00ffaa, #00d18c);
}

.sp-steps p {
  margin: 0;
  font-size: 14.5px;
}

/* ------------------------------------------------------------- methods */

.sp-methods {
  display: grid;
  gap: 14px;
}

.sp-method-group {
  border-radius: var(--sp-radius);
  border: 1px solid var(--sp-line-soft);
  background: var(--sp-surface);
  padding: 18px 20px;
}

.sp-method-group h3 {
  margin-bottom: 12px;
}

.sp-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sp-chips li {
  margin: 0;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--sp-line);
  background: #0f1614;
  font-size: 13px;
  font-weight: 600;
  color: #cfe0d9;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.sp-chips li:hover {
  border-color: var(--sp-accent);
  color: var(--sp-accent);
}

/* ----------------------------------------------------------------- faq */

.sp-faq {
  display: grid;
  gap: 10px;
}

.sp-faq details {
  border-radius: 14px;
  border: 1px solid var(--sp-line-soft);
  background: var(--sp-surface);
  overflow: hidden;
  transition: border-color 0.18s ease;
}

.sp-faq details[open] {
  border-color: rgba(0, 255, 170, 0.3);
}

.sp-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
  list-style: none;
}

.sp-faq summary::-webkit-details-marker {
  display: none;
}

.sp-chev {
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--sp-accent);
  border-bottom: 2px solid var(--sp-accent);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.sp-faq details[open] .sp-chev {
  transform: rotate(-135deg);
}

.sp-faq p {
  margin: 0;
  padding: 0 18px 18px;
  font-size: 14.5px;
}

/* ----------------------------------------------------------- read next */

.sp-next {
  display: grid;
  gap: 10px;
}

.sp-next-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  border-radius: 14px;
  border: 1px solid var(--sp-line-soft);
  background: var(--sp-surface);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  border-bottom: 1px solid var(--sp-line-soft) !important;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.sp-next-card:hover {
  transform: translateX(3px);
  border-color: rgba(0, 255, 170, 0.4) !important;
}

.sp-next-card span:last-child {
  color: var(--sp-accent);
}

/* -------------------------------------------------------------- gallery */

.sp-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sp-gallery img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--sp-line-soft);
  display: block;
  transition: transform 0.2s ease;
}

.sp-gallery img:hover {
  transform: scale(1.02);
}

.sp-meta {
  font-size: 12px;
  color: #7d908a;
}

.sp-inline {
  color: var(--sp-accent);
}

/* --------------------------------------------------------------- footer */

.sp-footer {
  background: #070b0a;
  border-top: 1px solid var(--sp-line-soft);
  color: var(--sp-muted);
  font-family: Inter, system-ui, -apple-system, sans-serif;
}

.sp-footer-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 20px 38px;
}

.sp-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 0 0 18px;
}

.sp-footer-nav a {
  font-size: 13px;
  font-weight: 600;
  color: #9db4ad;
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.sp-footer-disclosure {
  margin: 0;
  font-size: 12px;
  line-height: 1.75;
  color: #6f827c;
  text-align: center;
}


/* ---------------------------------------------------------- breakpoints */

@media (min-width: 700px) {
  .sp-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .sp-cards,
  .sp-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sp-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sp-next {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sp-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .sp-container {
    max-width: 900px;
    padding: 32px 24px 88px;
  }
  .sp-container > * + * {
    margin-top: 40px;
  }

  .sp-lede {
    font-size: 18.5px;
  }
  .sp-cards.sp-cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .sp-cta-block {
    padding: 40px 32px;
  }
  .sp-page p {
    font-size: 16px;
  }
}

/* extra breathing room before standalone headings inside the flow */
.sp-container > h2 {
  margin-top: 44px;
}

.sp-container > h2 + * {
  margin-top: 14px;
}
