/* WE Insure Marketing Website — Brand Stylesheet */

@font-face {
  font-family: 'Unica 77 LL TT';
  src: url('/fonts/Unica77LLTT-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Unica 77 LL TT';
  src: url('/fonts/Unica77LLTT-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Unica 77 LL TT';
  src: url('/fonts/Unica77LLTT-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  /* ─── Brand palette (source: Mike Thomas, 2026-06-22) ─── */
  --we-brand-deep-blue: #043240;
  --we-brand-bright-blue: #20cbd4;
  --we-brand-dark-navy: #0a202e;
  --we-brand-mid-blue: #436185;
  --we-brand-dark-gray: #53575d;
  --we-brand-soft-gray: #979798;
  --we-brand-blush: #e5d4d0;
  --we-brand-cool-blue: #b3bdc6;

  /* ─── Backgrounds ─── */
  --color-bg-white: #ffffff;
  --color-bg-neutral-1: #f5f5f5;
  --color-bg-neutral-2: #f8f8f9;
  --color-bg-blush-light: #f8f5f4;
  --color-bg-cool-blue-light: #f0f2f4;
  --color-bg-deep-blue: var(--we-brand-deep-blue);

  /* ─── Text ─── */
  --color-text-high: #0a202e;
  --color-text-mid: #53575d;
  --color-text-low: #979798;
  --color-text-white-high: #ffffff;
  --color-text-white-mid: #c1c6cc;

  /* ─── Functional ─── */
  --color-link: var(--we-brand-mid-blue);
  --color-button: var(--we-brand-deep-blue);
  --color-error: #d32f2f;

  /* ─── Typography ─── */
  --font-primary: 'Unica 77 LL TT', 'Unica77 LL Cyrillic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Tiempos Headline', 'Tiempos Fine', 'Playfair Display', 'Times New Roman', Georgia, serif;

  --font-size-h1: 48px;
  --font-size-h2: 36px;
  --font-size-h3: 24px;
  --font-size-body: 16px;
  --font-size-subhead: 18px;
  --font-size-caption: 14px;

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;

  /* ─── Shape ─── */
  --radius-row: 4px;
  --radius-card: 12px;
  --radius-medium: 16px;
  --radius-large: 20px;
  --radius-pill: 100px;

  /* ─── Spacing ─── */
  --section-padding: 112px;
  --section-title-gap: 80px;
  --card-gap: 32px;
  --page-padding: 20px;

  /* ─── Shadows ─── */
  --shadow-xs: 0 1px 4px rgba(10, 32, 46, 0.06);
  --shadow-sm: 0 2px 8px rgba(10, 32, 46, 0.08);
  --shadow-md: 0 4px 16px rgba(10, 32, 46, 0.10);
  --shadow-lg: 0 8px 24px rgba(10, 32, 46, 0.12);
  --shadow-xl: 0 12px 32px rgba(10, 32, 46, 0.14);
}

/* ─── Mobile overrides ─── */
@media (max-width: 768px) {
  :root {
    --font-size-h1: 32px;
    --font-size-h2: 28px;
    --font-size-h3: 18px;
    --font-size-subhead: 16px;
    --font-size-caption: 12px;
    --section-padding: 64px;
    --section-title-gap: 48px;
    --card-gap: 20px;
  }
}

/* ─── Base ─── */
body {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-body);
  line-height: 1.5;
  color: var(--color-text-high);
  background: var(--color-bg-white);
}

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

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }

a {
  color: var(--color-link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ─── Buttons ─── */
.btn {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: var(--font-weight-medium);
  line-height: 28px;
  letter-spacing: 0.08px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  padding: 12px 24px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: var(--we-brand-deep-blue);
  color: var(--color-text-white-high);
}

.btn-secondary {
  background: var(--we-brand-bright-blue);
  color: var(--we-brand-dark-navy);
}

.btn-outline {
  background: transparent;
  border-color: var(--we-brand-deep-blue);
  color: var(--we-brand-deep-blue);
}

/* ─── Cards ─── */
.card {
  background: var(--color-bg-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 32px;
}

/* ─── Inputs ─── */
input, select, textarea {
  font-family: var(--font-primary);
  font-size: var(--font-size-body);
  border: 1.5px solid var(--we-brand-cool-blue);
  border-radius: var(--radius-card);
  padding: 12px 16px;
  color: var(--color-text-high);
  background: var(--color-bg-white);
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--we-brand-bright-blue);
  outline-offset: -1px;
  border-color: var(--we-brand-bright-blue);
}

/* ─── Hero gradient overlay (reference) ─── */
.hero-overlay {
  background: linear-gradient(90deg, rgba(10, 32, 46, 0.82) 0%, rgba(10, 32, 46, 0.5) 55%, rgba(10, 32, 46, 0.05) 100%);
}

@media (max-width: 768px) {
  .hero-overlay {
    background: linear-gradient(0deg, rgba(10, 32, 46, 0.85) 0%, rgba(10, 32, 46, 0.4) 60%, rgba(10, 32, 46, 0.05) 100%);
  }
}
