/* ============================================
   HOOKA — static SEO/content pages
   Extends styles.css tokens. No JS required.
   ============================================ */

/* ---------- static header ---------- */
.sp-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(10, 11, 15, .78);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line-soft);
}
.sp-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.sp-brand {
  display: inline-flex; align-items: center; gap: 11px;
  color: var(--text); text-decoration: none;
}
.sp-brand-dots { display: inline-flex; align-items: center; gap: 3px; }
.sp-brand-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; display: inline-block;
  animation: hookaDotS 1.6s ease-in-out 2 both;
}
.sp-brand-dots span:nth-child(2) { animation-delay: .18s; }
.sp-brand-dots span:nth-child(3) { background: var(--accent-3); animation-delay: .36s; }
@keyframes hookaDotS {
  0%   { opacity: .35; transform: scale(.85); }
  40%  { opacity: 1;   transform: scale(1); }
  80%  { opacity: .35; transform: scale(.85); }
  100% { opacity: 1;   transform: scale(1); }
}
.sp-brand-name {
  font-family: var(--font-display);
  font-weight: 600; font-size: 20px; letter-spacing: -.025em; line-height: 1;
}
.sp-nav-group { display: flex; align-items: center; gap: 28px; }
.sp-nav { display: flex; gap: 20px; font-size: 14px; }
.sp-nav a { color: var(--text-mid); font-weight: 500; padding: 8px 0; transition: color .15s; }
.sp-nav a:hover, .sp-nav a[aria-current="page"] { color: var(--text); }
.sp-actions { display: flex; align-items: center; gap: 10px; }
.sp-lang {
  display: flex; align-items: center; gap: 2px; margin-right: 4px;
  font-family: var(--font-mono); font-size: 11px;
}
.sp-lang a {
  padding: 3px 7px; border-radius: 999px; font-weight: 600;
  letter-spacing: .04em; color: var(--text-dim);
}
.sp-lang a.on { color: var(--text); background: var(--line-soft); }

/* ---------- breadcrumbs ---------- */
.sp-crumbs {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .03em;
  color: var(--text-dim); margin: 0 0 28px; padding: 0; list-style: none;
}
.sp-crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.sp-crumbs li + li::before { content: "/"; color: var(--text-faint); }
.sp-crumbs a { color: var(--text-dim); }
.sp-crumbs a:hover { color: var(--text); }
.sp-crumbs [aria-current="page"] { color: var(--text-mid); }

/* ---------- page hero (centered to match the landing) ---------- */
.sp-hero { padding: 140px 0 56px; position: relative; overflow: hidden; text-align: center; }
.sp-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 700; letter-spacing: -.04em; line-height: 1.02;
  margin: 18px auto 18px; max-width: 880px;
}
.sp-hero .sp-lead {
  font-size: clamp(16px, 1.6vw, 19px); color: var(--text-mid);
  line-height: 1.6; max-width: 720px; margin: 0 auto 28px;
}
.sp-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.sp-meta {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 22px;
  font-family: var(--font-mono); font-size: 12px; color: var(--text-dim);
  letter-spacing: .03em;
}

/* ---------- long-form prose (centered column, left-aligned text) ---------- */
.sp-main { padding-bottom: 40px; }
.prose { max-width: 760px; margin-left: auto; margin-right: auto; }
.prose-wide { max-width: 980px; margin-left: auto; margin-right: auto; }
.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px); font-weight: 700;
  letter-spacing: -.03em; line-height: 1.1;
  margin: 56px 0 18px;
}
.prose h3 {
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 24px); font-weight: 600;
  letter-spacing: -.02em; margin: 36px 0 12px;
}
.prose p { color: var(--text-mid); line-height: 1.7; margin: 0 0 18px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent-3); text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose ul, .prose ol { color: var(--text-mid); line-height: 1.7; padding-left: 22px; margin: 0 0 18px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent-3); }
.prose blockquote {
  margin: 24px 0; padding: 16px 22px;
  border-left: 3px solid var(--accent-3);
  background: var(--panel); border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--text-mid); font-style: italic;
}
.prose hr { border: 0; height: 1px; background: var(--line); margin: 40px 0; }
.prose code {
  font-family: var(--font-mono); font-size: .88em;
  background: var(--panel-2); border: 1px solid var(--line);
  padding: 2px 6px; border-radius: 6px; color: var(--text);
}
.prose pre {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 18px 20px;
  overflow-x: auto; margin: 0 0 18px;
}
.prose pre code { background: none; border: 0; padding: 0; font-size: 13px; line-height: 1.6; color: var(--text-mid); }
.prose figure { margin: 28px 0; }
.prose figcaption { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); margin-top: 10px; }

/* ---------- data tables ---------- */
.sp-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px 0; border: 1px solid var(--line); border-radius: var(--r-lg); }
.sp-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.sp-table th {
  font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase;
  letter-spacing: .07em; color: var(--text-dim); font-weight: 600;
  text-align: left; padding: 14px 18px;
  background: var(--panel); border-bottom: 1px solid var(--line);
}
.sp-table td {
  padding: 13px 18px; color: var(--text-mid);
  border-bottom: 1px solid var(--line-soft); line-height: 1.5; vertical-align: top;
}
.sp-table tr:last-child td { border-bottom: 0; }
.sp-table td:first-child { color: var(--text); font-weight: 500; }
.sp-yes { color: var(--ok); font-weight: 600; white-space: nowrap; }
.sp-no { color: var(--text-faint); white-space: nowrap; }
.sp-warn { color: var(--warn); white-space: nowrap; }

