/* COPY of website/src/styles/global.css for the standalone H5 pages.
   Tailwind directives and remote font imports are dropped, and @theme /
   @layer base are unwrapped, so it works without the Tailwind build.
   DO NOT hand-edit. Re-copy from source if the real stylesheet changes. */

/* ── Tokens ──────────────────────────────────────────────────────── */
:root {
  --color-brand: #00c9a7;
  --color-brand-hover: #00b396;
  --color-brand-light: #ecfdf5;
  --color-brand-deep: #059669;

  --color-navy: #0a1628;
  --color-navy-mid: #101d33;

  /* Warm palette — not cold slate */
  --color-fg: #1a1a1f;
  --color-fg-secondary: #52525b;
  --color-fg-muted: #a1a1aa;
  --color-fg-faint: #d4d4d8;

  --color-bg: #ffffff;
  --color-bg-soft: #fafafa;
  --color-bg-card: #fafaf9;
  --color-bg-code: #f4f4f5;

  --color-border: #e4e4e7;
  --color-border-subtle: #f0f0f2;

  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

/* ── Base ────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--color-fg-secondary);
  background: var(--color-bg);
  font-size: 0.9375rem;
  line-height: 1.65;
  letter-spacing: -0.011em;
}

::selection {
  background: var(--color-brand);
  color: white;
}

/* ── Typography ──────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-fg);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

/* ── Container ───────────────────────────────────────────────────── */
.container-site {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .container-site { padding-inline: 1.5rem; }
}

/* ── Shadows (warm, multi-layer) ─────────────────────────────────── */
.shadow-card {
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.03),
    0 1px 1px -0.5px rgba(0, 0, 0, 0.03),
    0 3px 3px -1.5px rgba(0, 0, 0, 0.03),
    0 6px 6px -3px rgba(0, 0, 0, 0.03),
    0 12px 12px -6px rgba(0, 0, 0, 0.03),
    0 24px 24px -12px rgba(0, 0, 0, 0.03);
}

.shadow-card-hover {
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.04),
    0 2px 2px -1px rgba(0, 0, 0, 0.04),
    0 4px 4px -2px rgba(0, 0, 0, 0.04),
    0 8px 8px -4px rgba(0, 0, 0, 0.04),
    0 16px 16px -8px rgba(0, 0, 0, 0.04),
    0 32px 32px -16px rgba(0, 0, 0, 0.04);
}

.shadow-product {
  box-shadow:
    0 0 0 0.5px rgba(0, 0, 0, 0.06),
    0 24px 24px -12px rgba(0, 0, 0, 0.06),
    0 12px 12px -6px rgba(0, 0, 0, 0.06),
    0 6px 6px -3px rgba(0, 0, 0, 0.06),
    0 2px 2px -1px rgba(0, 0, 0, 0.06);
}

/* ── Gradient text ───────────────────────────────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, var(--color-brand) 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: linear-gradient(180deg, var(--color-brand) 0%, var(--color-brand-hover) 100%);
  color: white;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: all 150ms ease-out;
  box-shadow:
    0 1px 1px 0.5px rgba(0, 0, 0, 0.04),
    0 3px 3px 1.5px rgba(0, 0, 0, 0.04),
    0 6px 6px -3px rgba(0, 0, 0, 0.04);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 2px 2px 1px rgba(0, 0, 0, 0.04),
    0 4px 4px 2px rgba(0, 0, 0, 0.04),
    0 8px 8px -4px rgba(0, 0, 0, 0.04),
    0 16px 16px -8px rgba(0, 0, 0, 0.04);
}

.btn-primary:active { transform: translateY(0) scale(0.97); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: white;
  color: var(--color-fg);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0.5rem;
  border: 1px solid var(--color-border);
  text-decoration: none;
  transition: all 150ms ease-out;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
  border-color: var(--color-fg-faint);
  transform: translateY(-1px);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 4px 8px -2px rgba(0, 0, 0, 0.04);
}

/* ── Card ────────────────────────────────────────────────────────── */
.card {
  background: var(--color-bg-card);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.card:hover {
  transform: translateY(-2px);
}

/* ── Prose ────────────────────────────────────────────────────────── */
.prose a { color: var(--color-brand); }
.prose a:hover { color: var(--color-brand-hover); }
