/* ─── CSS Variables ──────────────────────────────────────────────────────────── */
:root {
  --bg: #0d0d0d;
  --bg-subtle: #141414;
  --bg-card: #181818;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);

  --text-primary: #f5f0e8;
  --text-secondary: #9a9080;
  --text-muted: #5a5248;

  --accent: #e8a045;          /* warm amber */
  --accent-glow: rgba(232, 160, 69, 0.15);
  --accent-dark: #c4862e;

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Satoshi', system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset + Base ───────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity var(--transition);
}

a:hover {
  opacity: 0.75;
}

strong {
  font-weight: 700;
  color: var(--text-primary);
}

em {
  font-style: italic;
  color: var(--accent);
}

/* ─── Nav ────────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  background: rgba(13, 13, 13, 0.85);
}

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

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo-dot {
  color: var(--accent);
}

.nav-cta {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  transition: color var(--transition), border-color var(--transition);
}

.nav-cta:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  opacity: 1;
}

/* ─── Hero ───────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Atmospheric glow behind headline */
.hero-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Subtle dot-grid texture */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-eyebrow {
  margin-bottom: 28px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(232, 160, 69, 0.1);
  border: 1px solid rgba(232, 160, 69, 0.25);
  border-radius: 100px;
  padding: 5px 14px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.hero-subhead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 48px;
}

/* ─── Form (shared) ──────────────────────────────────────────────────────────── */
.form-row {
  display: flex;
  gap: 10px;
  max-width: 480px;
}

.email-input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  min-width: 0; /* prevent flex overflow */
}

.email-input::placeholder {
  color: var(--text-muted);
}

.email-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 160, 69, 0.12);
}

.submit-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #0d0d0d;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 22px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.submit-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 160, 69, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn--light {
  background: var(--text-primary);
  color: var(--bg);
}

.submit-btn--light:hover {
  background: #e0dbd0;
  box-shadow: 0 6px 20px rgba(245, 240, 232, 0.2);
}

.btn-arrow {
  display: inline-block;
  transition: transform var(--transition);
}

.submit-btn:hover .btn-arrow {
  transform: translateX(3px);
}

.form-note {
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.form-feedback {
  margin-top: 12px;
  font-size: 0.875rem;
  min-height: 20px;
  transition: opacity var(--transition);
}

.form-feedback.success {
  color: #4ade80;
}

.form-feedback.error {
  color: #f87171;
}

/* ─── Value Props ────────────────────────────────────────────────────────────── */
.value-props {
  padding: 120px 24px;
  border-top: 1px solid var(--border);
}

.value-props-inner {
  max-width: 860px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 72px;
  max-width: 540px;
}

.props-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.prop {
  display: flex;
  gap: 40px;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  transition: border-color var(--transition);
}

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

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

.prop-number {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-muted);
  padding-top: 3px;
  flex-shrink: 0;
  width: 32px;
  font-style: italic;
}

.prop-content {
  flex: 1;
}

.prop-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.prop-desc {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 560px;
}

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

.faq-inner {
  max-width: 860px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-top: 1px solid var(--border);
  transition: border-color var(--transition);
}

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

.faq-item[open] {
  border-color: var(--border-hover);
}

/* Remove default browser disclosure triangle */
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; }

.faq-question {
  /* Instrument Serif for question text matches editorial voice */
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  /* Comfortable tap target on mobile */
  min-height: 48px;
  user-select: none;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--accent);
}

/* Custom chevron — rotates when open */
.faq-question::after {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%239a9080' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform var(--transition);
}

details[open] > .faq-question::after {
  transform: rotate(180deg);
}

details[open] > .faq-question {
  color: var(--accent);
}

.faq-answer {
  /* Animate open/close with max-height is unreliable for variable content;
     use padding fade instead — clean, no JS needed */
  padding: 0 0 32px;
  overflow: hidden;
}

.faq-answer p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 640px;
}

/* ─── CTA Section ────────────────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(160deg, #1a1506 0%, #0d0d0d 60%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 120px 24px;
}

.cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.cta-sub {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.cta-form .form-row {
  max-width: none;
}

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
.footer {
  padding: 32px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-muted);
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-copy a {
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
}

.footer-copy a:hover {
  color: var(--text-secondary);
  opacity: 1;
}

.footer-nav {
  display: flex;
  gap: 20px;
}

.footer-nav-link {
  font-size: 0.8125rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: color var(--transition);
}

.footer-nav-link:hover {
  color: var(--text-secondary);
  opacity: 1;
}

/* ─── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .hero {
    padding: 100px 20px 60px;
  }

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

  .submit-btn {
    justify-content: center;
  }

  .prop {
    flex-direction: column;
    gap: 12px;
  }

  .prop-number {
    width: auto;
  }

  .cta-form .form-row {
    flex-direction: column;
  }

  .value-props {
    padding: 80px 20px;
  }

  .faq {
    padding: 80px 20px;
  }

  .faq-question {
    font-size: 1.125rem;
    padding: 22px 0;
    /* Generous touch target on mobile */
    min-height: 56px;
  }

  .cta-section {
    padding: 80px 20px;
  }
}

/* ─── Scroll animations ──────────────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
