@import url("https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,400;14..32,500;14..32,600;14..32,700&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  /* Surfaces & ink */
  --bg: #fbf8f1;
  --bg-card: #ffffff;
  --surface: #fbf8f1;
  --surface-alt: #f4f0e5;
  --ink: #15151a;
  --ink-soft: #4a4a55;
  --ink-faint: #8a8a95;
  --rule: #e8e4d8;
  --rule-soft: #f0ede2;

  /* Twilight (used in pricing band) */
  --twilight-1: #1b1840;
  --twilight-2: #3b2a6e;
  --twilight-3: #6b4fa0;
  --twilight-4: #b5a3d6;

  /* Crystal greens — primary accent */
  --crystal-1: #8ff0b8;
  --crystal-2: #3fbe7a;
  --accent: #3fbe7a;
  --accent-hover: #34a96a;

  /* Warm signal */
  --accent-warm: #e8956c;
  --star: #fbe9a8;

  /* Stone neutrals (kept for back-compat with pricing page) */
  --stone-200: var(--rule);
  --stone-400: #b5b0a0;
  --stone-500: var(--ink-faint);
  --stone-600: var(--ink-soft);

  /* Typography */
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --radius: 12px;
  --max-w: 1180px;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.04;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
}

h1 em,
h2 em,
h3 em,
h4 em {
  font-style: normal;
  color: var(--accent);
  font-weight: 600;
}

p {
  max-width: 62ch;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Containers */
.container,
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* Typography utilities */
.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 144;
  line-height: 1.04;
}

.display em {
  font-style: normal;
  font-weight: 600;
}

/* Eyebrows */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* Buttons — pill shape */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.btn-lg {
  padding: 13px 22px;
  font-size: 14.5px;
}

.btn-primary {
  background: var(--ink);
  color: #fbf6e9;
  border-color: var(--ink);
  box-shadow: 0 6px 18px -6px rgba(15, 15, 20, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #000;
  border-color: #000;
}

/* Light-on-dark pill (deep ink/twilight bg) */
.btn-light {
  background: #1f1b2e;
  color: #fbf8f1;
  border-color: #1f1b2e;
  box-shadow: 0 10px 28px -10px rgba(31, 27, 46, 0.5);
}

.btn-light:hover {
  transform: translateY(-1px);
  background: #15121f;
  border-color: #15121f;
}

/* Inverted primary — surface fill (kept for back-compat with pricing page) */
.btn-primary-light {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
  font-weight: 600;
}

.btn-primary-light:hover {
  background: #fff;
  border-color: #fff;
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--accent);
  color: #0e2a2a;
  border-color: var(--accent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 10px 24px -8px color-mix(in oklab, var(--accent) 60%, transparent);
}

.btn-accent:hover {
  transform: translateY(-1px);
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

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

.btn-ghost:hover {
  background: color-mix(in oklab, var(--ink) 6%, transparent);
}

.btn-link {
  background: transparent;
  color: var(--ink);
  padding: 0.7rem 0;
  border: none;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
}

.btn-link:hover {
  border-bottom-color: var(--ink);
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

/* Shared section primitives — used by other pages (pricing). */
.section {
  padding: 6rem 0;
}

.section-alt {
  background: var(--surface-alt);
}

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  margin: 0.75rem 0 3rem;
  max-width: 22ch;
}

.dark-surface {
  background: var(--ink);
  color: var(--bg);
}
