/* Structure Services Design Tokens
 * Generated: 2026-01-21
 * Palette: Ocean Breeze
 * Emotion: Professional & Trustworthy with Human Touch
 */

:root {
  /* ========================================
     COLORS - BRAND (Ocean Breeze)
     ======================================== */
  
  /* Primary - Coral (CTAs, key actions) */
  --color-primary: #E86B5A;
  --color-primary-hover: #D55A49;
  --color-primary-light: #FEF2F0;
  --color-primary-light-hover: #FCDDD9;
  
  /* Secondary - Steel Blue (links, accents) */
  --color-secondary: #5B7B9A;
  --color-secondary-hover: #4A6A89;
  --color-secondary-light: #E8F1F5;
  
  /* ========================================
     COLORS - SEMANTIC
     ======================================== */
  --color-success: #2F7A4D;
  --color-success-light: #E8F5E9;
  --color-warning: #D4913D;
  --color-warning-light: #FFF3E0;
  --color-error: #DC2626;
  --color-error-light: #FEE2E2;
  --color-info: #5B7B9A;
  --color-info-light: #E8F1F5;
  
  /* ========================================
     COLORS - NEUTRAL
     ======================================== */
  
  /* Text */
  --color-text-primary: #4A5568;
  --color-text-secondary: #5B7B9A;
  --color-text-muted: #8A9BAA;
  --color-text-inverse: #FFFFFF;
  
  /* Backgrounds */
  --color-background: #FAFCFD;
  --color-surface: #FFFFFF;
  --color-section-bg: #E8F1F5;
  
  /* Borders */
  --color-border: #A8C5DB;
  --color-border-light: #D4E4ED;
  
  /* ========================================
     TYPOGRAPHY - FONTS
     ======================================== */
  --font-heading: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'Fira Code', Consolas, monospace;
  
  /* ========================================
     TYPOGRAPHY - SIZES
     ======================================== */
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.25rem;    /* 20px */
  --text-2xl: 1.5rem;    /* 24px */
  --text-3xl: 1.875rem;  /* 30px */
  --text-4xl: 2.25rem;   /* 36px */
  --text-5xl: 3rem;      /* 48px */
  
  /* ========================================
     TYPOGRAPHY - WEIGHTS
     ======================================== */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  
  /* ========================================
     TYPOGRAPHY - LINE HEIGHTS
     ======================================== */
  --leading-tight: 1.25;
  --leading-snug: 1.3;
  --leading-normal: 1.5;
  --leading-relaxed: 1.6;
  --leading-loose: 1.8;
  
  /* ========================================
     SPACING (8px base)
     ======================================== */
  --space-0: 0;
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  
  /* ========================================
     BORDER RADIUS
     ======================================== */
  --radius-none: 0;
  --radius-sm: 0.25rem;   /* 4px */
  --radius-md: 0.5rem;    /* 8px - default */
  --radius-lg: 0.75rem;   /* 12px */
  --radius-xl: 1rem;      /* 16px */
  --radius-2xl: 1.5rem;   /* 24px */
  --radius-full: 9999px;
  
  /* ========================================
     SHADOWS
     ======================================== */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.05);
  
  /* ========================================
     BORDERS
     ======================================== */
  --border-width: 1px;
  --border-width-2: 2px;
  --border: var(--border-width) solid var(--color-border);
  --border-light: var(--border-width) solid var(--color-border-light);
  
  /* ========================================
     LAYOUT
     ======================================== */
  --container-max: 1200px;
  --container-narrow: 800px;
  --touch-target: 44px;
  --nav-height: 72px;
  --nav-height-mobile: 64px;
  
  /* ========================================
     BREAKPOINTS (for reference in JS/media queries)
     ======================================== */
  --screen-sm: 640px;
  --screen-md: 768px;
  --screen-lg: 1024px;
  --screen-xl: 1280px;
  
  /* ========================================
     TRANSITIONS
     ======================================== */
  --duration-fast: 150ms;
  --duration-normal: 200ms;
  --duration-slow: 300ms;
  
  /* Easing curves */
  --ease-default: ease;
  --ease-out: cubic-bezier(0, 0, 0.2, 1);      /* Elements entering */
  --ease-in: cubic-bezier(0.4, 0, 1, 1);       /* Elements exiting */
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1); /* Move and transform */
  
  /* Composite transitions */
  --transition-fast: var(--duration-fast) var(--ease-default);
  --transition-normal: var(--duration-normal) var(--ease-default);
  --transition-slow: var(--duration-slow) var(--ease-default);
  
  /* ========================================
     Z-INDEX SCALE
     ======================================== */
  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
}

/* ========================================
   BASE STYLES
   ======================================== */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-primary);
  background-color: var(--color-background);
}

/* ========================================
   TYPOGRAPHY BASE
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-semibold);
  line-height: var(--leading-snug);
  color: var(--color-text-primary);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  margin-bottom: var(--space-4);
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-secondary-hover);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Text colors */
.text-primary { color: var(--color-text-primary); }
.text-secondary { color: var(--color-text-secondary); }
.text-muted { color: var(--color-text-muted); }
.text-success { color: var(--color-success); }
.text-warning { color: var(--color-warning); }
.text-error { color: var(--color-error); }

/* Background colors */
.bg-surface { background-color: var(--color-surface); }
.bg-section { background-color: var(--color-section-bg); }
.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-8);
  }
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
