:root {
  --home-max-width: 1180px;
  --home-pad-x: clamp(16px, 4vw, 28px);
  --space-section: clamp(34px, 6vw, 64px);
  --space-heading: 12px;
  --space-content: 20px;
  --space-card-gap: 14px;
  --space-card-padding: 18px;
  --home-card-radius: 20px;
  --home-card-shadow: 0 12px 28px rgba(19, 78, 105, 0.07);
  --home-text: #0c3447;
  --home-muted: #425c67;
  --experience-bg: #071e25;
  --experience-green: #6ee7a8;
  --experience-cyan: #83d8ff;
}

/* Immersive Health Experience */
.experience-home {
  position: relative;
  overflow: clip;
  min-height: 100svh;
  margin: -8px calc(var(--home-pad-x) * -1) 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(131, 216, 255, 0.2), transparent 28%),
    radial-gradient(circle at 82% 32%, rgba(110, 231, 168, 0.16), transparent 30%),
    linear-gradient(145deg, #071e25 0%, #0b2a2d 48%, #06171e 100%);
  color: #eefcf7;
}

.experience-world {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100svh - 24px));
  place-items: center;
  padding: clamp(76px, 12vw, 128px) var(--home-pad-x) clamp(58px, 10vw, 96px);
  isolation: isolate;
}

.experience-world::before,
.experience-world::after {
  position: absolute;
  inset: 8%;
  z-index: -1;
  border: 1px solid rgba(151, 236, 206, 0.12);
  border-radius: 42% 58% 52% 48%;
  content: "";
  filter: blur(0.2px);
  transform: rotate(-10deg);
  animation: bio-breathe 14s ease-in-out infinite;
}

.experience-world::after {
  inset: 18%;
  border-color: rgba(131, 216, 255, 0.13);
  animation-duration: 18s;
  animation-direction: reverse;
}

.bio-field,
.bio-field span,
.experience-transition {
  pointer-events: none;
}

.bio-field {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.cell,
.fiber,
.nerve {
  position: absolute;
  display: block;
}

.cell {
  width: clamp(92px, 13vw, 190px);
  aspect-ratio: 1;
  border: 1px solid rgba(151, 236, 206, 0.22);
  border-radius: 50%;
  background: radial-gradient(circle at 38% 36%, rgba(238, 252, 247, 0.28), rgba(110, 231, 168, 0.04) 58%, transparent 72%);
  box-shadow: 0 0 52px rgba(110, 231, 168, 0.11);
  animation: float-cell 11s ease-in-out infinite;
}

.cell.c1 { top: 14%; left: 12%; }
.cell.c2 { right: 13%; top: 24%; width: clamp(72px, 10vw, 138px); animation-delay: -3s; }
.cell.c3 { bottom: 16%; left: 26%; width: clamp(62px, 8vw, 118px); animation-delay: -6s; }

.fiber {
  width: min(44vw, 560px);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(131, 216, 255, 0.4), rgba(110, 231, 168, 0.28), transparent);
  filter: blur(0.2px);
  transform-origin: center;
  animation: fiber-flow 8s linear infinite;
}

.fiber.f1 { top: 26%; left: 5%; transform: rotate(-19deg); }
.fiber.f2 { right: 2%; bottom: 31%; transform: rotate(22deg); animation-delay: -2.5s; }
.fiber.f3 { left: 14%; bottom: 17%; transform: rotate(8deg); animation-delay: -5s; }

.nerve {
  width: 190px;
  height: 190px;
  border: 1px solid rgba(131, 216, 255, 0.18);
  border-color: rgba(131, 216, 255, 0.2) transparent transparent rgba(131, 216, 255, 0.12);
  border-radius: 42% 58% 48% 52%;
}

.nerve.n1 { left: 8%; bottom: 24%; transform: rotate(28deg); }
.nerve.n2 { right: 10%; top: 15%; transform: rotate(-18deg); }

.experience-copy {
  position: relative;
  z-index: 3;
  width: min(760px, 100%);
  text-align: center;
}

