:root {
  --bg: #FDFAF4;
  --ink: #1A1A1A;
  --muted: #7A7268;
  --accent: #E8500A;
  --accent-light: #FFF0EB;
  --border: #E8E0D5;
  --tag-green: #1A7A4A;
  --tag-green-bg: #E8F5EE;
  --tag-red: #C0392B;
  --tag-red-bg: #FDECEA;
  --cream-dark: #EDE6DA;
  --text-light: #9A928A;
  --radius: 8px;
  --radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.brand-icon { color: var(--accent); font-size: 22px; }
.nav-meta {
  font-size: 13px;
  color: var(--muted);
  background: var(--accent-light);
  padding: 6px 14px;
  border-radius: 20px;
  color: var(--accent);
}

/* ── Hero ── */
.hero {
  padding: 80px 48px 100px;
  max-width: 1280px;
  margin: 0 auto;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 40px;
}
.hero-stat-row {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.stat-label { font-size: 12px; color: var(--muted); }
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ── Browser mockup ── */
.hero-visual { }
.browser-frame {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
}
.browser-bar {
  background: var(--cream-dark);
  padding: 12px 16px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); display: inline-block; }
.tool-ui { padding: 0; }
.tool-header { padding: 16px 20px 0; }
.platform-tabs { display: flex; gap: 4px; }
.ptab {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
}
.ptab.active {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}
.tool-settings {
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}
.setting-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.slabel { color: var(--text-light); }
.sval { font-weight: 600; color: var(--ink); font-family: 'DM Sans', monospace; }
.tag-w {
  background: var(--cream-dark);
  color: var(--ink);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
}
.upload-zone {
  padding: 20px;
  background: linear-gradient(135deg, #FDFAF4 0%, #FFF7F2 100%);
  text-align: center;
  border-top: 1px dashed var(--border);
}
.drop-icon { margin: 0 auto 10px; }
.drop-text { font-size: 14px; font-weight: 600; color: var(--ink); }
.drop-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }
.thumb-row {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 14px 0 10px;
}
.thumb {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: var(--cream-dark);
  border: 1px solid var(--border);
}
.thumb.done { background: var(--tag-green-bg); border-color: var(--tag-green); }
.thumb.active { background: var(--accent-light); border-color: var(--accent); animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.progress-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin: 8px 20px 0;
}
.progress-fill {
  height: 100%;
  width: 12%;
  background: var(--accent);
  border-radius: 2px;
}
.progress-label {
  font-size: 11px;
  color: var(--text-light);
  margin: 6px 20px 16px;
}

/* ── Section shared ── */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
}

/* ── Presets ── */
.presets { background: var(--ink); padding: 100px 48px; }
.presets-inner { max-width: 1100px; margin: 0 auto; }
.presets .section-label { color: var(--accent); }
.presets .section-title { color: #fff; }
.presets .section-sub { color: #9A928A; }
.preset-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 48px;
}
.preset-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 20px 16px;
  transition: all 0.2s ease;
}
.preset-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.preset-icon { margin-bottom: 12px; }
.preset-info h3 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}
.preset-spec {
  font-size: 11px;
  color: #9A928A;
  line-height: 1.5;
}

