/*
 * Shared brand tokens for Arrel's OWN surfaces (ruling 747c3252: never a
 * tenant's public page, which carries the tenant's own brand). Built once:
 * this is the single upstream source for the working brand concept (ruling
 * bd5a2f8f) — buildWithMe.css's `.bwm` light-mode tokens now read these same
 * values via var(..., <original literal>) instead of a second copy; this
 * file's own color values ARE those literals, kept in exactly one place.
 *
 * Loaded by both the SPA shell (index.html) and the standalone password
 * gate (public/gate.html, which cannot import anything from src/) so every
 * screen in the flow draws from one set of values.
 */
@font-face {
  font-family: 'Arrel Display';
  src: url('/brand/fonts/house-display-cormorant-garamond-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* 'Arrel Display' is the self-hosted copy of the same face (above), so the
     headline stays in the house serif when Google Fonts is slow or blocked
     (Rosemary ef63d2cd saw a default serif in a sandbox with no font CDN). */
  --arls-font-display: 'Cormorant Garamond', 'Arrel Display', Georgia, 'Times New Roman', serif;
  --arls-font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --arls-bg: #EFF2EF;
  --arls-bg-2: #E7EBE7;
  --arls-surface: #FFFFFF;
  --arls-ink: #14201B;
  --arls-ink-2: #535E57;
  /* AA on --arls-bg, --arls-bg-2 and --arls-surface (was #899289, 2.85:1). */
  --arls-ink-3: #5F6962;
  --arls-line: #E0E5E0;
  --arls-accent: #10795A;
  --arls-accent-hover: #0C6349;
  --arls-accent-soft: #E5F1EB;
}

.arls-display { font-family: var(--arls-font-display); }
.arls-body { font-family: var(--arls-font-body); }

/* Reserves room for a phone's status bar / home indicator once viewport-fit
   is set to cover; falls back to 0px when the browser reports no inset
   (desktop, or a browser that doesn't support env()) so nothing changes
   there. */
.arls-safe-top { padding-top: env(safe-area-inset-top, 0px); }
.arls-safe-bottom { padding-bottom: env(safe-area-inset-bottom, 0px); }
