/* ─────────────────────────────────────────────────────────────
   The System - Project Tempest
   Palette: near-black + purple + off-white.
   Purple and black, kept separate from the Society's bronze.
   ───────────────────────────────────────────────────────────── */

:root {
  --bg: #0F0F0F;
  --purple: #6E36A6;         /* solid elements, CTA */
  --purple-bright: #A66BD4;  /* accents, links, section labels */
  --text: #F5F5F0;
  --text-dim: #B8B4AC;
  --rule: rgba(139, 92, 200, 0.45);
  --border-subtle: rgba(139, 92, 200, 0.22);

  --max-width: 680px;
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

@media (min-width: 700px) {
  body { font-size: 18px; }
}

a {
  color: var(--purple-bright);
  text-decoration: none;
  border-bottom: 1px solid var(--border-subtle);
  transition: color 0.2s ease, border-color 0.2s ease;
}

a:hover,
a:focus {
  color: var(--text);
  border-color: var(--purple);
}

/* ── LAYOUT ─────────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 64px 0;
}

@media (min-width: 700px) {
  .section { padding: 84px 0; }
}

.rule {
  border: 0;
  height: 1px;
  background: var(--rule);
  max-width: var(--max-width);
  margin: 0 auto;
  width: calc(100% - 56px);
}

/* ── TYPE ───────────────────────────────────────────────────── */
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(3rem, 14vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.1em 0 0.35em;
}

h2 {
  font-size: clamp(1.7rem, 6vw, 2.4rem);
  margin-bottom: 0.9em;
}

h3 {
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 0.15em;
}

p {
  margin-bottom: 1.15em;
  color: var(--text-dim);
}

p:last-child { margin-bottom: 0; }

.section p,
.hero-lede { color: var(--text-dim); }

.emphasis {
  color: var(--text);
  font-weight: 600;
  font-size: 1.12em;
  line-height: 1.4;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 1.4em;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 1.6em;
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  padding: 88px 0 64px;
}

@media (min-width: 700px) {
  .hero { padding: 128px 0 96px; }
}

.hero-sub {
  font-size: clamp(1.25rem, 4.5vw, 1.6rem);
  font-weight: 500;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 1.4em;
}

.hero-lede {
  font-size: 1.05em;
  max-width: 40ch;
  margin-bottom: 2em;
}

/* ── PRICE ──────────────────────────────────────────────────── */
.price {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  margin: 0 0 1.6em;
}

.price-figure {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.price-note {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

/* ── CTA ────────────────────────────────────────────────────── */
.cta {
  display: inline-block;
  background: var(--purple);
  color: var(--text);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  padding: 16px 34px;
  border: 1px solid var(--purple);
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.cta:hover,
.cta:focus {
  background: var(--purple-bright);
  color: var(--bg);
  border-color: var(--purple-bright);
}

.cta:active {
  transform: translateY(1px);
}

/* ── CONTENTS LIST ──────────────────────────────────────────── */
.contents-list {
  margin: 0;
}

.contents-item {
  padding: 20px 0;
  border-top: 1px solid var(--border-subtle);
}

.contents-item:last-child {
  border-bottom: 1px solid var(--border-subtle);
}

.contents-item dt {
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--text);
  margin-bottom: 0.15em;
}

.contents-item dd {
  margin: 0;
  color: var(--text-dim);
}

/* ── FIGURES / PLACEHOLDERS ─────────────────────────────────── */
.figure {
  margin: 40px 0;
}

.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: repeating-linear-gradient(
    135deg,
    rgba(139, 92, 200, 0.05),
    rgba(139, 92, 200, 0.05) 12px,
    rgba(139, 92, 200, 0.09) 12px,
    rgba(139, 92, 200, 0.09) 24px
  );
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
}

.placeholder span {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-bright);
  text-align: center;
  padding: 1em;
}

.placeholder-wide {
  aspect-ratio: 3 / 2;
}

.figure figcaption {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

/* ── NOT LIST ───────────────────────────────────────────────── */
.not-list {
  list-style: none;
}

.not-list li {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  padding: 14px 0;
  border-top: 1px solid var(--border-subtle);
}

.not-list li:last-child {
  border-bottom: 1px solid var(--border-subtle);
}

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

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

.faq p {
  margin-bottom: 0;
}

/* ── FEEDBACK SCREENSHOTS ───────────────────────────────────── */
.shots {
  margin-top: 24px;
}

.shot {
  margin: 20px 0;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
}

.shot figcaption {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

/* ── FINAL CTA ──────────────────────────────────────────────── */
.final-cta {
  text-align: center;
}

.final-cta .price {
  justify-content: center;
}

.final-line {
  font-size: 1.2rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 0.6em;
}

.final-note {
  color: var(--text-dim);
  margin-bottom: 1.6em;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  padding: 56px 0 72px;
  border-top: 1px solid var(--rule);
}

.footer-brand {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 1.2em;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
}

.footer-nav a {
  color: var(--text-dim);
  border: none;
  font-size: 0.95rem;
}

.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--purple-bright);
}

/* ── COOKIE NOTICE (only shown if pixel fires) ──────────────── */
.cookie-notice {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #161616;
  border-top: 1px solid var(--rule);
  padding: 18px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: center;
  z-index: 50;
}

.cookie-notice p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-dim);
  max-width: 46ch;
}

.cookie-notice button {
  font-family: var(--font);
  background: var(--purple);
  color: var(--bg);
  border: none;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 9px 22px;
  border-radius: 2px;
  cursor: pointer;
}

.cookie-notice button:hover {
  background: var(--purple-bright);
}

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

/* ── SCROLL REVEAL ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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