/* =============================================
   Yeshua — Shared Design System (matches index.html)
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }

:root {
  --sky-pale: #EBF4FA;
  --sky-soft: #DCE8F4;
  --sky-light: #F5F9FD;
  --gold: #D4A85A;
  --gold-soft: #E8C97A;
  --gold-pale: #F5E9C8;
  --navy: #1B2A4A;
  --navy-soft: #3D5A8A;
  --navy-deep: #0F1A2E;
  --text-primary: #1B2A4A;
  --text-secondary: #5D7295;
  --text-muted: #8B9AAB;
  --white: #FFFFFF;
  --cream: #FAF7F0;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1180px;
  --radius: 12px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--sky-light);
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text-primary);
}
h1 { font-size: clamp(40px, 7vw, 76px); }
h2 { font-size: clamp(30px, 5vw, 48px); }
h3 { font-size: clamp(20px, 2.5vw, 26px); }
h4 { font-size: 18px; }
p { color: var(--text-secondary); }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

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

/* ===== Premium word reveal ===== */
.reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  filter: blur(10px);
  transition:
    opacity 0.9s var(--ease-expo),
    transform 0.9s var(--ease-expo),
    filter 0.7s var(--ease-expo);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform, filter;
}

[data-text-reveal].in-view .reveal-word {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* ===== Scroll reveal ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s var(--ease-expo), transform 1s var(--ease-expo);
}

[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.18s; }
[data-reveal-delay="3"] { transition-delay: 0.26s; }
[data-reveal-delay="4"] { transition-delay: 0.34s; }

/* ===== Scroll progress bar ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-soft) 100%);
  z-index: 200;
  transition: width 0.05s linear;
  box-shadow: 0 1px 8px rgba(212, 168, 90, 0.5);
}

/* ===== Sticky glass nav ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 24px;
  background: rgba(245, 249, 253, 0.55);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border-bottom: 1px solid rgba(27, 42, 74, 0.05);
  transition: background 0.4s var(--ease-expo), padding 0.4s var(--ease-expo), box-shadow 0.4s var(--ease-expo);
}

.nav.nav-scrolled {
  background: rgba(245, 249, 253, 0.82);
  padding: 10px 24px;
  box-shadow: 0 4px 32px rgba(27, 42, 74, 0.08);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
}

.nav-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(212, 168, 90, 0.4);
  transition: transform 0.4s var(--ease-expo);
}

.nav-logo:hover .nav-logo-mark { transform: rotate(-8deg) scale(1.06); }
.nav-logo-mark svg { width: 18px; height: 18px; color: var(--white); }

.nav-logo-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

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

.nav-links a {
  position: relative;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s var(--ease-expo);
  padding: 4px 0;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s var(--ease-expo);
}

.nav-links a:not(.nav-cta):hover { color: var(--navy); }
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav-cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white) !important;
  font-weight: 500;
  transition: all 0.3s var(--ease-expo);
}

.nav-cta:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(27, 42, 74, 0.3);
}

@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-logo-name { font-size: 20px; }
}

/* ===== Content pages (privacy / support / etc.) ===== */
.content-page {
  position: relative;
  padding: 120px 24px 80px;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--sky-pale) 0%, var(--sky-light) 60%, var(--white) 100%);
  overflow: hidden;
}

/* Animated color blobs behind content card */
.content-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(20px);
}

.content-blob-gold {
  width: 600px;
  height: 600px;
  top: -100px;
  left: -150px;
  background: radial-gradient(circle, rgba(232, 201, 122, 0.50) 0%, rgba(232, 201, 122, 0) 70%);
  animation: blob-drift-1 22s ease-in-out infinite;
}

.content-blob-blue {
  width: 700px;
  height: 700px;
  bottom: -200px;
  right: -200px;
  background: radial-gradient(circle, rgba(122, 153, 210, 0.42) 0%, rgba(122, 153, 210, 0) 70%);
  animation: blob-drift-2 26s ease-in-out infinite;
}

