:root {
  --paper: #fbf8f2;
  --surface: #ffffff;
  --ink: #17201d;
  --muted: #68736e;
  --line: rgba(23, 32, 29, 0.12);
  --teal: #137b70;
  --teal-soft: #e4f0ed;
  --orange: #ef6b42;
  --violet: #6c55d9;
  --gold: #b58a4b;
  --dark: #17201d;
  --dark-2: #20332f;
  --shadow: 0 20px 60px rgba(23, 32, 29, 0.12);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", sans-serif;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px max(18px, env(safe-area-inset-left)) 12px max(18px, env(safe-area-inset-right));
  background: rgba(251, 248, 242, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.top-actions,
.hero-actions,
.proof-strip,
.sticky-cta {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
}

.nav {
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.top-actions {
  gap: 16px;
}

.toc-menu {
  position: relative;
}

.toc-menu summary {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  list-style: none;
}

.toc-menu summary::-webkit-details-marker {
  display: none;
}

.toc-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 210px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 20px 50px rgba(23, 32, 29, 0.18);
}

.toc-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ink);
  font-weight: 800;
}

.toc-panel a:hover {
  background: var(--teal-soft);
}

.section-band {
  scroll-margin-top: 74px;
  padding: 72px max(20px, env(safe-area-inset-left)) 72px max(20px, env(safe-area-inset-right));
}

.section-band.light {
  background: #fffdf8;
}

.section-band.mist {
  background: var(--teal-soft);
}

.section-band.dark {
  background: var(--dark);
  color: #f7f2e9;
}

.content-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 44px;
  align-items: center;
  padding-top: 46px;
}