/* ---------- stat band ---------- */
.sp-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px; margin: 28px 0;
}
.sp-stat {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 20px 22px;
}
.sp-stat .n {
  font-family: var(--font-display); font-size: 30px; font-weight: 700;
  letter-spacing: -.03em; display: block;
}
.sp-stat .l { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-dim); letter-spacing: .05em; }

/* ---------- card grids (features, related) ---------- */
.sp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin: 28px 0; }
.sp-card {
  display: block; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px;
  transition: border-color .18s, transform .18s, background .18s;
}
a.sp-card:hover { border-color: var(--panel-hi); background: var(--panel-2); transform: translateY(-2px); }
.sp-card .t {
  font-family: var(--font-display); font-weight: 600; font-size: 17px;
  letter-spacing: -.015em; display: block; margin-bottom: 8px;
}
.sp-card p { font-size: 13.5px; color: var(--text-mid); line-height: 1.55; margin: 0; }
.sp-card .tag {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .07em;
  text-transform: uppercase; color: var(--accent-3); display: block; margin-bottom: 10px;
}

/* ---------- steps ---------- */
.sp-steps { counter-reset: step; list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; }
.sp-steps li {
  counter-increment: step; position: relative;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 20px 22px 20px 66px;
  color: var(--text-mid); line-height: 1.6;
}
.sp-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 22px; top: 22px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  color: var(--accent-3);
}
.sp-steps li strong { color: var(--text); display: block; margin-bottom: 4px; font-family: var(--font-display); letter-spacing: -.015em; font-size: 16.5px; }

/* ---------- FAQ ---------- */
.sp-faq { display: grid; gap: 10px; margin: 28px auto; max-width: 760px; }
.sp-faq details {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
}
.sp-faq summary {
  cursor: pointer; padding: 18px 22px; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  letter-spacing: -.01em; position: relative; padding-right: 48px;
}
.sp-faq summary::-webkit-details-marker { display: none; }
.sp-faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); color: var(--text-dim); font-size: 18px;
}
.sp-faq details[open] summary::after { content: "–"; }
.sp-faq details > div { padding: 0 22px 18px; color: var(--text-mid); line-height: 1.65; font-size: 14.5px; }
.sp-faq details > div a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent-3); text-underline-offset: 3px; }

/* ---------- CTA band ---------- */
.sp-cta {
  margin: 64px 0 80px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 56px 40px; text-align: center;
}
.sp-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 52px); font-weight: 700;
  letter-spacing: -.04em; line-height: 1; margin: 0 0 14px; position: relative;
}
.sp-cta p { color: var(--text-mid); max-width: 520px; margin: 0 auto 26px; line-height: 1.55; position: relative; }
.sp-cta .sp-hero-ctas { justify-content: center; position: relative; }
.sp-cta .blob { width: 420px; height: 420px; }

/* ---------- static footer ---------- */
.sp-footer { border-top: 1px solid var(--line-soft); padding: 56px 0 36px; margin-top: 40px; }
.sp-footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
  gap: 36px; margin-bottom: 40px;
}
.sp-footer-col .h {
  font-family: var(--font-mono); font-size: 11px; color: var(--text-dim);
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px;
}
.sp-footer-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.sp-footer-col a { font-size: 13.5px; color: var(--text-mid); transition: color .15s; }
.sp-footer-col a:hover { color: var(--text); }
.sp-footer-tagline { margin: 16px 0 0; font-size: 13px; color: var(--text-dim); line-height: 1.5; max-width: 280px; }
.sp-footer-bottom {
  margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  font-size: 12px; color: var(--text-dim); font-family: var(--font-mono); letter-spacing: .04em;
}

/* ---------- TOC (optional, long guides) ---------- */
.sp-toc {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 22px 26px; margin: 28px auto; max-width: 760px;
}
.sp-toc .h { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 12px; }
.sp-toc ol { margin: 0; padding-left: 20px; color: var(--text-mid); display: flex; flex-direction: column; gap: 7px; font-size: 14px; }
.sp-toc a { color: var(--text-mid); }
.sp-toc a:hover { color: var(--text); }

/* ---------- inline notice ---------- */
.sp-note {
  display: flex; gap: 12px; align-items: flex-start;
  background: rgba(255, 180, 0, .06); border: 1px solid rgba(255, 180, 0, .25);
  border-radius: var(--r-md); padding: 16px 18px; margin: 24px auto; max-width: 760px;
  color: var(--text-mid); font-size: 14px; line-height: 1.6;
}
.sp-note::before { content: "!"; font-family: var(--font-mono); font-weight: 700; color: var(--warn); flex-shrink: 0; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .sp-footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .sp-hero { padding: 120px 0 44px; }
}
@media (max-width: 640px) {
  .sp-nav { display: none; }
  .sp-footer-grid { grid-template-columns: 1fr 1fr; }
  .sp-hero { padding: 108px 0 36px; }
  .sp-cta { padding: 44px 24px; }
}
