:root {
  --bg: #f6f1ea;
  --gate-bg: #0b0f17;
  --gate-surface: #131b2b;
  --gate-border: rgba(148, 163, 184, 0.25);
  --gate-text: #e2e8f0;
  --gate-muted: #93a4bf;
  --ink: #1c1a18;
  --muted: #605852;
  --accent: #ff6b35;
  --accent-dark: #d9511d;
  --surface: #ffffff;
  --surface-alt: #f1e6db;
  --border: rgba(28, 26, 24, 0.15);
  --shadow: 0 30px 80px rgba(28, 26, 24, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #fff8ef 0%, var(--bg) 55%);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  padding: 32px 5vw 80px;
  background: linear-gradient(135deg, #ffe3d4, #fff9f2 60%, #f6f1ea 100%);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.logo {
  font-family: "Fraunces", serif;
  font-size: 20px;
  letter-spacing: 0.4px;
}

.nav-cta {
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 107, 53, 0.35);
}

.hero-content {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.hero-copy h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  margin: 12px 0 16px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--muted);
}

.subheadline {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 520px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0;
}

.btn {
  padding: 14px 22px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
}

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

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(28, 26, 24, 0.12);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 0.95rem;
  color: var(--muted);
}

/* QA styles removed — debug markup converted to HTML comment */

.hero-card {
  background: var(--surface);
  padding: 28px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-card h3 {
  margin-top: 0;
}

.price {
  font-size: 2.3rem;
  margin: 12px 0 6px;
  font-weight: 600;
}

.price-note {
  color: var(--muted);
  margin-top: 0;
}

.hero-card ul,
.feature ul,
.card ul {
  padding-left: 18px;
  color: var(--muted);
}

.section {
  padding: 80px 5vw;
}

.lead-magnet-section {
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.06) 0%,
    rgba(246, 241, 234, 0.8) 60%,
    rgba(255, 255, 255, 0.9) 100%
  );
  border-top: 1px solid rgba(255, 107, 53, 0.2);
  border-bottom: 1px solid rgba(255, 107, 53, 0.2);
  padding: 64px 20px;
}

.lead-magnet-headline {
  font-family: "Fraunces", serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  text-align: center;
}

.lead-magnet-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  text-align: center;
}

.lead-magnet-sub {
  color: #555;
  max-width: 500px;
  margin: 0 auto 24px;
  text-align: center;
}

.lead-magnet-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lead-magnet-row {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 460px;
}

.lead-magnet-input {
  flex: 1;
  padding: 12px 18px;
  border: 2px solid var(--border);
  border-radius: 999px;
  font-size: 1rem;
  font-family: "Space Grotesk", sans-serif;
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.2s ease;
}

.lead-magnet-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.lead-magnet-privacy {
  color: #999;
  font-size: 0.8rem;
  margin-top: 12px;
  text-align: center;
}

