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

:root {
  --ink: #0d0d0d;
  --paper: #f5f0e8;
  --cream: #ede7d6;
  --accent: #c8401a;
  --accent-light: #f5ede9;
  --muted: #7a7265;
  --border: #d4cfc6;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 48px;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.5px;
  color: var(--ink);
  text-decoration: none;
}

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

.nav-cta {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}
.nav-cta:hover { background: var(--accent); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-signin {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 9px 20px;
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
}
.nav-signin:hover { border-color: var(--ink); }

/* ── HERO ── */
.hero {
  padding: 140px 48px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  min-height: 100vh;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 45%;
  height: 100%;
  background: var(--cream);
  z-index: 0;
}

.hero-left { position: relative; z-index: 1; }
.hero-right { position: relative; z-index: 1; }

.hero-kicker {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-kicker::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -2px;
  color: var(--ink);
  margin-bottom: 32px;
}

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

.hero-subhead {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 420px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 16px 36px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover { background: var(--accent); }

.btn-text {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
}

/* ── HERO VISUAL ── */
.hero-visual {
  padding: 40px;
}

.mockup-card {
  background: white;
  border: 1px solid var(--border);
  box-shadow: 12px 12px 0 var(--ink);
  padding: 0;
  overflow: hidden;
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.3s;
}

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

.mockup-header {
  background: var(--ink);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mockup-dots { display: flex; gap: 6px; }
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: #ff5f56; }
.mockup-dot:nth-child(2) { background: #ffbd2e; }
.mockup-dot:nth-child(3) { background: #27c93f; }

.mockup-url {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-family: var(--sans);
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 2px;
  flex: 1;
}

.mockup-body {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mockup-item {
  background: var(--paper);
  border: 1px solid var(--border);
  overflow: hidden;
}

.mockup-thumb {
  height: 120px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--border) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.mockup-meta {
  padding: 12px;
}

.mockup-tag {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 2px 8px;
  display: inline-block;
  margin-bottom: 6px;
}

.mockup-title {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.mockup-rating {
  font-size: 11px;
  color: var(--accent);
  margin-top: 4px;
}

/* ── PAIN STRIP ── */
.pain-strip {
  background: var(--ink);
  color: var(--paper);
  padding: 24px 48px;
  display: flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
}

.pain-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  margin-right: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.pain-label::after {
  content: '';
  display: block;
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.2);
}

.pain-scroll {
  display: flex;
  gap: 48px;
  animation: ticker 18s linear infinite;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.pain-item {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: rgba(245,240,232,0.7);
  white-space: nowrap;
}
.pain-item strong {
  font-style: normal;
  font-weight: 700;
  color: var(--paper);
}

/* ── FEATURES ── */
.features {
  padding: 100px 48px;
}

.section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: end;
}

.section-number {
  font-family: var(--serif);
  font-size: 120px;
  font-weight: 900;
  color: var(--cream);
  line-height: 1;
  display: block;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
}

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

.section-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.feature-cell {
  background: var(--paper);
  padding: 48px 40px;
  position: relative;
  transition: background 0.2s;
}
.feature-cell:hover { background: var(--cream); }

.feature-num {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  margin-bottom: 20px;
  transition: color 0.2s;
}
.feature-cell:hover .feature-num { color: var(--accent); }

.feature-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.feature-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ── COMPARISON TABLE ── */
.comparison {
  padding: 100px 48px;
  background: var(--cream);
}

.comp-header {
  text-align: center;
  margin-bottom: 60px;
}

.comp-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.comp-subtitle {
  font-size: 16px;
  color: var(--muted);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border: 1px solid var(--border);
}

thead tr {
  background: var(--ink);
  color: var(--paper);
}

th {
  padding: 20px 28px;
  text-align: left;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

th:first-child { font-family: var(--serif); font-style: italic; font-size: 15px; text-transform: none; }
th:last-child { color: var(--accent); }

td {
  padding: 18px 28px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
}

td:first-child { font-weight: 500; }

.check { color: #1a7a1a; font-size: 18px; }
.cross { color: var(--border); font-size: 18px; }
.check-accent { color: var(--accent); font-size: 18px; font-weight: 700; }

tr:hover td { background: var(--paper); }

/* ── PERSONAS ── */
.personas {
  padding: 100px 48px;
}

.personas-header {
  text-align: center;
  margin-bottom: 64px;
}

.personas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.persona-card {
  padding: 40px 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
}
.persona-card:nth-child(3n) { border-right: none; }
.persona-card:nth-child(n+4) { border-bottom: none; }
.persona-card:hover { background: var(--cream); }

.persona-icon {
  font-size: 36px;
  margin-bottom: 20px;
  display: block;
}

.persona-role {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}

.persona-quote {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  font-style: italic;
}

/* ── CTA ── */
.cta-section {
  padding: 120px 48px;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: 'CATALOG';
  position: absolute;
  font-family: var(--serif);
  font-size: 220px;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}

.cta-title {
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
  position: relative;
}

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

.cta-sub {
  font-size: 18px;
  color: rgba(245,240,232,0.6);
  margin-bottom: 48px;
  position: relative;
}

.btn-cta {
  background: var(--accent);
  color: white;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 18px 48px;
  border: none;
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-cta:hover { background: #a83312; }

/* ── FOOTER ── */
footer {
  background: var(--paper);
  border-top: 1px solid var(--border);
  padding: 32px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}
.footer-logo span { color: var(--accent); }

.footer-note {
  font-size: 12px;
  color: var(--muted);
}

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-kicker { animation: fadeInUp 0.6s ease both; }
.hero-headline { animation: fadeInUp 0.6s ease 0.1s both; }
.hero-subhead { animation: fadeInUp 0.6s ease 0.2s both; }
.hero-actions { animation: fadeInUp 0.6s ease 0.3s both; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero::before { display: none; }
  nav { padding: 16px 24px; }
  .hero { padding: 120px 24px 60px; }
  .features-grid { grid-template-columns: 1fr; }
  .personas-grid { grid-template-columns: 1fr 1fr; }
  .persona-card:nth-child(3n) { border-right: 1px solid var(--border); }
  .persona-card:nth-child(2n) { border-right: none; }
  .persona-card:nth-child(n+4) { border-bottom: 1px solid var(--border); }
  .persona-card:nth-child(n+5) { border-bottom: none; }
  .comparison { padding: 60px 24px; }
  .section-header { grid-template-columns: 1fr; }
}

/* ── WAITLIST FORM ── */
.waitlist-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.waitlist-input {
  padding: 14px 20px;
  font-size: 16px;
  font-family: var(--font-sans);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  color: var(--text);
  width: 280px;
  outline: none;
  transition: border-color 0.2s;
}

.waitlist-input::placeholder {
  color: rgba(255,255,255,0.4);
}

.waitlist-input:focus {
  border-color: rgba(255,255,255,0.6);
}

.waitlist-message {
  margin-top: 16px;
  font-size: 15px;
  font-family: var(--font-sans);
  min-height: 24px;
}

.waitlist-message--success {
  color: #a8f0b8;
}

.waitlist-message--error {
  color: #f0a8a8;
}

@media (max-width: 600px) {
  .waitlist-form { flex-direction: column; align-items: center; }
  .waitlist-input { width: 100%; max-width: 320px; }
}
