/* ==========================================================================
   OVANTA ENTERPRISE — Design Tokens, Reset & Typography
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;0,900;1,500;1,600&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand colors */
  --navy-900: #001756;
  --blue-700: #033b7f;
  --green-700: #1e661c;
  --green-500: #80af22;
  --white: #ffffff;

  --gradient-blue: linear-gradient(135deg, #033b7f 0%, #001756 100%);
  --gradient-blue-soft: linear-gradient(135deg, #0a4a96 0%, #001756 100%);
  --gradient-green: linear-gradient(135deg, #1e661c 0%, #80af22 100%);
  --gradient-mesh: radial-gradient(circle at 20% 20%, rgba(128, 175, 34, 0.14), transparent 45%),
                    radial-gradient(circle at 80% 0%, rgba(3, 59, 127, 0.12), transparent 50%),
                    radial-gradient(circle at 60% 80%, rgba(30, 102, 28, 0.10), transparent 45%);

  /* Neutrals — cool slate scale to sit next to navy */
  --slate-950: #0a0f1c;
  --slate-900: #10182c;
  --slate-800: #1b2540;
  --slate-700: #2c3958;
  --slate-600: #465170;
  --slate-500: #6b7591;
  --slate-400: #99a1b8;
  --slate-300: #c3c9d8;
  --slate-200: #dde1ea;
  --slate-100: #eef0f6;
  --slate-50:  #f6f7fb;

  /* Semantic */
  --ink: var(--slate-900);
  --ink-soft: var(--slate-600);
  --surface: var(--white);
  --surface-alt: var(--slate-50);
  --border: var(--slate-200);

  /* Type */
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Scale */
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --step-2:  clamp(1.44rem, 1.3rem + 0.6vw, 1.75rem);
  --step-3:  clamp(1.85rem, 1.6rem + 1vw, 2.4rem);
  --step-4:  clamp(2.4rem, 2rem + 1.8vw, 3.4rem);
  --step-5:  clamp(3rem, 2.4rem + 2.8vw, 4.6rem);

  /* Layout */
  --container: 1240px;
  --container-narrow: 860px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;

  /* Motion */
  --ease-out: cubic-bezier(.16,.84,.44,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);
  --dur-fast: .25s;
  --dur-med: .55s;
  --dur-slow: .9s;

  --shadow-sm: 0 2px 10px rgba(10, 20, 50, .06);
  --shadow-md: 0 12px 32px -8px rgba(10, 20, 50, .16);
  --shadow-lg: 0 24px 60px -12px rgba(10, 20, 50, .22);
  --shadow-navy: 0 20px 50px -14px rgba(0, 23, 86, .45);
}

@media (prefers-color-scheme: dark) {
  :root { color-scheme: light; }
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  font-size: var(--step-0);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}
h1 { font-size: var(--step-5); font-weight: 800; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); font-family: var(--font-body); font-weight: 700; }

p { color: var(--ink-soft); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-700);
}
.eyebrow::before {
  content: '';
  width: 22px; height: 2px;
  background: var(--gradient-green);
  border-radius: 2px;
}

section { position: relative; }
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section-tight { padding-block: clamp(2rem, 4vw, 3rem); }

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

::selection { background: var(--green-500); color: var(--white); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--slate-50); }
::-webkit-scrollbar-thumb { background: var(--slate-300); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--slate-400); }
