/* Shared design system — used by /, /privacy, /terms, /support */

@font-face {
  font-family: 'Stack Sans Notch';
  src: url('/assets/fonts/StackSansNotch-VariableFont_wght.ttf') format('truetype-variations'),
       url('/assets/fonts/StackSansNotch-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #F6F2EF;
  --bg-2: #ECE6E2;
  --bg-3: #E1D9D3;
  --ink: #090808;
  --ink-2: #2A2724;
  --ink-3: #5C5852;
  --ink-4: #8A857D;
  --line: rgba(9,8,8,0.10);
  --line-2: rgba(9,8,8,0.18);
  --brick: #c8410d;
  --brick-2: #b3380a;
  --pass: #1F5F3F;
  --fail: #8E1E14;
  --warn: #8A5A00;
  --font-display: 'Stack Sans Notch', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--ink); }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--brick); color: var(--bg); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* TYPE */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--brick);
  margin-right: 8px;
  vertical-align: 2px;
}
.mono { font-family: var(--font-mono); }

/* NAV (floating brutalist bar — shared with homepage) */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 14px 0;
  background: transparent;
  border-bottom: 0;
  pointer-events: none;
}
.nav .container { pointer-events: none; }
.nav-inner {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between;
  height: auto;
  padding: 9px 12px 9px 18px;
  background: var(--bg);
  border: 1px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transition: box-shadow 160ms ease, transform 160ms ease;
}
.nav.scrolled .nav-inner {
  box-shadow: 2px 2px 0 var(--ink);
  transform: translate(2px, 2px);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.brand img { height: 26px; width: auto; object-fit: contain; display: block; }
.nav-links {
  display: flex; gap: 26px;
  margin-left: auto;
  padding-right: 22px;
}
.nav-links a {
  font-size: 13px;
  color: var(--ink-3);
  transition: color 120ms;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.nav-cta .btn { padding: 8px 14px; font-size: 13px; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 0;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 120ms, color 120ms;
  white-space: nowrap;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn-primary { background: var(--brick); color: var(--bg); border-color: var(--brick); }
.btn-primary:hover { background: var(--brick-2); border-color: var(--brick-2); color: var(--bg); }
.btn-ghost { border-color: transparent; padding: 10px 12px; }
.btn-ghost:hover { background: transparent; color: var(--ink-3); }
.btn-lg { padding: 13px 22px; font-size: 14px; }
.btn .arr { transition: transform 160ms; }
.btn:hover .arr { transform: translateX(3px); }

/* FOOTER (shared with homepage) */
.footer {
  background: var(--ink);
  color: var(--bg);
  padding: 56px 0 0;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px 48px;
  flex-wrap: wrap;
}
.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.footer .brand { color: var(--bg); font-size: 18px; }
.footer .brand img { filter: none; height: 28px; width: auto; }
.footer-tagline {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(228,223,219,0.62);
  max-width: 320px;
  margin: -4px 0 0;
}
.footer-copy {
  font-size: 12.5px;
  color: rgba(228,223,219,0.55);
}
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 1px solid rgba(228,223,219,0.22);
  color: rgba(228,223,219,0.7);
  transition: border-color 120ms, color 120ms, background 120ms;
}
.footer-social a:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.footer-social svg { width: 15px; height: 15px; display: block; }
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.footer-links a { font-size: 13px; color: rgba(228,223,219,0.7); }
.footer-links a:hover { color: var(--bg); }
.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(228,223,219,0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  flex-wrap: wrap;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 12.5px; color: rgba(228,223,219,0.55); }
.footer-legal a:hover { color: var(--bg); }
.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(64px, 16vw, 240px);
  line-height: 0.78;
  color: var(--bg);
  margin: 56px 0 -0.14em;
  display: flex;
  justify-content: center;
  user-select: none;
  white-space: nowrap;
}
.footer-wordmark > span:first-child { letter-spacing: 0.02em; margin-right: 0.04em; }

/* COOKIE TOAST */
.cookie-toast {
  position: fixed;
  left: 24px; bottom: 24px;
  z-index: 100;
  max-width: 360px;
  background: var(--bg);
  border: 1px solid var(--ink);
  padding: 16px 18px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
  box-shadow: 6px 6px 0 var(--ink);
  transition: opacity 200ms, transform 200ms;
}
.cookie-toast.hidden {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}
.cookie-toast .label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.cookie-toast .label::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--brick);
  margin-right: 8px;
  vertical-align: 2px;
}
.cookie-toast p { margin: 0 0 12px; }
.cookie-toast .row { display: flex; align-items: center; gap: 12px; }
.cookie-toast button {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  padding: 7px 14px;
  cursor: pointer;
  transition: background 120ms, color 120ms;
}
.cookie-toast button:hover { background: transparent; color: var(--ink); }
.cookie-toast a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 560px) {
  .cookie-toast { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}

/* RESPONSIVE — nav/footer */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .footer-row { gap: 28px 32px; }
  .footer-links { align-items: flex-start; }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .nav-cta .btn-ghost { display: none; }
  .footer-links { gap: 10px; }
}
