
/* =====================================================
   Unified Styles (v1) - non-breaking, additive overrides
   Date: 2025-08-19
   Notes:
   - Keeps your current styles; applies a consistent baseline layer on top.
   - Uses CSS variables so future theme updates are centralized.
   - Gentle overrides; no layout resets beyond normalization.
===================================================== */

/* 1) Design tokens (can be refined later) */
:root {
  /* Color palette (map/adjust in future iterations as needed) */
  --color-bg: #ffffff;
  --color-fg: #1a1a1a;
  --color-muted: #6b7280;
  --color-primary: #1e3a8a;  /* deep blue */
  --color-primary-contrast: #ffffff;
  --color-secondary: #0ea5e9; /* cyan */
  --color-accent: #f59e0b;    /* amber */
  --color-success: #16a34a;
  --color-warning: #eab308;
  --color-danger:  #dc2626;

  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  --font-serif: Georgia, "Times New Roman", Times, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* Type scale */
  --fs-100: 0.875rem;
  --fs-200: 1rem;
  --fs-300: 1.125rem;
  --fs-400: 1.25rem;
  --fs-500: 1.5rem;
  --fs-600: 1.875rem;
  --fs-700: 2.25rem;

  /* Spacing scale */
  --sp-0: 0;
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;

  /* Radii */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 8px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 15px rgba(0,0,0,.10);

  /* Container width */
  --container: 1200px;
}

/* 2) Base (non-destructive) */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body {
  margin: 0;
  color: var(--color-fg);
  background: var(--color-bg);
  font-family: var(--font-sans);
  font-size: var(--fs-200);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}

/* 3) Typography utilities */
.h1 { font-size: var(--fs-700); line-height: 1.15; margin: var(--sp-6) 0 var(--sp-4); }
.h2 { font-size: var(--fs-600); line-height: 1.2; margin: var(--sp-6) 0 var(--sp-4); }
.h3 { font-size: var(--fs-500); line-height: 1.25; margin: var(--sp-5) 0 var(--sp-3); }
.lead { font-size: var(--fs-300); color: var(--color-muted); }

/* 4) Buttons (non-invasive — class-based) */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--sp-2);
  font-weight: 600;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: var(--color-primary);
  color: var(--color-primary-contrast);
  box-shadow: var(--shadow-sm);
  transition: transform .06s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); text-decoration: none; }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.btn--secondary { background: var(--color-secondary); }
.btn--outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn--light { background: #f8fafc; color: var(--color-fg); border-color: #e5e7eb; }

/* 5) Cards */
.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
}
.card + .card { margin-top: var(--sp-4); }
.card__title { margin: 0 0 var(--sp-2); font-size: var(--fs-400); }
.card__meta { color: var(--color-muted); font-size: var(--fs-100); }

/* 6) Forms */
.input, input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], textarea, select {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: none;
}
.input:focus, input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30,58,138,.15);
}

/* 7) Navigation / Footer (light touch) */
.navbar {
  background: var(--color-primary);
  color: var(--color-primary-contrast);
  padding: var(--sp-3) 0;
}
.navbar a { color: var(--color-primary-contrast); }
.footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: var(--sp-6) 0;
  font-size: var(--fs-100);
}

/* 8) Helpers */
.stack > * + * { margin-top: var(--sp-4); }
.grid {
  display: grid;
  gap: var(--sp-4);
}
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 768px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
}


/* Unified styles placeholder */

/* Sidebar button centering */
.sidebar-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}
.sidebar-buttons a img {
  display: inline-block;
  max-height: 40px;
}

/* ===== Appended: unified_additions.css (merged) ===== */
/* Unified additions for thank-you layout */
.centered-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
}
.centered-section .card {
  padding: 2rem;
}

