:root {
  color-scheme: light;
  --bg: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --panel: #ffffff;
  --blue: #0071e3;
  --blue-dark: #0058b9;
  --dark: #050507;
  --dark-2: #151519;
  --silver: #e8e8ed;
  --green: #3a8f69;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "SF Pro Text", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.45;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 52px;
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(251, 251, 253, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
}

.brand {
  font-size: 18px;
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 28px;
  color: #424245;
  font-size: 13px;
}

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

.nav-cta {
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: calc(100vh - 52px);
  padding: clamp(52px, 7vw, 88px) clamp(20px, 5vw, 72px) 0;
  overflow: hidden;
  text-align: center;
}

.hero-copy {
  max-width: 1040px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: #bf5b19;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(48px, 8.4vw, 104px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(36px, 5.8vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: 0;
}

.hero-text,
.showcase-copy p,
.source-section p,
.service h2 + p {
  color: var(--muted);
}

.hero-text {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(18px, 2.1vw, 24px);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.hero-meta span {
  white-space: nowrap;
}

.button,
.contact-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 17px;
  font-weight: 600;
}

.button.primary,
.contact-actions a:first-child {
  background: var(--blue);
  color: white;
}

.button.primary:hover,
.contact-actions a:first-child:hover {
  background: var(--blue-dark);
}

.button.secondary,
.contact-actions a:last-child {
  color: var(--blue);
}

.product-stage {
  display: flex;
  align-items: end;
  justify-content: center;
  min-height: 48vh;
  padding-top: clamp(40px, 8vw, 88px);
}

.device {
  width: min(1120px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 34px 34px 0 0;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 246, 248, 0.98)),
    var(--panel);
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.device-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 4px 8px 18px;
  color: var(--muted);
  font-size: 13px;
}

.device-top span {
  width: 54px;
  height: 14px;
  border-radius: 999px;
  background: #d9d9de;
}

.device-top b {
  color: #2a2a2d;
  font-weight: 700;
}

.device-top em {
  justify-self: end;
  color: var(--green);
  font-style: normal;
  font-weight: 700;
}

.metric-strip,
.insight-row,
.content-grid,
.service-steps,
.source-band {
  display: grid;
  gap: 14px;
}

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

.metric-strip div,
.answer-card,
.insight-row div {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  background: white;
  text-align: left;
}

.metric-strip div {
  padding: 20px;
}

.metric-strip span,
.insight-row span,
.report-line span,
.source-band span,
.service-steps span {
  color: var(--muted);
  font-size: 14px;
}

.metric-strip strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1;
}

.answer-card {
  margin-top: 14px;
  padding: 22px;
}

.answer-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--silver);
}

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

.mention-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.mention-list span {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 44px;
  overflow: hidden;
  border-radius: 14px;
  padding: 10px 14px;
  background: #f5f5f7;
}

.mention-list span::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: rgba(0, 113, 227, 0.14);
  content: "";
}

.mention-list .target::before {
  background: rgba(191, 91, 25, 0.16);
}

.mention-list b,
.mention-list em {
  position: relative;
}

.mention-list em {
  color: var(--muted);
  font-style: normal;
}

.insight-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
}

.insight-row div {
  padding: 16px;
}

.insight-row b {
  display: block;
  margin-top: 4px;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: 720px;
  padding: clamp(64px, 8vw, 116px) clamp(20px, 5vw, 72px);
}

.showcase.light {
  background: #ffffff;
}

.showcase.dark {
  background: var(--dark);
  color: #f5f5f7;
}

.showcase.dark .showcase-copy p,
.showcase.dark article p {
  color: #a1a1a6;
}

.showcase-copy {
  max-width: 720px;
}

.showcase-copy p {
  font-size: clamp(18px, 2vw, 23px);
}

.report-visual {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 32px;
  background: #f5f5f7;
}

.report-line {
  display: grid;
  grid-template-columns: 100px 1fr 54px;
  gap: 14px;
  align-items: center;
}

.report-line b {
  position: relative;
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #dedee3;
}

.report-line b::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--p);
  border-radius: inherit;
  background: var(--blue);
  content: "";
}

.report-line.competitor b::before {
  background: #bf5b19;
}

