:root {
  --ink: #172033;
  --muted: #667287;
  --soft: #f7f3ec;
  --paper: #fffaf2;
  --white: #ffffff;
  --line: rgba(32, 42, 62, .12);
  --blue: #315dff;
  --blue-dark: #183e9e;
  --mint: #66d5bd;
  --orange: #ffb36c;
  --peach: #ffe2ce;
  --shadow: 0 24px 70px rgba(38, 52, 78, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 2%, rgba(102, 213, 189, .28), transparent 28rem),
    radial-gradient(circle at 6% 16%, rgba(255, 179, 108, .24), transparent 22rem),
    linear-gradient(180deg, #fff8ee 0%, #f4f8ff 48%, #fffaf5 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

.section-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-copy,
.hero-visual,
.answer-card,
.section-heading,
.problem-grid > *,
.timeline > *,
.evidence-layout > *,
.audience-grid > *,
.case-section > *,
.service-layout > *,
.contact > * {
  min-width: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px max(20px, calc((100% - 1160px) / 2));
  background: rgba(255, 250, 242, .78);
  border-bottom: 1px solid rgba(32, 42, 62, .08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 218px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: block;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(49, 93, 255, .24);
}

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

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #4f5c70;
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover {
  color: var(--blue);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta {
  color: #fff;
  background: #172033;
  box-shadow: 0 14px 34px rgba(23, 32, 51, .18);
}

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 56px;
  align-items: center;
  padding: 58px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  max-width: 720px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 700px;
  margin-bottom: 30px;
  color: #39475c;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 18px 44px rgba(49, 93, 255, .24);
}

.btn.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
}

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

.hero-proof span {
  padding: 8px 12px;
  border: 1px solid rgba(49, 93, 255, .14);
  border-radius: 999px;
  color: #41506a;
  font-size: 14px;
  font-weight: 800;
  background: rgba(255, 255, 255, .6);
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.answer-card {
  position: relative;
  min-height: 480px;
  padding: 40px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 36px;
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 179, 108, .36), transparent 16rem),
    linear-gradient(145deg, rgba(255, 255, 255, .88), rgba(240, 248, 255, .76));
  box-shadow: var(--shadow);
}

.answer-card::before {
  content: "";
  position: absolute;
  right: -72px;
  bottom: -72px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(102, 213, 189, .34);
}

.card-label {
  display: inline-flex;
  margin-bottom: 70px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 900;
  background: rgba(49, 93, 255, .09);
}

.answer-card h2 {
  position: relative;
  margin-bottom: 20px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.12;
}

.answer-card p {
  position: relative;
  max-width: 420px;
  color: #526176;
  font-size: 18px;
}

.scan-line {
  position: absolute;
  left: 40px;
  right: 40px;
  top: 178px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: .55;
}

.floating-chip {
  position: absolute;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 14px 34px rgba(23, 32, 51, .12);
  font-weight: 900;
}

.chip-a {
  right: 30px;
  top: 96px;
  color: #216d61;
}

.chip-b {
  left: -10px;
  bottom: 120px;
  color: #8b5523;
}

.chip-c {
  right: 18px;
  bottom: 66px;
  color: #2549a4;
}

.section {
  padding: 86px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.section-heading h2,
.service-layout h2,
.case-copy h2,
.contact h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.15;
}

.section-heading p,
.service-layout p,
.case-copy p,
.contact p {
  color: var(--muted);
  font-size: 18px;
}

.problem-grid,
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.problem-grid article,
.audience-grid article,
.timeline article,
.evidence-list article,
.service-cards article,
.faq details {
  border: 1px solid rgba(255, 255, 255, .74);
  border-radius: 26px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 48px rgba(38, 52, 78, .08);
}

.problem-grid article {
  min-height: 250px;
  padding: 26px;
}

.problem-grid span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--orange);
  font-size: 34px;
  font-weight: 900;
}

.problem-grid h3,
.audience-grid h3,
.timeline h3,
.evidence-list h3,
.service-cards h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.32;
}

.problem-grid p,
.audience-grid p,
.timeline p,
.evidence-list p,
.service-cards p {
  margin-bottom: 0;
  color: var(--muted);
}

.method-section {
  background:
    radial-gradient(circle at 14% 18%, rgba(102, 213, 189, .22), transparent 24rem),
    linear-gradient(135deg, rgba(255,255,255,.52), rgba(255,255,255,.2));
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline article {
  padding: 28px;
}

.timeline strong {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--blue);
  font-size: 38px;
  line-height: 1;
}

.evidence-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 44px;
  align-items: center;
}

.evidence-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.evidence-list article {
  padding: 26px;
}

.poster-stack {
  position: relative;
  min-height: 560px;
}

