/* ===== CHOOSZY SHARED STYLES ===== */
/* Visual layer aligned with the chooszy-app: cream ground, gold accent,
   ink text, Playfair Display italic for editorial display, Inter for body,
   JetBrains Mono caps for eyebrow labels. The legacy class names (.hero,
   .belief, .edit, .pricing-section etc.) are preserved; only fonts and
   palette change. */

/* ---- WEBFONTS via Google Fonts (free) ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&display=swap');

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

/* Italics ARE used now (we removed the previous global ban). Em/i pick up
   Playfair italic by default below. */

/* Prevent orphaned single words on their own line */
h1, h2, h3, p { text-wrap: balance; }

/* "Chooszy" in paragraph text reads as plain ink, plain spacing. The
   joined gold OO is reserved for the wordmark image only. */
.oo {
  letter-spacing: normal;
  margin-right: 0;
  color: inherit;
}

:root {
  /* Core palette - matches chooszy-app's screen (white). */
  --bg: #ffffff;
  --bg-warm: rgba(212, 175, 55, 0.03);
  --bg-card: #ffffff;
  --text: #161412;
  --text-mid: #161412;
  --text-sub: #6b6760;
  --gold: #d4af37;
  --gold-soft: rgba(212, 175, 55, 0.4);
  --gold-pale: rgba(212, 175, 55, 0.08);
  --ink: #000;

  /* Legacy variable names preserved for cascade. They all point at the new
     palette so the existing rules just pick up gold/cream/ink. */
  --accent: var(--gold);
  --accent-pale: var(--gold-pale);
  --accent-light: rgba(212, 175, 55, 0.15);
  --accent-mid: rgba(212, 175, 55, 0.3);
  --teal: var(--gold);
  --teal-light: rgba(212, 175, 55, 0.1);
  --blaze: var(--gold);
  --ruby: var(--gold);
  --forest: var(--text);
  --border: rgba(17, 17, 17, 0.08);

  /* Fonts */
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --page-max: 720px;
  --page-pad: 28px;
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Editorial italic for emphasised words inside body copy and headlines. */
em, i {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
}

/* Drop the marketing-photo treatments — fully typographic now (matches
   the app's no-photography aesthetic). */
.hero-image-wrap,
.hero-image,
.hero-overlay,
.image-break,
.image-break-overlay,
.edit-featured-img,
.edit-card-img,
.article-hero-img,
picture {
  display: none !important;
}

/* Big editorial headlines use Playfair italic, like the app. */
.hero-headline,
.belief-text,
.problem-headline,
.app-headline,
.mirror-headline,
.mates-headline,
.cta-headline,
.edit-title,
.edit-card-title,
.edit-featured-content h3,
.article-headline,
.faq-q,
.pricing-headline,
.section-title,
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
}

/* Eyebrow labels — mono caps, gold (matches the app's pillar headers). */
.hero-label,
.problem-label,
.app-label,
.mirror-label,
.mates-label,
.edit-tag,
.edit-meta,
.edit-date,
.edit-read-time,
.edit-section-title,
.problem-stat-label,
.mirror-bar-label,
.mirror-visual-sub,
.pricing-card-label,
.section-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Section titles slightly italic-leaning where they used to be straight
   serif. */
.hero-payoff-line,
.problem-stat-number,
.belief-text em,
.hero-headline em {
  font-style: italic;
  font-family: var(--serif);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
}

::selection {
  background: var(--accent-pale);
  color: var(--accent);
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

.page {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease;
}

.nav.scrolled {
  border-bottom-color: rgba(0, 5, 0, 0.1);
}

.nav .nav-logo,
.nav .nav-logo:hover {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--forest);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav .nav-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav .nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav .nav-links li {
  list-style: none;
}

.nav .nav-links a,
.nav .nav-links a:hover {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.nav .nav-links a:hover { opacity: 1; }

/* ===== BURGER MENU ===== */
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
  position: relative;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--forest);
  margin: 5px 0;
  border-radius: 1px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
}

