/* Biohacked sites - shared stylesheet. No external fonts or scripts. */
:root {
  --bg: #0a0a0a;
  --bg-alt: #101010;
  --panel: #171717;
  --line: #2b2b2b;
  --text: #ececec;
  --muted: #b0b0b0;
  --neon: #00f0ff;
  --green: #39ff14;
  --purple: #c46bff;
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--neon); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--neon); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--neon); color: #000; padding: .6rem 1rem; z-index: 100; font-weight: 700; }
.skip:focus { left: 0; }
.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 780px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10,10,10,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.25rem; padding-top: .75rem; padding-bottom: .75rem; }
.brand { color: #fff; font-weight: 800; letter-spacing: -0.02em; font-size: 1.25rem; text-decoration: none; }
.brand span { color: var(--neon); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.1rem; font-size: .92rem; }
.nav a { color: var(--muted); text-decoration: none; padding: .35rem 0; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav .btn { color: #000; padding: .5rem 1rem; font-size: .9rem; }

/* Buttons */
.btn { display: inline-block; background: var(--neon); color: #000; font-weight: 700; text-decoration: none; padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid var(--neon); transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { color: #000; box-shadow: 0 0 22px rgba(0,240,255,.45); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: #555; }
.btn-ghost:hover { color: #fff; border-color: var(--neon); box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 78% 35%, rgba(0,240,255,.14), transparent 55%), #050505; }
.hero .wrap { padding-top: 4rem; padding-bottom: 4rem; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } }
.hero-copy { max-width: 640px; }
.hero-fig { margin: 0; }
.hero-fig img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 44% center; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 0 60px rgba(0,240,255,.12); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--neon); border: 1px solid rgba(0,240,255,.35); background: rgba(0,240,255,.06); padding: .3rem .8rem; border-radius: 999px; margin-bottom: 1.25rem; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .75rem; color: #fff; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); font-weight: 800; }
h1 em { font-style: normal; color: var(--neon); text-shadow: 0 0 14px rgba(0,240,255,.45); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
.lead { font-size: 1.2rem; color: #d6d6d6; max-width: 62ch; }
.small { font-size: .9rem; color: var(--muted); }
.fine { font-size: .85rem; color: var(--muted); margin-top: 1rem; }

/* Sections */
section { padding: 4rem 0; }
section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 2rem; }
.section-head p { color: var(--muted); margin: 0; }
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.card h3 { margin-bottom: .5rem; }
.card p { margin: 0; color: #cfcfcf; }
.card .tag { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--neon); margin-bottom: .6rem; }
a.card { text-decoration: none; display: block; transition: border-color .15s ease, transform .15s ease; }
a.card:hover { border-color: var(--neon); transform: translateY(-2px); }
a.card h3 { color: #fff; }
a.card .go { display: inline-block; margin-top: .75rem; color: var(--neon); font-weight: 700; font-size: .95rem; }

.split { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 820px) { .split { grid-template-columns: 1.05fr .95fr; } .split.flip > :first-child { order: 2; } }
.split img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; }
.img-small { max-width: 420px; margin: 0 auto; }

.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.steps li { counter-increment: step; position: relative; padding: 1.25rem 1.25rem 1.25rem 4.25rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(step); position: absolute; left: 1.25rem; top: 1.15rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: rgba(0,240,255,.1); border: 1px solid var(--neon); color: var(--neon); font-weight: 800; display: grid; place-items: center; }
.steps h3 { margin-bottom: .25rem; }
.steps p { margin: 0; color: #cfcfcf; }

.callout { border-left: 4px solid var(--neon); background: rgba(0,240,255,.06); padding: 1.1rem 1.4rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5rem 0; }
.callout p { margin: 0; }
.callout strong { color: #fff; }
.callout.warn { border-left-color: var(--purple); background: rgba(196,107,255,.07); }

ul.ticks { list-style: none; padding: 0; margin: 1rem 0; }
ul.ticks li { position: relative; padding-left: 1.8rem; margin: .5rem 0; color: #d4d4d4; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: .6em; width: .9rem; height: .5rem; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg) translateY(-50%); }
ul.crosses li::before { border: 0; width: 1rem; height: 1rem; top: .35em; transform: none; content: "\00d7"; color: var(--purple); font-weight: 800; font-size: 1.2rem; line-height: 1; }

/* FAQ */
details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); margin: .75rem 0; }
summary { cursor: pointer; padding: 1.1rem 1.4rem; font-weight: 700; color: #fff; list-style: none; position: relative; padding-right: 3rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); color: var(--neon); font-size: 1.5rem; font-weight: 400; }
details[open] summary::after { content: "\2212"; }
details .answer { padding: 0 1.4rem 1.25rem; color: #cfcfcf; }
details .answer p:first-child { margin-top: 0; }

/* Data / science */
.facts { width: 100%; border-collapse: collapse; margin: 1rem 0 0; font-size: .98rem; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.facts th { color: #fff; width: 32%; font-weight: 700; }
.facts td { color: #cfcfcf; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.75rem; }
.prose p, .prose li { color: #d2d2d2; }
.prose .src { font-size: .92rem; color: var(--muted); }
.page-title { padding: 3.5rem 0 1rem; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.page-title p { color: var(--muted); max-width: 60ch; margin: 0 0 1.5rem; font-size: 1.1rem; }
.page-title h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
.say-dont { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 1rem; }

.cta-band { text-align: center; background: radial-gradient(circle at 50% 0, rgba(0,240,255,.12), transparent 60%), var(--bg-alt); border-top: 1px solid var(--line); }
.cta-band .lead { margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; }
.price { font-size: 2.2rem; font-weight: 800; color: #fff; margin: .25rem 0; }
.price small { font-size: 1rem; font-weight: 400; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #050505; padding: 3rem 0 2.5rem; font-size: .92rem; color: var(--muted); }
.site-footer .cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 2rem; }
.site-footer h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: .75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .35rem 0; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: #fff; }
.disclosure { border-top: 1px solid var(--line); padding-top: 1.5rem; font-size: .85rem; line-height: 1.6; }
.disclosure p { margin: 0 0 .75rem; }

@media (max-width: 640px) {
  .site-header { position: static; }
  section { padding: 3rem 0; }
  .hero .wrap { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .facts th, .facts td { display: block; width: 100%; padding: .4rem 0; border: 0; }
  .facts tr { display: block; border-bottom: 1px solid var(--line); padding: .6rem 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, a.card { transition: none; } }
