/* ===== Claude Accord | Editorial Design ===== */

:root {
  --bg: #0a0a0a;
  --gold: #c9a96e;
  --gold-dim: rgba(201, 169, 110, 0.15);
  --gold-hover: #dfc08a;
  --text: #d4d4d4;
  --text-muted: #6a6a6a;
  --text-heading: #f0f0f0;
  --border: #1e1e1e;
  --surface: #111111;
  --danger: #c0392b;
  --success: #27ae60;
  --radius: 2px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body.landing {
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--gold-hover);
}

/* ===== Site Header ===== */

.site-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2vh 40px;
  border-bottom: 1px solid var(--gold);
  flex-shrink: 0;
}

.site-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--text-heading);
  letter-spacing: 0.08em;
}

.site-title em {
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
}

/* ===== Hero ===== */

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2vh 40px 6vh;
  min-height: 0;
  position: relative;
  padding-bottom: 8vh;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 900px;
  gap: clamp(24px, 5vh, 60px);
}

.tagline {
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  color: var(--text);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.tagline strong {
  font-weight: 800;
  color: var(--text-heading);
}

/* ===== Tier Buttons ===== */

.tier-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.tier-btn {
  background: transparent;
  border: 1px solid rgba(201, 169, 110, 0.4);
  color: var(--text);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(0.85rem, 1.5vw, 1.15rem);
  font-weight: 700;
  padding: clamp(10px, 1.5vh, 16px) clamp(20px, 3vw, 40px);
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.tier-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.tier-btn.selected {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

/* ===== CTA ===== */

.cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cta-btn {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 600;
  padding: clamp(12px, 1.5vh, 16px) clamp(36px, 5vw, 56px);
  cursor: pointer;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: var(--gold);
  color: var(--bg);
}

.cta-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--gold-hover);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 1px;
  margin-top: 4px;
  opacity: 0.7;
}

/* ===== Hero Footer ===== */

.hero-rule {
  width: 60px;
  height: 1px;
  background: var(--border);
  position: absolute;
  bottom: 5vh;
  left: 50%;
  transform: translateX(-50%);
}

.hero-footer {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
  position: absolute;
  bottom: 2vh;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.hero-footer a {
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.hero-footer a:hover {
  color: var(--gold);
}

/* ===== Modal ===== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 48px;
  max-width: 460px;
  width: 90%;
  position: relative;
}

.modal h2 {
  font-size: 2rem;
  font-weight: 400;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.modal-sub {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 36px;
  font-size: 1rem;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--text-heading);
}

.modal-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-option {
  display: flex;
  flex-direction: column;
  padding: 20px 24px;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
  text-decoration: none;
}

.modal-option:hover {
  border-color: var(--gold);
}

.option-label {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}

.modal-option:hover .option-label {
  color: var(--gold);
}

.option-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ===== Navigation (other pages) ===== */

nav {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-heading);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--gold);
  font-style: italic;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
  letter-spacing: 0.5px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-heading);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== Layout ===== */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Buttons (other pages) ===== */

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Cormorant Garamond', Georgia, serif;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--gold-hover);
  color: var(--bg);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--bg);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Cards / Features ===== */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  padding: 40px 0 80px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.2s;
}

.card:hover {
  border-color: var(--gold);
}

.card h3 {
  color: var(--text-heading);
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card .icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

/* ===== Tier Selection (other pages) ===== */

.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 40px 0;
}

.tier-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.tier-card:hover,
.tier-card.selected {
  border-color: var(--gold);
}

.tier-card.selected {
  background: var(--gold-dim);
}

.tier-card h3 {
  color: var(--text-heading);
  margin-bottom: 8px;
}

.tier-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.tier-card .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin: 16px 0;
}

/* ===== Forms ===== */

.form-container {
  max-width: 480px;
  margin: 60px auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.form-container h2 {
  color: var(--text-heading);
  margin-bottom: 8px;
  font-size: 1.6rem;
  font-weight: 500;
}

.form-container .subtitle {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-style: italic;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: var(--text);
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  color: var(--danger);
  font-size: 0.85rem;
  margin-top: 6px;
  display: none;
}

.form-error.visible {
  display: block;
}

/* ===== Email Capture ===== */

.email-capture {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  margin: 40px 0;
}

.email-capture h2 {
  color: var(--text-heading);
  margin-bottom: 8px;
}

.email-capture p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.email-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.email-form input {
  flex: 1;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
}

.email-form input:focus {
  outline: none;
  border-color: var(--gold);
}

/* ===== Blurred / Locked Content ===== */

.locked-content {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.locked-content .blur-overlay {
  filter: blur(6px);
  user-select: none;
  pointer-events: none;
}

.locked-content .lock-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(10, 10, 10, 0.92);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  z-index: 10;
}

.lock-message h3 {
  color: var(--text-heading);
  margin-bottom: 8px;
}

.lock-message p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ===== Alert / Toast ===== */

.alert {
  padding: 12px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 0.9rem;
  display: none;
}

.alert.visible {
  display: block;
}

.alert-success {
  background: rgba(39, 174, 96, 0.12);
  border: 1px solid var(--success);
  color: var(--success);
}

.alert-error {
  background: rgba(192, 57, 43, 0.12);
  border: 1px solid var(--danger);
  color: var(--danger);
}

/* ===== Sections ===== */

.section {
  padding: 60px 0;
}

.section h2 {
  color: var(--text-heading);
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 16px;
}

.section .section-sub {
  color: var(--text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
  font-style: italic;
}

/* ===== Static Pages ===== */

.static-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 20px;
}

.static-page h1 {
  color: var(--text-heading);
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 24px;
}

.static-page h2 {
  color: var(--text-heading);
  font-size: 1.4rem;
  font-weight: 500;
  margin: 32px 0 12px;
}

.static-page p {
  color: var(--text);
  margin-bottom: 16px;
}

.static-page ul {
  color: var(--text);
  margin-bottom: 16px;
  padding-left: 24px;
}

.static-page li {
  margin-bottom: 8px;
}

/* ===== Footer ===== */

footer:not(.hero-footer) {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

footer:not(.hero-footer) .footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

footer:not(.hero-footer) .footer-links a {
  color: var(--text-muted);
}

footer:not(.hero-footer) .footer-links a:hover {
  color: var(--gold);
}

/* ===== Responsive ===== */

@media (max-width: 768px) {
  .hero {
    padding: 2vh 20px 8vh;
  }

  .tier-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .tier-btn {
    text-align: center;
  }

  .site-header {
    padding: 1.5vh 20px;
  }

  .modal {
    padding: 32px 24px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 20px;
    gap: 16px;
  }

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

  .hamburger {
    display: block;
  }

  .email-form {
    flex-direction: column;
  }

  .form-container {
    margin: 30px 16px;
    padding: 24px;
  }

  .features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-footer a {
    font-size: 0.75rem;
  }
}

/* Phone landscape — allow scroll */
@media (max-height: 500px) {
  body.landing {
    height: auto;
    overflow: auto;
  }

  .hero {
    flex: none;
    padding: 24px 20px 8vh;
  }

  .hero-content {
    gap: 20px;
  }
}
