:root {
  /* Colors */
  --bg-color: #FAFAFA; /* Off-white for background */
  --text-main: #353535; /* Charcoal */
  --text-sub: rgba(97, 97, 97, 1); /* Middle gray */
  --accent-color: #C1A68D; /* Warm beige */
  --accent-hover: #A88F78;
  --card-bg: #FFFFFF;
  --card-bg-sub: #F0EFEB; /* Very light beige for highlights */
  --border-color: #E5E7EB;
  
  /* Fonts */
  --font-base: inherit;
  
  /* Layout */
  --max-width: 768px; /* 1 column layout */
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 32px;
  --spacing-xl: 64px;
}

body {
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.8;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.7;
}

/* Global Header Replicate */
.evigym-real-header {
  background-color: #f7f5ec;
  border-bottom: 2px solid #ccc;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

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

.evigym-real-header .header-logo {
  margin: 0;
  padding: 0;
}

.evigym-real-header .header-logo img {
  height: 40px;
  width: auto;
  display: block;
}

.evigym-real-header .header-icons {
  display: flex;
  align-items: stretch;
}

.evigym-real-header .header-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11px;
  font-weight: bold;
  text-decoration: none;
  padding: 8px 12px;
  line-height: 1.3;
  margin-left: 5px;
}

.icon-faq {
  color: #666;
}

.icon-beginner {
  background-color: #cfd4d8; /* Grayish blue from screenshot */
  color: #333;
}

.icon-login {
  background-color: #d95d14; /* Orange from screenshot */
  color: #fff;
}

/* SP Fixed Nav Bottom Replicate */
.sp-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #4a3e35; /* Dark brown */
  display: none;
  justify-content: space-between;
  z-index: 1000;
}

.sp-bottom-nav .nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  color: #fff;
  text-decoration: none;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.sp-bottom-nav .nav-item:last-child {
  border-right: none;
}

.sp-bottom-nav .nav-icon {
  font-size: 18px;
  margin-bottom: 2px;
}

.sp-bottom-nav .nav-text {
  font-size: 9px;
  transform: scale(0.9);
}

@media (max-width: 768px) {
  .pc-cta {
    display: none;
  }
  .sp-bottom-nav {
    display: flex;
  }
  body {
    padding-bottom: 60px; /* Space for bottom nav */
  }
}

/* Typography */
h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: var(--spacing-lg);
  letter-spacing: 0.05em;
}

.h1-sub {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-sub);
  display: block;
  margin-top: 8px;
}

h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.h2-sub {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-sub);
  display: block;
  margin-top: 4px;
}

h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.lead-text {
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: var(--spacing-xl);
}

.sub-text {
  font-size: 14px;
  color: var(--text-sub);
}

/* Container */
.fact-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--spacing-lg) 24px var(--spacing-xl); /* Adjusted for slightly wider side margin */
}

/* Breadcrumb */
.breadcrumb {
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: var(--spacing-md); /* reduced margin */
}

.breadcrumb a {
  color: var(--text-sub);
}

/* Caution */
.caution-text {
  font-size: 12px;
  color: var(--text-sub);
  background: var(--border-color);
  padding: 12px;
  border-radius: 4px;
  line-height: 1.6;
}

.caution-top {
  margin-bottom: var(--spacing-lg);
}

.caution-bottom {
  margin-top: var(--spacing-xl);
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: #fff;
  padding: 12px 24px;
  border-radius: 40px;
  font-weight: 500;
  text-align: center;
  transition: background-color 0.2s, transform 0.1s;
}

.btn:hover {
  background-color: var(--accent-hover);
  color: #fff;
  opacity: 1;
}

.btn-large {
  padding: 16px 40px;
  font-size: 18px;
}

.btn-block {
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.pc-cta {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
}

@media (max-width: 768px) {
  .pc-cta {
    display: none;
  }
}

/* Hero Highlights */
.highlight-cards {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.highlight-card {
  flex: 1;
  background: var(--card-bg-sub);
  padding: var(--spacing-md);
  border-radius: 8px;
  text-align: center;
}

.card-label {
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 4px;
}

.card-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}

.card-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 4px;
}

.card-number .unit {
  font-size: 16px;
}

.card-number .arrow {
  margin: 0 4px;
  color: var(--text-sub);
  font-size: 20px;
}

.card-note {
  font-size: 11px;
  color: var(--text-sub);
}

