/* Revel Media global stylesheet: the same on every client site. Don't edit per client; use client.css.
   Role tokens: kit styles read these, never raw palette names, so a client's look can be changed
   from client.css without touching any class style. Defaults map to ACSS contextual colours. */
:root {
  /* Surfaces */
  --rm-surface: var(--bg-ultra-light);          /* page and header background */
  --rm-surface-alt: var(--bg-light);            /* alternate light band */
  --rm-card: var(--white);                      /* cards, form card */
  --rm-dark: var(--bg-ultra-dark);              /* footer, top bar */
  --rm-dark-alt: var(--bg-dark);

  /* Text */
  --rm-ink: var(--text-dark);
  --rm-ink-muted: var(--text-dark-muted);
  --rm-on-dark: var(--white);
  --rm-on-dark-muted: var(--text-light-muted);

  /* Accent: eyebrows, labels, small highlights. Falls back to primary if secondary is off. */
  --rm-accent: var(--secondary, var(--primary));
  --rm-accent-strong: var(--secondary-semi-dark, var(--primary-dark));
  --rm-accent-soft: var(--secondary-semi-light, var(--primary-light));
  --rm-accent-gradient: linear-gradient(135deg, var(--rm-accent-soft), var(--rm-accent) 55%, var(--rm-accent-strong));

  /* Lines */
  --rm-line: color-mix(in srgb, var(--rm-ink) 14%, transparent);
  --rm-line-on-dark: color-mix(in srgb, var(--rm-on-dark) 14%, transparent);

  /* Core icons (SVG masks: colour with background-color; tick-white is a background image). A client can
     override any of them in client.css; add the design's own icons there. From the SUAAT build, Oct 2026. */
  --rm-icon-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E");
  --rm-icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --rm-icon-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
  --rm-icon-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5L2.5 9.4l6.6-.9z'/%3E%3C/svg%3E");
  --rm-icon-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
  --rm-icon-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
  --rm-icon-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3.5 6.5l8.5 6 8.5-6'/%3E%3C/svg%3E");
  --rm-icon-tick-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");

  /* Logo */
  --rm-logo-height: 48px;
  --rm-logo-height-mobile: 40px;
}

/* Builder only: show ACSS On Visible end state in the Etch canvas (body.etch-canvas-body isn't exported) */
.etch-canvas-body :is([class*=on-visible--], [class*=on-visible-all--] > *) {
  opacity: 1;
  translate: none;
  scale: none;
  filter: none;
}

/* Builder only: Etch's canvas gives empty elements a 35px minimum size so they can be selected, which makes empty
   decorative icon spans look huge in the builder. No effect on the live site (minimum already 0). SUAAT, Oct 2026. */
[aria-hidden="true"]:empty { min-inline-size: 0; min-block-size: 0; }
