/* Sko Apps LLC - site styles. Dark by default, light theme via [data-theme="light"] or system preference. */

:root {
  --bg: #07090f;
  --bg-elev: #0d111b;
  --bg-card: #111725;
  --text: #e8ecf5;
  --muted: #9aa3b8;
  --faint: #7f889d;
  --line: #1d2436;
  --line-strong: #2a3350;
  --accent: #8fa8e8;
  --accent-strong: #b8c7ea;
  --accent-ink: #07090f;
  --glow: rgba(93, 125, 214, 0.28);
  --brand: #14213d;
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1120px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #fbfcfe;
  --bg-elev: #f3f5fa;
  --bg-card: #ffffff;
  --text: #0f1626;
  --muted: #4c5468;
  --faint: #5f677a;
  --line: #e3e7f0;
  --line-strong: #cdd4e3;
  --accent: #2f4d94;
  --accent-strong: #14213d;
  --accent-ink: #ffffff;
  --glow: rgba(61, 90, 158, 0.16);
  color-scheme: light;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #fbfcfe;
    --bg-elev: #f3f5fa;
    --bg-card: #ffffff;
    --text: #0f1626;
    --muted: #4c5468;
    --faint: #5f677a;
    --line: #e3e7f0;
    --line-strong: #cdd4e3;
    --accent: #2f4d94;
    --accent-strong: #14213d;
    --accent-ink: #ffffff;
    --glow: rgba(61, 90, 158, 0.16);
    color-scheme: light;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.6em; font-weight: 650; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6.2vw, 4.4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: 0.6rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 36px; width: auto; }
.logo-light { display: none; }
:root[data-theme="light"] .logo-dark { display: none; }
:root[data-theme="light"] .logo-light { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .logo-dark { display: none; }
  :root:not([data-theme="dark"]) .logo-light { display: block; }
}

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav-list { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: block; padding: 0.5rem 0.8rem; border-radius: 999px;
  color: var(--muted); text-decoration: none; font-size: 0.94rem; font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--text); background: var(--bg-elev); }

.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text);
  cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.icon-btn:hover { border-color: var(--line-strong); background: var(--bg-elev); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="dark"]) .theme-toggle .icon-moon { display: none; }
}
.menu-toggle { display: none; }

@media (max-width: 860px) {
  .menu-toggle { display: inline-grid; }
  .nav-list {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    padding: 0.75rem var(--gutter) 1.25rem; background: var(--bg); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  }
  .nav-list.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-list a { padding: 0.85rem 0.5rem; border-radius: 8px; font-size: 1.05rem; }
  .header-actions .header-cta { display: none; }
}
@media (max-width: 1000px) { .header-actions .header-cta { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 44px; padding: 0.7rem 1.3rem; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: var(--accent-strong); color: var(--bg); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }
.btn svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(2px); }

/* Hero */
.hero { position: relative; padding: clamp(4.5rem, 11vw, 8.5rem) 0 clamp(3.5rem, 8vw, 6rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: 0.6;
}
.hero::after {
  content: ""; position: absolute; z-index: -1; left: 50%; top: -18%;
  width: min(900px, 120vw); height: 520px; transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--glow), transparent);
  filter: blur(10px);
}
.hero-inner { display: grid; gap: 3rem; grid-template-columns: 1.1fr 0.9fr; align-items: center; }
@media (max-width: 960px) { .hero-inner { grid-template-columns: 1fr; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.4rem;
  padding: 0.35rem 0.8rem 0.35rem 0.45rem; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 0.82rem; color: var(--muted); background: color-mix(in srgb, var(--bg-elev) 70%, transparent);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.15); margin-left: 0.3rem; }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--text) 10%, var(--accent) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--muted); max-width: 34rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.5rem; color: var(--faint); font-size: 0.88rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-meta svg { width: 16px; height: 16px; color: var(--accent); }

