/* 50 Shades of Jew — design system */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --ink: #1a0f0a;
  --ink-soft: #3d2a20;
  --muted: #7a5c4a;
  --paper: #f6efe6;
  --paper-2: #efe4d6;
  --surface: #fffaf4;
  --border: #d9c5b0;
  --accent: #7b1e2b;
  --accent-hot: #a81f34;
  --gold: #b8892c;
  --gold-soft: #e8c878;
  --good: #2f6b45;
  --warn: #9a5b12;
  --shadow: 0 18px 50px rgba(26, 15, 10, 0.12);
  --radius: 14px;
  --max: 1120px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(184, 137, 44, 0.14), transparent 60%),
    radial-gradient(900px 400px at 95% 0%, rgba(123, 30, 43, 0.10), transparent 55%),
    var(--paper);
  font-family: var(--font-body);
  line-height: 1.55;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hot); }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }
.mono { font-family: var(--font-mono); font-size: 0.88em; }

.container { width: min(var(--max), calc(100% - 2.4rem)); margin-inline: auto; }
.section { padding: 4.5rem 0; }
.section.tight { padding: 2.5rem 0; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: .8rem;
}
.section-label::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--gold);
}

/* Nav */
.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(246, 239, 230, 0.86);
  border-bottom: 1px solid rgba(217, 197, 176, 0.7);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 68px;
}
.brand {
  display: flex; align-items: center; gap: .7rem;
  color: inherit; text-decoration: none;
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 50%;
  background:
    conic-gradient(from 180deg, var(--accent), var(--gold), var(--accent-hot), var(--accent));
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.35);
}
.brand-mark span {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--paper);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  color: var(--accent);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.brand-text small { color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--accent); }
.nav-chip {
  font-size: .75rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  padding: .28rem .55rem;
  border-radius: 999px;
  font-family: var(--font-mono);
}

/* Buttons */
.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: .78rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
  min-height: 44px;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--accent);
  color: #fff8f4;
  box-shadow: 0 10px 24px rgba(123, 30, 43, 0.22);
}
.btn-primary:hover { background: var(--accent-hot); color: #fff; }
.btn-secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--ink);
}
.btn-secondary:hover { border-color: var(--ink-soft); color: var(--ink); }
.btn-gold {
  background: linear-gradient(135deg, #d4a33f, var(--gold));
  color: #1a1205;
  box-shadow: 0 10px 24px rgba(184, 137, 44, 0.25);
}
.btn-gold:hover { color: #1a1205; filter: brightness(1.03); }
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,.28);
  color: #fff;
}
.btn-sm { padding: .5rem .9rem; font-size: .9rem; min-height: 38px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none !important;
}

/* Hero */
.hero {
  padding: 4.8rem 0 3.2rem;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2.4rem;
  align-items: end;
}
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  margin-bottom: .4rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 38ch;
  margin-bottom: 1.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.4rem; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: .6rem 1.1rem;
  color: var(--muted);
  font-size: .9rem;
}
.hero-card {
  background: var(--ink);
  color: #f8efe6;
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(184,137,44,.35), transparent 70%);
}
.hero-card h3 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: .3rem;
}
.hero-card p { color: rgba(248,239,230,.78); }
.tier-pills { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1rem 0 1.2rem; }
.pill {
  border-radius: 999px;
  padding: .28rem .7rem;
  font-size: .78rem;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
}
.pill.gold { border-color: rgba(232,200,120,.4); color: var(--gold-soft); }