.nav-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger.open span:nth-child(2) {
  opacity: 0;
}
.nav-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-burger { display: block; }

  .nav .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 0;
    z-index: 105;
  }

  .nav .nav-links.open {
    display: flex;
  }

  .nav .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav .nav-links a,
  .nav .nav-links a:hover {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.08em;
    padding: 18px 0;
    display: block;
    opacity: 0.7;
  }

  .nav .nav-links a:hover {
    opacity: 1;
  }
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 80px;
  position: relative;
  overflow: hidden;
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.08);
  transition: transform 8s var(--ease-smooth);
}

.hero-image.loaded {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.25) 40%,
    rgba(255, 255, 255, 0.82) 65%,
    rgba(255, 255, 255, 1) 85%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 10vw, 80px);
  line-height: 1.0;
  letter-spacing: -2px;
  color: var(--text);
  margin-bottom: 12px;
}

.hero-headline .line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: heroReveal 1s var(--ease-smooth) forwards;
}

.hero-headline .line:nth-child(2) {
  animation-delay: 0.15s;
}

.hero-payoff {
  font-family: var(--serif);
  font-weight: 300;
  font-style: normal;
  font-size: clamp(48px, 10vw, 80px);
  line-height: 1.0;
  letter-spacing: -2px;
  color: var(--accent);
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 1s var(--ease-smooth) 0.4s forwards;
}

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== BELIEF ===== */
.belief {
  padding: 120px 0 0;
  position: relative;
}

.belief-text {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(26px, 4.5vw, 38px);
  line-height: 1.45;
  color: var(--text);
  letter-spacing: -0.5px;
  word-spacing: 0.05em;
}

.belief-text .word {
  display: inline;
  opacity: 0;
  filter: blur(4px);
  transition: opacity 0.5s var(--ease-out), filter 0.5s var(--ease-out);
}

.belief-text .word.visible {
  opacity: 1;
  filter: blur(0);
}

/* ===== SECTION BREAKS ===== */
.section-break {
  padding: 140px 0 0;
}

.section-break-line {
  width: 48px;
  height: 1px;
  background: var(--accent-light);
  margin-bottom: 48px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease-smooth);
}

.section-break-line.visible {
  transform: scaleX(1);
}

/* ===== THE EDIT (shared) ===== */
.edit-section {
  padding: 0 0 140px;
}

.edit-section-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(40px, 7vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--text);
  margin-bottom: 20px;
}

.edit-section-desc {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-mid);
  max-width: 680px;
  margin-bottom: 32px;
}

.edit-signup {
  display: flex;
  gap: 12px;
  max-width: 440px;
  margin-bottom: 8px;
}
.edit-signup-input {
  flex: 1;
  font-family: var(--sans);
  font-size: 14px;
  padding: 12px 16px;
  border: 1px solid rgba(0, 5, 0, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s;
}
.edit-signup-input:focus {
  border-color: var(--text);
}
.edit-signup-input::placeholder {
  color: var(--text-mid);
  opacity: 0.6;
}
.edit-signup-btn {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 12px 24px;
  background: var(--forest);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.3s;
}
.edit-signup-btn:hover {
  opacity: 0.85;
}
.edit-signup-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.edit-signup-msg {
  font-size: 13px;
  margin-bottom: 48px;
  font-weight: 500;
  color: var(--forest);
}
@media (max-width: 600px) {
  .edit-signup { flex-direction: column; }
  .edit-signup-btn { width: 100%; }
}

.edit-featured {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 0;
  border: 1px solid var(--border);
  margin-bottom: 20px;
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
  display: block;
  overflow: hidden;
}

.edit-featured-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.edit-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.edit-featured:hover .edit-featured-img img {
  transform: scale(1.03);
}

.edit-featured-body {
  padding: 40px 44px 44px;
}

.edit-featured:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(28, 24, 21, 0.06);
  text-decoration: none;
}

.edit-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.edit-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  background: var(--accent-pale);
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.edit-date {
  font-size: 14px;
  color: var(--text-sub);
}

.edit-read-time {
  font-size: 13px;
  color: var(--text-sub);
  opacity: 0.7;
}

.edit-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 22px;
}

.edit-excerpt {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 32px;
}

.edit-author {
  font-size: 14px;
  color: var(--text-sub);
}

.edit-author strong {
  font-weight: 600;
  color: var(--text-mid);
}

.edit-cta {
  font-size: 15px;
  font-weight: 600;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.25s var(--ease-smooth);
}