/* ── Features ── */
.features { padding: 100px 48px; }
.features-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.feature-list { display: flex; flex-direction: column; gap: 28px; margin-top: 36px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feat-dot { flex-shrink: 0; margin-top: 2px; }
.feat-text h4 { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.feat-text p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* Feature graphic — before/after */
.feature-graphic { display: flex; flex-direction: column; gap: 8px; }
.fg-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); }
.fg-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.fg-img { height: 140px; }
.fg-before .fg-img {
  background: linear-gradient(135deg, #D4C4A8 0%, #C9B99A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fg-img-raw::after {
  content: '';
  display: block;
  width: 80px;
  height: 60px;
  background: #B8A888;
  border-radius: 4px;
}
.fg-after .fg-img {
  background: linear-gradient(135deg, #F5F5F5 0%, #FFFFFF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fg-img-clean::after {
  content: '';
  display: block;
  width: 100px;
  height: 100px;
  border: 3px solid #F0F0F0;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-radius: 2px;
}
.fg-meta {
  padding: 10px 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
.fg-meta span { font-family: 'DM Sans', monospace; }
.tag-r { background: var(--tag-red-bg); color: var(--tag-red); padding: 3px 8px; border-radius: 4px; font-weight: 600; margin-left: auto; }
.tag-g { background: var(--tag-green-bg); color: var(--tag-green); padding: 3px 8px; border-radius: 4px; font-weight: 600; margin-left: auto; }
.fg-arrow { display: flex; justify-content: center; padding: 4px 0; }

/* ── How ── */
.how { background: var(--cream-dark); padding: 100px 48px; }
.how-inner { max-width: 1100px; margin: 0 auto; }
.how .section-title { text-align: center; }
.how .section-label { text-align: center; }
.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 60px;
}
.step { flex: 1; }
.step-num {
  font-family: 'Fraunces', serif;
  font-size: 56px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.3;
}
.step h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.step-connector {
  flex-shrink: 0;
  width: 60px;
  height: 2px;
  background: var(--border);
  margin-top: 28px;
  align-self: flex-start;
}

/* ── Manifesto ── */
.manifesto { padding: 100px 48px; background: var(--ink); }
.manifesto-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.manifesto blockquote {
  font-family: 'Fraunces', serif;
  font-size: clamp(22px, 2.5vw, 34px);
  font-style: italic;
  font-weight: 400;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 24px;
}
.manifesto-attr { font-size: 13px; color: var(--muted); }

/* ── Closing ── */
.closing { padding: 100px 48px; }
.closing-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.closing-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 32px;
}
.eyebrow-rule { flex: 1; max-width: 80px; height: 1px; background: var(--border); }
.closing-eyebrow span { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.closing-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 20px;
}
.closing-sub { font-size: 17px; color: var(--muted); line-height: 1.7; margin-bottom: 40px; }
.closing-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.cta-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 24px;
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
}
.cta-badge svg { color: var(--accent); }
.closing-tool-link { font-size: 15px; color: var(--muted); }
.closing-tool-link strong { color: var(--accent); }
.closing-waitlist {
  margin-top: 40px;
  padding: 28px 32px;
  background: var(--accent-light);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-lg);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.closing-waitlist-label {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 16px;
}
.closing-wl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s;
}
.closing-wl-btn:hover { background: #c44008; }

/* ── Footer ── */
.footer { padding: 60px 48px 40px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}
.footer-tagline { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.footer-note { font-size: 12px; color: var(--text-light); margin-bottom: 20px; }
.footer-links span { font-size: 13px; color: var(--accent); font-weight: 500; }

/* ── Waitlist Form ── */
.waitlist-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.wl-form { margin-top: 0; }
.wl-input-row {
  display: flex;
  gap: 8px;
  max-width: 460px;
}
.wl-email-input {
  flex: 1;
  padding: 12px 18px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}
.wl-email-input::placeholder { color: var(--text-light); }
.wl-email-input:focus { border-color: var(--accent); }
.wl-submit-btn {
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'DM Sans', system-ui, sans-serif;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.wl-submit-btn:hover { background: #c44008; }
.wl-submit-btn:active { transform: scale(0.97); }
.wl-submit-btn:disabled { opacity: 0.7; cursor: not-allowed; }
.spinner {
  width: 16px;
  height: 16px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.wl-success {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--tag-green);
  background: var(--tag-green-bg);
  border: 1px solid var(--tag-green);
  padding: 10px 16px;
  border-radius: 8px;
  max-width: 460px;
}
.wl-error {
  margin-top: 8px;
  font-size: 13px;
  color: var(--tag-red);
  max-width: 460px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .features-inner { grid-template-columns: 1fr; gap: 60px; }
  .preset-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-row { flex-direction: column; }
  .step-connector { display: none; }
  .nav { padding: 16px 24px; }
  .hero, .presets, .features, .how, .manifesto, .closing { padding: 60px 24px; }
}
@media (max-width: 480px) {
  .preset-grid { grid-template-columns: 1fr; }
  .hero-stat-row { flex-wrap: wrap; gap: 16px; }
  .closing-cta { flex-direction: column; align-items: center; }
}