/* EGA CRM - base system.css
   Single accent: emerald green. Cool warm-cream surface.
   Editorial type rhythm, JetBrains Mono kicker.
*/

:root {
  --accent: #0E7F73;
  --accent-2: #0B5F56;
  --accent-soft: rgba(14, 127, 115, 0.10);
  --accent-line: rgba(14, 127, 115, 0.32);

  --bg: #F6F7F5;
  --bg-raise: #FFFFFF;
  --bg-sunken: #ECEEEA;

  --line: #DCDFD9;
  --line-soft: #E6E8E3;

  --ink: #0F0F12;
  --ink-2: #2A2D2A;
  --muted: #6B6F6A;
  --muted-2: #8A8F87;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 100px;

  --shadow-1: 0 1px 2px rgba(15, 15, 18, 0.04), 0 1px 1px rgba(15, 15, 18, 0.03);
  --shadow-2: 0 4px 14px rgba(15, 15, 18, 0.06), 0 1px 2px rgba(15, 15, 18, 0.04);
  --shadow-3: 0 18px 48px rgba(15, 15, 18, 0.10), 0 4px 14px rgba(15, 15, 18, 0.05);

  --container: 1200px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

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

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

/* mono kicker */
.mono {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.kicker-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}
.kicker-line::before {
  content: "-";
  color: var(--accent);
  letter-spacing: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--r-md);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-1);
}
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--bg-sunken); border-color: #c7cbc4; }

.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(2px); }

/* Headings */
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; font-weight: 600; color: var(--ink); }
h1 { font-size: 60px; line-height: 1.04; letter-spacing: -0.03em; }
h2 { font-size: 38px; line-height: 1.1; letter-spacing: -0.025em; }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.015em; }
p  { margin: 0; color: var(--ink-2); }

/* hr */
.hr { height: 1px; background: var(--line-soft); border: 0; }

@media (max-width: 900px) {
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
  .container { padding: 0 20px; }
}

@media (max-width: 640px) {
  h1 { font-size: 34px; }
}
