/* ==========================================
   POSTLOCAL — Warm editorial design system
   ========================================== */

/* --- CUSTOM PROPERTIES --- */
:root {
  --bg: #FAF7F2;
  --bg-alt: #F0EBE3;
  --fg: #1A1A1A;
  --fg-muted: #6B5E5E;
  --accent: #E86A33;
  --accent-light: #F4B89A;
  --accent-dark: #C4521A;
  --surface: #FFFFFF;
  --border: #E0D9CF;
  --warm-1: #F5EDE4;
  --warm-2: #EDD9C5;
  --warm-3: #E5C9B0;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 7rem;

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

  --shadow-sm: 0 2px 8px rgba(26,26,26,0.06);
  --shadow-md: 0 8px 28px rgba(26,26,26,0.10);
  --shadow-lg: 0 20px 60px rgba(26,26,26,0.13);
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 600;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

/* --- NAV --- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,247,242,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.logo-mark {
  color: var(--accent);
  font-size: 0.9rem;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

/* --- HERO --- */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-2xl) 2rem var(--space-xl);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: var(--space-xl);
}
.hero-overline {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--fg);
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-lede {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero-model {
  display: inline-block;
  background: var(--warm-1);
  border: 1px solid var(--warm-3);
  border-radius: 100px;
  padding: 0.75rem 1.5rem;
}
.model-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.model-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--fg);
}
.model-dot {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

/* --- PHONE MOCKUP --- */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.phone-mockup {
  position: relative;
  width: 240px;
}
.phone-bezel {
  background: var(--fg);
  border-radius: 32px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
}
.phone-screen {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  padding: 1rem;
}
.screen-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.screen-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-light), var(--warm-3));
  flex-shrink: 0;
}
.screen-name-block { flex: 1; }
.screen-name {
  width: 80px;
  height: 8px;
  background: var(--fg);
  border-radius: 4px;
  margin-bottom: 4px;
}
.screen-sub {
  width: 50px;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
}
.post-card { margin-bottom: 0.5rem; }
.post-img {
  width: 100%;
  height: 120px;
  border-radius: 10px;
  margin-bottom: 0.6rem;
}
.warm-food {
  background: linear-gradient(145deg, #F4C9A8 0%, #E8A87C 40%, #C46E3A 100%);
}
.post-caption { padding: 0 0.2rem; }
.caption-line {
  height: 6px;
  background: var(--fg);
  border-radius: 3px;
  margin-bottom: 4px;
}
.caption-line.short { width: 60%; }
.caption-line.medium { width: 85%; }
.caption-line.long { width: 95%; margin-bottom: 6px; }
.caption-tags {
  font-size: 0.6rem;
  color: var(--accent);
  letter-spacing: 0.03em;
}
.screen-footer {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: 0.5rem;
}
.icon-heart, .icon-comment, .icon-send, .icon-save {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--fg);
}
.icon-save { margin-left: auto; }

.calendar-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: var(--shadow-sm);
}
.chip-day {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}
.chip-day.active { color: var(--accent); }
.chip-dot {
  width: 5px;
  height: 5px;
  background: var(--accent-light);
  border-radius: 50%;
}
.chip-dot.active { background: var(--accent); }

.visual-caption {
  font-size: 0.72rem;
  color: var(--fg-muted);
  text-align: center;
  max-width: 220px;
  line-height: 1.4;
}

