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

:root {
  --cream: #f9f7f2;
  --navy: #1a2744;
  --amber: #e8a849;
  --amber-light: #f5dfb8;
  --warm-gray: #f0ece4;
  --text-dark: #1a2744;
  --text-mid: #4a5568;
  --text-light: #718096;
  --white: #ffffff;
  --green: #3a8f5c;
}

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

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
.display {
  font-family: 'Cormorant Garant', Georgia, serif;
}

/* === HERO === */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 96px 64px 100px;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 28px;
}

.hero-headline {
  font-family: 'Cormorant Garant', Georgia, serif;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 640px;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  max-width: 480px;
  margin-bottom: 56px;
}

.hero-stat-block {
  display: flex;
  align-items: baseline;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 40px;
  max-width: 480px;
}

.hero-stat-number {
  font-family: 'Cormorant Garant', Georgia, serif;
  font-size: 80px;
  font-weight: 300;
  line-height: 1;
  color: var(--amber);
  letter-spacing: -0.03em;
}

.hero-stat-label {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

/* === FEATURE SECTIONS === */
.feature {
  padding: 96px 64px;
}

.feature:nth-child(even) {
  background: var(--white);
}

.feature:nth-child(odd) {
  background: var(--cream);
}

.enrollment { background: var(--cream); }
.compliance { background: var(--white); }
.scheduling { background: var(--warm-gray); }

.feature-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-inner.reverse {
  direction: rtl;
}

.feature-inner.reverse > * {
  direction: ltr;
}

.feature-text {
  max-width: 480px;
}

.feature-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.feature-text h2 {
  font-family: 'Cormorant Garant', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 20px;
}

.feature-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 28px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  padding-left: 20px;
  position: relative;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
}

/* === ENROLLMENT UI === */
.enrollment-ui {
  background: var(--navy);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(26, 39, 68, 0.18);
  min-width: 320px;
}

.ui-header {
  background: rgba(255,255,255,0.08);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ui-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ui-dot.red { background: #ff5f57; }
.ui-dot.yellow { background: #febc2e; }
.ui-dot.green { background: #28c840; }

.ui-title {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-left: 8px;
  font-weight: 400;
}

.ui-body {
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.enrollment-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 8px;
}

.enrollment-item.completed {
  background: rgba(58, 143, 92, 0.15);
  color: rgba(255,255,255,0.9);
}

.enrollment-item.active {
  background: rgba(232, 168, 73, 0.15);
  color: rgba(255,255,255,0.9);
}

.enrollment-item.pending {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
}

.enrollment-check {
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

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

.enrollment-dot.pulse {
  animation: pulse 1.5s ease-in-out infinite;
}

.enrollment-clock {
  color: rgba(255,255,255,0.4);
  font-size: 10px;
  flex-shrink: 0;
}

.ui-footer {
  padding: 12px 22px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.ui-agent {
  font-size: 11px;
  color: var(--green);
  font-weight: 600;
}

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

/* === COMPLIANCE UI === */
.compliance-ui {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(26, 39, 68, 0.1);
  border: 1px solid rgba(26, 39, 68, 0.07);
}

.compliance-header {
  font-family: 'Cormorant Garant', Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  background: var(--navy);
  padding: 14px 20px;
  letter-spacing: 0.02em;
}

.compliance-items {
  padding: 0;
}

.compliance-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(26, 39, 68, 0.06);
}

.compliance-item.done {
  opacity: 0.5;
}

.compliance-item.active {
  background: rgba(232, 168, 73, 0.08);
}

.compliance-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--amber);
}

.compliance-item {
  position: relative;
}

.ci-month {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-light);
  width: 36px;
  flex-shrink: 0;
}

.compliance-item.active .ci-month {
  color: var(--amber);
}

.ci-text {
  font-size: 13px;
  color: var(--text-dark);
}

.compliance-item.done .ci-text {
  text-decoration: line-through;
  color: var(--text-light);
}

.compliance-status {
  padding: 14px 20px;
}

.status-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  background: rgba(58, 143, 92, 0.1);
  padding: 5px 12px;
  border-radius: 20px;
}

/* === SCHEDULING UI === */
.scheduling-ui {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(26, 39, 68, 0.1);
  border: 1px solid rgba(26, 39, 68, 0.07);
}

.sched-header {
  font-family: 'Cormorant Garant', Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: var(--navy);
  padding: 14px 20px;
  letter-spacing: 0.02em;
}

.sched-event {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(232, 168, 73, 0.08);
  border-bottom: 1px solid rgba(26, 39, 68, 0.06);
}

.se-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.se-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.se-sub {
  font-size: 12px;
  color: var(--text-light);
}

.sched-resolution {
  padding: 18px 20px 12px;
  background: rgba(58, 143, 92, 0.04);
}

.sr-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

.sr-item {
  font-size: 13px;
  color: var(--text-dark);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sched-time {
  font-size: 11px;
  color: var(--text-light);
  padding: 10px 20px 16px;
  text-align: center;
}

/* === OUTCOMES === */
.outcomes {
  background: var(--navy);
  padding: 96px 64px;
}

.outcomes-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.outcomes h2 {
  font-family: 'Cormorant Garant', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  color: var(--white);
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: -0.01em;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.outcome-card {
  background: rgba(255,255,255,0.05);
  padding: 40px 32px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.08);
}

.oc-number {
  font-family: 'Cormorant Garant', Georgia, serif;
  font-size: 56px;
  font-weight: 300;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.oc-label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}

/* === CLOSING === */
.closing {
  background: var(--cream);
  padding: 100px 64px;
  text-align: center;
}

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

.closing-quote {
  font-family: 'Cormorant Garant', Georgia, serif;
  font-size: clamp(22px, 3vw, 32px);
  font-style: italic;
  font-weight: 300;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.closing-attr {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 64px;
}

.closing-final {
  font-family: 'Cormorant Garant', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.4;
}

/* === FOOTER === */
.site-footer {
  background: var(--navy);
  padding: 40px 64px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  font-family: 'Cormorant Garant', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  flex: 1;
}

.footer-links {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-sep {
  opacity: 0.4;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero { padding: 64px 32px 72px; }
  .feature { padding: 64px 32px; }
  .outcomes { padding: 64px 32px; }
  .closing { padding: 72px 32px; }
  .site-footer { padding: 32px; }

  .feature-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-inner.reverse {
    direction: ltr;
  }

  .outcomes-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 600px) {
  .hero-headline { font-size: 36px; }
  .hero-stat-number { font-size: 60px; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .feature-text h2 { font-size: 28px; }
  .closing-quote { font-size: 22px; }
}