/* ── RESET ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #080808;
  --surface: #111;
  --border: rgba(255, 255, 255, 0.08);
  --muted: rgba(255, 255, 255, 0.4);
  --dim: rgba(255, 255, 255, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wordmark {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.5;
  color: #fff;
  text-decoration: none;
}

nav a.btn-sm {
  padding: 0.55rem 1.1rem;
  background: #fff;
  color: #000;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.15s;
}

nav a.btn-sm:hover {
  opacity: 0.85;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: #fff;
  color: #000;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: opacity 0.15s, transform 0.15s;
}

.btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn:active {
  opacity: 0.8;
  transform: translateY(0);
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 0 1.5rem 3.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  opacity: 0.7;
  transition: filter 0.5s ease-out;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 8, 1) 0%, rgba(8, 8, 8, 0.33) 50%, rgba(8, 8, 8, 0.1) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.hero h1 {
  font-size: clamp(2.6rem, 11vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero h2 {
  font-size: clamp(1rem, 4vw, 1.15rem);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 2rem;
  max-width: 340px;
}

.hero-fine {
  display: block;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ── SECTIONS ── */
section {
  padding: 5rem 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ── MANIFESTO ── */
.manifesto h3 {
  font-size: clamp(1.3rem, 5.5vw, 1.8rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.manifesto .aside {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.4rem;
  text-align: left;
}

.manifesto p {
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
  font-size: clamp(1rem, 4vw, 1.15rem);
  letter-spacing: 0;
  line-height: 1.6;
}

/* ── COMPARISON ── */
.comparison {
  border-top: 1px solid var(--border);
  padding-top: 5rem;
  padding-bottom: 5rem;
  max-width: 600px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.comparison-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.col-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.col-label.them {
  color: var(--muted);
}

.col-label.us {
  color: #fff;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--border);
}

.comparison-row:last-child {
  border-bottom: 1px solid var(--border);
}

.cell {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.cell.them {
  color: var(--muted);
}

.cell.us {
  color: #fff;
}

.icon {
  flex-shrink: 0;
  font-size: 0.8rem;
  margin-top: 0.1rem;
}

.icon.x {
  color: rgba(255, 80, 80, 0.7);
}

.icon.check {
  color: rgba(100, 220, 100, 0.85);
}

/* ── QUOTE ── */
.quote {
  border-top: 1px solid var(--border);
}

blockquote {
  font-size: clamp(1.1rem, 4.5vw, 1.4rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.75);
  font-style: italic;
}

blockquote::before {
  content: '\201C';
}

blockquote::after {
  content: '\201D';
}

.attribution {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ── HOW IT WORKS ── */
.how-it-works {
  border-top: 1px solid var(--border);
}

.how-it-works h2 {
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 2.5rem;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
}

.step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── WHY I BUILT THIS ── */
.origin {
  border-top: 1px solid var(--border);
}

.origin h2 {
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.origin p {
  font-size: clamp(1rem, 4vw, 1.05rem);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

.origin p+p {
  margin-top: 1rem;
}

/* ── FAQ ── */
.faq {
  border-top: 1px solid var(--border);
}

.faq h2 {
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 2rem;
}

.faq details {
  border-top: 1px solid var(--border);
  padding: 1.2rem 0;
}

.faq details:last-of-type {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--muted);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq details[open] summary::after {
  content: '\2212';
}

.faq details p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── CLOSING ── */
.closing {
  border-top: 1px solid var(--border);
  text-align: center;
  padding-bottom: 6rem;
}

.closing h2 {
  font-size: clamp(2.2rem, 9vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.closing h2 em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.3);
}

.closing .btn {
  margin-bottom: 1rem;
}

.closing-fine {
  display: block;
  font-size: 0.75rem;
  color: var(--dim);
}

/* ── MOBILE ── */
@media (max-width: 600px) {
  .hero {
    padding-bottom: 1rem;
  }

  .hero-bg {
    margin-top: -20rem;
  }
}

/* ── UTILITY ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--dim);
}

footer a {
  color: var(--dim);
  text-decoration: none;
}

footer a:hover {
  color: var(--muted);
}

/* ── PROSE (Privacy, 404, etc.) ── */
.prose {
  max-width: 600px;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
}

.prose h1 {
  font-size: clamp(1.8rem, 7vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.prose .updated {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.prose h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.prose p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.prose ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.prose ul li {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  padding-left: 1.25rem;
  position: relative;
}

.prose ul li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--muted);
}

.prose a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 2px;
}

.prose a:hover {
  text-decoration-color: #fff;
}

/* ── 404 ── */
.four-oh-four {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.four-oh-four h1 {
  font-size: clamp(4rem, 15vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  opacity: 0.15;
}

.four-oh-four p {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 1rem 0 2rem;
}