/* ============================================================
   Storefront Digital — marketing site
   Palette + type from the Storefront Digital sales one-sheeter.
   Section structure mirrors charltonbleecker.com (nav, dark hero,
   light/dark alternating sections, numbered process, contact split).
   ============================================================ */

:root {
  --ink: #1C1917;
  --accent: #C2542D;
  --paper: #FFFFFF;
  --warm-bg: #F3F1EE;
  --card-dark: #262220;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow.on-dark { color: var(--accent); }
.eyebrow.on-light { color: var(--accent); }

h1, h2, h3 { letter-spacing: -0.015em; font-weight: 800; }

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: 30px; line-height: 1.25; margin-bottom: 12px; }
.section-head p { font-size: 15.5px; color: rgba(28,25,23,0.65); }
.section-head.on-dark h2 { color: var(--paper); }
.section-head.on-dark p { color: rgba(255,255,255,0.6); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 28px;
  border-radius: 6px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: opacity 0.15s ease;
}
.btn:hover { opacity: 0.85; }
.btn-solid { background: var(--accent); color: var(--paper); }
.btn-outline-dark { border-color: rgba(255,255,255,0.35); color: var(--paper); }
.btn-outline-light { border-color: rgba(28,25,23,0.25); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--paper); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(28,25,23,0.08);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo svg { width: 26px; height: 26px; }
.nav-logo .word { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.nav-logo .word span { font-weight: 500; color: rgba(28,25,23,0.55); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(28,25,23,0.7);
}
.nav-links a:hover { color: var(--accent); }
.nav-cta { display: none; }
@media (min-width: 860px) { .nav-cta { display: inline-flex; } }
.nav-mobile-cta { display: inline-flex; }
@media (min-width: 860px) { .nav-mobile-cta { display: none; } }

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  min-height: 84vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 60px 24px;
  position: relative;
}
.hero .eyebrow { color: var(--accent); }
.hero h1 {
  color: var(--paper);
  font-size: 46px;
  line-height: 1.2;
  max-width: 780px;
  margin-bottom: 20px;
}
.hero h1 .accent-dot { color: var(--accent); }
.hero p.lead {
  color: rgba(255,255,255,0.6);
  font-size: 17px;
  max-width: 520px;
  margin-bottom: 34px;
}
.hero .btn-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* ---------- Generic section ---------- */
section.block { padding: 88px 0; }
section.block.on-dark { background: var(--ink); }
section.block.on-warm { background: var(--warm-bg); }

/* ---------- What We Do ---------- */
.what-we-do-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.what-we-do-grid p.body-copy { font-size: 15.5px; color: rgba(28,25,23,0.68); margin-bottom: 14px; }

