/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-primary:              #00425e;
  --color-primary-hover:        #005b7f;
  --color-primary-fixed:        #c6e7ff;
  --color-on-primary-fixed:     #001e2d;
  --color-secondary:            #006a6a;
  --color-surface:              #f8fafb;
  --color-surface-lowest:       #ffffff;
  --color-surface-low:          #f2f4f5;
  --color-surface-container:    #eceeef;
  --color-surface-high:         #e6e8e9;
  --color-surface-highest:      #e1e3e4;
  --color-on-surface:           #191c1d;
  --color-on-surface-variant:   #40484e;
  --color-outline:              #70787e;
  --color-outline-variant:      #c0c7ce;
  --color-success-bg:           #dcfce7;
  --color-success-text:         #166534;
  --color-success-border:       #bbf7d0;
  --gradient-cta:               linear-gradient(135deg, #00425e 0%, #005b7f 100%);
  --shadow-ambient:             0 12px 32px -4px rgba(25, 28, 29, 0.06);
  --shadow-btn-resting:         0 4px 14px rgba(0, 66, 94, 0.28);
  --shadow-btn-hover:           0 6px 20px rgba(0, 66, 94, 0.38);
  --radius-sm:                  0.5rem;
  --radius-md:                  0.75rem;
  --radius-lg:                  1rem;
  --radius-full:                9999px;
  --font-display:               'Manrope', sans-serif;
  --font-body:                  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--color-surface);
  color: var(--color-on-surface);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

/* ─── Site Header (using shared header from /shared/header.php) ──────────────────────────────────────────── */
/* Commented out - now using shared header styles from /shared/shared.css
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-surface-lowest);
  border-bottom: 1px solid rgba(192, 199, 206, 0.25);
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 2rem;
}

.site-header-inner {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-header img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.site-header-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}
*/

/* ─── Page Layout ──────────────────────────────────────────── */
.page-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

/* ─── Page Header ──────────────────────────────────────────── */
.page-header {
  margin-bottom: 2.5rem;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-on-surface);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.625rem;
  text-wrap: pretty;
}

.page-header p {
  font-size: 1rem;
  color: var(--color-on-surface-variant);
  line-height: 1.6;
  max-width: 560px;
}

/* ─── Progress Steps ───────────────────────────────────────── */
.progress-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 3rem;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.progress-step-bubble {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.progress-step-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-on-surface);
  white-space: nowrap;
}

.progress-connector {
  flex: 1;
  height: 1.5px;
  background: var(--color-outline-variant);
  margin: 0 8px;
}

/* ─── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--color-surface-lowest);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-ambient), 0 0 0 1px rgba(192, 199, 206, 0.15);
  position: relative;
  overflow: hidden;
}

/* ─── Step Sections ────────────────────────────────────────── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.step-card {}

.step-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--gradient-cta);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 66, 94, 0.20);
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-on-surface);
  letter-spacing: -0.02em;
  padding-top: 5px;
}

.step-body {
  padding-left: 52px; /* 36 + 16 gap */
}

.step-body p {
  font-size: 0.9375rem;
  color: var(--color-on-surface-variant);
  line-height: 1.65;
  margin-bottom: 1rem;
  text-wrap: pretty;
}

.step-body p:last-child { margin-bottom: 0; }

.step-body ol {
  list-style: none;
  counter-reset: step-item;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.step-body ol li {
  counter-increment: step-item;
  display: flex;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--color-on-surface-variant);
  line-height: 1.5;
}

.step-body ol li::before {
  content: counter(step-item);
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary-fixed);
  color: var(--color-on-primary-fixed);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ─── Provider Tabs ────────────────────────────────────────── */
.provider-intro {
  font-size: 0.9375rem;
  color: var(--color-on-surface-variant);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  text-wrap: pretty;
}

.tab-group {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tab-bar {
  display: inline-flex;
  background: var(--color-surface-highest);
  border-radius: var(--radius-full);
  padding: 4px;
  gap: 3px;
  margin-bottom: 1.25rem;
  width: fit-content;
}

.tab-btn {
  padding: 7px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-on-surface-variant);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 200ms ease-out;
}

.tab-btn[aria-selected="true"] {
  background: var(--color-surface-lowest);
  color: var(--color-primary);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(25, 28, 29, 0.08);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.provider-name {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-on-surface);
  margin-bottom: 0.75rem;
}

.provider-tagline {
  font-size: 0.875rem;
  color: var(--color-on-surface-variant);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* ─── Info Banner ──────────────────────────────────────────── */
.info-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  background: var(--color-primary-fixed);
  border-radius: var(--radius-sm);
  margin-top: 1rem;
}

.info-banner-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
  margin-top: 6px;
}

.info-banner p {
  font-size: 0.8125rem;
  color: var(--color-on-primary-fixed);
  line-height: 1.5;
}

/* ─── Success Step (Step 4) ────────────────────────────────── */
.success-glow {
  position: absolute;
  right: -32px;
  top: -32px;
  width: 160px;
  height: 160px;
  background: var(--color-primary);
  opacity: 0.03;
  border-radius: 50%;
  filter: blur(32px);
  pointer-events: none;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--gradient-cta);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-btn-resting);
  transition: all 200ms ease-out;
  margin-top: 1.5rem;
}

.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-btn-hover);
}

.cta-button:active {
  transform: translateY(0);
  box-shadow: var(--shadow-btn-resting);
}

.cta-arrow {
  font-size: 1.1em;
  line-height: 1;
}

/* ─── FAQ ──────────────────────────────────────────────────── */
.faq-section {
  margin-top: 3rem;
}

.faq-heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-on-surface);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-ambient), 0 0 0 1px rgba(192, 199, 206, 0.15);
  background: var(--color-surface-lowest);
}

.faq-item {
  border-bottom: 1px solid rgba(192, 199, 206, 0.2);
}

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 1.125rem 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-on-surface);
  transition: background 200ms ease-out;
}

.faq-question:hover {
  background: var(--color-surface-low);
}

.faq-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-outline);
  transition: transform 200ms ease-out;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 280ms ease-out;
}

.faq-item.open .faq-answer {
  max-height: 600px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--color-on-surface-variant);
  line-height: 1.65;
  text-wrap: pretty;
}

.faq-answer-inner a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.faq-answer-inner a:hover {
  text-decoration: underline;
}

/* ─── Footer (using shared footer from /shared/footer.php) ───────────────────────────────────────────────── */
/* Commented out - now using shared footer styles from /shared/shared.css
.site-footer {
  border-top: 1px solid rgba(192, 199, 206, 0.2);
  margin-top: 4rem;
  padding: 2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-footer a {
  font-size: 0.875rem;
  color: var(--color-outline);
  text-decoration: none;
  transition: color 200ms ease-out;
}

.site-footer a:hover {
  color: var(--color-primary);
}

.site-footer-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--color-outline-variant);
}
*/

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 600px) {
  .page-body { padding: 2rem 1.25rem 4rem; }
  .progress-step-label { display: none; }
  .step-body { padding-left: 0; margin-top: 0.75rem; }
  .step-header { flex-direction: row; }
  .page-header h1 { font-size: 1.625rem; }
}
