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

:root {
  --bg: #FAF7F2;
  --bg-alt: #F2EDE6;
  --fg: #1A3A2A;
  --fg-muted: #4A6B5A;
  --accent: #E8773D;
  --accent-light: #F4A880;
  --accent-dark: #C45E28;
  --cream: #FFF8F0;
  --border: rgba(26, 58, 42, 0.12);
  --shadow: 0 4px 24px rgba(26, 58, 42, 0.08);
  --shadow-hover: 0 8px 40px rgba(26, 58, 42, 0.14);
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 8% 60px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,119,61,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(26,58,42,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(232,119,61,0.1);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-text h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-lede {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 440px;
  line-height: 1.7;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-end;
}

.product-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 340px;
}

.stack-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stack-card:hover {
  transform: translateX(-4px);
  box-shadow: var(--shadow-hover);
}

.stack-card-1 { border-left: 3px solid var(--accent); }
.stack-card-2 { border-left: 3px solid var(--fg); margin-left: 20px; }
.stack-card-3 { border-left: 3px solid var(--fg-muted); margin-left: 40px; }

.card-icon {
  width: 40px;
  height: 40px;
  background: var(--bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  flex-shrink: 0;
}

.stack-card span {
  font-size: 0.9rem;
  font-weight: 500;
  flex: 1;
}

.card-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(232,119,61,0.1);
  padding: 4px 10px;
  border-radius: 100px;
}

.revenue-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 20px;
  width: 100%;
  max-width: 340px;
  box-shadow: var(--shadow);
}

.revenue-ring {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.revenue-ring svg {
  width: 56px;
  height: 56px;
  transform: rotate(-90deg);
}

.ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 600;
  text-align: center;
  color: var(--accent);
  line-height: 1.2;
}

.revenue-text {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.hero-scroll-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 60px;
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
}

.scroll-line {
  width: 40px;
  height: 1px;
  background: var(--accent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { width: 40px; opacity: 1; }
  50% { width: 60px; opacity: 0.6; }
}

/* ============ MANIFESTO ============ */
.manifesto {
  background: var(--fg);
  color: white;
  padding: 100px 8%;
}

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

.manifesto-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.manifesto h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: white;
  margin-bottom: 60px;
  max-width: 700px;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 60px;
}

.manifesto-stat {
  padding: 40px 36px;
  background: rgba(255,255,255,0.03);
}

.manifesto-stat + .manifesto-stat {
  border-left: 1px solid rgba(255,255,255,0.08);
}

.stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.manifesto-quote {
  border-left: 3px solid var(--accent);
  padding-left: 32px;
}

.quote-mark {
  font-family: 'DM Serif Display', serif;
  font-size: 4rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: -10px;
}

blockquote {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
  margin-bottom: 12px;
}

.manifesto-quote cite {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  font-style: normal;
  letter-spacing: 0.05em;
}

/* ============ PRODUCTS ============ */
.products {
  padding: 100px 8%;
  background: var(--bg-alt);
}

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

.products-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.products h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--fg);
  margin-bottom: 16px;
}

.products-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 560px;
  margin-bottom: 48px;
}

.products-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 16px;
}

.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.product-card-featured {
  border-color: var(--accent);
  border-width: 2px;
  position: relative;
}

.product-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.product-icon {
  width: 48px;
  height: 48px;
  background: var(--bg);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
}

.product-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(232,119,61,0.1);
  padding: 5px 10px;
  border-radius: 100px;
}

.product-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 12px;
  line-height: 1.3;
}

.product-card p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

.product-metrics {
  display: flex;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-bottom: 16px;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
}

.metric-lbl {
  font-size: 0.72rem;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

.product-audit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--fg-muted);
}

.audit-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.audit-dot-green {
  background: #4CAF50;
}

/* ============ PROOF ============ */
.proof {
  padding: 100px 8%;
  background: var(--cream);
}

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

.proof-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.proof h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--fg);
  margin-bottom: 40px;
}

.proof-table {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 28px;
  background: white;
}

.proof-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  padding: 16px 24px;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.proof-row:last-child { border-bottom: none; }

.proof-row span {
  font-size: 0.88rem;
  color: var(--fg-muted);
}

.proof-row-head {
  background: var(--fg);
}

.proof-row-head span {
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-row-total {
  background: rgba(232,119,61,0.06);
}

.proof-row-total span {
  color: var(--fg);
  font-weight: 600;
}

.proof-highlight {
  color: var(--accent) !important;
  font-weight: 600 !important;
}

.proof-note {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 40px;
}

.proof-stars {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}

.stars {
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.proof-stars p {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--fg);
  margin-bottom: 12px;
}

.proof-stars cite {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* ============ VISION ============ */
.vision {
  padding: 100px 8%;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.vision-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'DM Serif Display', serif;
  font-size: 18vw;
  color: rgba(26,58,42,0.04);
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}

.vision-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.vision-content { }

.vision-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.vision h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--fg);
  margin-bottom: 60px;
  max-width: 600px;
}

.vision-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.pillar {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.pillar-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  color: rgba(26,58,42,0.15);
  margin-bottom: 12px;
}

.pillar h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}

.pillar p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.vision-closing {
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

.vision-closing p {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  color: var(--fg);
  line-height: 1.5;
}

.vision-closing strong {
  color: var(--accent);
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--fg);
  color: white;
  padding: 60px 8% 30px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.8rem;
  color: white;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-platforms {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.platform-chip {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 5px 12px;
  border-radius: 100px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { align-items: flex-start; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-stat + .manifesto-stat { border-left: none; border-top: 1px solid rgba(255,255,255,0.08); }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .product-card-featured { grid-column: 1 / -1; }
  .vision-pillars { grid-template-columns: 1fr; gap: 16px; }
  .proof-row { grid-template-columns: 1fr 1fr; }
  .proof-row-head { display: none; }
}

@media (max-width: 768px) {
  .hero { padding: 60px 6% 40px; }
  .manifesto { padding: 60px 6%; }
  .products { padding: 60px 6%; }
  .proof { padding: 60px 6%; }
  .vision { padding: 60px 6%; }
  .products-grid { grid-template-columns: 1fr; }
  .product-card-featured { grid-column: auto; }
  .footer-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .proof-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stack-card-2 { margin-left: 10px; }
  .stack-card-3 { margin-left: 20px; }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 2.5rem; }
  .product-stack { max-width: 100%; }
  .revenue-badge { max-width: 100%; }
  .proof-row { grid-template-columns: 1fr; }
}
