:root {
  --navy: #1A3C5E;
  --navy-light: #2a5578;
  --amber: #D4820A;
  --amber-light: #e8991f;
  --cream: #FAF6F1;
  --warm-white: #FDFBF8;
  --text-dark: #1A1A2E;
  --text-body: #4A4A5A;
  --text-muted: #8A8A9A;
  --border-soft: rgba(26, 60, 94, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background-color: var(--warm-white);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 251, 248, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-name {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── HERO ── */
.hero {
  position: relative;
  padding: 100px 40px 120px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 130, 10, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero-overline {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.hero-body {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 480px;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-card {
  background: white;
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 4px 24px rgba(26, 60, 94, 0.1), 0 1px 3px rgba(26, 60, 94, 0.06);
  border: 1px solid var(--border-soft);
  width: 100%;
  max-width: 320px;
  position: relative;
  z-index: 2;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.vitals-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

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

.vital-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.vital-value {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}

.vital-value.low {
  color: #22C55E;
}

.vital-unit {
  font-size: 0.7rem;
  font-weight: 400;
  font-family: 'DM Sans', sans-serif;
}

.card-footer {
  border-top: 1px solid var(--border-soft);
  padding-top: 12px;
}

.last-check {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.hero-art {
  position: relative;
  z-index: 1;
  opacity: 0.9;
}

.hero-art svg {
  width: 100%;
  max-width: 280px;
}

.hero-gradient-overlay {
  display: none;
}

/* ── FEATURES ── */
.features {
  background: var(--cream);
  padding: 100px 40px;
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}

.feature-card {
  padding: 36px 32px;
  background: white;
  border-radius: 20px;
  border: 1px solid var(--border-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26, 60, 94, 0.1);
}

.feature-icon {
  margin-bottom: 24px;
}

.feature-title {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-body);
}

/* ── FOUNDATION ── */
.foundation {
  padding: 100px 40px;
  background: var(--navy);
  color: white;
}

.foundation-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.foundation-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-light);
  background: rgba(212, 130, 10, 0.15);
  border: 1px solid rgba(212, 130, 10, 0.3);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 32px;
}

.foundation-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 56px;
}

.foundation-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.foundation-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.foundation-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(212, 130, 10, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.foundation-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: white;
}

.foundation-item p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
}

/* ── MISSION ── */
.mission {
  padding: 100px 40px;
  background: var(--cream);
}

.mission-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.mission-quote {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 500;
  font-style: italic;
  color: var(--navy);
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.mission-attr {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ── CLOSING ── */
.closing {
  padding: 100px 40px 120px;
  background: var(--warm-white);
}

.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.closing-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

.closing-body {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 560px;
  margin-bottom: 72px;
}

.closing-visual {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.closing-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-number {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.03em;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 140px;
  line-height: 1.4;
}

.closing-divider {
  width: 1px;
  height: 60px;
  background: var(--border-soft);
}

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 32px 40px;
  background: var(--warm-white);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-sep {
  color: var(--border-soft);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .header-inner { padding: 16px 24px; }
  .hero { padding: 60px 24px 80px; }
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .hero-headline { font-size: 2.4rem; }
  .hero-body { font-size: 1rem; }
  .features { padding: 72px 24px; }
  .features-grid { grid-template-columns: 1fr; gap: 20px; }
  .feature-card { padding: 28px 24px; }
  .foundation { padding: 72px 24px; }
  .foundation-items { grid-template-columns: 1fr; }
  .mission { padding: 72px 24px; }
  .closing { padding: 72px 24px 96px; }
  .closing-stat { flex-direction: row; align-items: center; gap: 12px; }
  .closing-divider { display: none; }
  .footer-inner { flex-direction: column; gap: 16px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2rem; }
  .stat-number { font-size: 2rem; }
  .closing-visual { gap: 32px; }
}