/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0f1c3f;
  --navy-mid: #1a2d56;
  --amber:   #d4956a;
  --amber-light: #e8b98a;
  --cream:   #faf7f2;
  --cream-dark: #f0ebe2;
  --text:    #1a1a2e;
  --text-muted: #5a6178;
  --white:   #ffffff;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;

  --max-w: 1200px;
  --section-pad: 100px;
  --radius: 4px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAV ===== */
.topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(15,28,63,0.9) 0%, transparent 100%);
}

.wordmark {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.04em;
}

.topnav-link {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: rgba(250,247,242,0.7);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.topnav-link:hover { color: var(--amber); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 40px 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(212,149,106,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(212,149,106,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  opacity: 0.4;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 28px;
}

.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero-headline em {
  color: var(--amber);
  font-style: italic;
}

.hero-lede {
  font-size: 1.05rem;
  color: rgba(250,247,242,0.65);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 48px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 32px;
}

.hero-stat { display: flex; flex-direction: column; gap: 4px; }

.stat-num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  color: rgba(250,247,242,0.45);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-divider {
  width: 1px;
  height: 48px;
  background: rgba(250,247,242,0.15);
}

/* HERO ART */
.hero-visual { display: flex; align-items: center; justify-content: center; }

.hero-art-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.bars-illustration {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 20px;
}

.bar {
  height: 280px;
  flex: 1;
  background: linear-gradient(180deg, rgba(212,149,106,0.15) 0%, rgba(212,149,106,0.05) 100%);
  border-radius: 2px;
}

.bar-1 { opacity: 0.3; }
.bar-2 { opacity: 0.45; }
.bar-3 { opacity: 0.65; }
.bar-4 { opacity: 0.5; }
.bar-5 { opacity: 0.35; }
.bar-6 { opacity: 0.2; }
.bar-7 { opacity: 0.1; }

.bar-gap {
  flex: 0.6;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 280px;
}

.heart-glow {
  width: 40px;
  height: 40px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow:
    0 0 20px var(--amber),
    0 0 60px rgba(212,149,106,0.4),
    0 0 120px rgba(212,149,106,0.2);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.85; }
}

.art-caption {
  font-size: 0.78rem;
  color: rgba(250,247,242,0.3);
  font-style: italic;
  text-align: center;
  font-family: var(--font-serif);
}

/* ===== INTRO ===== */
.intro {
  padding: var(--section-pad) 40px;
  background: var(--cream);
}

.intro-inner { max-width: 720px; margin: 0 auto; }

.intro-text {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
}

.intro-text em { color: var(--amber); font-style: italic; }

.intro-text--secondary {
  font-size: 1rem;
  color: var(--text-muted);
  font-style: normal;
  font-family: var(--font-sans);
  font-weight: 300;
}

/* ===== PILLARS ===== */
.pillars {
  padding: var(--section-pad) 40px;
  background: var(--cream-dark);
}

.pillars-inner { max-width: var(--max-w); margin: 0 auto; }

.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.pillars-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 64px;
  letter-spacing: -0.02em;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 60px;
}

.pillar { display: flex; flex-direction: column; gap: 16px; }

.pillar-icon {
  color: var(--amber);
  width: 32px;
  height: 32px;
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

.pillar-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ===== VOICE ===== */
.voice {
  padding: var(--section-pad) 40px;
  background: var(--navy);
}

.voice-inner { max-width: 800px; margin: 0 auto; }

.voice-quote { position: relative; }

.quote-mark { color: var(--amber); margin-bottom: 24px; }

.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  line-height: 1.65;
  color: var(--cream);
  font-style: italic;
  margin-bottom: 28px;
}

.quote-attr {
  font-size: 0.8rem;
  color: rgba(250,247,242,0.4);
  letter-spacing: 0.08em;
}

/* ===== APPS ===== */
.apps {
  padding: var(--section-pad) 40px;
  background: var(--cream);
}

.apps-inner { max-width: var(--max-w); margin: 0 auto; }

.apps-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.apps-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 56px;
  max-width: 520px;
}

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

.app-card {
  background: var(--white);
  border: 1px solid rgba(15,28,63,0.08);
  border-radius: 8px;
  padding: 28px;
  position: relative;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.app-card:hover {
  box-shadow: 0 8px 32px rgba(15,28,63,0.1);
  transform: translateY(-2px);
}

.app-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--amber);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 16px;
}

.app-badge--free { background: #e8f4ec; color: #2a7a4a; }
.app-badge--reply { background: #fdf3e8; color: #9a5a10; }

.app-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.app-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== CLOSER ===== */
.closer {
  padding: 120px 40px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.closer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(212,149,106,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.closer-inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }

.closer-ornament {
  color: var(--amber);
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}

.closer-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--cream);
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}

.closer-body {
  font-size: 1.05rem;
  color: rgba(250,247,242,0.6);
  text-align: center;
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 20px;
}

.closer-body:last-of-type {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--amber);
}

/* ===== COMMUNITY PROOF ===== */
.community-proof {
  padding: 64px 40px;
  background: var(--cream-dark);
}

.community-proof-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.community-proof-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.community-proof-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.community-proof-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy-mid);
  padding: 48px 40px;
  border-top: 1px solid rgba(212,149,106,0.15);
}

.footer-inner { max-width: var(--max-w); margin: 0 auto; text-align: center; }

.footer-wordmark {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--amber);
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(250,247,242,0.35);
  font-style: italic;
  font-family: var(--font-serif);
}

.hero-cta {
  display: inline-block;
  margin-bottom: 48px;
  padding: 12px 28px;
  background: var(--amber);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s;
}
.hero-cta:hover { background: var(--amber-light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .hero-visual { display: none; }
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-meta {
    flex-wrap: wrap;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .hero { padding: 100px 24px 60px; }
  .intro, .pillars, .apps, .closer { padding: 72px 24px; }
  .community-proof { padding: 48px 24px; }
  .apps-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 20px; }
  .hero-divider { display: none; }
}