/* Cards / grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset;
}
.card h3 { font-size: 1.5rem; }
.card-kicker {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--gold);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .4rem;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.feature-list li {
  padding: .4rem 0 .4rem 1.3rem;
  position: relative;
  color: var(--ink-soft);
}
.feature-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: .8rem;
  top: .55rem;
}

/* Manifesto band */
.band {
  background: var(--ink);
  color: #f6efe6;
  border-radius: 28px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.band p { color: rgba(246,239,230,.78); max-width: 62ch; }
.band-accent {
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  right: -80px; top: -90px;
  background: radial-gradient(circle, rgba(168,31,52,.45), transparent 65%);
  pointer-events: none;
}

/* Vault / feed */
.vault-toolbar {
  display: flex; flex-wrap: wrap; gap: .75rem;
  align-items: center; justify-content: space-between;
  margin-bottom: 1.2rem;
}
.chip-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: .4rem .8rem;
  font-size: .85rem;
  cursor: pointer;
}
.chip.active, .chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.story-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  position: relative;
}
.story-card.locked {
  background:
    linear-gradient(180deg, rgba(246,239,230,.2), rgba(246,239,230,.85)),
    repeating-linear-gradient(135deg, var(--paper-2) 0 8px, var(--paper) 8px 16px);
}
.story-card h3 { font-size: 1.35rem; margin-bottom: .35rem; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  border-radius: 999px;
  padding: .18rem .55rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge-free { background: rgba(47,107,69,.12); color: var(--good); }
.badge-plus { background: rgba(184,137,44,.16); color: #8a6415; }
.badge-network { background: rgba(123,30,43,.12); color: var(--accent); }
.story-body { color: var(--ink-soft); flex: 1; }
.lock-overlay {
  margin-top: auto;
  padding-top: .9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}
.price-card.featured::after {
  content: "Most popular";
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: 999px;
}
.price {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  margin: .4rem 0;
}
.price span { font-size: 1rem; color: var(--muted); font-family: var(--font-body); }
.price-card .btn { margin-top: auto; }

/* Network */
.network-hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.4rem;
  align-items: stretch;
}
.profile-preview {
  display: grid;
  gap: .75rem;
}
.profile-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: .8rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: .85rem;
}
.avatar {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #3d1520);
}
.avatar.alt { background: linear-gradient(135deg, var(--gold), #6d4d14); }
.avatar.alt2 { background: linear-gradient(135deg, #2f5540, #143322); }
.tag-row { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .25rem; }
.tag {
  font-size: .72rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .12rem .45rem;
  color: var(--muted);
}
.paywall {
  border: 1px dashed rgba(123,30,43,.35);
  background:
    linear-gradient(180deg, rgba(123,30,43,.05), rgba(246,239,230,.8)),
    var(--surface);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
}
.paywall h3 { font-size: 1.8rem; }

/* Forms / account */
.form {
  display: grid;
  gap: .85rem;
  max-width: 420px;
}
.field { display: grid; gap: .35rem; }
.field label {
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  padding: .75rem .9rem;
  color: var(--ink);
  min-height: 44px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid rgba(123,30,43,.25);
  border-color: var(--accent);
}
.helper { font-size: .82rem; color: var(--muted); }
.alert {
  border-radius: 12px;
  padding: .85rem 1rem;
  border: 1px solid var(--border);
  background: var(--paper-2);
  color: var(--ink-soft);
}
.alert.ok { border-color: rgba(47,107,69,.3); background: rgba(47,107,69,.08); color: var(--good); }
.alert.warn { border-color: rgba(154,91,18,.35); background: rgba(154,91,18,.08); color: var(--warn); }
.alert.err { border-color: rgba(123,30,43,.35); background: rgba(123,30,43,.08); color: var(--accent); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: .4rem;
}
.footer-links { display: grid; gap: .4rem; }
.footer-links a { color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.disclaimer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: .82rem;
  max-width: 80ch;
}

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(26,15,10,.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-backdrop.open { display: flex; }
.modal {
  width: min(520px, 100%);
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}
.modal h3 { font-size: 1.7rem; }
.modal-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }

/* Age gate */
.age-gate {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15, 8, 5, .92);
  color: #f6efe6;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}
.age-gate.open { display: flex; }
.age-box {
  width: min(480px, 100%);
  background: #1d1210;
  border: 1px solid rgba(232,200,120,.25);
  border-radius: 20px;
  padding: 1.6rem;
  text-align: center;
}
.age-box h2 { color: #fff; font-size: 2rem; }
.age-box p { color: rgba(246,239,230,.78); }
.age-actions { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .network-hero, .pricing-grid, .grid-3, .footer-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .nav-links a.hide-sm { display: none; }
}
@media (max-width: 640px) {
  .container { width: min(var(--max), calc(100% - 1.4rem)); }
  .hero { padding-top: 2.8rem; }
  .nav { min-height: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn:hover { transition: none; transform: none; }
}
