:root {
  --ink: #10131a;
  --muted: #606875;
  --line: #e2e6eb;
  --paper: #f7f8fa;
  --white: #ffffff;
  --orange: #ff6b1a;
  --yellow: #ffd540;
  --blue: #1863b6;
  --green: #1b8a5a;
  --shadow: 0 18px 48px rgba(16, 19, 26, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(247, 248, 250, 0.92);
  border-bottom: 1px solid rgba(16, 19, 26, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.brand strong {
  display: block;
  font-size: 15px;
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

.top-nav {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.top-nav a {
  padding: 8px 4px;
}

.section {
  padding: 52px clamp(18px, 4vw, 56px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding-top: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 248, 250, 0.95)),
    radial-gradient(circle at 22% 8%, rgba(255, 107, 26, 0.14), transparent 34%),
    radial-gradient(circle at 92% 18%, rgba(24, 99, 182, 0.16), transparent 30%);
}

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

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

h1 {
  max-width: 10em;
  margin-bottom: 18px;
  font-size: clamp(40px, 12vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(26px, 7vw, 44px);
  line-height: 1.12;
  letter-spacing: 0;
}

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

.hero-lede {
  max-width: 720px;
  margin-bottom: 22px;
  color: #39404b;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  background: var(--ink);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
}

.hero-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  max-height: 72vh;
  object-fit: cover;
  object-position: center 18%;
}

.hero-media figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 10px 12px;
  background: rgba(16, 19, 26, 0.88);
  color: var(--white);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.proof-strip {
  display: grid;
  gap: 1px;
  margin: 0 clamp(18px, 4vw, 56px);
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.proof-strip div {
  padding: 18px;
  background: var(--white);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  margin-bottom: 4px;
  font-size: 18px;
}

.proof-strip span {
  color: var(--muted);
  font-size: 14px;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 24px;
}

.section-heading.compact {
  max-width: 760px;
}

.section-note {
  color: var(--muted);
  font-size: 15px;
}

.intro {
  background: var(--ink);
  color: var(--white);
}

.intro .eyebrow {
  color: var(--yellow);
}

.intro-grid {
  display: grid;
  gap: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.credentials {
  background: #fff8ec;
}

.identity-grid {
  display: grid;
  gap: 14px;
}

.identity-card {
  padding: 20px;
  background: var(--white);
  border: 1px solid #ead8bd;
  border-radius: var(--radius);
}

.identity-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.pain-points,
.method,
.faq {
  background: var(--white);
}

.pain-list,
.service-list,
.faq-list {
  display: grid;
  gap: 14px;
}

.pain-list article,
.service-list article,
.case-card,
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.pain-list article {
  padding: 20px;
}

.pain-list span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 28px;
  font-weight: 900;
}

.pain-list p,
.service-list p,
.case-card p,
.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.service {
  background: #f1f4f7;
}

.service-layout {
  display: grid;
  gap: 22px;
}

.service-list article {
  padding: 18px;
}

.service-list article:nth-child(2) {
  border-color: rgba(255, 107, 26, 0.35);
}

.service-list article:nth-child(3) {
  border-color: rgba(27, 138, 90, 0.35);
}

.service-media {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-media img {
  width: 100%;
  object-fit: cover;
}

.service-system {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.service-system article {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-system p {
  margin-bottom: 0;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.steps li {
  display: grid;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.steps strong {
  font-size: 18px;
}

.steps span {
  color: var(--muted);
}

.cases {
  background: var(--paper);
}

.case-block {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.case-section-title {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.case-section-title > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
  font-weight: 900;
}

.case-section-title h3 {
  margin-bottom: 4px;
  font-size: 22px;
}

.case-section-title p {
  margin-bottom: 0;
  color: var(--muted);
}

.swipe-hint {
  display: inline-flex;
  width: fit-content;
  margin: 0;
  padding: 6px 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.case-showcase,
.course-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(258px, 82%);
  gap: 16px;
  margin-inline: calc(clamp(18px, 4vw, 56px) * -1);
  padding: 2px clamp(18px, 4vw, 56px) 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-left: clamp(18px, 4vw, 56px);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.case-showcase::-webkit-scrollbar,
.course-grid::-webkit-scrollbar {
  display: none;
}

.case-card,
.course-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  scroll-snap-align: start;
}

.case-card img,
.course-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  background: #dfe7ef;
}

.case-body,
.course-body {
  padding: 16px;
}

.case-card--featured {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.case-card--featured p,
.case-card--featured .case-points li,
.case-card--featured .case-points strong {
  color: rgba(255, 255, 255, 0.78);
}

.case-kicker {
  margin-bottom: 6px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.case-points {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.case-points li {
  color: var(--muted);
  font-size: 14px;
}

.case-points strong {
  display: inline-block;
  margin-right: 6px;
  color: var(--ink);
}

.case-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 16px;
  padding: 9px 12px;
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
}

.case-link--light,
.case-card--featured .case-link {
  background: var(--yellow);
  color: var(--ink);
}

.course-card {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.course-card p {
  color: rgba(255, 255, 255, 0.78);
}

.course-card .case-kicker {
  color: var(--yellow);
}

.ai-section {
  background: #eef5fb;
}

.ai-profile {
  display: grid;
  gap: 16px;
  max-width: 980px;
  padding: 20px;
  background: var(--white);
  border: 1px solid #ead8bd;
  border-radius: var(--radius);
}

.ai-profile p {
  margin-bottom: 0;
  color: #343942;
  font-size: 17px;
}

.ai-profile dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.ai-profile dl div {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.ai-profile dt {
  margin-bottom: 4px;
  font-weight: 900;
}

.ai-profile dd {
  margin: 0;
  color: var(--muted);
}

.faq-list details {
  padding: 0;
}

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

.faq-list p {
  padding: 0 18px 18px;
}

.contact {
  background: var(--ink);
  color: var(--white);
  padding-bottom: 86px;
}

.contact .eyebrow {
  color: var(--yellow);
}

.contact-panel {
  display: grid;
  gap: 22px;
}

.contact-panel > div:first-child p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.button.secondary.dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
}

.contact-card {
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.contact-info {
  display: grid;
  gap: 14px;
}

.contact-info p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.contact-info a {
  color: var(--yellow);
  font-weight: 900;
}

.contact-info img {
  width: min(100%, 320px);
  margin: 0 auto;
  background: var(--white);
  border-radius: 8px;
}

.qr-note {
  font-size: 14px;
}

.contact-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  padding: 24px clamp(18px, 4vw, 56px) 86px;
  background: #07090d;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.site-footer p {
  margin-bottom: 8px;
}

.footer-note {
  color: rgba(255, 255, 255, 0.46);
}

.detail-page {
  background: var(--paper);
}

.detail-hero {
  padding: 34px clamp(18px, 4vw, 56px) 28px;
  background: var(--ink);
  color: var(--white);
}

.detail-hero h1 {
  max-width: 960px;
  margin-bottom: 12px;
  font-size: clamp(34px, 10vw, 64px);
}

.detail-hero .eyebrow {
  color: var(--yellow);
}

.back-link {
  display: inline-flex;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 800;
}

.detail-lede {
  max-width: 820px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-tags span {
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 800;
}

.detail-summary {
  display: grid;
  gap: 14px;
  padding: 28px clamp(18px, 4vw, 56px);
  background: var(--white);
}

.detail-summary article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.detail-summary span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 22px;
  font-weight: 900;
}

.detail-summary h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

.detail-summary p {
  margin-bottom: 0;
  color: var(--muted);
}

.detail-gallery-section {
  padding: 42px clamp(18px, 4vw, 56px);
}

.detail-gallery {
  display: grid;
  gap: 16px;
}

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

.case-directory-list a {
  display: grid;
  gap: 5px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.case-directory-list span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.case-directory-list strong {
  color: var(--ink);
  font-size: 20px;
}

.case-directory-list small {
  color: var(--muted);
  font-size: 14px;
}

.detail-image {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.detail-image img {
  width: 100%;
  background: #dfe7ef;
}

.detail-image figcaption {
  padding: 8px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.mobile-cta {
  position: fixed;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  left: 12px;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 19, 26, 0.1);
  border-radius: 8px;
  box-shadow: 0 10px 32px rgba(16, 19, 26, 0.16);
  backdrop-filter: blur(18px);
}

.mobile-cta a {
  display: grid;
  place-items: center;
  min-height: 42px;
  border-radius: 8px;
  font-weight: 900;
}

.mobile-cta a:first-child {
  background: var(--paper);
}

.mobile-cta a:last-child {
  background: var(--orange);
  color: var(--white);
}

@media (min-width: 720px) {
  .proof-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .intro-grid,
  .contact-panel {
    grid-template-columns: 1.2fr 0.8fr;
  }

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

  .pain-list,
  .service-list,
  .service-system {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .case-showcase,
  .course-grid {
    grid-auto-columns: minmax(300px, 42%);
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-left: 1px solid var(--line);
  }

  .steps li {
    padding: 20px;
    border-right: 1px solid var(--line);
  }

  .detail-summary,
  .detail-gallery,
  .case-directory-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
    align-items: center;
    min-height: 84vh;
  }

  .hero-media img {
    max-height: 78vh;
  }

  .service-layout {
    grid-template-columns: minmax(0, 1fr) 420px;
    align-items: start;
  }

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

  .swipe-hint {
    display: none;
  }

  .case-showcase,
  .course-grid {
    grid-auto-flow: initial;
    grid-auto-columns: initial;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-inline: 0;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .case-card--featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.75fr);
  }

  .case-card--featured img {
    height: 100%;
  }

  .mobile-cta {
    display: none;
  }

  .site-footer {
    padding-bottom: 28px;
  }
}