/* Code window */
.code-window {
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-card), var(--bg-elev));
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.55), 0 0 0 1px color-mix(in srgb, var(--accent) 6%, transparent);
  overflow: hidden; font-family: var(--mono); font-size: 0.86rem;
}
.code-bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); }
.code-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.code-bar span { margin-left: 0.6rem; color: var(--faint); font-size: 0.78rem; }
.code-window pre { margin: 0; padding: 1.25rem 1.25rem 1.5rem; overflow-x: auto; line-height: 1.8; color: var(--muted); }
.code-window code { font-family: inherit; }
.tk-k { color: #c4a7ff; } .tk-f { color: #8fd3ff; } .tk-s { color: #a5e3a1; } .tk-c { color: var(--faint); } .tk-n { color: #ffcf8a; }
:root[data-theme="light"] .tk-k { color: #7c3aed; } :root[data-theme="light"] .tk-f { color: #0369a1; }
:root[data-theme="light"] .tk-s { color: #15803d; } :root[data-theme="light"] .tk-n { color: #b45309; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .tk-k { color: #7c3aed; } :root:not([data-theme="dark"]) .tk-f { color: #0369a1; }
  :root:not([data-theme="dark"]) .tk-s { color: #15803d; } :root:not([data-theme="dark"]) .tk-n { color: #b45309; }
}
.caret { display: inline-block; width: 8px; height: 1.1em; vertical-align: -0.2em; background: var(--accent); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Sections */
.section { padding: clamp(4rem, 9vw, 7rem) 0; border-top: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: 3rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.kicker { display: block; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.9rem; }

.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--bg); padding: 2rem; transition: background 0.3s var(--ease); }
.card:hover { background: var(--bg-elev); }
.card p { color: var(--muted); margin: 0; }
.card .icon {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1.4rem;
  border: 1px solid var(--line-strong); border-radius: 12px; color: var(--accent); background: var(--bg-elev);
}
.card .icon svg { width: 22px; height: 22px; }
.card ul { margin: 1rem 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.93rem; }
.card li { padding: 0.3rem 0 0.3rem 1.4rem; position: relative; }
.card li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 8px; height: 1px; background: var(--accent); }

/* Offer cards with pricing basis */
.offer { display: flex; flex-direction: column; }
.offer .price { margin-top: auto; padding-top: 1.5rem; font-family: var(--mono); font-size: 0.85rem; color: var(--text); }
.offer .price small { display: block; color: var(--faint); font-family: var(--font); font-size: 0.82rem; margin-top: 0.2rem; }

/* Products */
.product { display: grid; grid-template-columns: 1.1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.product-main { padding: clamp(1.5rem, 4vw, 2.75rem); }
.product-main > p { color: var(--muted); margin: 0 0 1.75rem; }
.product-head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.4rem; }
.product-head img { width: 56px; height: 56px; flex-shrink: 0; }
.product-head h3 { margin: 0; font-size: 1.4rem; }
.status { display: flex; align-items: baseline; gap: 0.6rem; margin: 0.35rem 0 0; font-size: 0.88rem; color: var(--muted); }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; flex-shrink: 0; }
.product-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-left: 1px solid var(--line); }
.product-facts div { background: var(--bg); padding: 1.5rem; }
.product-facts dt { font-weight: 600; margin-bottom: 0.4rem; }
.product-facts dd { margin: 0; color: var(--muted); font-size: 0.93rem; }
@media (max-width: 960px) {
  .product { grid-template-columns: 1fr; }
  .product-facts { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) { .product-facts { grid-template-columns: 1fr; } }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; padding-top: 1.5rem; border-top: 1px solid var(--line-strong); position: relative; }
.steps li::before {
  content: "0" counter(step); display: block; font-family: var(--mono); font-size: 0.82rem; color: var(--accent); margin-bottom: 0.8rem;
}
.steps li::after { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 1px; background: var(--accent); }
.steps p { color: var(--muted); margin: 0; }

/* About */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split p { color: var(--muted); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0; }
.facts div { background: var(--bg); padding: 1.5rem; }
.facts dt { font-size: 0.82rem; color: var(--faint); margin-bottom: 0.3rem; }
.facts dd { margin: 0; font-weight: 600; }