.edit-cta:hover {
  gap: 14px;
  text-decoration: none;
}

.edit-archive {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.edit-archive-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px;
  transition: border-color 0.3s, transform 0.3s var(--ease-smooth), box-shadow 0.3s;
  display: block;
}

.edit-archive-item:hover {
  border-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(28, 24, 21, 0.04);
  text-decoration: none;
}

.edit-archive-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.edit-archive-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-sub);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.edit-archive-date {
  font-size: 13px;
  color: var(--text-sub);
}

.edit-archive-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 21px;
  line-height: 1.3;
  color: var(--text);
}

/* ===== APP SECTION ===== */
.app-section {
  padding: 0 0 140px;
}

.app-headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1.12;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 24px;
}

.app-sub {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-mid);
  max-width: 520px;
  margin-bottom: 56px;
}

.app-features {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.app-feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s;
}

.app-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(28, 24, 21, 0.05);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-pale);
  border: 1px solid var(--accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.feature-title {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 20px;
  color: var(--text);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-mid);
}

/* ===== CTA ===== */
.cta-section {
  padding: 80px 0 120px;
  text-align: center;
}

.cta-headline {
  font-family: var(--serif);
  font-weight: 300;
  font-style: normal;
  font-size: clamp(40px, 8vw, 64px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--forest);
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 18px;
  color: var(--text-mid);
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text);
  color: var(--bg);
  font-size: 16px;
  font-weight: 600;
  padding: 18px 36px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-smooth), box-shadow 0.2s;
  text-decoration: none;
  font-family: var(--sans);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(28, 24, 21, 0.15);
  text-decoration: none;
}

.btn-primary svg {
  width: 20px;
  height: 20px;
}

.trust-line {
  font-size: 14px;
  color: var(--text-sub);
  margin-top: 28px;
}

/* ===== SHARED SITE CTA ===== */
.site-cta {
  padding: 100px 40px;
  text-align: center;
  background: var(--bg-warm);
}

.site-cta-inner {
  max-width: 520px;
  margin: 0 auto;
}

.site-cta-headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.2;
  color: var(--forest);
  margin-bottom: 16px;
}

.site-cta-headline em {
  font-style: normal;
  color: var(--teal);
}

.site-cta-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--forest);
  opacity: 0.55;
  margin-bottom: 36px;
}

.site-cta-form {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.site-cta-input {
  flex: 1;
  font-family: var(--sans);
  font-size: 15px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--forest);
  outline: none;
  transition: border-color 0.3s;
}

.site-cta-input:focus {
  border-color: var(--forest);
}

.site-cta-input::placeholder {
  color: var(--text-sub);
  opacity: 0.6;
}

.site-cta-btn {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border: none;
  border-radius: 12px;
  background: var(--forest);
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.3s, transform 0.2s;
}

.site-cta-btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.site-cta-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.site-cta-msg {
  font-size: 14px;
  margin-top: 12px;
  font-weight: 500;
}

.site-cta-msg.success { color: var(--forest); }
.site-cta-msg.error { color: var(--ruby); }

.site-cta-or {
  font-size: 13px;
  color: var(--forest);
  opacity: 0.3;
  margin: 20px 0;
}

.site-cta-insta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  background: var(--forest);
  color: #fff;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: opacity 0.3s, transform 0.2s;
}

.site-cta-insta:hover {
  opacity: 0.85;
  transform: translateY(-1px);
  text-decoration: none;
  color: #fff;
}

.site-cta-insta svg {
  width: 18px;
  min-width: 18px;
  max-width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .site-cta { padding: 80px 24px; }
  .site-cta-form { flex-direction: column; }
  .site-cta-btn { width: 100%; }
}

/* ===== ARTICLE PAGE ===== */
.article-hero-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 48px;
}

.article-header {
  padding: 120px 0 0;
}

.article-back {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-mid);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 48px;
  transition: color 0.2s, gap 0.2s;
}

.article-back:hover {
  color: var(--teal);
  gap: 10px;
  text-decoration: none;
}

.article-headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 24px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 36px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.article-body {
  padding-bottom: 80px;
}

.article-body p {
  font-size: 18px;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 28px;
}

.article-body p:first-child {
  font-size: 20px;
  line-height: 1.8;
  color: var(--text);
}

