/* Ofage — shared design tokens, "Ember lounge".
   Oxblood-black and velvet surfaces, one warm ember light per page, soft radii by hierarchy,
   Unbounded (display) + Manrope (text). Every page imports this file: landing, privacy, hosted check, admin.
   Contrast (WCAG 2.x): bone on ink 16.97, ash on velvet 7.82, orchid links on ink 8.73,
   dark CTA text on the ember gradient 5.87-8.38 (white on ember would be 3.35 — never use it). */

@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/unbounded-500.woff2") format("woff2"); }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/unbounded-600.woff2") format("woff2"); }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/unbounded-700.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/manrope-400.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/manrope-500.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/manrope-600.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/manrope-700.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  /* surfaces */
  --av-bg: #16080D;          /* ink: oxblood-black page */
  --av-surface: #221019;     /* velvet: panels, cards, inputs */
  --av-surface-2: #2E1522;   /* raised: hover rows, nested panels, menus */
  --av-surface-3: #3A1B2B;
  --av-frost: rgba(34, 16, 25, .72);   /* floating layers, with backdrop-filter */
  --av-overlay: rgba(22, 8, 13, .88);
  /* text */
  --av-text: #F7EDE8;        /* bone */
  --av-muted: #BFA3AB;       /* ash */
  /* brand heat */
  --av-ember: #FF4A2E;
  --av-flame: #FF8A3D;
  --av-cta-bg: linear-gradient(135deg, #FF4A2E 0%, #FF8A3D 100%);
  --av-cta: #FF4A2E;         /* solid ember, for borders/indicators (use --av-cta-bg for button fills) */
  --av-cta-hover: #FF5F3A;
  --av-cta-small: #FF4A2E;
  --av-cta-text: #1A0508;    /* dark text on ember */
  --av-glow: radial-gradient(closest-side, rgba(255, 74, 46, .45), rgba(255, 138, 61, .12) 60%, transparent);
  --av-accent: #B321C0;      /* brand magenta, fills only */
  --av-link: #F28AD6;        /* orchid */
  --av-focus: #FFB84D;
  --av-headline: #F7EDE8;
  /* status */
  --av-success: #43D69A;
  --av-success-fill: #1C6B4B;
  --av-danger: #FF6B7A;
  --av-danger-fill: #8E2332;
  --av-warning: #FFB84D;
  --av-info: #8CC2FF;
  /* lines (borders only where they carry meaning) */
  --av-line: rgba(255, 214, 200, .10);
  --av-line-strong: rgba(247, 237, 232, .28);
  --av-border: rgba(255, 214, 200, .10);
  --av-border-control: rgba(247, 237, 232, .28);
  --av-grid: rgba(255, 214, 200, .08);
  /* depth by light, not grey shadows */
  --av-shadow-hero: 0 24px 70px -30px rgba(255, 74, 46, .35);
  --av-shadow-float: 0 18px 50px -24px rgba(0, 0, 0, .7);
  /* camera */
  --av-cam-mask: rgba(22, 8, 13, .62);
  --av-cam-ring: #F7EDE8;
  --av-cam-ring-active: var(--av-flame);
  /* shape: radius by hierarchy */
  --av-radius-xl: 24px;      /* hero media, page-level panels */
  --av-radius-lg: 18px;      /* cards, dialogs */
  --av-radius: 12px;         /* buttons, inputs */
  --av-radius-sm: 6px;       /* tags */
  --av-radius-pill: 999px;   /* chips */
  --av-radius-media: 18px;
  /* type */
  --av-font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --av-font-display: "Unbounded", "Manrope", system-ui, sans-serif;
  /* spacing (8px grid) */
  --av-space-1: 4px; --av-space-2: 8px; --av-space-3: 12px; --av-space-4: 16px;
  --av-space-5: 20px; --av-space-6: 24px; --av-space-8: 32px; --av-space-12: 48px; --av-space-16: 64px;
  /* per-site accent; pages set it at runtime from the site's ui_color */
  --av-site: var(--av-ember);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--av-bg);
  color: var(--av-text);
  font: 400 16px/1.6 var(--av-font-body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--av-link); text-underline-offset: .18em; }
a:hover { color: var(--av-text); }
:focus-visible { outline: 2px solid var(--av-focus); outline-offset: 2px; }
img { max-width: 100%; }
[hidden] { display: none !important; }
table { font-variant-numeric: tabular-nums; }

.av-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--av-space-2);
  border: 0; border-radius: var(--av-radius); cursor: pointer; text-decoration: none;
  font: 700 16px/1.2 var(--av-font-body); letter-spacing: 0;
  padding: 14px 22px; background: var(--av-cta-bg); color: var(--av-cta-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}
.av-btn:hover { filter: brightness(1.06); color: var(--av-cta-text); }
.av-btn:disabled, .av-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; filter: none; }
.av-btn--block { width: 100%; }
.av-btn--small { font-size: 14px; padding: 9px 14px; }
.av-btn--ghost { background: transparent; color: var(--av-text); border: 1px solid var(--av-line-strong); box-shadow: none; }
.av-btn--ghost:hover { background: var(--av-surface-2); filter: none; }
.av-btn--danger { background: transparent; color: var(--av-danger); border: 1px solid var(--av-danger); box-shadow: none; }

.av-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
