/* socratescrm.com — one stylesheet, no build step. */

:root {
  --brand: #3965a4;
  --brand-dark: #2a4d80;
  --brand-tint: #eef3fa;
  --accent: #12a37f;
  --accent-dark: #0e8467;
  --ink: #1d2433;
  --muted: #5a6478;
  --line: #dde3ec;
  --bg: #ffffff;
  --radius: 12px;
  --max: 1120px;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

h3 {
  font-size: 1.1rem;
}

p {
  margin: 0 0 1em;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  background: #fff;
  padding: 8px 12px;
  z-index: 10;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.logo img {
  height: 34px;
  width: auto;
}

.site-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brand);
}

/* Buttons */

.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
}

.button:hover {
  background: var(--accent-dark);
}

.button.secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Hero */

.hero {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  padding: 96px 0 104px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  max-width: 14em;
}

.hero p {
  font-size: 1.2rem;
  max-width: 36em;
  color: rgba(255, 255, 255, 0.88);
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem !important;
  font-weight: 600;
  margin-bottom: 12px;
}

.hero .hero-note {
  margin-top: 28px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.callout {
  margin: 40px 0 0;
  padding: 20px 24px;
  border-left: 4px solid var(--accent);
  background: var(--brand-tint);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.1rem;
  max-width: 52em;
}

.tagline {
  font-weight: 600;
  color: var(--ink);
}

.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* Sections */

section {
  padding: 88px 0;
}

section.tint {
  background: var(--brand-tint);
}

.eyebrow {
  color: var(--brand);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 44em;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: start;
}

.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ticks li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 18px;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset 0 0 0 4px #fff;
  outline: 2px solid var(--accent);
}

.grid {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}

.grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.card h3 {
  color: var(--brand);
}

.card dl {
  margin: 0;
}

.card dt {
  font-weight: 600;
  margin-top: 14px;
}

.card dd {
  margin: 2px 0 0;
  color: var(--muted);
}

.card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

/* Numbered pipeline steps */

.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 24px;
  margin: 40px 0 24px;
  padding: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-top: 56px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.steps h3 {
  color: var(--brand);
}

.steps p {
  color: var(--muted);
  margin: 0;
}

/* Product modules */

.modules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.module {
  border-left: 4px solid var(--brand);
  background: #fff;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
}

.module h3 {
  margin-bottom: 4px;
}

.module p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.module.core {
  border-left-color: var(--accent);
}

/* Quotes */

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.quotes figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quotes blockquote {
  margin: 0 0 16px;
  font-size: 1.05rem;
}

.quotes figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Contact */

.contact {
  background: var(--brand-dark);
  color: #fff;
  text-align: center;
}

.contact .lead {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 32px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Narrow screens */

@media (max-width: 900px) {
  .split,
  .grid.four,
  .grid.three,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .grid.four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-nav ul {
    gap: 16px;
    font-size: 0.95rem;
  }

  .site-nav .hide-narrow {
    display: none;
  }

  .grid.four {
    grid-template-columns: 1fr;
  }

  section {
    padding: 64px 0;
  }

  .hero {
    padding: 64px 0 72px;
  }
}

/* Product illustrations: drawn in HTML with fictional data, not screenshots */

.demo-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
  align-items: start;
}

.demo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(29, 36, 51, 0.08);
  overflow: hidden;
  font-size: 0.92rem;
}

.demo-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: #f7f9fc;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.demo-bar::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d5dbe5;
  box-shadow: 14px 0 0 #d5dbe5, 28px 0 0 #d5dbe5;
  margin-right: 34px;
}

.demo-body {
  padding: 20px;
}

.demo-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 2px;
}

.demo-meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 16px;
}

.demo-figure {
  margin: 0;
}

.demo-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.82rem;
}

.demo-figure h3 {
  font-size: 1rem;
  margin: 0 0 12px;
}

.chip {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand-dark);
  white-space: nowrap;
}

.chip.green {
  background: #e3f6ef;
  color: #0b6b53;
}

.chip.amber {
  background: #fdf1dc;
  color: #8a5a00;
}

.chip.grey {
  background: #eef0f4;
  color: var(--muted);
}

/* 1. Route in */

.route {
  list-style: none;
  margin: 0;
  padding: 0;
}

.route .node {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.avatar.target {
  background: var(--accent);
}

.avatar.you {
  background: #8a94a8;
}

.route .who {
  line-height: 1.3;
}

.route .who span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.route .link {
  margin-left: 17px;
  border-left: 2px dashed var(--brand);
  padding: 8px 0 8px 27px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* 2. New idea */

.idea-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.idea-row p {
  margin: 0;
}

.idea-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.idea-actions span {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.idea-actions span:first-child {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* 3. Ask your AI */

.chat {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.msg {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 14px;
  line-height: 1.5;
}

.msg p {
  margin: 0 0 8px;
}

.msg p:last-child {
  margin-bottom: 0;
}

.msg.user {
  align-self: flex-end;
  background: var(--brand);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.msg.ai {
  align-self: flex-start;
  background: #f4f6fa;
  border-bottom-left-radius: 4px;
}

.msg .sources {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.via {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

/* 4. Buyers */

.buyers {
  width: 100%;
  border-collapse: collapse;
}

.buyers th {
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding: 0 8px 8px 0;
}

.buyers td {
  padding: 9px 8px 9px 0;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}

.fit {
  width: 90px;
  height: 8px;
  border-radius: 4px;
  background: #eef0f4;
  overflow: hidden;
}

.fit i {
  display: block;
  height: 100%;
  background: var(--brand);
  border-radius: 4px;
}

/* 5. Timeline */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line);
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  padding: 6px 0 12px;
}

.timeline .year {
  position: relative;
  z-index: 1;
  width: 48px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-dark);
  background: var(--brand-tint);
  border-radius: 999px;
  padding: 3px 0;
  height: fit-content;
}

.timeline li.now .year {
  background: var(--accent);
  color: #fff;
}

.timeline p {
  margin: 0;
}

.timeline p span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .demo-pair {
    grid-template-columns: 1fr;
  }
}

.demo-single {
  max-width: 640px;
  margin-top: 40px;
}

.demo-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.82rem;
}

.demo-pair > * {
  min-width: 0;
}

.hero .hero-hook {
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
}

.knowledge-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
  margin-top: 24px;
}

.diagram {
  margin: 0;
}

.diagram img {
  width: 100%;
  height: auto;
}

.pillars {
  margin: 24px 0 0;
}

.pillar {
  border-left: 4px solid var(--brand);
  padding: 4px 0 4px 16px;
  margin-bottom: 18px;
}

.pillar.exp {
  border-left-color: #12a37f;
}

.pillar.app {
  border-left-color: #c9962e;
}

.pillar dt {
  font-weight: 700;
}

.pillar dd {
  margin: 2px 0 0;
  color: var(--muted);
}

@media (max-width: 900px) {
  .knowledge-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .diagram {
    max-width: 440px;
    margin: 0 auto;
  }
}
