/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,600;0,9..144,700;1,9..144,400&family=DM+Sans:wght@400;500&display=swap');

/* VARIABLES */
:root {
  --bg: #faf9f7;
  --bg-2: #f2f0ec;
  --fg: #1c1917;
  --fg-2: #57534e;
  --fg-3: #a8a29e;
  --accent: #f59e0b;
  --accent-2: #fbbf24;
  --accent-dim: rgba(245, 158, 11, 0.12);
  --border: #e7e5e0;
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

/* NAV */
.nav { padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: var(--fg); display: flex; align-items: center; gap: 0.5rem; }
.nav-tagline { font-size: 0.8rem; color: var(--fg-3); font-family: var(--font-body); }

/* SECTION LABEL */
.section-label { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-family: var(--font-body); margin-bottom: 0.75rem; }

/* HERO */
.hero { padding: 5rem 0 4rem; overflow: hidden; }
.hero-inner { max-width: 1100px; margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-eyebrow { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.25rem; }
.hero-headline { font-family: var(--font-head); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; line-height: 1.15; color: var(--fg); margin-bottom: 1.5rem; letter-spacing: -0.02em; }
.hero-sub { font-size: 1.05rem; color: var(--fg-2); line-height: 1.7; margin-bottom: 2.5rem; max-width: 440px; }
.hero-stats { display: flex; align-items: center; gap: 1.5rem; }
.stat { display: flex; flex-direction: column; }
.stat-number { font-family: var(--font-head); font-size: 1.75rem; font-weight: 700; color: var(--fg); line-height: 1; }
.stat-label { font-size: 0.72rem; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.25rem; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* BROWSER MOCKUP */
.hero-visual { position: relative; }
.browser-mockup { background: #1c1917; border-radius: 12px; overflow: hidden; box-shadow: 0 32px 64px rgba(28, 25, 23, 0.25), 0 0 0 1px rgba(255,255,255,0.06); }
.browser-bar { background: #292524; padding: 0.75rem 1rem; display: flex; align-items: center; gap: 0.5rem; }
.browser-dot { width: 10px; height: 10px; border-radius: 50%; background: #44403c; }
.site-preview { padding: 1.25rem; }
.site-header-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid #292524; }
.site-logo-placeholder { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; }
.site-nav-btns { display: flex; gap: 0.5rem; }
.site-nav-btn { width: 48px; height: 6px; border-radius: 3px; background: #292524; }
.site-hero-block { display: flex; gap: 1rem; margin-bottom: 1rem; }
.site-hero-text { flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.site-h1-placeholder { height: 12px; width: 80%; border-radius: 4px; background: #f59e0b; opacity: 0.3; }
.site-p-placeholder { height: 8px; width: 100%; border-radius: 4px; background: #44403c; }
.site-btn-placeholder { height: 20px; width: 70px; border-radius: 4px; background: #f59e0b; margin-top: 0.25rem; opacity: 0.7; }
.site-hero-img-block { width: 90px; height: 80px; border-radius: 8px; background: #292524; display: flex; align-items: center; justify-content: center; }
.site-img-inner { display: flex; align-items: center; justify-content: center; }
.site-cards-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.site-card { height: 48px; border-radius: 6px; background: #292524; }
.floating-badge { position: absolute; bottom: -16px; right: -10px; background: var(--accent); color: #1c1917; font-size: 0.72rem; font-weight: 600; padding: 0.4rem 0.75rem; border-radius: 20px; display: flex; align-items: center; gap: 0.4rem; box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4); }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #1c1917; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.spark-line { position: absolute; background: linear-gradient(90deg, transparent, var(--accent), transparent); height: 1px; }
.spark-1 { width: 80px; top: 20px; right: -20px; transform: rotate(-15deg); opacity: 0.4; }
.spark-2 { width: 50px; bottom: 40px; right: -10px; transform: rotate(20deg); opacity: 0.25; }
.hero-bottom-rule { max-width: 1100px; margin: 0 auto; padding: 0 2rem; height: 1px; background: var(--border); }

/* PROBLEM */
.problem { padding: 5rem 0; background: var(--bg); }
.problem-inner { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.problem-header { margin-bottom: 3rem; }
.problem-headline { font-family: var(--font-head); font-size: clamp(1.6rem, 2.5vw, 2.25rem); font-weight: 700; color: var(--fg); line-height: 1.2; max-width: 560px; }
.problem-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 1.5rem; }
.problem-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; padding: 1.75rem; }
.problem-card--wide { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.problem-stat { font-family: var(--font-head); font-size: 3rem; font-weight: 700; line-height: 1; margin-bottom: 0.75rem; color: var(--accent); }
.problem-card--wide .problem-stat { color: var(--accent); }
.problem-desc { font-size: 0.9rem; line-height: 1.6; color: inherit; opacity: 0.8; }
.problem-card--wide .problem-desc { color: var(--bg); }
.problem-icon { color: var(--accent); margin-bottom: 1rem; }
.problem-card-text { font-size: 0.85rem; line-height: 1.6; color: var(--fg-2); }

/* STEPS */
.steps { padding: 5rem 0; background: var(--bg); border-top: 1px solid var(--border); }
.steps-inner { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.steps-headline { font-family: var(--font-head); font-size: clamp(1.6rem, 2.5vw, 2.25rem); font-weight: 700; color: var(--fg); line-height: 1.2; margin-bottom: 3rem; max-width: 500px; }
.steps-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 0; align-items: start; }
.step { padding: 2rem 1.5rem; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; }
.step-connector { width: 48px; height: 2px; background: var(--border); align-self: center; margin-top: 2rem; }
.step-number { font-family: var(--font-head); font-size: 2.5rem; font-weight: 700; color: var(--accent); opacity: 0.25; line-height: 1; margin-bottom: 1rem; }
.step-title { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--fg); margin-bottom: 0.75rem; line-height: 1.3; }
.step-desc { font-size: 0.85rem; color: var(--fg-2); line-height: 1.6; margin-bottom: 1.5rem; }
.step-visual { display: flex; justify-content: flex-start; }
.step-icon-circle { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-dim); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.step-blocks { display: flex; gap: 6px; }
.build-block { width: 28px; height: 28px; border-radius: 6px; background: var(--accent-dim); border: 1px solid rgba(245,158,11,0.3); animation: buildPulse 1.5s ease-in-out infinite; }
.build-block:nth-child(2) { animation-delay: 0.2s; }
.build-block:nth-child(3) { animation-delay: 0.4s; }
@keyframes buildPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.08); opacity: 0.7; } }
.step-checkmarks { display: flex; flex-direction: column; gap: 4px; }
.check { width: 28px; height: 28px; border-radius: 50%; background: var(--accent-dim); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.steps-footnote { margin-top: 2rem; font-size: 0.8rem; color: var(--fg-3); font-style: italic; }

/* MANIFESTO */
.manifesto { padding: 6rem 0; background: var(--fg); color: var(--bg); }
.manifesto-inner { max-width: 860px; margin: 0 auto; padding: 0 2rem; text-align: center; }
.manifesto-quote-mark { font-family: var(--font-head); font-size: 8rem; line-height: 0.5; color: var(--accent); opacity: 0.3; margin-bottom: 1.5rem; }
.manifesto-text { font-family: var(--font-head); font-size: clamp(1.4rem, 2.2vw, 2rem); font-style: italic; font-weight: 400; line-height: 1.5; color: var(--bg); margin-bottom: 2rem; }
.manifesto-attr { font-size: 0.85rem; color: var(--fg-3); margin-bottom: 3rem; }
.manifesto-rule { width: 48px; height: 2px; background: var(--accent); margin: 0 auto 2.5rem; }
.manifesto-points { display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.manifesto-point { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; color: var(--bg); opacity: 0.8; }
.m-p-icon { color: var(--accent); flex-shrink: 0; }

/* CLOSING */
.closing { padding: 6rem 0; background: var(--bg); }
.closing-inner { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.closing-headline { font-family: var(--font-head); font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 700; color: var(--fg); line-height: 1.2; margin-bottom: 1rem; max-width: 700px; }
.closing-sub { font-family: var(--font-head); font-size: clamp(1.5rem, 2vw, 2rem); color: var(--accent); font-style: italic; margin-bottom: 3rem; }
.closing-promise { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.promise-item { display: flex; flex-direction: column; }
.promise-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-3); margin-bottom: 0.25rem; }
.promise-value { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--fg); }
.promise-divider { width: 1px; height: 36px; background: var(--border); }

/* FOOTER */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 4rem 0 2rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-bottom: 3rem; }
.footer-logo { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.75rem; }
.footer-desc { font-size: 0.85rem; color: var(--fg-3); line-height: 1.6; max-width: 260px; }
.footer-links { display: flex; gap: 3rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col-head { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-3); font-weight: 500; margin-bottom: 0.5rem; }
.footer-col p { font-size: 0.85rem; color: var(--fg-2); cursor: pointer; }
.footer-bottom { max-width: 1100px; margin: 0 auto; padding: 1.5rem 2rem 0; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.75rem; color: var(--fg-3); }
.footer-tagline { font-family: var(--font-head); font-style: italic; color: var(--accent); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .problem-card--wide { grid-column: span 2; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-connector { width: 100%; height: 1px; margin: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .closing-promise { gap: 1.5rem; }
  .promise-divider { display: none; }
}
@media (max-width: 600px) {
  .hero { padding: 3rem 0 2.5rem; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card--wide { grid-column: span 1; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .footer-links { gap: 2rem; }
}