/* =========================================
   DRAFTLY — Theme CSS
   Warm cream editorial aesthetic
   ========================================= */

:root {
  --cream: #FAF8F5;
  --cream-dark: #F2EDE6;
  --ink: #1E1B18;
  --ink-muted: #6B6560;
  --ink-faint: #9B8F82;
  --amber: #D4620A;
  --amber-light: #E8843A;
  --amber-faint: #FBF0E8;
  --white: #FFFFFF;
  --border: rgba(30, 27, 24, 0.08);
  --border-strong: rgba(30, 27, 24, 0.14);
  --radius: 12px;
  --radius-sm: 6px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Instrument Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; line-height: 1.15; }

/* =========================================
   HERO
   ========================================= */

.hero {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero-amber-band {
  background: linear-gradient(135deg, #D4620A 0%, #E8843A 50%, #D4620A 100%);
  height: 6px;
  width: 100%;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 48px 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
  border: 1.5px solid var(--amber);
  padding: 4px 12px;
  border-radius: 100px;
}

.hero-headline {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 24px;
  line-height: 1.05;
}

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

.hero-sub {
  font-size: 1.125rem;
  color: var(--ink-muted);
  margin-bottom: 32px;
  max-width: 440px;
  line-height: 1.65;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-price-tag {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-muted);
  background: var(--cream-dark);
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  padding: 0 24px;
}

.stat:first-child { padding-left: 0; }

.stat-num {
  font-family: 'Fraunces', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--ink-faint);
  line-height: 1.3;
}

.stat-div {
  width: 1px;
  height: 40px;
  background: var(--border-strong);
  flex-shrink: 0;
}

/* =========================================
   HERO VISUAL — DOC COMPARISON
   ========================================= */

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.doc-comparison {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
}

.doc-panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  position: relative;
  flex: 1;
}

.doc-panel--before {
  border: 1.5px dashed var(--border-strong);
  background: var(--cream);
  opacity: 0.7;
}

.doc-panel--after {
  border: 1.5px solid var(--amber);
  box-shadow: 0 4px 24px rgba(212, 98, 10, 0.12);
}

.doc-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}

.doc-label--before {
  color: var(--ink-faint);
  background: transparent;
}

.doc-label--after {
  color: var(--amber);
  background: var(--amber-faint);
}

.doc-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.doc-line {
  height: 8px;
  background: var(--cream-dark);
  border-radius: 4px;
  width: 100%;
}

.doc-line:nth-child(2) { width: 80%; }
.doc-line:nth-child(3) { width: 90%; }
.doc-line:nth-child(4) { width: 75%; }
.doc-line:nth-child(5) { width: 85%; }
.doc-line:nth-child(6) { width: 60%; }

.doc-arrow {
  position: absolute;
  right: -22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: var(--cream);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
}

.doc-after-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.doc-section { display: flex; flex-direction: column; gap: 6px; }

.doc-section-title {
  height: 10px;
  background: var(--amber);
  border-radius: 3px;
  width: 50%;
  opacity: 0.7;
}

.doc-section-title.short { width: 35%; }

.doc-section-body {
  height: 6px;
  background: var(--cream-dark);
  border-radius: 3px;
  width: 90%;
}

.doc-bullet {
  height: 5px;
  background: var(--cream-dark);
  border-radius: 3px;
}

.doc-bullet:nth-child(2) { width: 85%; }
.doc-bullet:nth-child(3) { width: 78%; }
.doc-bullet:nth-child(4) { width: 90%; }

.doc-badge {
  margin-top: 16px;
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-faint);
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(212, 98, 10, 0.2);
}

/* =========================================
   PROOF
   ========================================= */

.proof {
  background: var(--cream-dark);
  padding: 80px 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.proof-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 48px;
}

.proof-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}

.proof-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
}

.proof-quote {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: 16px;
}

.proof-attr {
  font-size: 0.8rem;
  color: var(--ink-faint);
}

.proof-stats-row {
  display: flex;
  justify-content: center;
  gap: 64px;
}

.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.proof-stat-n {
  font-family: 'Fraunces', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.proof-stat-l {
  font-size: 0.8rem;
  color: var(--ink-faint);
  text-align: center;
  max-width: 140px;
  line-height: 1.4;
}

/* =========================================
   FEATURES
   ========================================= */

.features {
  padding: 96px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.features-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--ink);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}

.feature-card:hover {
  box-shadow: 0 4px 24px rgba(30, 27, 24, 0.06);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--amber-faint);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.125rem;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* =========================================
   PROCESS
   ========================================= */

.process {
  background: var(--ink);
  padding: 96px 48px;
}

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

.process .section-tag {
  color: var(--amber-light);
}

.process-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: 64px;
  line-height: 1.2;
}

.process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
}

.step {
  flex: 1;
  max-width: 260px;
  text-align: center;
}

.step-num {
  width: 48px;
  height: 48px;
  background: var(--amber);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step-title {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--ink-faint);
  line-height: 1.6;
}

.step-connector {
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

.process-outro {
  font-size: 0.9rem;
  color: var(--ink-faint);
  font-style: italic;
  font-family: 'Fraunces', serif;
}

/* =========================================
   MANIFESTO
   ========================================= */

.manifesto {
  background: var(--cream-dark);
  padding: 96px 48px;
  border-top: 1px solid var(--border);
}

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

.manifesto-quote-mark {
  font-family: 'Fraunces', serif;
  font-size: 5rem;
  color: var(--amber);
  line-height: 0.5;
  margin-bottom: 24px;
  display: block;
  opacity: 0.6;
}

.manifesto-text {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-style: italic;
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: 28px;
  font-weight: 400;
}

.manifesto-sub {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* =========================================
   CLOSING
   ========================================= */

.closing {
  padding: 96px 48px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.closing-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--ink);
  margin-bottom: 20px;
}

.closing-sub {
  font-size: 1.1rem;
  color: var(--ink-muted);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.closing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 40px;
}

.closing-price-num {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--amber);
}

.closing-price-period {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  color: var(--ink-muted);
}

.closing-price-note {
  font-size: 0.95rem;
  color: var(--ink-faint);
  margin-left: 8px;
}

.closing-vision {
  font-size: 0.9rem;
  color: var(--ink-faint);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
  font-style: italic;
  font-family: 'Fraunces', serif;
}

.closing-cta {
  display: inline-block;
  background: var(--amber);
  color: var(--white);
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  margin-bottom: 28px;
  transition: background 0.15s;
}

.closing-cta:hover { background: #b8540a; }

/* =========================================
   FOOTER
   ========================================= */

.footer {
  background: var(--ink);
  padding: 40px 48px;
}

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

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--ink-faint);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  font-size: 0.8rem;
  color: var(--ink-faint);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-link:hover { color: var(--white); }

.footer-copy {
  font-size: 0.75rem;
  color: var(--ink-faint);
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 48px 24px 64px;
  }
  .hero-visual { order: -1; }
  .proof-items { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; gap: 32px; }
  .step-connector { width: 1px; height: 32px; }
  .proof-stats-row { flex-direction: column; gap: 32px; align-items: center; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .closing-price { flex-wrap: wrap; }
  .hero-stats { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .features, .process, .manifesto, .closing, .proof { padding: 64px 24px; }
  .hero-content { padding: 40px 24px 56px; }
  .footer { padding: 32px 24px; }
}