@media (max-width: 600px) {
  .highlight-cards {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .highlight-card {
    flex: 1 1 calc(50% - 8px);
    min-width: 140px;
    padding: 16px 12px;
  }
  .card-number {
    font-size: 24px;
  }
}

/* Images */
.hero-image {
  margin: 0 0 var(--spacing-xl) 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* TOC */
.toc {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.toc-header {
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: var(--spacing-md) 0 0 0;
}

.toc-list li {
  margin-bottom: 8px;
}

.toc-list a {
  color: var(--text-main);
  text-decoration: underline;
  text-decoration-color: var(--border-color);
  text-underline-offset: 4px;
}

/* Sections */
.section {
  margin-bottom: var(--spacing-xl);
}

.section-lead {
  margin-bottom: var(--spacing-lg);
}

/* Charts */
.chart-container {
  position: relative;
  height: 350px;
  width: 100%;
  background: #fff;
  padding: var(--spacing-md);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  margin-bottom: var(--spacing-md);
}

@media (max-width: 600px) {
  .chart-container {
    height: 250px;
  }
}

.chart-caption {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: var(--spacing-md);
}

.chart-notes {
  padding-left: 20px;
  margin: 0;
}

.reading-points {
  background: var(--card-bg-sub);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: 8px;
}

.reading-points h3 {
  font-size: 15px;
  margin-top: 0;
}

.reading-points ul {
  padding-left: 20px;
  margin-bottom: 0;
}

/* Before After Box */
.before-after-box {
  background: #fff;
  padding: var(--spacing-lg);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  margin-bottom: var(--spacing-lg);
}

.photo-compare {
  display: flex;
  gap: 16px;
  margin-bottom: var(--spacing-md);
}

.pt-box {
  flex: 1;
  position: relative;
  text-align: center;
}

.pt-box img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  object-position: center 10%;
  border-radius: 8px;
  display: block;
}

.photo-badge {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-size: 13px;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 6px;
  color: #fff;
  margin-bottom: 8px;
}

.badge-before {
  background: #8B949E;
}

.badge-after {
  background: var(--accent-hover);
}

.photo-caption {
  display: block;
  font-size: 11px;
  color: var(--text-main);
  text-align: center;
  margin-top: 8px;
  font-weight: bold;
}

.before-photo img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

.photo-caption {
  font-size: 11px;
  color: #fff;
  background: rgba(0,0,0,0.6);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 4px 0;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.before-notes p {
  font-size: 14px;
  margin: 0;
  color: var(--text-sub);
}

@media (max-width: 600px) {
  .before-after-box {
    flex-direction: column;
    text-align: center;
  }
}

/* Accordion */
.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: var(--spacing-md);
  background: #fff;
  overflow: hidden;
}

.accordion-header {
  padding: var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: #fafafa;
}

.accordion-header h3 {
  margin: 0;
  font-size: 16px;
  display: flex;
  align-items: center;
}

.acc-mark {
  display: inline-block;
  width: 4px;
  height: 16px;
  background: var(--accent-color);
  margin-right: 8px;
  border-radius: 2px;
}

.acc-icon {
  font-size: 20px;
  color: var(--text-sub);
  transition: transform 0.3s;
}

.accordion-item.active .acc-icon {
  transform: rotate(45deg);
}

.accordion-content {
  padding: 0 var(--spacing-md);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.accordion-item.active .accordion-content {
  padding: var(--spacing-md);
  max-height: 500px; /* Arbitrary large height */
}

.fact-block, .interpretation-block {
  margin-bottom: var(--spacing-md);
}

.fact-block:last-child, .interpretation-block:last-child {
  margin-bottom: 0;
}

.fact-label, .interpretation-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.fact-label {
  background: var(--card-bg-sub);
  color: var(--text-main);
}

.interpretation-label {
  background: rgba(193, 166, 141, 0.15);
  color: var(--accent-color);
}

.fact-block p, .interpretation-block p {
  margin: 0;
  font-size: 15px;
}

/* Reasons */
.reason-block {
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px dashed var(--border-color);
}

.reason-block:last-child {
  border-bottom: none;
}

/* Steps */
.step-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.step-card {
  background: #fff;
  border: 1px solid var(--border-color);
  padding: var(--spacing-md);
  border-radius: 8px;
  position: relative;
}

.step-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 4px;
}

/* Main CTA Section */
.main-cta-area {
  margin: var(--spacing-xl) 0;
  text-align: center;
  padding: var(--spacing-lg);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.cta-links {
  margin-top: var(--spacing-md);
}

.text-link {
  color: var(--text-main);
  text-decoration: underline;
  text-decoration-color: var(--border-color);
  text-underline-offset: 4px;
  font-size: 14px;
  margin: 0 8px;
}

.cta-note {
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 16px;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  text-align: left;
}

.faq-item {
  background: #fff;
  padding: var(--spacing-md);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  width: 100%;
  box-sizing: border-box;
}

.faq-q {
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
}

.faq-q span {
  color: var(--accent-color);
  margin: 0 !important;
  padding: 0 !important;
}

.faq-a {
  font-size: 15px;
  display: flex;
  gap: 8px;
  color: var(--text-main);
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
}

.faq-a span {
  color: var(--text-sub);
  font-weight: 700;
  margin: 0 !important;
  padding: 0 !important;
}

/* SP Fixed CTA */
.sp-cta-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  padding: 12px 16px;
  box-sizing: border-box;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
  display: none;
  z-index: 100;
  text-align: center;
}

.sp-cta-sub {
  margin-top: 8px;
  font-size: 12px;
}

.sp-cta-sub a {
  color: var(--text-main);
}

.sp-cta-sub .divider {
  color: var(--border-color);
  margin: 0 8px;
}

@media (max-width: 768px) {
  .sp-cta-bottom {
    display: block;
  }
  
  body {
    padding-bottom: 100px; /* make room for fixed CTA */
  }
}

/* --- Added Styles for Story/Proof Update --- */

.starting-point-box {
  background: var(--card-bg-sub);
  padding: var(--spacing-lg);
  border-radius: 8px;
  margin: var(--spacing-md) 0 var(--spacing-xl);
}
.starting-point-box h3 { margin-top: 0; }
.starting-note { font-size: 11px; color: var(--text-sub); margin: 0; }

.timeline-area {
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 1px dotted var(--border-color);
}
.timeline-intro { margin-bottom: var(--spacing-lg); }
.timeline {
  border-left: 2px solid var(--border-color);
  padding-left: 20px;
  margin-left: 10px;
}
.tl-item {
  position: relative;
  margin-bottom: var(--spacing-lg);
}
.tl-item:last-child { margin-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--card-bg-sub);
  border: 2px solid var(--accent-color);
}
.tl-year {
  font-weight: bold;
  font-size: 16px;
  color: var(--accent-color);
  margin-bottom: 4px;
}
.tl-content {
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.6;
}
.tl-image {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 8px;
  margin-top: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.quote-block {
  border-left: 4px solid var(--accent-color);
  background: #fff;
  padding: var(--spacing-md) var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.quote-title {
  margin-bottom: var(--spacing-sm);
  font-size: 16px;
}

.narrative-lead {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: var(--spacing-xl);
}

.acc-lead {
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: var(--spacing-sm);
  font-size: 15px;
  display: block;
}

.epilogue {
  text-align: center;
  margin: var(--spacing-xl) 0;
  padding: var(--spacing-xl) 0;
  border-top: 1px solid var(--border-color);
}
.epilogue p {
  font-size: 16px;
  line-height: 2;
}

.data-transparency {
  background: var(--card-bg-sub);
  padding: var(--spacing-lg);
  border-radius: 8px;
  margin-bottom: var(--spacing-xl);
}
.data-transparency h2 {
  font-size: 16px;
  border: none;
  margin-bottom: var(--spacing-sm);
  padding-bottom: 0;
}
.data-transparency ul {
  font-size: 13px;
  color: var(--text-sub);
  padding-left: 20px;
  margin: 0;
  line-height: 1.8;
}

/* --- Expert Full Module --- */
.expert-module-full {
  background: var(--card-bg-sub);
  padding: var(--spacing-lg);
  border-radius: 8px;
  margin: var(--spacing-md) 0 var(--spacing-xl);
}
.expert-module-title {
  font-size: 14px;
  color: var(--text-main);
  margin-top: 0;
  margin-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}
.expert-profile {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}
.expert-photo {
  flex: 0 0 60px;
}
.expert-photo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.expert-info {
  flex: 1;
}
.expert-name {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
}
.expert-desc {
  font-size: 13px;
  color: var(--text-sub);
  margin: 6px 0 10px 0;
  line-height: 1.6;
}
.expert-cert {
  font-weight: normal;
  font-size: 12px;
  color: var(--text-sub);
}
.expert-link {
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 600px) {
  .expert-module-full {
    padding: var(--spacing-md);
    margin: var(--spacing-md) 0 var(--spacing-lg);
  }
  .expert-profile {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
  }
  .expert-photo {
    flex: 0 0 50px;
  }
  .expert-photo img {
    width: 50px;
    height: 50px;
  }
  .expert-name {
    font-size: 14px;
    line-height: 1.4;
  }
  .expert-cert {
    font-size: 11px;
  }
}

/* --- Expert Short Comment --- */
.expert-comment-short {
  background: #fdfdfc;
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--accent-color);
  padding: var(--spacing-md);
  border-radius: 4px;
  margin-top: var(--spacing-lg);
}
.mt-section { margin-top: var(--spacing-xl); }
.mb-section { margin-bottom: var(--spacing-xl); }
.expert-comm-header {
  font-size: 13px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 10px;
  row-gap: 6px;
}
.expert-comm-photo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.expert-comm-label {
  font-weight: 700;
  background: var(--text-main);
  color: #fff;
  padding: 2px 6px;
  border-radius: 2px;
  margin-right: 6px;
}
.expert-comm-author {
  color: var(--text-sub);
}
.expert-comm-author a {
  text-decoration: underline;
}
.expert-comm-body {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 8px 0;
}
.expert-comm-note {
  font-size: 11px;
  color: var(--text-sub);
  margin: 0;
}