.poster-stack img {
  position: absolute;
  width: 278px;
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(38, 52, 78, .18);
}

.poster-stack img:first-child {
  top: 0;
  left: 10px;
  transform: rotate(-5deg);
}

.poster-stack img:last-child {
  right: 0;
  bottom: 0;
  transform: rotate(5deg);
}

.audience-grid {
  grid-template-columns: repeat(5, 1fr);
}

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

.case-section {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: 40px;
  align-items: center;
}

.case-points {
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.case-points li {
  margin-bottom: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .68);
  border: 1px solid rgba(255, 255, 255, .82);
}

.note {
  padding: 14px 16px;
  border-left: 4px solid var(--orange);
  background: rgba(255, 255, 255, .55);
  border-radius: 12px;
}

.case-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.case-visual figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}

.case-visual img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: top;
}

.case-visual figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.service-band {
  padding: 86px 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 179, 108, .22), transparent 22rem),
    linear-gradient(135deg, #172033, #20365f);
  color: #fff;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 42px;
  align-items: start;
}

.service-layout .eyebrow {
  color: #a9f0df;
}

.service-layout p {
  color: rgba(255, 255, 255, .72);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.service-cards article {
  padding: 24px;
  color: var(--ink);
  background: rgba(255, 255, 255, .92);
}

.service-cards h3 {
  color: var(--ink);
}

.service-cards p {
  color: #526176;
}

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

.faq details {
  padding: 0 22px;
}

.faq summary {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  font-size: 19px;
  font-weight: 900;
}

.faq summary::after {
  content: "+";
  color: var(--blue);
  font-size: 28px;
}

.faq details[open] summary::after {
  content: "-";
}

.faq details p {
  margin: -2px 0 22px;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  margin-bottom: 86px;
  padding: 44px;
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 22%, rgba(102, 213, 189, .36), transparent 18rem),
    linear-gradient(135deg, var(--blue), #172033);
  box-shadow: 0 30px 80px rgba(49, 93, 255, .20);
}

.contact .eyebrow,
.contact p {
  color: rgba(255, 255, 255, .76);
}

.contact h2 {
  color: #fff;
}

.contact .btn.primary {
  color: var(--ink);
  background: #fff;
  box-shadow: none;
}

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

.contact-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  background: rgba(255, 255, 255, .12);
}

.site-footer {
  padding: 34px 0 42px;
  color: rgba(255, 255, 255, .72);
  background: #172033;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
  max-width: 680px;
  font-size: 14px;
}

.footer-inner strong {
  color: #fff;
}

.icp a {
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
}

.icp a:hover {
  color: #fff;
}

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

  .hero,
  .case-section,
  .service-layout,
  .evidence-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  .hero-visual {
    min-height: 470px;
  }

  .problem-grid,
  .timeline,
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .poster-stack {
    min-height: 480px;
  }

  .poster-stack img {
    width: 240px;
  }

  .case-visual {
    grid-template-columns: 1fr;
  }

  .case-visual img {
    height: 360px;
  }
}

@media (max-width: 640px) {
  .section-shell {
    width: calc(100% - 28px);
    max-width: 1160px;
  }

  .site-header {
    padding: 12px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero {
    gap: 34px;
    padding: 42px 0 36px;
  }

  .hero-copy,
  .answer-card,
  .section-heading,
  .case-copy,
  .service-layout,
  .contact,
  article,
  li,
  p {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  h1 {
    max-width: calc(100vw - 28px);
    font-size: 30px;
    line-height: 1.2;
    word-break: break-all;
  }

  h2,
  h3 {
    word-break: break-all;
  }

  .hero-proof {
    max-width: 100%;
    gap: 8px;
  }

  .hero-proof span {
    padding: 7px 10px;
    font-size: 13px;
  }

  .hero-lead,
  .section-heading p,
  .service-layout p,
  .case-copy p,
  .contact p {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: auto;
  }

  .answer-card {
    min-height: 360px;
    padding: 26px;
    border-radius: 28px;
  }

  .card-label {
    margin-bottom: 42px;
  }

  .answer-card h2 {
    font-size: 31px;
  }

  .scan-line {
    display: none;
  }

  .floating-chip {
    display: none;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading h2,
  .service-layout h2,
  .case-copy h2,
  .contact h2 {
    max-width: calc(100vw - 28px);
    font-size: 28px;
    line-height: 1.22;
  }

  .problem-grid,
  .timeline,
  .evidence-list,
  .audience-grid,
  .service-cards {
    grid-template-columns: 1fr;
  }

  .problem-grid article {
    min-height: auto;
  }

  .poster-stack {
    min-height: 430px;
  }

  .poster-stack img {
    width: 210px;
  }

  .case-visual img {
    height: 280px;
  }

  .contact {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .contact-links {
    display: grid;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
