/* tpl_gystiq design tokens. Values are the live YOOtheme/UIkit values (theme.9.css), carried verbatim. */
:root {
  /* Palette */
  --gy-primary: #2BB7B2;          /* primary and link */
  --gy-primary-hover: #3CC3BE;    /* link hover */
  --gy-section-primary: #269DA2;
  --gy-card-primary: #299DA2;
  --gy-danger: #D03710;
  --gy-success: #14BA6B;
  --gy-ink: #333333;              /* inverse text, on light sections */
  --gy-gradient: linear-gradient(51deg, #1A857F 50%, #23A39D 75%, #2BB7B2 100%);
  --gy-btn-border: rgb(51, 230, 216);
  --gy-radius-dropdown: 6px;

  /* Surfaces (default section, navbar, offcanvas, footer) */
  --gy-bg: #303751;
  --gy-bg-footer: #2A3049;
  --gy-navbar-bg: rgba(48, 55, 81, 0.9);
  --gy-navbar-line: #272c42;
  --gy-text: rgba(255, 255, 255, 0.9);
  --gy-text-muted: rgba(252, 252, 255, 0.55);   /* raised from .35 for WCAG 1.4.3 (custom.css, 2026-08-19) */
  --gy-nav-link: rgba(255, 255, 255, 0.58);     /* raised from .50 for WCAG 1.4.3 */

  /* Type */
  --gy-font-heading: 'Alexandria', 'Poppins', sans-serif;   /* weight 800, large 900 */
  --gy-font-body: 'Poppins', sans-serif;
  --gy-font-alt: 'Manrope', 'Poppins', sans-serif;

  /* Breakpoints, carried from UIkit. Custom properties cannot sit in media queries, so the CSS and chrome.js
     repeat these numbers. The header swaps to the mobile layout below 1400px (live custom rule), not at 960. */
  --gy-bp-s: 640px;
  --gy-bp-m: 960px;
  --gy-bp-l: 1200px;
  --gy-bp-xl: 1600px;
  --gy-bp-header: 1400px;

  /* Spacing, from uk-grid / uk-section / uk-container */
  --gy-gutter: 30px;              /* 40px from 1200 */
  --gy-gutter-l: 40px;            /* 70px from 1200 */
  --gy-section-pad-xs: 20px;
  --gy-section-pad-s: 40px;
  --gy-section-pad-m: 40px;       /* 70px from 960 */
  --gy-section-pad-l: 70px;       /* 140px from 960 */
  --gy-section-pad-xl: 140px;     /* 210px from 960 */
  --gy-container: 1200px;
  --gy-container-large: 1400px;
  --gy-container-pad: 15px;       /* 30px from 640, 40px from 960 */
  --gy-navbar-h: 90px;

  /* Light-section scheme (UIkit inverse dark) and the page surfaces the builder set per section */
  --gy-light-text: rgba(51, 51, 51, 0.86);
  --gy-light-muted: rgba(51, 51, 51, 0.6);
  --gy-light-line: rgba(51, 51, 51, 0.1);
  --gy-light-accent: #08918c;     /* hero accent word on white, 3.9:1 for large text (custom.css G-002) */
  --gy-tab-inactive: rgba(51, 51, 51, 0.71);   /* inactive tab labels in light sections, 5.1:1 (GQ-010), used by the Task 5 switcher */
  --gy-surface-soft: #F9F8F8;
  --gy-surface-stone: #F0EDEE;
  --gy-surface-paper: #FBFBFB;
  --gy-line: #272c42;
  --gy-invalid: #FF9B8A;           /* invalid field edge on navy: about 5.7:1 against #303751 (WCAG 1.4.11 needs 3:1) */
  --gy-field-border: rgba(255, 255, 255, .45);   /* form field edge on navy: about 3.7:1 against #303751 (WCAG 1.4.11 needs 3:1); the reference had none */
  --gy-btn-bg: #166E6E;           /* primary button ramp, every stop clears 4.5:1 with white (custom.css) */
  --gy-btn-bg-hover: #1A7A7E;
  --gy-btn-bg-active: #12605C;

  /* Joomla's Cassiopeia colour variables, so its alerts, pagination, buttons and forms use the palette */
  --cassiopeia-color-primary: var(--gy-btn-bg);
  --cassiopeia-color-hover: var(--gy-btn-bg-hover);
  --cassiopeia-color-link: var(--gy-primary);
  --cassiopeia-color-brand: var(--gy-primary);
  --link-color: var(--gy-primary);
  --link-color-rgb: 43, 183, 178;
  --link-hover-color: var(--gy-primary-hover);
  --link-hover-color-rgb: 60, 195, 190;
}
@media (min-width: 640px)  { :root { --gy-container-pad: 30px; } }
@media (min-width: 960px)  { :root { --gy-container-pad: 40px; --gy-section-pad-m: 70px; --gy-section-pad-l: 140px; } }
@media (min-width: 1200px) { :root { --gy-gutter: 40px; --gy-gutter-l: 70px; } }