/* FAQ */
.faq { max-width: 50rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.35rem 0; font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 12px; height: 12px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg) translateY(-3px); transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { color: var(--muted); padding-right: 2rem; margin: 0 0 1.4rem; }

/* CTA */
.cta {
  position: relative; overflow: hidden; text-align: center; padding: clamp(3rem, 7vw, 5rem) var(--gutter);
  border: 1px solid var(--line-strong); border-radius: calc(var(--radius) + 6px);
  background: radial-gradient(ellipse 60% 80% at 50% 0%, var(--glow), transparent 70%), var(--bg-elev);
}
.cta p { color: var(--muted); max-width: 34rem; margin: 0 auto 2rem; }
.cta .hero-actions { justify-content: center; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.25rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .icon { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--accent); }
.contact-list .icon svg { width: 18px; height: 18px; }
.contact-list strong { display: block; }
.contact-list span { color: var(--muted); font-size: 0.95rem; }

.form { display: grid; gap: 1.1rem; padding: clamp(1.5rem, 4vw, 2.25rem); border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg-elev); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.9rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 0.75rem 0.9rem; min-height: 46px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--glow); }
.field .hint { font-size: 0.82rem; color: var(--faint); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #f87171; }
.form-note { font-size: 0.85rem; color: var(--faint); margin: 0; }
.form-status { font-size: 0.92rem; margin: 0; min-height: 1.4em; }
.form-status[data-state="error"], .form-status[data-state="success"] { font-weight: 600; }
.form [type="submit"]:disabled { opacity: 0.6; cursor: default; }

/* Legal pages */
.page-hero { padding: clamp(3.5rem, 8vw, 6rem) 0 2.5rem; position: relative; }
.page-hero p { color: var(--muted); font-size: 1.08rem; max-width: 42rem; }
.page-hero .meta { font-family: var(--mono); font-size: 0.82rem; color: var(--faint); }
.legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(2rem, 5vw, 4rem); padding-bottom: 6rem; }
@media (max-width: 860px) { .legal-layout { grid-template-columns: 1fr; } .toc { position: static !important; } }
.toc { position: sticky; top: 96px; align-self: start; font-size: 0.9rem; }
.toc strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); margin-bottom: 0.75rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 0.3rem 0 0.3rem 1rem; color: var(--muted); text-decoration: none; margin-left: -1px; border-left: 1px solid transparent; }
.toc a:hover { color: var(--text); border-left-color: var(--accent); }
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.4rem; margin-top: 2.75rem; padding-top: 0.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.75rem; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.94rem; }
.prose th, .prose td { text-align: left; padding: 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--text); font-weight: 600; }
.prose td { color: var(--muted); }
.table-wrap { overflow-x: auto; }
.callout { border: 1px solid var(--line-strong); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); padding: 1rem 1.25rem; background: var(--bg-elev); margin: 1.5rem 0; }
.callout p:last-child { margin: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 4rem 0 2.5rem; font-size: 0.92rem; color: var(--muted); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand img { height: 32px; width: auto; margin-bottom: 1rem; }
.footer-brand p { max-width: 22rem; }
.site-footer h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); font-weight: 600; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.payments { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.payments > span { margin-right: 0.5rem; }
.pay-badge { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.02em; padding: 0.3rem 0.6rem; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--muted); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; color: var(--faint); font-size: 0.85rem; }
.footer-bottom p { margin: 0; }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .caret { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .code { font-family: var(--mono); color: var(--accent); }

@media print {
  .site-header, .site-footer, .toc, .skip-link { display: none; }
  body { background: #fff; color: #000; }
  .prose p, .prose li { color: #000; }
}

/* Utilities */
.mt-sm { margin-top: 1.25rem; }
.mt-md { margin-top: 2rem; }
.pb-lg { padding-bottom: 6rem; }
.payments svg { width: 16px; height: 16px; color: var(--accent); }
