/* ============================================
   OURAI — BASE / DESIGN TOKENS
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  /* Color */
  --white:        #FAFBFC;
  --white-dim:     #F1F3F8;
  --navy-900:      #070F22;
  --navy-800:      #0B1B3A;
  --navy-700:      #142B57;
  --navy-600:      #1F3D78;
  --violet-500:    #6E4FE8;
  --violet-400:    #8A6BF0;
  --violet-300:    #A78BFA;
  --violet-100:    #ECE7FD;
  --grey-600:      #5B6478;
  --grey-400:      #8B93A6;
  --grey-200:      #E3E7EF;
  --grey-100:      #EFF1F6;

  /* Type */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* Layout */
  --max-width: 1220px;
  --gutter: clamp(24px, 5vw, 64px);
  --section-pad: clamp(64px, 10vw, 128px);

  /* Motion */
  --ease-out: cubic-bezier(.16,1,.3,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--navy-900);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

p { margin: 0; }

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

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

button { font-family: inherit; cursor: pointer; }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

/* Eyebrow label — mono, tracked out, used to name a section's role */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet-500);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--violet-500);
  box-shadow: 0 0 0 3px var(--violet-100);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  color: var(--navy-900);
}

.section-head p {
  margin-top: 16px;
  color: var(--grey-600);
  font-size: 17px;
  max-width: 520px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .35s var(--ease-out), background .25s, border-color .25s, color .25s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--navy-900);
  color: var(--white);
}
.btn-primary:hover { background: var(--violet-500); }

.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--grey-200);
}
.btn-ghost:hover { border-color: var(--navy-900); }

.btn-light {
  background: var(--white);
  color: var(--navy-900);
}
.btn-light:hover { background: var(--violet-300); }

/* Arc divider — recurring signature motif, a thin partial ring instead of a hard rule */
.arc-divider {
  width: 100%;
  height: 60px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.arc-divider svg { display: block; }

/* Reveal-on-scroll utility, toggled via IntersectionObserver in main.js */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--violet-500);
  outline-offset: 3px;
}

::selection {
  background: var(--violet-300);
  color: var(--navy-900);
}
