/* --- Design System: Breath & Attention --- */
:root {
  /* Colors - Inspired by breath, sky, and inner luminosity */
  --sky-deep: #4a6b8a;       /* Deep breath blue */
  --sky-soft: #7a9ab8;       /* Flowing attention */
  --sky-pale: #e8f0f7;       /* Spacious awareness */
  
  --glow-warm: #d4a574;      /* Inner light */
  --glow-soft: #f5e8d8;      /* Gentle presence */
  
  --paper: #fdfcfb;          /* Warm white background */
  --text-deep: #2c3e50;      /* Grounded reading */
  --text-flow: #5a6b7d;      /* Muted elements */
  --text-whisper: #9aa5b1;   /* Subtle hints */
  
  --border-soft: #e2e8f0;    /* Gentle divisions */
  
  /* Typography - Refined Scale */
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.5rem;     /* 24px */
  --text-2xl: 2rem;      /* 32px */
  
  /* Spacing - Breath Rhythm (4px base) */
  --breath-1: 0.25rem;   /* 4px - brief pause */
  --breath-2: 0.5rem;    /* 8px - short breath */
  --breath-3: 0.75rem;   /* 12px - half breath */
  --breath-4: 1rem;      /* 16px - full breath */
  --breath-5: 1.5rem;    /* 24px - deep breath */
  --breath-6: 2rem;      /* 32px - rest */
  --breath-8: 3rem;      /* 48px - transition */
}

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

body {
  font-family: "Inter", "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: var(--text-sm);
  color: var(--text-deep);
  line-height: 1.7;
  background: linear-gradient(to bottom, var(--paper) 0%, #faf9f7 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.sheet {
  max-width: 800px;
  margin: var(--breath-8) auto;
  padding: var(--breath-6) var(--breath-5);
  background: white;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(74, 107, 138, 0.08);
}

/* --- Headings --- */
h1, h2, h3 {
  color: var(--sky-deep);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h1 { 
  font-size: var(--text-2xl);
  margin-bottom: var(--breath-2);
  font-weight: 700;
}

h2 { 
  font-size: var(--text-xl);
  margin: var(--breath-8) 0 var(--breath-4);
  position: relative;
  padding-left: var(--breath-5);
}

h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 3px;
  height: 1em;
  background: linear-gradient(to bottom, var(--glow-warm), var(--sky-soft));
  border-radius: 2px;
}

h3 { 
  font-size: var(--text-lg);
  margin: var(--breath-6) 0 var(--breath-3);
  color: var(--sky-soft);
}

/* --- Text Elements --- */
p {
  margin: var(--breath-4) 0;
}

strong {
  font-weight: 600;
  color: var(--sky-deep);
}

em {
  font-style: italic;
  color: var(--text-flow);
}

/* --- Lists --- */
ul, ol {
  margin: var(--breath-5) 0;
  padding-left: var(--breath-6);
}

li {
  margin: var(--breath-3) 0;
  padding-left: var(--breath-2);
}

li::marker {
  color: var(--glow-warm);
}

/* --- Sections --- */
section {
  margin: var(--breath-8) 0;
}

section:first-of-type {
  margin-top: var(--breath-5);
}

/* --- Header --- */
.masthead {
  text-align: center;
  margin-bottom: var(--breath-6);
  padding: var(--breath-6) 0;
  background: linear-gradient(135deg, var(--sky-pale) 0%, var(--glow-soft) 100%);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.masthead::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.masthead h1 {
  position: relative;
  z-index: 1;
}

.subtitle {
  display: block;
  font-size: var(--text-base);
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--sky-soft);
  margin-top: var(--breath-2);
}

.kicker {
  font-style: italic;
  color: var(--text-flow);
  margin-top: var(--breath-3);
  font-size: var(--text-base);
  position: relative;
  z-index: 1;
}

/* --- Lead Section --- */
.lead {
  text-align: center;
  max-width: 680px;
  margin: var(--breath-6) auto;
}

.lead p {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--text-deep);
}

/* --- Divider --- */
.divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-soft) 20%, var(--border-soft) 80%, transparent);
  margin: var(--breath-6) 0;
}

/* --- Quote --- */
blockquote {
  position: relative;
  margin: var(--breath-8) auto;
  padding: var(--breath-6);
  max-width: 600px;
  background: linear-gradient(135deg, var(--sky-pale) 0%, var(--glow-soft) 100%);
  border-radius: 12px;
  border-left: 4px solid var(--glow-warm);
  font-style: italic;
  box-shadow: 0 4px 16px rgba(74, 107, 138, 0.06);
}

blockquote p {
  margin: 0;
  color: var(--text-deep);
  font-size: var(--text-base);
  line-height: 1.8;
}

blockquote::before {
  content: '◦';
  position: absolute;
  top: var(--breath-4);
  left: var(--breath-4);
  font-size: var(--text-2xl);
  color: var(--glow-warm);
  opacity: 0.4;
  line-height: 1;
}

/* --- Two-Column Grid for Session Structure --- */
.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--breath-6);
  margin: var(--breath-8) 0;
}

.grid-two h3 {
  margin-top: 0;
}

.grid-two ol {
  counter-reset: item;
  list-style: none;
  padding-left: 0;
}

.grid-two ol li {
  counter-increment: item;
  margin: var(--breath-4) 0;
  padding-left: var(--breath-6);
  position: relative;
}

.grid-two ol li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0;
  width: var(--breath-5);
  height: var(--breath-5);
  background: linear-gradient(135deg, var(--glow-warm), var(--sky-soft));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-xs);
  box-shadow: 0 2px 6px rgba(212, 165, 116, 0.3);
}

.fine-print {
  font-size: var(--text-sm);
  color: var(--text-flow);
  margin-top: var(--breath-5);
  font-style: italic;
}

/* --- Benefits Section --- */
.benefits-section ul {
  max-width: 680px;
  margin: var(--breath-5) auto;
}

.benefits-section li {
  margin: var(--breath-2) 0;
}

/* --- Footer --- */
footer {
  margin-top: var(--breath-8);
  padding-top: var(--breath-6);
  border-top: 2px solid var(--border-soft);
  text-align: center;
  color: var(--text-flow);
}

footer p {
  margin: var(--breath-2) 0;
  font-size: var(--text-sm);
}

footer a {
  color: var(--sky-soft);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

footer a:hover {
  color: var(--glow-warm);
}

/* --- Accessibility --- */
a:focus,
button:focus {
  outline: 2px solid var(--glow-warm);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .sheet {
    margin: var(--breath-4);
    padding: var(--breath-5) var(--breath-4);
  }
  
  h1 {
    font-size: var(--text-xl);
  }
  
  h2 {
    font-size: var(--text-lg);
  }
  
  .masthead::after {
    display: none;
  }
  
  .grid-two {
    grid-template-columns: 1fr;
    gap: var(--breath-5);
  }
}
