/*
Theme Name:  MarkIt
Theme URI:   https://markit-usa.com
Description: MarkIt marketing site and user portal.
Author:      MarkIt
Author URI:  https://markit-usa.com
Version:     1.0.3
Text Domain: markit-child
*/

/* ── Design tokens ────────────────────────────────────────────────────────── */
:root {
  /* Brand colours (source: Code/Mobile/MarkItMaui/Resources/Styles/Colors.xaml) */
  --color-primary:    #f58f57; /* orange  — buttons, CTAs, links, progress bars  */
  --color-secondary:  #de599a; /* pink    — section headers, accents             */
  --color-dark:       #292c4d; /* navy    — nav bar, dark backgrounds            */
  --color-midnight:   #190649; /* deep    — headline text                        */
  --color-error:      #cf1414; /* red     — form validation errors               */
  --color-text-light: #ffffff; /* white   — text on dark backgrounds             */
  --color-text-dark:  #292c4d; /* navy    — text on light backgrounds            */
  --color-gray-mid:   #6e6e6e; /* grey    — placeholder text, underlines         */
  --color-bg-light:   #ffffff; /* white   — page background                      */

  /* Typography */
  --font-base:      'Golos Text', system-ui, -apple-system, sans-serif;
  --font-size-base: 16px;
  --font-size-sm:   0.875rem;
  --font-size-h1:   clamp(2rem, 5vw, 3.5rem);
  --font-size-h2:   clamp(1.5rem, 3vw, 2.25rem);
  --font-size-h3:   1.25rem;
  --line-height:    1.6;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;

  /* Shape */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Elevation */
  --shadow-card: 0 2px 8px rgba(41, 44, 77, 0.12);

  /* Motion */
  --transition: 150ms ease;

  /* Layout */
  --max-width: 1200px;
  --portal-nav-height: 60px;
}

/* ── Reset / base ─────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  color: var(--color-text-dark);
  background-color: var(--color-bg-light);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Focus ring — WCAG 2.1 AA */
:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}