.hero-copy {
  max-width: 620px;
  justify-self: end;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.dark .eyebrow {
  color: #8ee1cf;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.04;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: 0;
}

.lead {
  max-width: 560px;
  margin-bottom: 28px;
  color: #33413c;
  font-size: 20px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.primary-action,
.secondary-action,
.sticky-cta button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.primary-action {
  padding: 0 22px;
  background: var(--orange);
  color: #fff;
  box-shadow: 0 14px 28px rgba(239, 107, 66, 0.28);
}

.secondary-action {
  padding: 0 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.proof-strip {
  flex-wrap: wrap;
  gap: 12px;
}

.proof-strip div {
  min-width: 124px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.66);
  border-radius: 8px;
}

.proof-strip dt {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.proof-strip dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-media {
  margin: 0;
}

.hero-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-head p:not(.eyebrow),
.split p,
.price-card p,
.diagnosis-card p,
.note,
.faq-list p {
  color: var(--muted);
}

.dark .section-head p:not(.eyebrow),
.dark .contact-line {
  color: rgba(247, 242, 233, 0.72);
}

.intro {
  padding-top: 54px;
  padding-bottom: 58px;
}

.intro-grid,
.service-grid,
.pricing-grid,
.credential-grid,
.question-grid,
.quote-grid,
.media-grid {
  display: grid;
  gap: 18px;
}

.intro-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.intro-grid article,
.service-card,
.price-card,
.question-grid span,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.intro-grid article {
  padding: 24px;
}

.intro-grid p,
.service-card li,
.price-card p {
  margin-bottom: 0;
}

.question-grid {
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.question-grid span {
  min-height: auto;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  color: #33413c;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.42;
}

.evidence-block {
  margin-top: 34px;
}

.evidence-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.evidence-title h3 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
}

.evidence-title span {
  color: var(--muted);
  font-weight: 800;
}

.gallery-frame {
  position: relative;
  margin-top: 18px;
}

.gallery-frame::before,
.gallery-frame::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 56px;
  pointer-events: none;
}

.gallery-frame::before {
  left: 0;
  background: linear-gradient(90deg, var(--surface), rgba(255, 253, 248, 0));
}

.gallery-frame::after {
  right: 0;
  background: linear-gradient(270deg, var(--surface), rgba(255, 253, 248, 0));
}

.dark .gallery-frame::before {
  background: linear-gradient(90deg, var(--dark), rgba(23, 32, 29, 0));
}

.dark .gallery-frame::after {
  background: linear-gradient(270deg, var(--dark), rgba(23, 32, 29, 0));
}

.evidence-wall,
.feedback-wall {
  display: grid;
  grid-auto-flow: column;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  padding: 4px 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.evidence-wall::-webkit-scrollbar,
.feedback-wall::-webkit-scrollbar {
  display: none;
}

.demand-wall,
.text-feedback {
  grid-auto-columns: minmax(360px, 520px);
}

.chat-feedback {
  grid-auto-columns: minmax(260px, 340px);
}

.evidence-wall img,
.feedback-wall img {
  display: block;
  width: 100%;
  margin: 0;
  scroll-snap-align: start;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(23, 32, 29, 0.12);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 42px;
  height: 42px;
  transform: translateY(-50%);
  border: 1px solid rgba(23, 32, 29, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.88);
  color: var(--ink);
  cursor: pointer;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 14px 34px rgba(23, 32, 29, 0.18);
  backdrop-filter: blur(10px);
}

.gallery-nav.prev {
  left: 10px;
}

.gallery-nav.next {
  right: 10px;
}

.gallery-nav:disabled {
  opacity: 0;
  pointer-events: none;
}

.dark .gallery-nav {
  border-color: rgba(247, 242, 233, 0.22);
  background: rgba(247, 242, 233, 0.14);
  color: #f7f2e9;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
}

.gallery-cue {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
}

.gallery-cue span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(23, 32, 29, 0.18);
}

.gallery-cue span:first-child {
  width: 30px;
  background: var(--orange);
}

.dark .gallery-cue span {
  background: rgba(247, 242, 233, 0.22);
}

.dark .gallery-cue span:first-child {
  background: #8ee1cf;
}

.diagnosis-band {
  background: #f6efe4;
}

.diagnosis-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 36px;
  align-items: start;
}

.diagnosis-card {
  padding: 28px;
  border: 1px solid rgba(239, 107, 66, 0.28);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(181, 138, 75, 0.16);
}

.diagnosis-card h3 {
  font-size: clamp(26px, 3vw, 34px);
}

.disabled-action {
  opacity: 0.72;
  cursor: not-allowed;
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.service-card {
  position: relative;
  min-height: 260px;
  padding: 26px 22px;
  overflow: hidden;
}

.card-index {
  display: block;
  margin-bottom: 30px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
}

.service-card ul {
  padding-left: 1.1em;
  margin: 0;
  color: var(--muted);
}

.service-card li + li {
  margin-top: 8px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 40px;
  align-items: start;
}

.milestone-map {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(19, 123, 112, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(228, 240, 237, 0.88), rgba(255, 253, 248, 0.92) 48%, rgba(239, 107, 66, 0.08)),
    var(--surface);
  box-shadow: var(--shadow);
}

.milestone-map::before {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -52px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(19, 123, 112, 0.08);
}

.map-title {
  position: relative;
  margin-bottom: 18px;
  color: #102a4c;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.25;
}

.milestone-map ol {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.milestone-map li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(23, 32, 29, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.milestone-map li > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--step-color);
  color: #fff;
  font-size: 19px;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(23, 32, 29, 0.16);
}

.milestone-map h3 {
  margin: 0 0 3px;
  color: var(--step-color);
  font-size: 17px;
}

.milestone-map p {
  margin: 0;
  color: #40504a;
  font-size: 14px;
  line-height: 1.45;
}

.growth-loop {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(16, 42, 76, 0.08);
  color: #102a4c;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.media-grid {
  grid-template-columns: 1.1fr 0.8fr 1fr;
  align-items: stretch;
}

.media-grid figure,
.credential-grid figure {
  margin: 0;
}

.media-grid img,
.credential-grid img,
.feedback-wall img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(23, 32, 29, 0.14);
}

.media-grid figure:nth-child(2) {
  max-height: 460px;
  overflow: hidden;
  border-radius: 8px;
}

.quote-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
}

blockquote {
  margin: 0;
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 242, 233, 0.88);
}

.feedback-block {
  margin-top: 30px;
}

.feedback-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.feedback-title h3 {
  margin: 0;
  color: #f7f2e9;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
}

.feedback-title span {
  flex: 0 0 auto;
  color: rgba(247, 242, 233, 0.58);
  font-weight: 800;
}

.pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.price-card {
  padding: 28px;
}

.price-card.highlight {
  border-color: rgba(239, 107, 66, 0.45);
  box-shadow: 0 20px 54px rgba(239, 107, 66, 0.14);
}

.price-label {
  margin-bottom: 8px;
  color: var(--teal);
  font-weight: 900;
}

.price {
  margin-bottom: 14px;
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1;
  font-weight: 900;
}

.price span {
  color: var(--muted);
  font-size: 18px;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process li {
  position: relative;
  min-height: 132px;
  padding: 48px 16px 16px;
  border-radius: 8px;
  background: var(--teal-soft);
  color: #25433e;
  font-weight: 700;
}

.process li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 14px;
  left: 16px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
}

.note {
  margin: 0;
  padding: 18px;
  border-left: 4px solid var(--orange);
  background: rgba(239, 107, 66, 0.08);
  border-radius: 0 8px 8px 0;
}

.credential-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.credential-grid figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.faq-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 42px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
}

.final-cta {
  padding-bottom: 118px;
}

.final-cta .content-shell {
  max-width: 920px;
}

.contact-line {
  margin: 18px 0 0;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: center;
  margin-top: 26px;
  text-align: left;
}

.contact-copy {
  min-width: 0;
}

.qr-card {
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.qr-card img {
  width: 100%;
  border-radius: 6px;
}

.qr-card figcaption {
  margin-top: 8px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.sticky-cta {
  position: fixed;
  left: max(14px, env(safe-area-inset-left));
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 20;
  justify-content: space-between;
  gap: 12px;
  width: min(620px, calc(100% - 28px));
  margin: 0 auto;
  padding: 10px 10px 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(23, 32, 29, 0.92);
  color: var(--paper);
  box-shadow: 0 18px 50px rgba(23, 32, 29, 0.28);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(100% + 24px));
  transition: opacity 180ms ease, transform 180ms ease;
}

.sticky-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.sticky-cta span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 800;
}

.sticky-cta button {
  min-width: 128px;
  padding: 0 16px;
  background: var(--orange);
  color: #fff;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  z-index: 30;
  transform: translateX(-50%) translateY(18px);
  opacity: 0;
  pointer-events: none;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .hero,
  .split,
  .diagnosis-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    justify-self: start;
  }

  .hero-media {
    order: -1;
  }

  .intro-grid,
  .service-grid,
  .question-grid,
  .pricing-grid,
  .credential-grid,
  .quote-grid,
  .process {
    grid-template-columns: 1fr;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .media-grid figure:nth-child(2) {
    max-height: 420px;
  }
}

@media (max-width: 560px) {
  .section-band {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .hero {
    padding-top: 26px;
    gap: 26px;
  }

  .hero-media img {
    height: auto;
    object-position: center 38%;
    border-radius: 6px;
  }

  .lead {
    font-size: 18px;
  }

  .proof-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .proof-strip div {
    min-width: 0;
    padding: 10px 8px;
  }

  .proof-strip dt {
    font-size: 22px;
  }

  .proof-strip dd {
    font-size: 12px;
  }

  .question-grid span {
    padding: 11px 12px;
    font-size: 15px;
  }

  .evidence-title,
  .feedback-title {
    display: block;
  }

  .evidence-title span,
  .feedback-title span {
    display: block;
    margin-top: 6px;
  }

  .demand-wall,
  .text-feedback,
  .chat-feedback {
    grid-auto-columns: minmax(78vw, 84vw);
  }

  .gallery-frame::before,
  .gallery-frame::after {
    width: 28px;
  }

  .gallery-nav {
    display: none;
  }

  .service-card,
  .price-card,
  .intro-grid article {
    padding: 20px;
  }

  .milestone-map {
    padding: 18px;
  }

  .milestone-map li {
    padding: 10px;
  }

  .map-title {
    font-size: 21px;
  }

  .sticky-cta {
    left: auto;
    padding-left: 14px;
    width: auto;
    border-radius: 999px;
  }

  .sticky-cta span {
    display: none;
  }

  .sticky-cta button {
    min-width: 132px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .qr-card {
    width: min(280px, 100%);
    justify-self: center;
  }
}
