/* ===== VARIABLES ===== */
:root {
  --bg: #F8F5EF;
  --bg-alt: #EFE9DD;
  --bg-dark: #2C3E2D;
  --primary: #3D6B4F;
  --primary-light: #4D8263;
  --primary-dark: #2A4D39;
  --accent: #C8943A;
  --accent-light: #D4A84E;
  --text: #1A1A18;
  --text-2: #4A4A46;
  --text-3: #7A7A74;
  --border: #D8D0C4;
  --white: #FFFFFF;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  line-height: 1.15;
  font-weight: 400;
}
a { color: inherit; text-decoration: none; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(248, 245, 239, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(216, 208, 196, 0.5);
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Fraunces', serif;
  font-size: 1.15rem; font-weight: 500;
  color: var(--primary);
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--text-3);
  letter-spacing: 0.02em;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 48px 80px;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-3);
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(3.2rem, 5.5vw, 5rem);
  font-weight: 300;
  color: var(--text);
  margin-bottom: 28px;
  font-style: italic;
}
.hero-title br { display: block; }
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 460px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-note {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--text-2);
  font-size: 0.8rem;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
}

/* Dashboard Mock */
.hero-visual { display: flex; justify-content: flex-end; align-items: center; }
.dashboard-mock {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 60px rgba(61, 107, 79, 0.12), 0 4px 16px rgba(0,0,0,0.06);
  overflow: hidden;
}
.mock-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.mock-dots span:first-child { background: #FF5F57; }
.mock-dots span:nth-child(2) { background: #FFBD2E; }
.mock-dots span:last-child { background: #28CA41; }
.mock-title { font-size: 0.75rem; color: var(--text-3); }
.mock-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.mock-msg { display: flex; gap: 10px; align-items: flex-start; }
.mock-msg--ai { flex-direction: row; }
.mock-msg--user { flex-direction: row-reverse; }
.mock-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--primary);
  color: white; font-size: 0.7rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.mock-avatar--user { background: var(--accent); }
.mock-content p {
  font-size: 0.8rem; line-height: 1.5; color: var(--text);
  background: var(--bg);
  padding: 10px 14px;
  border-radius: 10px;
}
.mock-msg--user .mock-content p {
  background: var(--primary);
  color: white;
}
.mock-steps { margin-top: 10px; padding: 12px; background: var(--bg-alt); border-radius: 8px; }
.step { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; color: var(--text-2); margin: 4px 0; }
.step.done { color: var(--primary); font-weight: 600; }
.step.doing { color: var(--accent); font-size: 0.9rem; }

.hero-bg-texture {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(61,107,79,0.05) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(200,148,58,0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* ===== MANIFESTO ===== */
.manifesto {
  background: var(--primary);
  color: white;
  padding: 100px 48px;
}
.manifesto-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.manifesto-badge {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.manifesto-headline {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 300;
  margin-bottom: 20px;
}
.manifesto-body {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}
.manifesto-body strong { color: white; font-weight: 600; }

/* ===== CAPABILITIES ===== */
.capabilities { padding: 100px 48px; background: var(--bg); }
.cap-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
  background: var(--border);
}
.cap-card {
  background: var(--bg);
  padding: 48px 40px;
  display: flex; flex-direction: column; gap: 16px;
}
.cap-card--reason { background: var(--white); }
.cap-icon { color: var(--primary); }
.cap-card h3 {
  font-size: 1.2rem;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  color: var(--text);
}
.cap-card p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* Reason card extras */
.cap-example { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border); }
.cap-cmd { font-size: 0.75rem; color: var(--text-3); font-style: italic; display: block; margin-bottom: 12px; }
.cap-flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cap-flow span { font-size: 0.7rem; color: var(--text-2); }
.flow-arrow { color: var(--primary); font-weight: 600; }

/* Memory card extras */
.cap-memos { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.memo { background: var(--bg); border-radius: 8px; padding: 10px 14px; font-size: 0.8rem; color: var(--text-2); }
.memo-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary); font-weight: 600; display: block; margin-bottom: 4px; }

/* Tools card extras */
.cap-tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.tool-badge { display: flex; align-items: center; gap: 6px; background: var(--bg-alt); padding: 8px 12px; border-radius: 8px; font-size: 0.75rem; color: var(--text-2); }
.tool-icon { font-size: 0.9rem; }
.cap-tools-note { font-size: 0.7rem; color: var(--text-3); margin-top: 8px; }

/* ===== INTEGRATIONS ===== */
.integrations {
  padding: 80px 48px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.int-inner { max-width: 1200px; margin: 0 auto; }
.int-label {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-3);
  margin-bottom: 32px;
}
.int-track { overflow: hidden; margin-bottom: 40px; }
.int-logos {
  display: flex;
  gap: 0;
  animation: scroll-left 30s linear infinite;
}
.int-logo {
  flex-shrink: 0;
  padding: 0 40px;
  display: flex; align-items: center;
  border-right: 1px solid var(--border);
  height: 56px;
}
.int-logo:last-child { border-right: none; }
.int-logo-name { font-size: 0.85rem; font-weight: 500; color: var(--text-2); white-space: nowrap; }
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.int-count { text-align: center; }
.int-big { font-family: 'Fraunces', serif; font-size: 3rem; font-weight: 300; color: var(--primary); display: block; line-height: 1; }
.int-small { font-size: 0.85rem; color: var(--text-3); }

/* ===== COMPARISON ===== */
.comparison { padding: 100px 48px; background: var(--bg); }
.cmp-inner { max-width: 900px; margin: 0 auto; }
.cmp-title { font-size: 2rem; margin-bottom: 48px; text-align: center; font-weight: 300; }
.cmp-table { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.cmp-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.cmp-row:last-child { border-bottom: none; }
.cmp-row--header {
  background: var(--bg-alt);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  font-weight: 600;
}
.cmp-feature, .cmp-other, .cmp-speyy {
  padding: 18px 20px;
  font-size: 0.85rem;
}
.cmp-feature { color: var(--text-2); }
.cmp-other { color: var(--text-3); text-align: center; border-left: 1px solid var(--border); border-right: 1px solid var(--border); }
.cmp-speyy { text-align: center; }
.cmp-no { color: var(--text-3); }
.cmp-partial { color: var(--accent); }
.cmp-yes { color: var(--primary); font-weight: 600; font-size: 1.1rem; }

/* ===== PRIVACY ===== */
.privacy { padding: 100px 48px; background: var(--bg-alt); border-top: 1px solid var(--border); }
.prv-inner { max-width: 1100px; margin: 0 auto; }
.prv-header { text-align: center; margin-bottom: 60px; }
.prv-eyebrow { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-3); margin-bottom: 16px; }
.prv-title { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 300; }
.prv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--border); margin-bottom: 40px; }
.prv-card { background: var(--bg-alt); padding: 44px 40px; }
.prv-icon { color: var(--primary); margin-bottom: 20px; }
.prv-card h3 { font-size: 1.1rem; font-weight: 500; margin-bottom: 12px; }
.prv-card p { font-size: 0.88rem; color: var(--text-2); line-height: 1.65; }
.prv-link { display: block; text-align: center; font-size: 0.85rem; color: var(--primary); font-weight: 500; }
.prv-link:hover { text-decoration: underline; }