.experience-label {
  margin: 0 0 0.85rem;
  color: var(--experience-green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.24em;
}

.experience-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 10vw, 7rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: 0 18px 64px rgba(0, 0, 0, 0.32);
}

.experience-lead {
  max-width: 640px;
  margin: clamp(1.1rem, 3vw, 1.6rem) auto 0;
  color: rgba(238, 252, 247, 0.84);
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  line-height: 1.9;
}

.experience-actions {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: clamp(1.5rem, 4vw, 2.1rem);
}

.experience-start,
.experience-journal-link {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.experience-start {
  gap: 0.65rem;
  min-width: min(100%, 260px);
  padding: 0.88rem 1.4rem;
  background: linear-gradient(135deg, #6ee7a8, #83d8ff);
  color: #06212a;
  box-shadow: 0 20px 48px rgba(110, 231, 168, 0.28);
  font-weight: 950;
}

.experience-start span {
  display: grid;
  width: 3.1rem;
  height: 3.1rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.experience-journal-link {
  border: 1px solid rgba(238, 252, 247, 0.28);
  padding: 0.88rem 1.25rem;
  color: #eefcf7;
  background: rgba(255, 255, 255, 0.07);
}

.experience-start:hover,
.experience-start:focus-visible,
.experience-journal-link:hover,
.experience-journal-link:focus-visible {
  transform: translateY(-2px);
}

.experience-note {
  max-width: 600px;
  margin: 1rem auto 0;
  color: rgba(238, 252, 247, 0.66);
  font-size: 0.86rem;
  line-height: 1.8;
}

.experience-fixed-nav {
  position: fixed;
  z-index: 40;
  top: 18px;
  right: 18px;
  display: flex;
  gap: 0.5rem;
  padding: 0.42rem;
  border: 1px solid rgba(238, 252, 247, 0.16);
  border-radius: 999px;
  background: rgba(6, 23, 30, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
}

.experience-fixed-nav a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.65rem 0.95rem;
  color: #eefcf7;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.experience-fixed-nav .nav-primary {
  background: rgba(110, 231, 168, 0.18);
  color: #bff9d8;
}

.experience-terms {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.floating-term {
  position: absolute;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(238, 252, 247, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(238, 252, 247, 0.78);
  padding: 0.42rem 0.75rem;
  font-size: clamp(0.74rem, 1.5vw, 0.94rem);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.13);
  animation: term-drift 9s ease-in-out infinite;
}

.floating-term:hover,
.floating-term:focus-visible {
  border-color: rgba(110, 231, 168, 0.5);
  color: #fff;
}

.floating-term.t1 { top: 17%; left: 10%; }
.floating-term.t2 { top: 61%; left: 7%; animation-delay: -2s; }
.floating-term.t3 { top: 22%; right: 17%; animation-delay: -4s; }
.floating-term.t4 { right: 8%; bottom: 24%; animation-delay: -1s; }
.floating-term.t5 { left: 24%; bottom: 13%; animation-delay: -5s; }
.floating-term.t6 { top: 36%; left: 18%; animation-delay: -3s; }
.floating-term.t7 { top: 70%; right: 18%; animation-delay: -6s; }
.floating-term.t8 { top: 13%; right: 34%; animation-delay: -1.8s; }
.floating-term.t9 { bottom: 9%; right: 34%; animation-delay: -4.5s; }
.floating-term.t10 { top: 47%; right: 6%; animation-delay: -7s; }
.floating-term.t11 { bottom: 33%; left: 15%; animation-delay: -8s; }
.floating-term.t12 { top: 78%; left: 42%; animation-delay: -2.8s; }
.floating-term.t13 { top: 7%; left: 34%; animation-delay: -6.4s; }
.floating-term.t14 { top: 42%; right: 26%; animation-delay: -3.3s; }
.floating-term.t15 { bottom: 16%; right: 8%; animation-delay: -5.8s; }
.floating-term.t16 { top: 37%; left: 5%; animation-delay: -7.8s; }

.experience-mini-cards,
.experience-quiet-links,
.experience-caution {
  width: min(var(--home-max-width), calc(100% - (var(--home-pad-x) * 2)));
  margin-inline: auto;
}

.experience-mini-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: -34px;
  position: relative;
  z-index: 2;
}

.experience-mini-cards article,
.experience-quiet-links,
.experience-caution {
  border: 1px solid rgba(207, 228, 214, 0.22);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  color: #143d28;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.experience-mini-cards article {
  padding: 1.15rem;
}

.experience-mini-cards span {
  color: #17633a;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.experience-mini-cards h2,
.experience-quiet-links h2 {
  margin: 0.3rem 0 0.45rem;
  color: #143d28;
  font-size: 1.08rem;
}

.experience-mini-cards p,
.experience-quiet-links p {
  margin: 0;
  color: #52645a;
  line-height: 1.75;
}

.experience-quiet-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1.2rem;
}

.experience-caution {
  margin-top: 1rem !important;
  margin-bottom: 2rem;
}

.experience-transition {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  background: radial-gradient(circle, rgba(110, 231, 168, 0.35), rgba(7, 30, 37, 0.96) 58%);
  transition: opacity 180ms ease, visibility 180ms ease;
}

.experience-transition span {
  position: absolute;
  width: 18vmin;
  aspect-ratio: 1;
  border: 1px solid rgba(238, 252, 247, 0.28);
  border-radius: 50%;
  transform: scale(0.4);
}

.experience-entering .experience-transition {
  opacity: 1;
  visibility: visible;
}

.experience-entering .experience-transition span {
  animation: transition-pulse 900ms ease-out forwards;
}

.experience-entering .experience-transition span:nth-child(2) { animation-delay: 120ms; }
.experience-entering .experience-transition span:nth-child(3) { animation-delay: 240ms; }

@keyframes bio-breathe {
  0%, 100% { transform: rotate(-10deg) scale(1); border-radius: 42% 58% 52% 48%; }
  50% { transform: rotate(-4deg) scale(1.06); border-radius: 58% 42% 46% 54%; }
}

@keyframes float-cell {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(10px, -18px, 0); }
}

@keyframes fiber-flow {
  0%, 100% { opacity: 0.32; filter: blur(0.2px); }
  50% { opacity: 0.75; filter: blur(0); }
}

@keyframes term-drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

@keyframes transition-pulse {
  from { opacity: 0.9; transform: scale(0.4); }
  to { opacity: 0; transform: scale(5); }
}

@media (max-width: 760px) {
  .experience-home {
    margin-inline: -16px;
    padding-bottom: 74px;
  }

  .experience-world {
    min-height: 690px;
    padding-top: 86px;
  }

  .experience-fixed-nav {
    top: auto;
    right: 50%;
    bottom: 12px;
    transform: translateX(50%);
    width: min(92vw, 420px);
    justify-content: center;
  }

  .experience-fixed-nav a {
    flex: 1;
    padding-inline: 0.5rem;
  }

  .experience-mini-cards,
  .experience-quiet-links {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .experience-mini-cards {
    margin-top: -20px;
  }

  .floating-term:nth-child(n+11) {
    display: none;
  }

  .floating-term.t1 { top: 15%; left: 7%; }
  .floating-term.t2 { top: 69%; left: 6%; }
  .floating-term.t3 { top: 24%; right: 5%; }
  .floating-term.t4 { right: 6%; bottom: 17%; }
  .floating-term.t5 { left: 28%; bottom: 9%; }
  .floating-term.t6 { top: 38%; left: 8%; }
  .floating-term.t7 { top: 62%; right: 9%; }
  .floating-term.t8 { top: 9%; right: 24%; }
  .floating-term.t9 { bottom: 28%; right: 27%; }
  .floating-term.t10 { top: 48%; right: 4%; }
}

@media (prefers-reduced-motion: reduce) {
  .experience-world::before,
  .experience-world::after,
  .cell,
  .fiber,
  .floating-term,
  .experience-transition span {
    animation: none !important;
  }
}

/* Unified immersive home sections */
.experience-home {
  padding-bottom: clamp(2.4rem, 6vw, 4.5rem);
}

.experience-start,
.experience-journal-link {
  gap: 0.65rem;
}

.experience-journal-link span,
.experience-fixed-nav a span {
  color: var(--experience-green);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.experience-journal-link strong {
  color: #eefcf7;
}

.experience-mini-cards {
  gap: 0;
  isolation: isolate;
}

.experience-mini-cards::before {
  position: absolute;
  top: 50%;
  right: 12%;
  left: 12%;
  z-index: -1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(110, 231, 168, 0.56), transparent);
  content: "";
  box-shadow: 0 0 18px rgba(110, 231, 168, 0.24);
}

.experience-mini-cards article,
.experience-quiet-links,
.experience-caution {
  border-color: rgba(238, 252, 247, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #eefcf7;
  backdrop-filter: blur(16px);
}

.experience-mini-cards article {
  position: relative;
  margin-inline: 0.45rem;
}

.experience-mini-cards article::before {
  position: absolute;
  top: -0.55rem;
  left: 1.1rem;
  width: 0.72rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--experience-green);
  content: "";
  box-shadow: 0 0 20px rgba(110, 231, 168, 0.58);
}

.experience-mini-cards span {
  color: var(--experience-green);
}

.experience-mini-cards h2,
.experience-quiet-links h2,
.experience-caution h2 {
  color: #fff;
}

.experience-mini-cards p,
.experience-quiet-links p,
.experience-caution p {
  color: rgba(238, 252, 247, 0.76);
}

.experience-quiet-links {
  position: relative;
  overflow: hidden;
  min-height: 238px;
  margin-top: clamp(1.6rem, 5vw, 3rem);
  padding: clamp(1.4rem, 4vw, 2.2rem);
}

.experience-quiet-links .secondary-button {
  border-color: rgba(110, 231, 168, 0.36);
  background: rgba(110, 231, 168, 0.14);
  color: #dfffee;
}

.journal-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.journal-orbit span {
  position: absolute;
  border: 1px solid rgba(238, 252, 247, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(238, 252, 247, 0.34);
  font-weight: 900;
  padding: 0.38rem 0.65rem;
  animation: term-drift 10s ease-in-out infinite;
}

.journal-orbit span:nth-child(1) { top: 16%; right: 18%; }
.journal-orbit span:nth-child(2) { right: 8%; bottom: 18%; animation-delay: -3s; }
.journal-orbit span:nth-child(3) { left: 42%; bottom: 10%; animation-delay: -5s; }
.journal-orbit span:nth-child(4) { top: 24%; left: 38%; animation-delay: -7s; }

.experience-caution {
  padding: clamp(1.1rem, 3vw, 1.45rem);
}

.experience-caution .eyebrow {
  border-color: rgba(110, 231, 168, 0.28);
  background: rgba(110, 231, 168, 0.1);
  color: var(--experience-green);
}

.experience-caution .text-link {
  color: #bff9d8;
}

@media (max-width: 760px) {
  .experience-mini-cards::before {
    top: 1rem;
    bottom: 1rem;
    left: 1.2rem;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, rgba(110, 231, 168, 0.56), transparent);
  }

  .experience-mini-cards article {
    margin: 0.4rem 0 0.4rem 1.8rem;
  }

  .journal-orbit span:nth-child(n+3) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .journal-orbit span {
    animation: none !important;
  }
}

/* Keep the immersive shortcut from overlapping the desktop header nav. */
.experience-fixed-nav {
  display: none;
}

@media (max-width: 760px) {
  .experience-fixed-nav {
    display: flex;
    z-index: 30;
  }
}

.market-hero {
  padding: clamp(24px, 5vw, 44px) var(--home-pad-x) 12px;
  background:
    radial-gradient(circle at 16% 0%, rgba(111, 207, 242, 0.18), transparent 30%),
    linear-gradient(180deg, #f6fbff 0%, #ffffff 84%);
}

.market-hero-inner,
.market-section,
#app > .split-section,
#app > .caution-card {
  width: min(var(--home-max-width), calc(100% - (var(--home-pad-x) * 2)));
  margin-inline: auto;
}

.market-section,
#app > .split-section,
#app > .caution-card {
  margin-top: var(--space-section);
}

.market-section.section {
  padding-block: 0;
}

.market-hero h1 {
  max-width: 820px;
  margin-bottom: 14px;
  color: var(--home-text);
  font-size: clamp(30px, 7vw, 54px);
  line-height: 1.16;
  letter-spacing: 0;
}

.hero-lead,
.market-section .section-header p,
.search-panel-section p,
.ai-consult-section p,
.market-feature-card p,
.body-area-card p,
.market-article-body p,
.market-empty-card p {
  color: var(--home-muted);
  font-size: 15px;
  line-height: 1.65;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 20px;
  font-weight: 800;
}

.market-section .section-header {
  margin-bottom: var(--space-content);
}

.market-section .section-header h2,
.search-panel-section h2,
.ai-consult-section h2,
#app > .split-section h2,
#app > .caution-card h2 {
  margin: 0 0 var(--space-heading);
  color: var(--home-text);
  font-size: clamp(22px, 4.8vw, 30px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: 0;
}

.market-section .section-header p,
.search-panel-section p,
.ai-consult-section p,
#app > .split-section p,
#app > .caution-card p {
  max-width: 720px;
  margin: 0;
}

.market-search {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(29, 116, 216, 0.2);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(19, 78, 105, 0.09);
}

.market-search.slim {
  box-shadow: none;
}

.market-search input {
  min-height: 56px;
  border: 0;
  border-radius: 14px;
  background: #f6fbfd;
  font-size: 16px;
  font-weight: 800;
}

.market-search button {
  min-height: 54px;
  border: 0;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.example-row,
.chip-scroll,
.article-card-meta,
.article-card-foot,
.body-area-card div,
.market-empty-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.example-row,
.chip-scroll {
  margin-top: 16px;
}

.search-chip,
.example-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

button.example-chip {
  cursor: pointer;
}

.market-feature-grid,
.category-market-grid,
.market-article-grid,
.body-area-grid,
.related-content-grid {
  display: grid;
  gap: var(--space-card-gap);
}

.market-feature-card,
.category-market-grid a,
.body-area-card,
.market-article-card,
.market-empty-card {
  border: 1px solid var(--line);
  border-radius: var(--home-card-radius);
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: var(--home-card-shadow);
}

.market-feature-card {
  display: flex;
  min-height: 214px;
  padding: var(--space-card-padding);
  flex-direction: column;
  gap: 12px;
}

.feature-icon,
.category-market-grid span,
.article-thumb {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  background: var(--sky);
  color: var(--blue-dark);
  font-weight: 900;
  line-height: 1;
}

.feature-icon {
  width: 42px;
  height: 42px;
  font-size: 15px;
}

.market-feature-card h3,
.body-area-card h3,
.market-article-body h3,
.market-empty-card h3 {
  margin: 0;
  color: var(--home-text);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
}

.market-feature-card h3 {
  min-height: 48px;
  font-size: 21px;
}

.market-feature-card p,
.body-area-card p,
.market-article-body p,
.market-empty-card p {
  margin: 0;
}

.market-feature-card strong {
  margin-top: auto;
  color: var(--blue-dark);
  font-size: 15px;
}

.category-market-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-market-grid a {
  display: flex;
  min-height: 86px;
  padding: 15px;
  align-items: center;
  gap: 12px;
}

.category-market-grid span {
  width: 42px;
  height: 42px;
  font-size: 12px;
  white-space: nowrap;
}

.category-market-grid strong {
  color: var(--home-text);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.body-area-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.body-area-card {
  display: flex;
  min-height: 154px;
  padding: var(--space-card-padding);
  flex-direction: column;
  gap: 10px;
}

.body-area-card h3 {
  min-height: 25px;
}

.body-area-card div,
.market-empty-card div {
  margin-top: auto;
}

.body-area-card a,
.related-content-grid a,
.market-empty-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.market-article-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 13px;
  min-height: 190px;
  padding: 13px;
}

.market-article-card.compact {
  grid-template-columns: 72px minmax(0, 1fr);
  min-height: 156px;
}

.article-thumb {
  min-height: 86px;
  background: linear-gradient(135deg, var(--sky), var(--mint));
  font-size: 14px;
}

.market-article-card.compact .article-thumb {
  min-height: 72px;
}

.article-thumb.theme {
  background: var(--amber-soft);
  color: #72501d;
}

.market-article-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.market-article-body h3 {
  min-height: 48px;
  font-size: 17px;
}

.market-article-body p {
  font-size: 14px;
  line-height: 1.55;
}

.article-card-foot {
  margin-top: auto;
  justify-content: space-between;
  color: var(--home-muted);
  font-size: 13px;
  font-weight: 900;
}

.article-card-foot strong,
.article-card-foot a {
  color: var(--blue-dark);
  text-decoration: none;
}

.muted-label {
  background: #f1f5f7;
  color: var(--home-muted);
}

.market-empty-card {
  display: flex;
  min-height: 150px;
  padding: var(--space-card-padding);
  flex-direction: column;
  gap: 10px;
}

.search-panel-section,
.ai-consult-section,
.sns-search-first {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 4vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--home-card-radius);
  background: #fff;
  box-shadow: var(--home-card-shadow);
}

.ai-detail-panel {
  margin-top: 16px;
}

.ai-detail-panel summary {
  cursor: pointer;
  color: var(--blue-dark);
  font-weight: 900;
}

.clinic-cta {
  display: grid;
  gap: 10px;
}

.related-content-grid {
  grid-template-columns: 1fr;
}

@media (max-width: 340px) {
  .body-area-grid,
  .category-market-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 720px) {
  .market-search {
    grid-template-columns: minmax(0, 1fr) 132px;
  }

  .market-feature-grid,
  .market-article-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .market-article-card {
    grid-template-columns: 1fr;
  }

  .market-article-card.compact {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .category-market-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .body-area-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .search-panel-section,
  .ai-consult-section {
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    align-items: center;
  }

  .related-content-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .market-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-market-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .body-area-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Health Check home refresh */
.market-hero {
  padding: clamp(38px, 7vw, 78px) var(--home-pad-x) clamp(24px, 5vw, 42px);
  background:
    radial-gradient(circle at 84% 10%, rgba(23, 99, 58, 0.16), transparent 28%),
    linear-gradient(135deg, #f7fcf8 0%, #ffffff 58%, #eaf7ee 100%);
}

.market-hero-inner {
  display: grid;
  gap: 18px;
}

.market-hero h1 {
  max-width: 920px;
  color: #143d28;
  font-size: clamp(34px, 7vw, 66px);
}

.hero-lead {
  color: #40594b;
}

.market-search {
  max-width: 920px;
  border-color: rgba(23, 99, 58, 0.18);
  box-shadow: 0 20px 48px rgba(29, 71, 47, 0.1);
}

.market-search button {
  background: #17633a;
}

.search-chip,
.example-chip {
  border-color: #d7eadc;
  color: #17633a;
}

.market-feature-card,
.category-market-grid a,
.body-area-card,
.market-article-card,
.market-empty-card,
.search-panel-section,
.ai-consult-section {
  border-color: #dcebe1;
  border-radius: 16px;
  box-shadow: 0 16px 38px rgba(29, 71, 47, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.market-feature-card:hover,
.category-market-grid a:hover,
.body-area-card:hover,
.market-article-card:hover,
.market-feature-card:focus-visible,
.category-market-grid a:focus-visible,
.body-area-card:focus-visible,
.market-article-card:focus-visible {
  border-color: #a9d4b7;
  box-shadow: 0 20px 48px rgba(29, 71, 47, 0.13);
  transform: translateY(-2px);
}

.feature-icon,
.category-market-grid span,
.article-thumb {
  background: #e8f7ed;
  color: #17633a;
}

.article-thumb {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 18%, rgba(255, 255, 255, 0.84), transparent 26%),
    linear-gradient(135deg, #143d28, #2d8052);
  color: #fff;
}

.article-thumb::before {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  content: "";
}

.article-thumb span {
  position: relative;
  z-index: 1;
}

.market-article-body h3 {
  display: -webkit-box;
  overflow: hidden;
  color: #143d28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.article-card-foot strong,
.article-card-foot a,
.market-feature-card strong,
.body-area-card a,
.related-content-grid a,
.market-empty-card a {
  color: #17633a;
}

.clinic-cta {
  border-color: rgba(255, 255, 255, 0.2);
  background:
    radial-gradient(circle at 88% 14%, rgba(6, 199, 85, 0.16), transparent 28%),
    linear-gradient(135deg, #143d28, #17633a);
  color: #fff;
}

.clinic-cta h2,
.clinic-cta p,
.clinic-cta .eyebrow {
  color: #fff !important;
}

.clinic-cta .primary-button {
  background: #06c755;
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .market-feature-card,
  .category-market-grid a,
  .body-area-card,
  .market-article-card,
  .market-empty-card,
  .search-panel-section,
  .ai-consult-section {
    transition: none;
  }

  .market-feature-card:hover,
  .category-market-grid a:hover,
  .body-area-card:hover,
  .market-article-card:hover,
  .market-feature-card:focus-visible,
  .category-market-grid a:focus-visible,
  .body-area-card:focus-visible,
  .market-article-card:focus-visible {
    transform: none;
  }
}

/* Health media discovery refinement */
.market-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(23, 99, 58, 0.12);
}

.market-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(23, 99, 58, 0.06) 0 1px, transparent 1px 92px),
    linear-gradient(180deg, rgba(23, 99, 58, 0.04) 0 1px, transparent 1px 92px);
  content: "";
}

.market-hero-inner {
  position: relative;
  z-index: 1;
}

.market-hero h1 {
  letter-spacing: 0;
  line-height: 1.08;
}

.hero-lead {
  max-width: 42rem;
  font-size: clamp(1.03rem, 2vw, 1.22rem);
  line-height: 1.85;
}

.market-section:nth-of-type(even) {
  background:
    radial-gradient(circle at 90% 12%, rgba(23, 99, 58, 0.06), transparent 24%),
    linear-gradient(180deg, #ffffff, #f6fbf7);
}

.market-section .section-header {
  align-items: end;
  border-bottom: 1px solid rgba(23, 99, 58, 0.12);
  padding-bottom: 16px;
}

.market-section .section-header h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.market-search {
  min-height: 72px;
  padding: 8px;
  border-radius: 24px;
}

.market-search input {
  min-height: 54px;
}

.market-search button {
  min-height: 54px;
  border-radius: 18px;
}

.market-feature-card {
  min-height: 240px;
  justify-content: space-between;
}

.market-feature-card:nth-child(1) {
  background:
    radial-gradient(circle at 85% 16%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(135deg, #143d28, #17633a);
  color: #fff;
}

.market-feature-card:nth-child(1) h3,
.market-feature-card:nth-child(1) p,
.market-feature-card:nth-child(1) strong {
  color: #fff;
}

.market-feature-card:nth-child(1) .feature-icon {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.category-market-grid {
  align-items: stretch;
}

.category-market-grid a {
  min-height: 124px;
  align-content: space-between;
}

.body-area-card {
  min-height: 168px;
}

.market-article-card {
  border-radius: 18px;
}

.market-article-card:not(.compact) {
  min-height: 100%;
}

.market-article-body {
  min-width: 0;
}

.article-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-card-foot {
  margin-top: auto;
}

.search-panel-section,
.ai-consult-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: center;
}

.clinic-cta {
  border-radius: 24px;
}

@media (min-width: 1080px) {
  .market-article-grid:not(.compact-list) .market-article-card:first-child {
    grid-column: span 2;
  }

  .market-article-grid:not(.compact-list) .market-article-card:first-child .article-thumb {
    min-height: 230px;
  }
}

@media (max-width: 760px) {
  .market-search,
  .search-panel-section,
  .ai-consult-section {
    grid-template-columns: 1fr;
  }

  .market-search button {
    width: 100%;
  }

  .market-feature-card,
  .category-market-grid a,
  .body-area-card {
    min-height: 0;
  }
}