.content-blob-pink {
  width: 500px;
  height: 500px;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(196, 98, 138, 0.28) 0%, rgba(196, 98, 138, 0) 70%);
  animation: blob-drift-3 28s ease-in-out infinite;
}

@keyframes blob-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(80px, 40px) scale(1.08); }
  66% { transform: translate(-40px, 80px) scale(0.96); }
}
@keyframes blob-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-60px, -80px) scale(1.05); }
  66% { transform: translate(80px, -30px) scale(0.92); }
}
@keyframes blob-drift-3 {
  0%, 100% { transform: translate(-50%, 0) scale(1); }
  50% { transform: translate(-30%, 80px) scale(1.1); }
}

.content-wrap {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.content-card {
  position: relative;
  padding: 56px 56px 48px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(48px) saturate(220%);
  -webkit-backdrop-filter: blur(48px) saturate(220%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 40px 100px rgba(27, 42, 74, 0.16),
    0 16px 40px rgba(27, 42, 74, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.content-card h1 {
  font-size: clamp(36px, 5vw, 52px);
  margin-bottom: 8px;
}

.content-card h2 {
  font-size: 22px;
  color: var(--navy);
  margin-top: 36px;
  margin-bottom: 12px;
}

.content-card p {
  font-size: 16px;
  color: var(--text-primary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.content-card strong { color: var(--navy); }

.content-card a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-expo);
}

.content-card a:hover { border-bottom-color: var(--gold); }

.content-subtitle {
  font-family: var(--sans);
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 40px;
  font-weight: 500;
}

.content-callout {
  background: rgba(212, 168, 90, 0.10);
  border-left: 3px solid var(--gold);
  padding: 24px 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0;
}

.content-callout h2 {
  margin-top: 0;
  font-size: 18px;
}

.content-callout p {
  font-size: 15px;
  margin-bottom: 8px;
}

.content-callout p:last-child { margin-bottom: 0; }

.content-steps {
  background: rgba(245, 233, 200, 0.40);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 20px 0;
  border: 1px solid rgba(212, 168, 90, 0.20);
}

.content-steps p {
  font-size: 15px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.content-steps p:last-child { margin-bottom: 0; }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold) 100%);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
  box-shadow: 0 4px 12px rgba(212, 168, 90, 0.35);
}

.faq-item {
  border-bottom: 1px solid rgba(27, 42, 74, 0.08);
}

.faq-item:last-of-type { border-bottom: none; }

.faq-item details { padding: 0; }

.faq-item summary {
  cursor: pointer;
  padding: 20px 36px 20px 0;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--navy);
  list-style: none;
  position: relative;
  transition: color 0.3s var(--ease-expo);
}

.faq-item summary:hover { color: var(--gold); }

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.3s var(--ease-expo);
}

.faq-item details[open] summary::after {
  content: '−';
}

.faq-answer { padding: 0 0 24px; }
.faq-answer p { font-size: 15px; margin-bottom: 10px; }
.faq-answer p:last-child { margin-bottom: 0; }

@media (max-width: 600px) {
  .content-card { padding: 40px 24px 32px; }
  .content-card h2 { font-size: 19px; }
  .faq-item summary { font-size: 17px; }
}

/* ===== Footer (matches index.html — navy with gold accent) ===== */
.site-footer {
  position: relative;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 32px;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(232, 201, 122, 0.5) 50%, transparent 100%);
}

.site-footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 100px;
  background: radial-gradient(ellipse 50% 100% at 50% 0%, rgba(232, 201, 122, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  font-family: var(--serif);
  font-size: 32px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--white) 0%, var(--gold-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.3s var(--ease-expo), transform 0.3s var(--ease-expo);
}

.footer-col a:hover { color: var(--white); transform: translateX(4px); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-soft);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .content-page { padding: 100px 16px 64px; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], .reveal-word { opacity: 1 !important; transform: none !important; filter: none !important; }
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
</content>
