:root {
  --ink: #14161a;
  --muted: #5b626e;
  --bg: #ffffff;
  --soft: #f6f7f9;
  --brand: #ea5a1e;       /* NirvanaLab orange (from the logo) */
  --brand-ink: #c2440f;   /* darker orange for hover/press */
  --hero-tint: #fff4ec;   /* faint orange wash behind the hero */
  --line: #e6e9ef;
  --radius: 12px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header / nav */
.site-header {
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(1.2) blur(6px);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 40px; width: auto; display: block; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--muted); font-weight: 500; }
.nav a.active, .nav a:hover { color: var(--ink); text-decoration: none; }
.nav a.active { box-shadow: inset 0 -2px 0 var(--brand); }

/* Hero */
.hero { padding: 88px 0 64px; background: linear-gradient(180deg, var(--hero-tint), #fff); }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 16px; }
.hero p { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin: 0 0 28px; }
.btn {
  display: inline-block; background: var(--brand); color: #fff; font-weight: 600;
  padding: 12px 22px; border-radius: var(--radius); border: 0; cursor: pointer;
}
.btn:hover { background: var(--brand-ink); text-decoration: none; }

/* Sections / cards */
.section { padding: 64px 0; }
.section h2 { font-size: 1.7rem; letter-spacing: -0.02em; margin: 0 0 24px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; border-top: 3px solid var(--brand); }
.card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); }
.prose { max-width: 720px; }
.prose p { color: var(--muted); }

/* Footer + newsletter */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; margin-top: 32px; color: var(--muted); }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.newsletter { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.newsletter input { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; min-width: 220px; }
.newsletter input:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.form-note { font-size: 0.9rem; margin-left: 8px; }
.form-note.ok { color: #15803d; }
.form-note.error { color: #b91c1c; }
