:root {
  --bg: #f7faf8;
  --surface: #ffffff;
  --text: #1d2a24;
  --muted: #5d6f66;
  --primary: #2f7a5f;
  --primary-dark: #245f49;
  --border: #d7e5de;
  --shadow: 0 12px 30px rgba(25, 63, 50, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  scroll-behavior: smooth;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.4rem;
  background: var(--text);
  color: #fff;
  padding: 0.5rem 0.7rem;
  border-radius: 0.4rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.5rem;
}

.container {
  width: min(1080px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 250, 248, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-block;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}

.brand-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  line-height: 1;
  white-space: nowrap;
}

.brand-initial {
  position: relative;
  display: inline-block;
  font-size: 1.12rem;
  font-weight: 800;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--primary-dark);
  padding-right: 0.02rem;
}

.brand-initial::after {
  content: "";
  position: absolute;
  right: -0.12rem;
  top: -0.35rem;
  width: 0.5rem;
  height: 0.34rem;
  background: linear-gradient(145deg, #63b190, #2f7a5f);
  border-radius: 100% 0 100% 0;
  transform: rotate(-18deg);
  box-shadow: 0 0 0 1px rgba(47, 122, 95, 0.1);
}

.brand-rest {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.progress-bar {
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #2f7a5f, #4da683);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.menu {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

.menu-item {
  position: relative;
}

.menu-item > a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  box-shadow: 0 8px 24px rgba(25, 63, 50, 0.12);
  padding: 0.6rem 0;
  margin-top: 0.3rem;
  min-width: 200px;
  z-index: 100;
  list-style: none;
}

.submenu li {
  margin: 0;
}

.submenu a {
  display: block;
  padding: 0.7rem 1.2rem;
  color: var(--text);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.submenu a:hover {
  background: #f0f5f2;
  color: var(--primary-dark);
}

.menu-item:hover > .submenu {
  display: block;
}

.menu-item > a::after {
  content: '▼';
  font-size: 0.6rem;
  opacity: 0.6;
}

.btn-sm {
  padding: 0.5rem 0.8rem;
}

.hero {
  background: linear-gradient(160deg, #e8f3ee 0%, #f7faf8 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 1.2rem;
}

.hero-content {
  padding: 4rem 0 2.5rem;
}

.tag {
  display: inline-block;
  margin: 0 0 0.8rem;
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--primary-dark);
  font-size: 0.9rem;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.1;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.page-hero h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #2f7a5f, #63b190, #2f7a5f);
  border-radius: 2px;
  animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 100%;
    opacity: 1;
  }
}

.subtitle {
  max-width: 62ch;
  color: var(--muted);
  margin-top: 1rem;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  border: 0;
  cursor: pointer;
  display: inline-block;
  padding: 0.72rem 1.15rem;
  border-radius: 0.6rem;
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s ease;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background: #d9ece3;
}

.btn-secondary {
  background: #d9ece3;
  color: var(--primary-dark);
}

.btn-secondary:hover {
  background: #c9e2d6;
}

.hero-card {
  align-self: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.hero-card h2 {
  margin-top: 0;
  margin-bottom: 0.55rem;
  font-size: 1.28rem;
}

.hero-card p {
  color: var(--muted);
}

.hero-points {
  margin-top: 1rem;
  padding-left: 1rem;
  color: var(--muted);
}

.section {
  padding: 5rem 0;
}

.section-head {
  margin-bottom: 2rem;
}

.section-head p {
  margin-top: 0;
  color: var(--muted);
}

.section h2 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.card {
  min-height: 20rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  padding: 1.4rem;
  box-shadow: 0 6px 18px rgba(42, 90, 70, 0.06);
  text-align: left;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(25, 63, 50, 0.14);
  border-color: rgba(47, 122, 95, 0.16);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.card-icon {
  width: 3.3rem;
  height: 3.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(160deg, #f1f8f4 0%, #deeee6 100%);
  border: 1px solid #cde2d7;
  margin: 0 0 1rem;
  color: var(--primary-dark);
  box-shadow: 0 6px 18px rgba(47, 122, 95, 0.16);
}

.card-icon svg {
  width: 1.8rem;
  height: 1.8rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card-actions {
  margin-top: 1.15rem;
  display: flex;
  justify-content: flex-start;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn-tertiary {
  background: #e8f3ee;
  color: var(--primary-dark);
  border: 1px solid #c8dfd4;
}

.btn-tertiary:hover {
  background: #d9ece3;
}

.btn-soft {
  background: #fff;
  color: var(--primary-dark);
  border: 1px solid #d5e5de;
}

.btn-soft:hover {
  background: #f1f7f4;
}

.test-container {
  position: relative;
  min-height: 420px;
}

.test-panel {
  position: relative;
  min-height: 360px;
  padding: 2rem 1.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.fade-panel {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.fade-panel.visible {
  opacity: 1;
  transform: translateY(0);
}

.question-prompt {
  margin-bottom: 1.3rem;
  line-height: 1.5;
}

.options {
  display: grid;
  gap: 1rem;
}

.option {
  display: block;
  width: 100%;
  padding: 1rem 1.1rem;
  border-radius: 0.95rem;
  background: #f8fbf8;
  border: 1px solid #dfeae1;
  color: var(--primary-dark);
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  text-align: left;
}

.option:hover,
.option:focus {
  background: #eef6f1;
  border-color: rgba(47, 122, 95, 0.2);
  transform: translateY(-1px);
}

.hero-result {
  background: linear-gradient(180deg, rgba(47, 122, 95, 0.08), rgba(247, 250, 248, 0.95));
  border: 1px solid rgba(47, 122, 95, 0.14);
  border-radius: 1.5rem;
  padding: 2.2rem;
  box-shadow: 0 18px 34px rgba(25, 63, 50, 0.08);
  display: grid;
  gap: 1.25rem;
}

.hero-result-icon {
  width: 4rem;
  height: 4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e8f3ee;
  color: var(--primary-dark);
  margin-bottom: 0.8rem;
}

.eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pulse-btn {
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(47, 122, 95, 0.18);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(47, 122, 95, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(47, 122, 95, 0);
  }
}

.section-alt {
  background: #edf5f1;
}

.resource-grid,
.timeline-grid,
.symptom-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .content-sidebar {
    order: -1;
  }
}

.personal-brand-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}

.personal-brand-image {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(25, 63, 50, 0.15);
  aspect-ratio: 1;
}

.personal-brand-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.personal-brand-content h2 {
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 1.2rem;
  margin-top: 0;
}

.personal-brand-content h3 {
  color: var(--primary-dark);
  font-size: 1.2rem;
  margin-top: 1.6rem;
  margin-bottom: 0.8rem;
}

.personal-brand-content p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .personal-brand-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .personal-brand-image {
    aspect-ratio: 4/3;
  }
}

.hero-points li {
  margin-bottom: 0.8rem;
}

.hero-points li strong {
  color: var(--text);
}

.content-sidebar {
  display: grid;
  gap: 1rem;
}

.resource-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.resource-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(25, 63, 50, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(25, 63, 50, 0.1);
}

.resource-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.resource-card-body {
  padding: 1.4rem;
}

.resource-card-meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
  color: var(--primary-dark);
  font-size: 0.95rem;
  font-weight: 700;
}

.resource-card-meta .icon-circle {
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(47, 122, 95, 0.12);
}

.resource-card h3 {
  margin: 0 0 0.8rem;
}

.resource-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.resource-card .btn {
  margin-top: 1.3rem;
}

.timeline-visual {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  position: relative;
  background: #fff;
  border-radius: 1.2rem;
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(25, 63, 50, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(25, 63, 50, 0.1);
}

.timeline-dot {
  width: 80px;
  height: 80px;
  min-width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f7a5f, #63b190);
  color: white;
  font-size: 2rem;
  box-shadow: 0 8px 20px rgba(47, 122, 95, 0.2);
}

.timeline-dot i {
  width: 2.5rem;
  height: 2.5rem;
}

.timeline-content h3 {
  margin: 0 0 0.8rem;
  color: var(--text);
  font-size: 1.3rem;
}

.timeline-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.timeline-connector {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  margin: 0.5rem 0;
  opacity: 0.5;
}

@media (max-width: 720px) {
  .timeline-item {
    grid-template-columns: 70px 1fr;
    gap: 1.2rem;
    padding: 1.5rem;
  }

  .timeline-dot {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .timeline-dot i {
    width: 1.8rem;
    height: 1.8rem;
  }
}

.timeline {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.timeline-step {
  padding: 1.4rem;
  border-radius: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(25, 63, 50, 0.05);
}

.timeline-step::before {
  content: attr(data-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: rgba(47, 122, 95, 0.1);
}

.timeline-step h4 {
  margin: 0 0 0.45rem;
}

.symptom-map {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.5rem;
}

.symptom-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.symptom-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem 1rem 0.95rem;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.symptom-item:hover,
.symptom-item.active {
  transform: translateY(-2px);
  border-color: rgba(47, 122, 95, 0.18);
}

.symptom-item h4 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
}

.symptom-detail {
  margin-top: 1rem;
  padding: 1rem 1rem 1.05rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  min-height: 170px;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 1rem;
}

.step h3 {
  margin: 0 0 0.4rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.testimonial-slider {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: var(--shadow);
  transition: border-color 0.15s linear;
}

.testimonial {
  display: none;
}

.testimonial.active {
  display: block;
}

.testimonial p {
  margin: 0;
  font-size: 1.05rem;
}

.testimonial span {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--muted);
}

.testimonial-progress {
  margin-top: 1rem;
  width: 100%;
  height: 0.38rem;
  border-radius: 999px;
  background: #e6efea;
  overflow: hidden;
}

.testimonial-progress-bar {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f7a5f, #63b190, #2f7a5f);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  padding: 0.75rem 0.9rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  color: var(--muted);
}

.cta {
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  margin: 5rem 0;
  padding: 3rem 2rem;
}

.cta-links {
  color: var(--muted);
}

.cta-links a {
  color: var(--primary-dark);
  font-weight: 600;
}

.page-hero {
  padding: 3.5rem 0 2rem;
}

.breadcrumb {
  margin: 0 0 0.7rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--primary-dark);
}

.footer {
  border-top: 1px solid var(--border);
  padding: 1.2rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer a {
  color: var(--primary-dark);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 720px) {
  .nav {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.65rem;
  }

  .brand {
    font-size: 0.86rem;
  }

  .brand-initial {
    font-size: 1rem;
  }

  .brand-rest {
    font-size: 0.82rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .card-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .card-actions .btn {
    width: 100%;
  }

  .menu-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .menu {
    grid-column: 1 / -1;
    margin-top: 0.2rem;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 0.7rem;
    padding: 0.5rem;
    gap: 0.5rem;
    box-shadow: 0 8px 20px rgba(28, 67, 52, 0.12);
  }

  .menu.open {
    display: flex;
  }

  .menu li {
    width: 100%;
  }

  .menu a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.62rem 0.7rem;
    border-radius: 0.45rem;
    border: 1px solid #e7efeb;
    background: #fdfefe;
  }

  .menu a:hover {
    background: #eef6f1;
  }

  .menu .btn {
    width: 100%;
  }

  .submenu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    background: #f8fbf8;
    padding: 0.4rem 0;
    margin-top: 0;
    border-radius: 0;
    min-width: auto;
  }

  .menu-item.open > .submenu {
    display: block;
  }

  .submenu a {
    padding: 0.5rem 2rem;
    font-size: 0.9rem;
  }

  .menu-item > a::after {
    content: '\\25BC';
    font-size: 0.6rem;
  }

  .menu-item.open > a::after {
    transform: rotate(180deg);
  }

  .hero-content {
    padding-top: 2.2rem;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}
