/* Envarsa website: shared by index.html and privacy.html.
   The palette tokens below mirror ui/styles.css, which is the source of
   truth; change a colour there first, then copy it here. The two
   stylesheets stay separate because the app and the site deploy from
   different roots. Page-specific rules stay inline in each page. */

:root {
  --bg: #0f1116;
  --bg-rail: #13151b;
  --panel: #171a21;
  --panel-2: #1c2029;
  --border: #262b36;
  --border-soft: #1f242e;
  --text: #e8eaf0;
  --muted: #8b93a7;
  --faint: #5c6478;
  --accent: #e5b35a;
  --accent-dim: #b98f48;
  --accent-ink: #221a09;
  --good: #7fd0a7;
  --danger: #e07070;
  --mask: #6b7388;
  --mono: "Cascadia Mono", "Cascadia Code", Consolas, ui-monospace, "SF Mono", Menlo, monospace;
  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 9px;
  --shadow: 0 10px 36px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 70% 40% at 50% -5%, rgba(229, 179, 90, 0.07), transparent),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

::selection { background: rgba(229, 179, 90, 0.3); }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

code {
  font-family: var(--mono); font-size: 0.92em;
  background: var(--panel-2); border: 1px solid var(--border-soft);
  border-radius: 5px; padding: 1px 6px;
}

h1, h2, h3 { font-family: var(--display); }

/* ------------------------------------------------------------ header */

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 17, 22, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-row { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand {
  display: flex; align-items: center; gap: 9px;
  color: var(--text); font-weight: 600; font-size: 17px; letter-spacing: 0.4px;
}
.brand:hover { text-decoration: none; }
.brand img { display: block; }

/* ----------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: var(--radius); padding: 9px 16px;
  font-size: 14.5px; font-weight: 600; line-height: 1.2;
  border: 1px solid var(--border); cursor: pointer;
  transition: filter 120ms ease, border-color 120ms ease;
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: var(--panel); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent-dim); }
.btn-sm { padding: 7px 13px; font-size: 13.5px; }

/* ------------------------------------------------------------ footer */

footer {
  border-top: 1px solid var(--border-soft);
  padding: 34px 0 46px; margin-top: 30px;
  font-size: 13.5px; color: var(--faint);
}
.foot-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-row .brand { font-size: 15px; }
.foot-links { display: flex; gap: 16px; margin-left: auto; flex-wrap: wrap; }
.foot-links a { color: var(--muted); }
.foot-tag { margin-top: 12px; font-family: var(--mono); font-size: 12px; }