.report-line em {
  color: var(--ink);
  font-style: normal;
  font-weight: 700;
  text-align: right;
}

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

.content-grid article {
  min-height: 260px;
  border-radius: 30px;
  padding: 28px;
  background: var(--dark-2);
}

.content-grid span {
  display: inline-flex;
  margin-bottom: 60px;
  color: var(--blue);
  font-weight: 800;
}

.source-section,
.service,
.faq-section,
.diagnosis,
.contact {
  padding: clamp(64px, 8vw, 116px) clamp(20px, 5vw, 72px);
}

.section-title,
.service,
.contact {
  text-align: center;
}

.section-title {
  max-width: 980px;
  margin: 0 auto 36px;
}

.source-band {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.source-band div {
  min-height: 300px;
  border-radius: 30px;
  padding: 28px;
  background: white;
}

.source-band b {
  display: block;
  margin: 10px 0 14px;
  font-size: 24px;
  line-height: 1.15;
}

.source-band p {
  color: var(--muted);
}

.service {
  background: white;
}

.service h2,
.contact h2 {
  max-width: 1000px;
  margin-right: auto;
  margin-left: auto;
}

.service-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1100px;
  margin: 38px auto 0;
}

.service-steps div {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  text-align: left;
}

.service-steps b {
  font-size: 21px;
}

.faq-section {
  background: #fbfbfd;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.faq-list article {
  min-height: 210px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 28px;
  padding: 26px;
  background: white;
}

.faq-list p {
  color: var(--muted);
}

.diagnosis {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 113, 227, 0.12), transparent 28%),
    linear-gradient(135deg, #f5f5f7 0%, #ffffff 48%, #ececf1 100%);
}

.diagnosis-copy {
  max-width: 760px;
}

.diagnosis-copy p {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
}

.diagnosis-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.diagnosis-points span {
  min-height: 58px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.74);
  color: #424245;
  font-weight: 700;
}

.lead-form {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 34px;
  padding: clamp(22px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: #424245;
  font-size: 14px;
  font-weight: 700;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid #d2d2d7;
  border-radius: 14px;
  padding: 13px 14px;
  background: #fbfbfd;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  outline: none;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.14);
}

.submit-button {
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  margin-top: 4px;
  background: var(--blue);
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
}

.submit-button:hover {
  background: var(--blue-dark);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.hidden {
  display: none;
}

.contact {
  min-height: 520px;
  background: #f5f5f7;
}

.contact h2 {
  max-width: 900px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: var(--muted);
  font-size: 13px;
}

.footer strong {
  color: var(--ink);
}

.thanks-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 20%, rgba(0, 113, 227, 0.14), transparent 32%),
    var(--bg);
}

.thanks {
  display: grid;
  min-height: 100vh;
  align-content: center;
  justify-items: center;
  padding: clamp(52px, 8vw, 100px) clamp(20px, 5vw, 72px);
  text-align: center;
}

.thanks h1 {
  max-width: 920px;
}

.thanks p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
}

.ai-source-page {
  max-width: 1180px;
  margin: 0 auto;
}

.ai-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  margin: 28px 0 8px;
}

.ai-facts div {
  display: grid;
  gap: 8px;
  min-height: 120px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 22px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.82);
  text-align: left;
}

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

@media (max-width: 1060px) {
  .showcase,
  .source-band,
  .diagnosis {
    grid-template-columns: 1fr 1fr;
  }

  .content-grid,
  .service-steps,
  .faq-list,
  .ai-facts {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    position: static;
    flex-wrap: wrap;
    min-height: auto;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

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

  .metric-strip,
  .insight-row,
  .showcase,
  .source-band,
  .content-grid,
  .service-steps,
  .faq-list,
  .ai-facts,
  .diagnosis,
  .diagnosis-points,
  .field-row {
    grid-template-columns: 1fr;
  }

  .device {
    border-radius: 24px 24px 0 0;
    padding: 14px;
  }

  .answer-head,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .mention-list span,
  .report-line {
    grid-template-columns: 1fr;
  }

  .report-line em {
    text-align: left;
  }

  .showcase {
    min-height: auto;
  }
}
