/* ============================================================
   PAUZEY — Shared Design System
   PAUZE. DECIDE. PROTECT.
   ============================================================ */

:root {
  --indigo: #4438FF;
  --indigo-deep: #2F22D8;
  --navy: #090B2D;
  --purple: #6C43F3;
  --lavender-soft: #F4F2FF;
  --lavender-accent: #E9E5FF;
  --white: #FFFFFF;
  --gray: #7D8195;
  --border: #E5E3EF;
  --green: #48C78E;
  --green-light: #EAF9F2;

  --gradient: linear-gradient(135deg, var(--indigo) 0%, var(--purple) 100%);

  --font-editorial: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --font-ui: Inter, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(9, 11, 45, 0.04), 0 1px 1px rgba(9, 11, 45, 0.03);
  --shadow-md: 0 8px 24px rgba(9, 11, 45, 0.07), 0 2px 6px rgba(9, 11, 45, 0.04);
  --shadow-lg: 0 24px 64px rgba(68, 56, 255, 0.14), 0 4px 12px rgba(9, 11, 45, 0.06);

  --max-width: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 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-ui);
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-editorial);
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.12;
}

h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }

.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo);
}

p { color: var(--gray); font-size: 1.02rem; }

.lede {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  color: var(--navy);
  opacity: 0.72;
  line-height: 1.5;
}

.text-indigo { color: var(--indigo); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

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

.btn-sm { padding: 10px 20px; font-size: 0.88rem; }

/* ---------- Header ---------- */

header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-editorial);
  font-size: 1.32rem;
  color: var(--navy);
  font-weight: 400;
}

.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

nav.primary-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

nav.primary-nav a:not(.btn) {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--navy);
  opacity: 0.72;
  transition: opacity 0.15s ease;
}
nav.primary-nav a:not(.btn):hover { opacity: 1; color: var(--indigo); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header-cta { display: flex; align-items: center; gap: 14px; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
}

@media (max-width: 880px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  header.site-header.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px 20px 28px;
    border-bottom: 1px solid var(--border);
  }
}

/* ---------- Sections ---------- */

section { padding: 96px 0; }
@media (max-width: 640px) { section { padding: 64px 0; } }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head .eyebrow { display: block; margin-bottom: 14px; }
.section-head h2 { margin-bottom: 16px; }

.bg-lavender { background: var(--lavender-soft); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,0.68); }

/* ---------- Cards ---------- */

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 880px) {
  .card-grid { grid-template-columns: 1fr; }
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--lavender-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.96rem; }

/* ---------- Footer ---------- */

footer.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 64px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 40px;
}

.footer-brand .logo { color: var(--white); }
.footer-brand p { margin-top: 12px; max-width: 280px; font-size: 0.9rem; color: rgba(255,255,255,0.5); }

.footer-links {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 12px;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.42);
}

/* ---------- Utility ---------- */

.flex-between { display: flex; align-items: center; justify-content: space-between; }
.center { text-align: center; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--lavender-accent);
  color: var(--indigo-deep);
}