/* ===== CLOSER ===== */
.closer {
  padding: 120px 48px;
  background: var(--primary-dark);
  color: white;
  text-align: center;
}
.cls-inner { max-width: 700px; margin: 0 auto; }
.cls-title { font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 300; font-style: italic; margin-bottom: 16px; }
.cls-body { font-family: 'Fraunces', serif; font-size: 1.8rem; color: rgba(255,255,255,0.6); margin-bottom: 40px; }
.cls-vision p { font-size: 0.95rem; color: rgba(255,255,255,0.5); line-height: 1.7; max-width: 500px; margin: 0 auto; }

/* ===== FOOTER ===== */
.footer { padding: 40px 48px; background: var(--text); color: rgba(255,255,255,0.4); }
.ftr-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.ftr-brand { display: flex; align-items: center; gap: 8px; font-family: 'Fraunces', serif; color: white; font-size: 0.9rem; }
.ftr-copy { font-size: 0.8rem; }
.ftr-links { display: flex; gap: 24px; }
.ftr-links a { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.ftr-links a:hover { color: white; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { justify-content: flex-start; }
  .cap-inner { grid-template-columns: 1fr; }
  .prv-grid { grid-template-columns: 1fr; }
  .cmp-row { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav, .hero, .manifesto, .capabilities, .integrations, .comparison, .privacy, .closer, .footer {
    padding-left: 24px;
    padding-right: 24px;
  }
  .cmp-row { grid-template-columns: 1fr 1fr 1fr; }
  .cmp-feature, .cmp-other, .cmp-speyy { padding: 14px 10px; font-size: 0.75rem; }
  .cmp-other, .cmp-speyy { font-size: 0.9rem; }
  .ftr-inner { flex-direction: column; align-items: flex-start; }
}