/* ========================================
   GLOWTH - GLOBAL STYLES
   Shared across all pages
   ======================================== */

:root {
  --color-bg: #f4f8ff;
  --color-surface: #ffffff;
  --color-surface-soft: #eef5ff;
  --color-border: #d7e3f4;
  --color-text: #12233d;
  --color-text-muted: #4f6281;
  --color-primary: #2f80ed;
  --color-primary-strong: #1d63c5;
  --color-success: #6bcf7f;
  --color-warning: #ffd93d;
  --color-danger: #ff6b6b;
  --color-progress-track: #e8e8e8;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;

  --shadow-sm: 0 4px 12px rgba(26, 62, 120, 0.08);
  --shadow-md: 0 10px 26px rgba(26, 62, 120, 0.12);

  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--color-text);
  background: linear-gradient(160deg, #f8fbff 0%, #f1f7ff 55%, #eef9f6 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
}

p {
  color: var(--color-text-muted);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
[role='button'],
a[class*="button"],
a[class*="btn"],
input[type='button'],
input[type='submit'],
input[type='reset'],
button[class*="button"],
button[class*="btn"] {
  color: #fff;
}

button,
[role='button'],
a,
input,
select,
textarea {
  min-height: 44px;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.container {
  width: min(1200px, 100% - (2 * var(--space-lg)));
  margin-inline: auto;
}

.hidden {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}