.lead-magnet-success {
  display: none;
  background: #e8f5e9;
  border-radius: 8px;
  padding: 24px;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.section.alt {
  background: var(--surface-alt);
}

.section-header {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-header h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 10px;
}

.section-header p {
  color: var(--muted);
  margin: 0;
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.modules-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.module-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 3px solid var(--accent);
}

.module-top {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.module-emoji {
  font-size: 1.6rem;
  line-height: 1;
}

.module-subtitle,
.module-count {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.module-count {
  display: inline-block;
  background: rgba(255, 107, 53, 0.1);
  color: var(--accent);
  border: 1px solid rgba(255, 107, 53, 0.25);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 4px;
}

.module-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.module-list li {
  padding-left: 20px;
  position: relative;
}

.module-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.85rem;
}

article,
.feature {
  background: var(--surface);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(28, 26, 24, 0.08);
}

.pricing {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--surface);
  padding: 28px;
  border-radius: 18px;
  border: 1px solid var(--border);
  position: relative;
}

.card.highlight {
  border: 1px solid rgba(255, 107, 53, 0.4);
  box-shadow: 0 30px 60px rgba(255, 107, 53, 0.16);
}

.guarantee {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.5rem;
  text-align: center;
}

.value-split {
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: -8px;
  margin-bottom: 20px;
}

.social-proof {
  font-size: 0.85rem;
  color: var(--muted, #888);
  margin: 0.5rem 0 1rem;
  font-style: italic;
}

.free-tag {
  background: #e8f5e9;
  color: #2f855a;
  border-radius: 999px;
  padding: 2px 10px;
  font-weight: 700;
  font-size: 0.75rem;
}

.paid-tag {
  background: rgba(255, 107, 53, 0.12);
  color: var(--accent);
  border-radius: 999px;
  padding: 2px 10px;
  font-weight: 700;
  font-size: 0.75rem;
}

.separator {
  color: var(--border);
}

.badge-row {
  position: absolute;
  top: -12px;
  right: 22px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.badge {
  position: absolute;
  top: -12px;
  right: 22px;
  background: var(--accent);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
}

.badge-row .badge {
  position: static;
}

.sample-drill {
  padding: 90px 5vw;
  background: #f8f5f0;
}

.sample-drill-inner {
  max-width: 720px;
  margin: 0 auto;
}

.sample-label {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 12px;
}

.sample-drill h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin: 0 0 10px;
}

.sample-subtitle {
  color: var(--muted);
  margin: 0 0 32px;
}

.drill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(28, 26, 24, 0.12);
}

.drill-header {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.drill-category,
.drill-difficulty,
.drill-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(28, 26, 24, 0.12);
}

.drill-category {
  background: rgba(255, 107, 53, 0.12);
  color: #b3411a;
  border-color: rgba(255, 107, 53, 0.25);
}

.drill-difficulty {
  background: #eef2f7;
  color: #3d4a5a;
}

.drill-time {
  background: #edf7f1;
  color: #2f855a;
  border-color: rgba(47, 133, 90, 0.2);
}

.drill-title {
  margin: 6px 0 16px;
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
}

.drill-section {
  margin-top: 22px;
}

.drill-section h4 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.drill-section p {
  color: var(--muted);
  margin: 0 0 12px;
}

.drill-answer pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 18px;
  border-radius: 12px;
  overflow-x: auto;
  border: 1px solid rgba(148, 163, 184, 0.2);
  margin: 12px 0;
}

.drill-answer code {
  font-family: "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", monospace;
  font-size: 0.9rem;
}

.answer-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.drill-rubric ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 10px;
}

.drill-rubric li {
  padding-left: 26px;
  position: relative;
  color: var(--muted);
}

.rubric-label {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.75rem;
  font-weight: 700;
  margin: 0;
}

.rubric-pass {
  color: #2f855a;
}

.rubric-flag {
  color: #c53030;
}

.rubric-pass + ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #2f855a;
  font-weight: 700;
}

.rubric-flag + ul li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 0;
  color: #c53030;
  font-weight: 700;
}

.drill-watermark {
  position: absolute;
  bottom: 16px;
  right: 18px;
  font-size: 4rem;
  font-weight: 700;
  color: rgba(28, 26, 24, 0.08);
  pointer-events: none;
}

.sample-cta {
  text-align: center;
  color: var(--muted);
  margin: 24px 0 0;
  font-size: 0.95rem;
}

.sample-cta a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
}

.creator-bio {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
}

.creator-avatar {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.creator-name {
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 0.25rem;
}

.creator-title {
  color: var(--text-muted, #888);
  font-size: 0.9rem;
  margin: 0 0 0.75rem;
}

.creator-linkedin {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.creator-linkedin:hover {
  text-decoration: underline;
}

.countdown {
  font-weight: 600;
  color: var(--accent, #e05c2a);
}

.presale-badge {
  background: var(--accent, #e05c2a);
  color: #fff;
}

.faq details {
  background: var(--surface);
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid var(--border);
  margin-bottom: 12px;
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
}

.cta-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.footer {
  padding: 30px 5vw 60px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    gap: 12px;
  }

  .hero {
    padding: 24px 6vw 60px;
  }

  .cta-panel {
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .creator-bio {
    flex-direction: column;
    text-align: center;
  }

  .lead-magnet-row {
    flex-direction: column;
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content,
.section-header,
.grid-3,
.grid-2,
.pricing {
  animation: riseIn 0.8s ease both;
}

/* Password gate removed — site is now publicly accessible */