.article-body .article-sources {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-sub);
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 48px;
}

/* Next article suggestion */
.next-read {
  border-top: 1px solid var(--border);
  padding: 48px 0 80px;
}

.next-read-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-sub);
  margin-bottom: 20px;
}

.next-read-link {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.25;
  color: var(--text);
  display: block;
  transition: color 0.2s;
}

.next-read-link:hover {
  color: var(--teal);
  text-decoration: none;
}

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 48px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  font-size: 14px;
  font-style: normal;
  color: var(--text-sub);
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 14px;
  font-style: normal;
  color: var(--text-sub);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--teal); }

/* ===== SCROLL ANIMATIONS ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(3px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out), filter 0.8s var(--ease-out);
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

[data-reveal="stagger-1"] { transition-delay: 0s; }
[data-reveal="stagger-2"] { transition-delay: 0.12s; }
[data-reveal="stagger-3"] { transition-delay: 0.24s; }
[data-reveal="stagger-4"] { transition-delay: 0.36s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 680px) {
  :root {
    --page-pad: 22px;
  }

  .nav { padding: 16px 24px; }
  .nav-links { display: none; }

  .hero { min-height: 90vh; padding-bottom: 60px; }
  .hero-headline, .hero-payoff { font-size: clamp(40px, 10vw, 64px); }

  .belief { padding: 80px 0 0; }
  .section-break { padding: 100px 0 0; }

  .edit-section-title { letter-spacing: -1px; }
  .edit-featured-body { padding: 28px 28px 32px; }
  .edit-archive { grid-template-columns: 1fr; }

  .app-features { grid-template-columns: 1fr; gap: 14px; }
  .app-feature { padding: 28px 24px; }

  .article-header { padding-top: 100px; }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ===== APP-ALIGNED VISUAL OVERRIDES (final cascade layer) ===== */
/* These rules sit at the end so they win the cascade against earlier
   explicit non-italic + legacy palette rules. */

/* Big editorial headlines pick up Playfair italic. */
.hero-payoff,
.hero-payoff-line,
.cta-headline,
.problem-headline,
.app-headline,
.mirror-headline,
.mates-headline,
.belief-text,
.edit-title,
.section-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
}

/* Site CTA emphasised words stay italic gold. */
.site-cta-headline em,
.cta-headline em,
.belief-text em,
.problem-headline em,
.hero-headline em {
  font-style: italic;
  font-family: var(--serif);
  color: var(--text);
}

/* Hero label / problem label etc. Mono caps gold. */
.hero-label,
.problem-label,
.app-label,
.mirror-label,
.mates-label,
.section-eyebrow,
.edit-tag {
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* The hero-be (the "BE " in "BE Chooszy") — italic Playfair, ink. */
.hero-be {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
}

/* Buttons / CTAs — match the app's dark-on-cream language with gold hover. */
.hero-cta,
.cta-btn,
.cta-btn-primary,
.mirror-cta,
.edit-link,
.pricing-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--text);
  color: #f4f1ea;
  border: 1px solid var(--text);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}
.hero-cta:hover,
.cta-btn:hover,
.cta-btn-primary:hover,
.mirror-cta:hover,
.edit-link:hover,
.pricing-cta:hover {
  background: var(--gold);
  color: var(--text);
  border-color: var(--gold);
  text-decoration: none;
}

/* Secondary CTA variant */
.cta-btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
}
.cta-btn-secondary:hover {
  background: var(--text);
  color: #f4f1ea;
}

/* Cards - white, with subtle gold accent border. Matches the app's
   pillar cards. FAQ items are intentionally NOT cards: they sit as
   plain typography separated by a hairline rule. */
.edit-card,
.edit-featured,
.mates-card,
.companion-card,
.pricing-card {
  background: var(--bg-card);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-left: 3px solid var(--gold);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(20, 18, 14, 0.04);
}

/* FAQ - no container, no border-left. Plain typography. */
.faq-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 0;
  box-shadow: none;
  padding: 1.6rem 0;
}
.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; }

/* Edit card titles — italic Playfair (matches Pillar card titles in app) */
.edit-card-title,
.edit-featured-content h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--text);
}

