/* ═══════════════════════════════════════════════════════════════
   Sentinote — marketing site styles
   Warm, human-first. Slate + coral over a cream paper palette,
   with editorial serif headlines and a steady, quiet tone.
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* ─── Sentinote brand palette ─── */
  /* Paper #F5EFE6 is the body surface; white is reserved for elevated cards */
  --bg: #f5efe6;               /* warm "paper" — body */
  --bg-deep: #ece4d4;          /* sub-section bands */
  --paper: #ffffff;            /* elevated cards */

  --ink: #14323d;              /* darkened slate — body text */
  --ink-soft: #3a5762;
  --ink-mute: #6f8590;
  --ink-faint: #aab5bc;

  --slate: #1e4d5c;            /* brand primary */
  --slate-deep: #143641;
  --slate-soft: #d9e4e8;

  --coral: #e07a5f;            /* brand accent — never on primary CTA backgrounds */
  --coral-deep: #c46249;
  --coral-soft: #f8e2da;

  /* ─── semantic (severity) ─── */
  --red: #c43e1f;
  --red-soft: #f8e0d6;
  --amber: #b45309;
  --amber-soft: #fbedda;
  --green: #2f7c5a;
  --green-soft: #dcecdf;
  --blue: #1d4ed8;
  --blue-soft: #e2e8f4;

  /* ─── borders ─── */
  --line: #e6dccc;
  --line-soft: #efe6d6;
  --line-cool: #e6dccc;

  /* ─── back-compat aliases ─── */
  --cream: var(--bg);
  --cream-deep: var(--bg-deep);
  --navy: var(--slate);
  --navy-deep: var(--slate-deep);
  --teal: var(--slate);
  --teal-dark: var(--slate-deep);
  --teal-soft: var(--slate-soft);
  --terra: var(--coral);
  --terra-soft: var(--coral-soft);

  --serif: "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --sans: "Inter", -apple-system, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --max: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-card: 0 1px 2px rgba(20, 50, 61, 0.04), 0 8px 24px rgba(20, 50, 61, 0.05);
  --shadow-lift: 0 1px 2px rgba(20, 50, 61, 0.05), 0 18px 48px rgba(20, 50, 61, 0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

/* ───────── Typography ───────── */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-dark);
  font-family: var(--sans);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.08;
  font-weight: 500;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(38px, 5.4vw, 64px); letter-spacing: -0.025em; }
h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -0.02em; }
h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.2; }
h4 { font-size: 17px; line-height: 1.3; font-weight: 600; font-family: var(--sans); letter-spacing: -0.005em; }

p { margin: 0; color: var(--ink-soft); text-wrap: pretty; }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; color: var(--ink-soft); }

em { font-style: italic; color: var(--terra); font-family: var(--serif); }

/* ───────── Layout ───────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(64px, 9vw, 120px) 0;
}
.section.tight { padding: clamp(40px, 6vw, 80px) 0; }

/* ───────── Nav ───────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 247, 242, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.nav.scrolled { border-bottom-color: var(--line); }

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  display: block;
  flex-shrink: 0;
}
.brand-word {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.035em;
  color: var(--slate);
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 26px;
  margin-left: 8px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; }

.nav-cta {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}
.nav-login {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 12px;
}
.nav-login:hover { color: var(--ink); }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--sans);
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  cursor: pointer;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 1px 2px rgba(10, 37, 64, 0.18);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(10, 37, 64, 0.24); }

.btn-teal {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.btn-teal:hover { background: var(--teal-dark); transform: translateY(-1px); }

.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--ink-mute); }

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
}
.btn-ghost:hover { color: var(--ink); }

.btn-lg {
  padding: 14px 22px;
  font-size: 15px;
}

/* ───────── Footer ───────── */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
  margin-top: 80px;
}
.footer a { color: rgba(255, 255, 255, 0.7); transition: color 0.15s; }
.footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h5 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.footer-tagline {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
  margin: 16px 0 20px;
  max-width: 280px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.footer .brand .brand-word { color: #fff; }
.footer .brand-word { font-size: 21px; }

/* ───────── Generic primitives ───────── */
.card {
  background: var(--paper);
  border: 1px solid var(--line-cool);
  border-radius: var(--radius);
  padding: 24px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.pill-teal {
  background: var(--teal-soft);
  border-color: transparent;
  color: var(--teal-dark);
  font-weight: 600;
}

/* ───────── Animation helpers ───────── */
@keyframes crFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes crPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
@keyframes crBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.reveal {
  /* Entrance animation disabled — content visible immediately for reliability */
}
.reveal-delay-1, .reveal-delay-2, .reveal-delay-3, .reveal-delay-4 { }

/* ───────── Small dotted divider ───────── */
.dot-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-faint);
  font-size: 13px;
}
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-faint); }
