/* Font stylesheet is loaded from <link> tags in each page's <head>
   (with rel="preconnect" ahead of it) instead of @import here — an
   @import at the top of a stylesheet blocks CSS parsing until it
   resolves, delaying first paint; a <link> lets the browser discover
   and fetch it in parallel much earlier. Same font files either way. */

:root {
  --font-display: 'Lora', 'Georgia', serif;
  --font-body: 'Inter', system-ui, sans-serif;
  /* Brand palette */
  --violet-900: #2E1065;
  --violet-700: #5B21B6;
  --violet-600: #7C3AED;
  --violet-500: #8B5CF6;
  --violet-400: #A78BFA;
  --violet-100: #EDE9FE;
  --violet-50: #F5F3FF;
  --gradient-brand: linear-gradient(135deg, var(--violet-700) 0%, var(--violet-500) 100%);
  --gradient-logo: linear-gradient(182deg, #DCABDA 0%, #CA8BCC 21%, #BB72C0 43%, #AB5AB6 67%, #7453B2 99%);

  --ink-900: #1B1330;
  --ink-700: #453A5C;
  --ink-500: #6B6180;
  --ink-300: #A79FB5;

  --surface-0: #FFFFFF;
  --surface-50: #FAF9FC;
  --surface-100: #F3F0F8;
  --surface-line: #E9E4F2;

  --success: #22B07D;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(46, 16, 101, 0.06);
  --shadow-md: 0 8px 24px rgba(46, 16, 101, 0.10);
  --shadow-lg: 0 20px 48px rgba(46, 16, 101, 0.14);
  --shadow-glow: 0 12px 32px rgba(124, 58, 237, 0.28);

  --container: 1240px;
  --header-h: 106px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.2s;
  --dur-med: 0.45s;
  --dur-slow: 0.8s;

  font-size: 16px;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--surface-0);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
}

p { margin: 0; }

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

ul { list-style: none; margin: 0; padding: 0; }

img { max-width: 100%; display: block; }

button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

button { cursor: pointer; }

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

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet-600);
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--violet-500);
  border-radius: 2px;
}

section { position: relative; }

.section-pad { padding-block: clamp(56px, 8vw, 108px); }

::selection { background: var(--violet-400); color: #fff; }