.compare-card {
  border: 1px solid rgba(28,25,23,0.12);
  border-radius: 8px;
  padding: 22px;
  background: var(--paper);
}
.compare-row { display: grid; grid-template-columns: 1fr 34px 1fr; align-items: center; gap: 8px; }
.browser { border: 1px solid rgba(28,25,23,0.14); border-radius: 6px; overflow: hidden; }
.browser .chrome { background: var(--warm-bg); padding: 7px 10px; display: flex; gap: 5px; border-bottom: 1px solid rgba(28,25,23,0.1); }
.browser .chrome span { width: 6px; height: 6px; border-radius: 50%; background: rgba(28,25,23,0.22); display: block; }
.browser .body { padding: 14px; height: 90px; }
.b-before .body { background: repeating-linear-gradient(135deg, #EDEAE5, #EDEAE5 6px, #E4E0D9 6px, #E4E0D9 12px); }
.b-before .bar { height: 7px; background: rgba(28,25,23,0.18); border-radius: 2px; margin-bottom: 7px; }
.b-before .bar.w60 { width: 60%; } .b-before .bar.w80 { width: 80%; } .b-before .bar.w40 { width: 40%; }
.b-after .body { background: var(--paper); }
.b-after .bar { height: 7px; border-radius: 2px; margin-bottom: 9px; }
.b-after .bar.accent { background: var(--accent); width: 34%; }
.b-after .bar.dark { background: rgba(28,25,23,0.85); width: 70%; height: 11px; }
.b-after .bar.light { background: rgba(28,25,23,0.18); width: 88%; }
.arrow { text-align: center; color: rgba(28,25,23,0.35); font-size: 18px; }
.compare-caption { text-align: center; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(28,25,23,0.4); margin-top: 12px; }

/* ---------- What's Included (dark card grid) ---------- */
.included-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.included-card {
  border: 1px solid rgba(255,255,255,0.12);
  background: var(--card-dark);
  border-radius: 6px;
  padding: 24px;
}
.included-card .idx { font-size: 12px; font-weight: 800; color: var(--accent); letter-spacing: 0.06em; margin-bottom: 10px; }
.included-card h3 { color: var(--paper); font-size: 16px; margin-bottom: 8px; }
.included-card p { color: rgba(255,255,255,0.55); font-size: 13.5px; line-height: 1.55; }

/* ---------- Pricing ---------- */
.tier-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.tier-card { border: 1px solid rgba(28,25,23,0.14); border-radius: 6px; padding: 24px 22px; background: var(--paper); }
.tier-card.featured { border-color: var(--accent); border-width: 1.5px; }
.tier-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(28,25,23,0.5); margin-bottom: 12px; }
.tier-price { font-size: 26px; font-weight: 800; margin-bottom: 12px; }
.tier-desc { font-size: 13px; color: rgba(28,25,23,0.65); line-height: 1.55; }
.retainer-line {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; background: var(--paper); border: 1px solid rgba(28,25,23,0.1); border-radius: 6px; margin-bottom: 14px;
}
.retainer-line .rt-label { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.retainer-line p { font-size: 12.5px; color: rgba(28,25,23,0.6); }
.retainer-line .rt-price { font-size: 18px; font-weight: 800; white-space: nowrap; }
.retainer-line .rt-price span { font-size: 11.5px; font-weight: 500; color: rgba(28,25,23,0.5); }
.not-offered { font-size: 12.5px; color: rgba(28,25,23,0.5); font-style: italic; }

/* ---------- How It Works (numbered process row) ---------- */
.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-step { border-top: 2px solid var(--accent); padding-top: 18px; }
.process-step .num { font-size: 13px; font-weight: 800; color: var(--accent); margin-bottom: 10px; }
.process-step h3 { font-size: 15px; margin-bottom: 8px; }
.process-step p { font-size: 13px; color: rgba(28,25,23,0.62); line-height: 1.55; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.contact-info, .contact-cta {
  border: 1px solid rgba(28,25,23,0.12);
  border-radius: 8px;
  padding: 32px;
  background: var(--paper);
}
.contact-info h3 { font-size: 15px; margin-bottom: 6px; }
.contact-info p { font-size: 13.5px; color: rgba(28,25,23,0.62); margin-bottom: 18px; }
.contact-info .email-line { font-weight: 700; font-size: 14.5px; color: var(--accent); }
.contact-cta {
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.contact-cta h3 { color: var(--paper); font-size: 18px; margin-bottom: 10px; }
.contact-cta p { color: rgba(255,255,255,0.55); font-size: 13.5px; margin-bottom: 22px; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid rgba(28,25,23,0.08);
  padding: 40px 0 26px 0;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.footer-brand .word { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.footer-brand p { font-size: 13px; color: rgba(28,25,23,0.55); max-width: 240px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { font-size: 13px; font-weight: 600; color: rgba(28,25,23,0.65); }
.footer-links a:hover { color: var(--accent); }
.footer-contact { font-size: 13px; color: rgba(28,25,23,0.65); text-align: right; }
.footer-bottom {
  border-top: 1px solid rgba(28,25,23,0.08);
  padding-top: 18px;
  font-size: 12px;
  color: rgba(28,25,23,0.45);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .wrap { padding: 0 22px; }
  .nav-links { display: none; }
  .hero h1 { font-size: 32px; }
  .what-we-do-grid { grid-template-columns: 1fr; }
  .included-grid { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-contact { text-align: left; }
}
@media (max-width: 520px) {
  .process-row { grid-template-columns: 1fr; }
}