/* Mirror visual cards — cream tint, gold accent border */
.mirror-bar-fill { background: var(--gold); }
.mirror-bar { background: rgba(212, 175, 55, 0.15); }
.mirror-point-dot { background: var(--gold); }
.mirror-visual { background: var(--bg-card); border: 1px solid var(--gold-soft); border-radius: 14px; }
.mirror-visual-title { font-family: var(--serif); font-style: italic; }

/* App feature dots */
.app-feature-dot { background: var(--gold); }

/* Waitlist form — match the app's input + button aesthetic */
.waitlist-input,
.edit-signup-input {
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 8px;
  font-family: var(--sans);
  color: var(--text);
}
.waitlist-input:focus,
.edit-signup-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-pale);
}
.waitlist-btn,
.edit-signup-btn {
  background: var(--text);
  color: #f4f1ea;
  border: 1px solid var(--text);
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}
.waitlist-btn:hover,
.edit-signup-btn:hover {
  background: var(--gold);
  color: var(--text);
}

/* Body fallback for the page */
body {
  background: var(--bg) !important;
  color: var(--text);
  font-family: var(--sans);
}

/* Long-form article body (per /edit/) - Inter to match the app body, with
   Playfair italic reserved for emphasis (the same pattern the app uses for
   pillar headers and emphasised words). */
.article-body,
.article-body p {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
}
.article-body {
  max-width: 640px;
  margin: 0 auto;
}
.article-body em {
  font-style: italic;
}
.article-headline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text);
}

/* Footer — clean cream with mono caps links matching the app footer. */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  color: var(--text-sub);
}
.footer-links a {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-sub);
}
.footer-links a:hover {
  color: var(--gold);
  text-decoration: none;
}

/* Nav — keep clean, gold accent on hover */
.nav .nav-links a:hover {
  color: var(--gold);
  opacity: 1;
}

/* ============================================================
   /edit/ article restyle - editorial pass.
   Bigger italic Playfair headline, mono dateline with gold dot
   separators, drop cap on first paragraph (italic Playfair gold),
   body capped at 65ch, end-mark "§" after the body. Higher
   specificity / source-order wins against the older article rules.
   ============================================================ */

/* Dateline rail (Edit-tag / date / read-time). Reset the rounded "tag"
   pill to a clean mono uppercase label. Gold dot separators between
   adjacent meta items. */
.article-header .edit-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 32px;
  padding-bottom: 0;
  border-bottom: 0;
}
.article-header .edit-tag,
.article-header .edit-date,
.article-header .edit-read-time {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: transparent;
  padding: 0;
  border-radius: 0;
  opacity: 1;
}
.article-header .edit-tag { color: var(--gold); }
.article-header .edit-date,
.article-header .edit-read-time {
  color: var(--text-sub);
  font-weight: 500;
}
.article-header .edit-meta > * + *::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  margin: 0 14px;
  vertical-align: 2px;
}

/* Headline — italic Playfair, larger. */
.article-header .article-headline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 28px;
  max-width: 18ch;
  text-wrap: balance;
}

/* Author byline — tighter, mono uppercase. */
.article-header .article-meta-bar {
  padding-bottom: 28px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.article-header .edit-author {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-sub);
}
.article-header .edit-author strong {
  font-weight: 600;
  color: var(--text);
}

/* Body — capped at 65ch, generous line-height for long-form reading. */
.page > .article-body {
  max-width: 65ch;
  margin: 0 auto;
}
.article-body p {
  font-size: 19px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 24px;
}
.article-body p:first-of-type {
  font-size: 20px;
}

/* Drop cap on the first paragraph's first letter. */
.article-body p:first-of-type::first-letter {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 5.4em;
  line-height: 0.82;
  float: left;
  padding: 0.07em 0.12em 0 0;
  color: var(--gold);
  letter-spacing: -0.04em;
}

/* Pillar-link + sources keep their muted role at the end. */
.article-body .article-pillar-link {
  font-style: italic;
  color: var(--text-sub);
  margin-top: 48px;
  margin-bottom: 12px;
}
.article-body .article-sources {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-sub);
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 24px;
  text-transform: none;
  opacity: 1;
}

/* End mark — gold "§" centered after the article body. */
.article-body::after {
  content: '§';
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 28px;
  color: var(--gold);
  text-align: center;
  margin: 56px 0 0;
}