/* --- HERO STATS --- */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 2rem 2.5rem;
  background: var(--warm-1);
  border: 1px solid var(--warm-3);
  border-radius: var(--radius-xl);
}
.stat {
  flex: 1;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-desc {
  font-size: 0.78rem;
  color: var(--fg-muted);
  line-height: 1.4;
}
.stat-div {
  width: 1px;
  height: 50px;
  background: var(--warm-3);
  margin: 0 2rem;
  flex-shrink: 0;
}

/* --- PROOF --- */
.proof {
  background: var(--bg-alt);
  padding: var(--space-xl) 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.proof-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.proof-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}
.proof-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-top: 0.5rem;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.proof-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.proof-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.proof-icon {
  width: 40px;
  height: 40px;
  background: var(--warm-1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.proof-card h3 {
  font-size: 1.1rem;
  font-family: var(--font-display);
  margin-bottom: 0.75rem;
}
.proof-card p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.proof-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.proof-list li {
  font-size: 0.82rem;
  color: var(--fg-muted);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.4;
}
.proof-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* --- PROCESS --- */
.process {
  padding: var(--space-2xl) 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.process-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: var(--space-lg);
}
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step {
  flex: 1;
  background: var(--warm-1);
  border: 1px solid var(--warm-3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}
.step-connector {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  padding-top: 2rem;
  flex-shrink: 0;
}
.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 1rem;
}
.step-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.step-body p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.step-example {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.75rem 1rem;
}
.example-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 0.25rem;
}
.step-example p {
  font-size: 0.82rem;
  color: var(--fg-muted);
  margin-bottom: 0 !important;
}

/* --- PRICING --- */
.pricing {
  background: var(--fg);
  padding: var(--space-2xl) 2rem;
}
.pricing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.pricing-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--bg);
  margin-bottom: var(--space-lg);
  line-height: 1.15;
}
.pricing-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 3rem;
  text-align: left;
}
.price-tag {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.price-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.price-per {
  font-size: 1rem;
  color: var(--fg-muted);
}
.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.price-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}
.feature-icon {
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.7rem;
  flex-shrink: 0;
}
.price-clarity {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.price-clarity p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.6;
}
.pricing-note {
  margin-top: 2rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

/* --- PRICING TIERS (public /pricing page) --- */
.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.pricing-tier {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.pricing-tier.recommended {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-md);
  position: relative;
}
.tier-badge {
  position: absolute;
  top: -0.75rem;
  left: 1.5rem;
  background: var(--accent);
  color: white;
  border-radius: 100px;
  padding: 0.25rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-body);
}
.tier-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.5rem;
}
.tier-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.tier-price-unit {
  font-size: 0.95rem;
  color: var(--fg-muted);
  margin-bottom: 0.75rem;
}
.tier-audience {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  line-height: 1.5;
}
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: white;
  border-radius: 100px;
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 0.95rem;
  text-decoration: none;
  text-align: center;
  margin-top: auto;
  transition: background 0.2s ease;
}
.btn-primary:hover { background: var(--accent-dark); }

.pricing-faq {
  max-width: 800px;
  margin: var(--space-2xl) auto 0;
}
.pricing-faq h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
  margin-bottom: var(--space-lg);
}
.pricing-faq details {
  border-bottom: 1px solid var(--border);
}
.pricing-faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 1.25rem 0;
  font-size: 1.05rem;
  color: var(--fg);
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.pricing-faq summary::-webkit-details-marker { display: none; }
.pricing-faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 1.25rem;
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 400;
  line-height: 1;
}
.pricing-faq details[open] summary::after { content: '−'; }
.pricing-faq details > p {
  padding: 0 0 1.5rem;
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* --- CLOSING --- */
.closing {
  padding: var(--space-2xl) 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.closing-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.closing-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-style: italic;
  line-height: 1.3;
  color: var(--fg);
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.5rem;
}
.closing-quote blockquote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.closing-quote p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
}
.cta-block {
  background: var(--warm-1);
  border: 1px solid var(--warm-3);
  border-radius: var(--radius-xl);
  padding: 3rem;
}
.cta-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.cta-block h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.cta-block p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* --- FOOTER --- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  text-align: center;
  background: var(--bg-alt);
}
.footer-inner {
  max-width: 600px;
  margin: 0 auto;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
}
.footer-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--fg-muted);
}
.footer-sep { color: var(--border); }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-visual {
    order: -1;
  }
  .proof-grid {
    grid-template-columns: 1fr;
  }
  .process-steps {
    flex-direction: column;
    gap: 1rem;
  }
  .step-connector {
    padding: 0.5rem 0;
    justify-content: center;
    transform: rotate(90deg);
  }
  .closing-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
  }
  .stat-div {
    width: 60px;
    height: 1px;
    margin: 0;
  }
  .pricing-tiers { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero { padding: var(--space-xl) 1.5rem var(--space-lg); }
  .proof, .process, .closing { padding-left: 1.5rem; padding-right: 1.5rem; }
  .pricing { padding-left: 1.5rem; padding-right: 1.5rem; }
  .pricing-card { padding: 2rem 1.5rem; }
  .cta-block { padding: 2rem 1.5rem; }
  .price-num { font-size: 3rem; }
  .phone-mockup { transform: scale(0.85); }
}