/* Elo AI corporate brand — teal + purple, lighter than Cognielo product */
/* Patent Pending — U.S. App. No. 64/041,821 */

:root {
  --teal: #0c8e80;
  --teal-light: #2dbeb0;
  --teal-pale: #e8f6f4;
  --purple: #7b5ba6;
  --purple-light: #a785cf;
  --purple-pale: #f3eef9;
  --ink: #1a1a2e;
  --ink-soft: #4a4a5e;
  --paper: #fafafa;
  --paper-warm: #fff;
  --border: #e5e5ea;
  --gold: #c9a86a;
}

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

html, body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--teal); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--purple); }

/* Layout */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
section { padding: 80px 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: 0; }

/* Nav */
nav.site {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
nav.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
nav.site .brand {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(90deg, var(--teal) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
nav.site .links { display: flex; gap: 24px; align-items: center; }
nav.site .links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
nav.site .links a:hover { color: var(--teal); }
nav.site .cta {
  background: var(--teal);
  color: white;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}
nav.site .cta:hover { background: var(--purple); color: white; }

/* Hero */
header.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--teal-pale) 0%, var(--purple-pale) 100%);
  border-bottom: 1px solid var(--border);
}
header.hero .kicker {
  display: inline-block;
  padding: 6px 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
header.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 880px;
  margin-bottom: 24px;
}
header.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--teal) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
header.hero .sub {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 720px;
  margin-bottom: 32px;
}
header.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
header.hero .btn {
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  display: inline-block;
}
.btn-primary { background: var(--teal); color: white; }
.btn-primary:hover { background: var(--purple); color: white; }
.btn-ghost { background: white; border: 1px solid var(--border); color: var(--ink); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

/* Section primitives */
.kicker {
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
section h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}
section .lede, section .sub, section p.intro {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 720px;
  margin-bottom: 32px;
}
section p { margin-bottom: 16px; max-width: 760px; }

/* Grid */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }

.card {
  background: var(--paper-warm);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(123, 91, 166, 0.08);
  border-color: var(--purple-light);
}
.card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.card .tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--teal-pale);
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 12px;
}
.card .tag.purple { background: var(--purple-pale); color: var(--purple); }
.card .tag.gold { background: rgba(201, 168, 106, 0.18); color: #8a6e3a; }
.card p { font-size: 15px; color: var(--ink-soft); margin-bottom: 12px; }
.card a.more { font-weight: 600; font-size: 14px; }

/* Pull-quote */
.pull-quote {
  border-left: 4px solid var(--teal);
  padding: 24px 28px;
  background: var(--teal-pale);
  border-radius: 4px;
  margin: 32px 0;
}
.pull-quote p {
  font-size: 19px;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 8px;
}
.pull-quote cite {
  font-size: 14px;
  color: var(--ink-soft);
  font-style: normal;
  font-weight: 600;
}

/* Code block */
code {
  font-family: ui-monospace, "SF Mono", "Menlo", monospace;
  background: var(--purple-pale);
  color: var(--purple);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.92em;
}

/* Footer */
footer.site {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 48px;
  font-size: 14px;
}
footer.site a { color: rgba(255,255,255,0.85); }
footer.site a:hover { color: var(--teal-light); }
footer.site .grid-3 { gap: 48px; margin-bottom: 48px; }
footer.site h4 {
  color: white;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 8px; }
footer.site .legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
footer.site .brand-mark {
  font-weight: 700;
  background: linear-gradient(90deg, var(--teal-light), var(--purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 720px) {
  nav.site .links a:not(.cta) { display: none; }
  header.hero { padding: 80px 0 60px; }
  section { padding: 60px 0; }
}
