:root {
  color-scheme: dark;
  --bg: #0b120f;
  --surface: #111d17;
  --surface-soft: #182a21;
  --text: #edf5f0;
  --muted: #b7c7bd;
  --line: #2b4035;
  --accent: #43c694;
  --accent-strong: #82e5bd;
  --accent-soft: #103124;
  --dark: #07100c;
  --radius: 14px;
  --shadow: 0 22px 48px rgb(0 0 0 / 28%);
  --shell: min(1160px, calc(100vw - 48px));
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 7rem;
  --home-heading-hero: clamp(2.55rem, 5.4vw, 5.15rem);
  --home-heading-section: clamp(2.05rem, 3.45vw, 3.35rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }

.shell { width: var(--shell); margin-inline: auto; }
.section { padding-block: var(--space-7); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 0.75rem 1rem; background: var(--accent); color: #07110c; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(14px); }
.nav-shell { min-height: 72px; display: grid; grid-template-columns: minmax(210px, 1fr) auto minmax(170px, 1fr); align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
.brand { justify-self: start; display: inline-flex; align-items: center; gap: 0.65rem; font-size: 1.1rem; font-weight: 750; letter-spacing: -0.04em; white-space: nowrap; }
.brand em { color: var(--accent); font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 1em; font-style: normal; letter-spacing: -0.06em; }
.brand-logo-mark { display: grid; width: 58px; height: 31px; place-items: center; overflow: hidden; border-radius: 7px; background: rgb(237 245 240 / 5%); box-shadow: inset 0 0 0 1px rgb(237 245 240 / 8%); }
.brand-logo-mark img { width: 58px; height: 31px; object-fit: contain; filter: invert(1) brightness(1.55) contrast(0.95); mix-blend-mode: screen; transform: scale(1.08); }
.nav-menu { display: contents; }
.primary-nav { grid-column: 2; justify-self: center; display: flex; align-items: center; gap: 0.2rem; padding: 0.28rem; border: 1px solid color-mix(in srgb, var(--line) 78%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--surface) 58%, transparent); color: var(--muted); font-size: 0.9rem; }
.primary-nav a { display: inline-flex; min-height: 36px; align-items: center; padding: 0 0.82rem; border-radius: 999px; transition: color 180ms ease, background 180ms ease; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--text); background: color-mix(in srgb, var(--surface-soft) 72%, transparent); }
.nav-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 0.55rem; }
.nav-action { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; padding: 0 0.9rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.88rem; font-weight: 740; line-height: 1; transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease; white-space: nowrap; }
.nav-action:hover, .nav-action:focus-visible { transform: translateY(-1px); }
.nav-action-login { color: var(--text); background: color-mix(in srgb, var(--surface) 72%, transparent); }
.nav-action-login:hover, .nav-action-login:focus-visible { border-color: var(--accent); color: var(--accent); }
.nav-action-signup { border-color: transparent; color: #07110c; background: var(--accent); }
.nav-action-signup:hover, .nav-action-signup:focus-visible { background: var(--accent-strong); }
.nav-toggle { display: none; }

.hero { position: relative; isolation: isolate; display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: calc(100dvh - 72px); padding-top: 0; padding-bottom: 0; overflow: clip; background: radial-gradient(circle at 50% 45%, #173727 0, transparent 46%), linear-gradient(135deg, #0b120f 0%, #0b1711 52%, #09100d 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, rgb(7 15 11 / 84%) 0%, rgb(7 15 11 / 36%) 46%, rgb(7 15 11 / 58%) 100%); }
.hero-canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.82; mix-blend-mode: screen; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 0.62fr) minmax(280px, 0.38fr); align-items: start; gap: clamp(2rem, 7vw, 8rem); min-height: 0; padding-block: clamp(4.75rem, 7vh, 6rem) clamp(2.5rem, 5vw, 4rem); }
.hero-copy { padding-block: var(--space-3); }
.eyebrow { margin: 0 0 var(--space-2); color: var(--accent); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--text); line-height: 1.14; letter-spacing: -0.065em; }
h1 { max-width: 9.5em; margin-bottom: 1.25rem; font-size: clamp(3rem, 6vw, 5.65rem); font-weight: 760; }
.hero-title-line { display: block; white-space: nowrap; }
h2 { max-width: 10.5em; margin-bottom: 1.5rem; font-size: clamp(2.15rem, 4vw, 4rem); font-weight: 730; }
h3 { margin-bottom: 0.65rem; font-size: 1.05rem; font-weight: 740; }
body.home-page h1,
body.home-page h2,
body.home-page h3 {
  line-break: strict;
  text-wrap: balance;
}
body.home-page h1 {
  max-width: 8.5em;
  font-size: var(--home-heading-hero);
  line-height: 1.15;
}
body.home-page h2,
body.home-page .prompt-testimonial-heading h3 {
  max-width: 12em;
  font-size: var(--home-heading-section);
  line-height: 1.18;
}
.hero-lede { max-width: 31rem; margin-bottom: var(--space-3); color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem; min-height: 46px; padding: 0.65rem 1rem; border: 1px solid transparent; border-radius: 9px; font-weight: 700; font-size: 0.94rem; transition: transform 180ms ease, background 180ms ease, border-color 180ms ease; }
.button:active { transform: translateY(1px); }
.button-primary { background: var(--accent); color: #07110c; }
.button-primary:hover, .button-primary:focus-visible { background: var(--accent-strong); }
.button-text { color: var(--text); border-color: var(--line); background: var(--surface); }
.button-text:hover, .button-text:focus-visible { border-color: var(--accent); color: var(--accent); }
.model-strip { position: relative; z-index: 1; width: 100%; align-self: end; border-block: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 62%, transparent); backdrop-filter: blur(12px); }
.model-strip-inner { display: grid; grid-template-columns: 1.1fr 2fr; align-items: center; gap: var(--space-3); min-height: 82px; }
.model-strip p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.model-strip ul { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 0.6rem; padding: 0; margin: 0; list-style: none; color: var(--text); font-size: 0.88rem; }
.model-strip li { display: inline-flex; }
.model-strip li a { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 38px; padding: 0.42rem 0.72rem 0.42rem 0.48rem; border: 1px solid color-mix(in srgb, var(--line) 82%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--surface-soft) 74%, transparent); color: inherit; font-weight: 700; letter-spacing: -0.025em; text-decoration: none; white-space: nowrap; transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease; }
.model-strip li a:hover, .model-strip li a:focus-visible { border-color: color-mix(in srgb, var(--accent) 82%, transparent); background: color-mix(in srgb, var(--accent) 10%, var(--surface-soft)); color: var(--accent); outline: none; }
.model-strip li a:active { transform: translateY(1px); }
.model-logo-frame { display: grid; flex: 0 0 auto; width: 24px; height: 24px; place-items: center; overflow: hidden; border-radius: 8px; background: rgb(237 245 240 / 8%); box-shadow: inset 0 0 0 1px rgb(237 245 240 / 8%); }
.model-logo { width: 18px; height: 18px; object-fit: contain; }

.metrics-section {
  position: relative;
  overflow: clip;
  padding-block: clamp(4rem, 8vw, 6.5rem);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 75% 30%, rgb(67 198 148 / 9%), transparent 34%),
    linear-gradient(180deg, #0b120f 0%, #0f1914 100%);
}

.metrics-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: -12%;
  left: -12%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgb(237 245 240 / 32%) 50%, transparent 100%);
  opacity: 0.28;
}

.metrics-section-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.metrics-section-header h2 {
  max-width: 12em;
  font-size: var(--home-heading-section);
}

.metrics-section-header > p:not(.eyebrow) {
  max-width: 31rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
}

.ai-metrics-demo {
  width: 100%;
  min-width: 0;
  justify-self: center;
  margin: 0;
}

.metrics-widget {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 4px;
  border: 1px solid rgb(237 245 240 / 10%);
  border-radius: 18px;
  background: linear-gradient(180deg, rgb(237 245 240 / 12%) 0%, rgb(237 245 240 / 6%) 100%);
  box-shadow: 0 26px 70px rgb(0 0 0 / 34%);
}

.metrics-widget::before,
.metrics-widget::after {
  content: "";
  position: absolute;
  right: -8%;
  left: -8%;
  z-index: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, rgb(237 245 240 / 0%) 0%, rgb(237 245 240 / 34%) 50%, rgb(237 245 240 / 0%) 100%);
  opacity: 0.36;
}

.metrics-widget::before { top: 0; }
.metrics-widget::after { bottom: 0; }

.metrics-tabs,
.metrics-stage {
  position: relative;
  z-index: 1;
}

.metrics-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  min-width: 0;
  padding: 0;
  margin: 0;
}

.metric-tab {
  display: grid;
  min-height: 116px;
  align-content: start;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgb(237 245 240 / 7%);
  border-radius: 13px;
  color: rgb(237 245 240 / 68%);
  text-align: left;
  background: linear-gradient(180deg, rgb(237 245 240 / 7%) 0%, rgb(237 245 240 / 3%) 100%);
  box-shadow: 0 4px 4px rgb(0 0 0 / 10%);
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.metric-tab:hover,
.metric-tab:focus-visible {
  color: var(--text);
  opacity: 1;
  outline: none;
}

.metric-tab.is-active {
  color: var(--text);
  background: linear-gradient(180deg, rgb(237 245 240 / 12%) 0%, rgb(237 245 240 / 6%) 100%);
  opacity: 1;
}

.metric-progress {
  display: block;
  overflow: hidden;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: rgb(237 245 240 / 13%);
}

.metric-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #d80027;
  transform: scaleX(0);
  transform-origin: left center;
}

.metric-tab.is-active .metric-progress span {
  animation: metricProgress var(--metrics-duration, 4200ms) linear forwards;
}

.metric-tab-heading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.94rem;
  line-height: 1;
}

.metric-icon {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: rgb(237 245 240 / 10%);
  color: var(--accent-strong);
  font-size: 0.8rem;
  line-height: 1;
}

.metric-tab-copy {
  max-width: 19rem;
  color: rgb(237 245 240 / 56%);
  font-size: 0.82rem;
  line-height: 1.45;
}

.metrics-stage {
  min-height: 292px;
  margin-top: 4px;
  overflow: hidden;
  border-radius: 15px;
  background: rgb(237 245 240 / 5%);
}

.metric-scene {
  position: relative;
  min-height: 292px;
  padding: clamp(1rem, 3vw, 1.6rem);
  overflow: hidden;
}

.metric-scene::before {
  content: "";
  position: absolute;
  inset: auto -8% -45% -8%;
  height: 78%;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgb(67 198 148 / 22%) 0%, rgb(67 198 148 / 7%) 42%, transparent 70%);
  filter: blur(12px);
}

.metric-question {
  position: relative;
  z-index: 2;
  width: max-content;
  max-width: min(100%, 24rem);
  margin: 0 auto 1rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid rgb(237 245 240 / 12%);
  border-radius: 12px;
  background: rgb(237 245 240 / 7%);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 4px 4px rgb(0 0 0 / 10%);
}

.metric-answer {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 0.7rem;
  width: min(100%, 720px);
  margin-inline: auto;
}

.metric-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #171717;
  color: #fff;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgb(0 0 0 / 24%);
}

.metric-answer-card {
  position: relative;
  min-height: 198px;
  padding: clamp(1rem, 3vw, 1.35rem);
  border: 1px solid rgb(237 245 240 / 12%);
  border-radius: 14px;
  background: #fff;
  color: #171717;
  box-shadow: 0 51px 51px rgb(0 0 0 / 9%), 0 12px 28px rgb(0 0 0 / 10%), 0 4px 4px rgb(0 0 0 / 10%);
}

.metric-answer-card > p {
  max-width: 34rem;
  margin-bottom: 0.85rem;
  color: #737373;
  font-size: 0.88rem;
  line-height: 1.65;
}

.metric-result-list,
.metric-rank-list,
.metric-sentiment-grid {
  display: grid;
  gap: 0.42rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgb(23 23 23 / 10%);
}

.metric-result-row,
.metric-rank-list div {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.6rem;
  border: 1px solid rgb(23 23 23 / 8%);
  border-radius: 8px;
  background: #f7f7f7;
  color: #525252;
  font-size: 0.82rem;
}

.metric-result-row strong,
.metric-rank-list strong {
  color: #171717;
  font-size: 0.8rem;
  white-space: nowrap;
}

.metric-result-row.is-highlighted,
.metric-rank-list .is-highlighted {
  border-color: rgb(67 198 148 / 42%);
  background: rgb(67 198 148 / 11%);
}

.metric-rank-list span {
  color: #737373;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.74rem;
}

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

.metric-sentiment-grid div {
  display: grid;
  gap: 0.3rem;
  min-height: 74px;
  align-content: center;
  padding: 0.75rem;
  border: 1px solid rgb(23 23 23 / 8%);
  border-radius: 9px;
  background: #f7f7f7;
}

.metric-sentiment-grid span {
  color: #737373;
  font-size: 0.74rem;
}

.metric-sentiment-grid strong {
  color: #171717;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.metric-sentiment-grid .is-positive {
  border-color: rgb(67 198 148 / 44%);
  background: rgb(67 198 148 / 11%);
}

.metric-popover {
  position: absolute;
  right: clamp(0.9rem, 3vw, 1.35rem);
  bottom: clamp(0.9rem, 3vw, 1.35rem);
  display: grid;
  gap: 0.12rem;
  min-width: 118px;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: #171717;
  color: #fff;
  box-shadow: 0 14px 30px rgb(0 0 0 / 24%);
}

.metric-popover span {
  color: rgb(255 255 255 / 55%);
  font-size: 0.7rem;
}

.metric-popover strong {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 1.05rem;
  line-height: 1.1;
}

.metric-scene.is-active .metric-question {
  animation: metricQuestionIn 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.metric-scene.is-active .metric-avatar,
.metric-scene.is-active .metric-answer-card {
  animation: metricCardIn 680ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.metric-scene.is-active .metric-avatar { animation-delay: 80ms; }
.metric-scene.is-active .metric-answer-card { animation-delay: 140ms; }

.metric-scene.is-active .metric-result-row,
.metric-scene.is-active .metric-rank-list div,
.metric-scene.is-active .metric-sentiment-grid div {
  animation: metricRowIn 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.metric-scene.is-active .metric-result-row:nth-child(1),
.metric-scene.is-active .metric-rank-list div:nth-child(1),
.metric-scene.is-active .metric-sentiment-grid div:nth-child(1) { animation-delay: 260ms; }
.metric-scene.is-active .metric-result-row:nth-child(2),
.metric-scene.is-active .metric-rank-list div:nth-child(2),
.metric-scene.is-active .metric-sentiment-grid div:nth-child(2) { animation-delay: 340ms; }
.metric-scene.is-active .metric-result-row:nth-child(3),
.metric-scene.is-active .metric-rank-list div:nth-child(3),
.metric-scene.is-active .metric-sentiment-grid div:nth-child(3) { animation-delay: 420ms; }

.metric-scene.is-active .metric-popover {
  animation: metricPopoverIn 680ms cubic-bezier(0.16, 1, 0.3, 1) 520ms both;
}

@keyframes metricProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes metricQuestionIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes metricCardIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes metricRowIn {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes metricPopoverIn {
  from { opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: translateX(0); }
}

.prompt-intel-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(7rem, 13vw, 12rem) clamp(5rem, 10vw, 9rem);
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 8%, rgb(67 198 148 / 8%), transparent 36%),
    linear-gradient(180deg, #0b120f 0%, #0f1914 100%);
  color: var(--text);
}

.prompt-intel-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgb(237 245 240 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(237 245 240 / 5%) 1px, transparent 1px);
  background-size: 100% 96px, 100px 100%;
  opacity: 0.82;
}

.prompt-intel-section::before,
.prompt-intel-section::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: max(9vw, 80px);
  pointer-events: none;
}

.prompt-intel-section::before {
  left: 0;
  background: linear-gradient(90deg, #0b120f 0%, rgb(11 18 15 / 0%) 100%);
}

.prompt-intel-section::after {
  right: 0;
  background: linear-gradient(270deg, #0f1914 0%, rgb(15 25 20 / 0%) 100%);
}

.prompt-intel-header,
.prompt-testimonial-heading {
  position: relative;
  z-index: 2;
  text-align: center;
}

.prompt-intel-header h2 {
  max-width: 12em;
  margin: 0 auto;
  color: var(--text);
  font-size: var(--home-heading-section);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.075em;
}

.prompt-marquee,
.testimonial-marquee {
  position: relative;
  z-index: 2;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
}

.prompt-marquee {
  margin-top: clamp(3.8rem, 8vw, 7rem);
}

.prompt-marquee + .prompt-marquee {
  margin-top: 0.75rem;
}

.prompt-marquee-track,
.testimonial-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: promptMarqueeLeft 36s linear infinite;
}

.prompt-marquee-reverse .prompt-marquee-track,
.testimonial-marquee-reverse .testimonial-track {
  animation-name: promptMarqueeRight;
}

.prompt-marquee:hover .prompt-marquee-track,
.testimonial-marquee:hover .testimonial-track {
  animation-play-state: paused;
}

.prompt-marquee ul,
.testimonial-marquee ul {
  display: flex;
  flex: 0 0 auto;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.prompt-marquee ul {
  padding-right: 0.8rem;
}

.prompt-marquee li {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  gap: 0.7rem;
  padding: 0.34rem 0.38rem 0.34rem 0.72rem;
  border: 1px solid rgb(237 245 240 / 10%);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgb(237 245 240 / 10%) 0%, rgb(237 245 240 / 5%) 100%),
    color-mix(in srgb, var(--surface) 82%, transparent);
  box-shadow: 0 1px 2px rgb(0 0 0 / 20%), 0 12px 26px rgb(0 0 0 / 14%);
  white-space: nowrap;
}

.prompt-model {
  display: inline-flex;
  min-width: 62px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding-inline: 0.55rem;
  border-radius: 10px;
  background: rgb(237 245 240 / 8%);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
}

.prompt-marquee strong {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.prompt-marquee em {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding-inline: 0.75rem;
  border-radius: 10px;
  background: rgb(67 198 148 / 10%);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 680;
}

.prompt-testimonial-heading {
  display: grid;
  justify-items: center;
  gap: 1rem;
  margin-top: clamp(6rem, 12vw, 11rem);
}

.prompt-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0 0.65rem;
  border: 1px solid rgb(237 245 240 / 10%);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 1px 2px rgb(0 0 0 / 20%);
}

.prompt-badge::before {
  content: "✦";
  color: var(--accent);
  font-size: 0.85em;
}

.prompt-testimonial-heading h3 {
  max-width: 14em;
  margin: 0;
  color: var(--text);
  font-size: var(--home-heading-section);
  font-weight: 720;
  line-height: 1.08;
  letter-spacing: -0.07em;
  text-align: center;
}

.testimonial-marquee {
  margin-top: clamp(2.8rem, 6vw, 4.5rem);
}

.testimonial-marquee + .testimonial-marquee {
  margin-top: 0.9rem;
}

.testimonial-track {
  animation-duration: 42s;
}

.testimonial-marquee ul {
  padding-right: 0.9rem;
}

.testimonial-marquee li {
  display: grid;
  width: clamp(300px, 28vw, 420px);
  min-height: 168px;
  align-content: space-between;
  gap: 1.4rem;
  padding: 1.15rem;
  border: 1px solid rgb(237 245 240 / 10%);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgb(237 245 240 / 9%) 0%, rgb(237 245 240 / 4%) 100%),
    color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 0 1px 2px rgb(0 0 0 / 20%), 0 18px 34px rgb(0 0 0 / 18%);
}

.testimonial-marquee p {
  margin: 0;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.7;
  letter-spacing: -0.025em;
}

.testimonial-marquee span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

@keyframes promptMarqueeLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes promptMarqueeRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.proof-section { padding-top: clamp(5rem, 10vw, 10rem); }
.proof-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(370px, 1fr); align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.section-intro > p:not(.eyebrow), .diagnosis-layout > div > p:not(.eyebrow) { max-width: 34rem; color: var(--muted); font-size: 1.05rem; }
.answer-board { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.board-heading, .question-block, .answer-block { border-bottom: 1px solid var(--line); }
.board-heading { display: flex; justify-content: space-between; padding-bottom: 1rem; color: var(--muted); font-size: 0.78rem; }
.question-block, .answer-block { padding-block: 1.25rem; }
.question-block p, .answer-block p { margin-bottom: 0.45rem; color: var(--muted); font-size: 0.78rem; }
.question-block strong { font-size: 1.06rem; line-height: 1.45; }
.signal-item { display: flex; align-items: flex-start; gap: 0.6rem; margin-top: 0.65rem; font-size: 0.94rem; }
.signal-item i { flex: 0 0 auto; width: 0.65rem; height: 0.65rem; margin-top: 0.42rem; border-radius: 50%; background: var(--accent); }
.editable-insight { padding-top: 1.25rem; }
.editable-insight label { display: block; margin-bottom: 0.55rem; color: var(--muted); font-size: 0.78rem; }
.editable-insight p { min-height: var(--pretext-min-height, auto); margin-bottom: 0; padding: 0.85rem 0.9rem; outline: 1px solid transparent; border-radius: 8px; background: var(--accent-soft); font-size: 0.94rem; transition: outline-color 160ms ease; }
.editable-insight p:focus { outline-color: var(--accent); }

.faq-section { border-top: 1px solid var(--line); }
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr); gap: clamp(2rem, 8vw, 10rem); align-items: start; }
.faq-layout > div > p { max-width: 34rem; color: var(--muted); font-size: 1.05rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 1.2rem 2rem 1.2rem 0; color: var(--text); font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 1.08rem; right: 0; color: var(--accent); font-size: 1.35rem; font-weight: 400; line-height: 1; }
.faq-list details[open] summary::after { content: "-"; }
.faq-list details p { margin: -0.1rem 0 1.25rem; color: var(--muted); font-size: 0.94rem; }

.diagnosis-section { padding-top: clamp(4rem, 9vw, 9rem); border-top: 1px solid var(--line); }
.diagnosis-layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.8fr); gap: clamp(2rem, 8vw, 10rem); align-items: start; }
.diagnosis-form { display: grid; gap: 1rem; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.9rem; font-weight: 700; }
.optional-label { color: var(--muted); font-weight: 500; }
.field input, .field select { width: 100%; min-height: 46px; padding: 0.6rem 0.72rem; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: var(--bg); outline: none; }
.field input::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
.field input:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.field.is-invalid input, .field.is-invalid select { border-color: #ae3b36; }
.field-hint, .form-note, .form-status { margin: 0; color: var(--muted); font-size: 0.78rem; }
.form-status.is-error { color: #a8322e; }
.form-status.is-success { color: var(--accent); }

.site-footer { padding-block: 1.6rem; border-top: 1px solid var(--line); }
.footer-bottom-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem;
}
.footer-copyright {
  justify-self: start;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.footer-logo {
  display: inline-flex;
  justify-self: center;
  align-items: center;
  border-radius: 8px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-self: end;
  justify-content: flex-end;
  align-items: center;
  gap: 0.45rem 0.9rem;
  color: var(--muted);
  font-size: 0.82rem;
}
.footer-links a,
.footer-link-button {
  color: inherit;
  transition: color 180ms ease;
}
.footer-link-button {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
}
.footer-links a:hover,
.footer-links a:focus-visible,
.footer-link-button:hover,
.footer-link-button:focus-visible {
  color: var(--accent);
}

.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 72% 8%, rgb(67 198 148 / 10%), transparent 28%),
    linear-gradient(180deg, #0b120f 0%, #0f1914 100%);
}

.legal-main {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.42fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

.legal-kicker {
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-content h1 {
  max-width: 8em;
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
}

.legal-updated {
  margin-bottom: 2.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-section {
  padding-block: 1.65rem;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  max-width: none;
  margin-bottom: 0.85rem;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  letter-spacing: -0.045em;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  font-size: 0.98rem;
}

.legal-section ul {
  display: grid;
  gap: 0.45rem;
  padding-left: 1.15rem;
  margin: 0;
}

.legal-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
}

.legal-sidebar strong {
  font-size: 0.95rem;
}

.legal-sidebar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.legal-sidebar a,
.legal-sidebar button {
  justify-self: start;
}

.cookie-dialog {
  width: min(560px, calc(100vw - 32px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background:
    radial-gradient(circle at 82% 0%, rgb(67 198 148 / 16%), transparent 34%),
    var(--surface);
  box-shadow: var(--shadow);
}

.cookie-dialog::backdrop {
  background: rgb(4 8 6 / 72%);
  backdrop-filter: blur(8px);
}

.cookie-panel {
  display: grid;
  gap: 1rem;
  padding: clamp(1.1rem, 3vw, 1.6rem);
}

.cookie-dialog-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-dialog h2 {
  max-width: none;
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  letter-spacing: -0.045em;
}

.cookie-dialog p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cookie-close {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgb(237 245 240 / 5%);
}

.cookie-options {
  display: grid;
  gap: 0.75rem;
}

.cookie-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.95rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgb(7 16 12 / 42%);
}

.cookie-option strong {
  display: block;
  margin-bottom: 0.18rem;
  font-size: 0.92rem;
}

.cookie-toggle {
  position: relative;
  display: inline-flex;
  width: 48px;
  height: 28px;
  align-items: center;
}

.cookie-toggle input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.cookie-toggle span {
  width: 100%;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(237 245 240 / 10%);
  transition: background 180ms ease, border-color 180ms ease;
}

.cookie-toggle span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--muted);
  transition: transform 180ms ease, background 180ms ease;
}

.cookie-toggle input:checked + span {
  border-color: color-mix(in srgb, var(--accent) 82%, transparent);
  background: color-mix(in srgb, var(--accent) 26%, transparent);
}

.cookie-toggle input:checked + span::after {
  transform: translateX(20px);
  background: var(--accent);
}

.cookie-toggle input:focus-visible + span {
  outline: 3px solid color-mix(in srgb, var(--accent) 70%, transparent);
  outline-offset: 3px;
}

.cookie-toggle input:disabled {
  cursor: not-allowed;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.cookie-secondary,
.cookie-primary {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 0.9rem;
  border-radius: 9px;
  font-weight: 760;
}

.cookie-secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgb(237 245 240 / 5%);
}

.cookie-primary {
  border: 1px solid transparent;
  color: #07110c;
  background: var(--accent);
}

.cookie-status {
  min-height: 1.25rem;
  text-align: right;
  font-size: 0.78rem;
}

:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 70%, transparent); outline-offset: 3px; }

body.pricing-page {
  color-scheme: light;
  --bg: #f7f8f4;
  --surface: #fcfdfb;
  --surface-soft: #eef3ec;
  --text: #111712;
  --muted: #5e6a61;
  --line: #dce5dc;
  --accent: #35c58d;
  --accent-strong: #0f8f60;
  --accent-soft: #e4f7ee;
  --dark: #0b120f;
  --shadow: 0 24px 60px rgb(32 46 38 / 10%);
  background:
    radial-gradient(circle at 50% 0%, rgb(53 197 141 / 13%), transparent 32rem),
    var(--bg);
}

.pricing-page .site-header {
  border-bottom-color: color-mix(in srgb, var(--line) 84%, transparent);
  background: rgb(247 248 244 / 88%);
}

.pricing-page .brand-logo-mark {
  background: transparent;
  box-shadow: none;
}

.pricing-page .brand-logo-mark img {
  filter: none;
  mix-blend-mode: multiply;
}

.pricing-page .primary-nav {
  background: rgb(252 253 251 / 72%);
}

.pricing-page .primary-nav a[aria-current="page"] {
  color: var(--text);
  background: var(--surface-soft);
}

.pricing-page .nav-action-login {
  color: var(--text);
  background: var(--surface);
}

.pricing-page .nav-action-signup {
  color: #edf5f0;
  background: #101713;
}

.pricing-page .nav-action-signup:hover,
.pricing-page .nav-action-signup:focus-visible {
  color: #edf5f0;
  background: #243229;
}

.pricing-main {
  overflow: clip;
}

.pricing-hero {
  padding-block: clamp(3rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.pricing-kicker {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  margin-bottom: 0.85rem;
  padding: 0.18rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgb(252 253 251 / 74%);
  font-size: 0.78rem;
  font-weight: 750;
}

.pricing-hero h1 {
  max-width: none;
  margin: 0 auto 0.85rem;
  font-size: clamp(3rem, 7vw, 5.25rem);
  letter-spacing: -0.075em;
}

.pricing-hero-copy {
  max-width: 40rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.75;
}

.pricing-ai-strip {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  margin-top: 2.3rem;
}

.pricing-ai-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.pricing-ai-strip ul,
.addon-models {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pricing-ai-strip li {
  display: inline-flex;
}

.pricing-ai-strip li a,
.addon-models li {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 0.45rem;
  padding: 0.36rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(252 253 251 / 82%);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.pricing-ai-strip li a:hover,
.pricing-ai-strip li a:focus-visible {
  border-color: var(--accent);
  background: rgb(247 255 250 / 96%);
  color: var(--accent);
  outline: none;
}

.pricing-ai-strip li a:active {
  transform: translateY(1px);
}

.pricing-ai-strip img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.pricing-plans {
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  align-items: stretch;
}

.price-card {
  display: flex;
  min-height: 448px;
  flex-direction: column;
  padding: clamp(1.1rem, 2vw, 1.4rem);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.price-card-featured {
  border-color: #101713;
  color: #edf5f0;
  background: #101713;
}

.price-card h3 {
  margin-bottom: 0.7rem;
  color: inherit;
  font-size: 1.05rem;
  letter-spacing: -0.04em;
}

.price-card p {
  min-height: 4.6rem;
  margin: 0.9rem 0 1rem;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.6;
}

.price-card-featured p,
.price-card-featured .plan-includes > span {
  color: rgb(237 245 240 / 72%);
}

.price-line {
  display: flex;
  min-height: 3.35rem;
  align-items: baseline;
  gap: 0.18rem;
  color: inherit;
}

.price-line strong {
  font-size: clamp(2.2rem, 3.2vw, 3.1rem);
  font-weight: 780;
  line-height: 1;
  letter-spacing: -0.075em;
}

.price-line span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.price-card-featured .price-line span {
  color: rgb(237 245 240 / 70%);
}

.price-custom strong {
  font-size: clamp(2.1rem, 3vw, 2.8rem);
}

.plan-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.billing-switch {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  gap: 0.4rem;
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 760;
}

.billing-switch::before {
  content: "";
  width: 25px;
  height: 14px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 9px 7px, currentColor 0 3px, transparent 3.5px),
    color-mix(in srgb, currentColor 12%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 24%, transparent);
}

.price-card-featured .billing-switch {
  color: #edf5f0;
}

.save-pill {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 0 0.5rem;
  border-radius: 999px;
  color: #0b6e4b;
  background: var(--accent-soft);
  font-size: 0.72rem;
  font-weight: 800;
}

.price-card-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border: 1px solid #101713;
  border-radius: 9px;
  color: #edf5f0;
  background: #101713;
  font-size: 0.88rem;
  font-weight: 780;
  transition: transform 180ms ease, background 180ms ease;
}

.price-card-cta:hover,
.price-card-cta:focus-visible {
  background: #25342a;
}

.price-card-cta:active {
  transform: translateY(1px);
}

.price-card-featured .price-card-cta {
  border-color: var(--accent);
  color: #07110c;
  background: var(--accent);
}

.plan-includes {
  display: grid;
  gap: 0.72rem;
  margin-top: 1rem;
}

.plan-includes > span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
}

.plan-includes ul {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 0.84rem;
}

.plan-includes li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.plan-includes li span {
  color: var(--accent-strong);
  font-weight: 900;
}

.price-card-featured .plan-includes li span {
  color: var(--accent);
}

.pricing-partner-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.8rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.pricing-partner-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.pricing-partner-banner a {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 34px;
  align-items: center;
  gap: 0.45rem;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: var(--surface-soft);
  font-size: 0.84rem;
  font-weight: 760;
}

.pricing-compare,
.pricing-addons,
.pricing-scenarios,
.pricing-faq,
.pricing-final {
  padding-block: clamp(4rem, 8vw, 6rem);
}

.pricing-compare h2,
.pricing-addons h2,
.pricing-scenarios h2,
.pricing-faq h2,
.pricing-final h2 {
  max-width: none;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.comparison-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.comparison-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  color: var(--text);
  font-size: 0.83rem;
}

.comparison-table th,
.comparison-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table thead th {
  color: var(--text);
  background: color-mix(in srgb, var(--surface-soft) 74%, var(--surface));
  font-size: 0.88rem;
  white-space: nowrap;
}

.comparison-table thead th span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
}

.comparison-table td:not(:first-child),
.comparison-table thead th:not(:first-child) {
  text-align: center;
}

.comparison-table tbody th {
  width: 22%;
}

.comparison-table tr:last-child th,
.comparison-table tr:last-child td {
  border-bottom: 0;
}

.feature-group th {
  padding-block: 0.72rem;
  color: var(--muted);
  background: #f1f4ef;
  font-size: 0.76rem;
  letter-spacing: 0;
}

.addons-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: 1rem;
}

.addons-layout p:not(.pricing-kicker) {
  max-width: 34rem;
  margin-bottom: 0;
  color: var(--muted);
}

.addon-models {
  justify-content: flex-end;
}

.addon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.addon-grid article,
.scenario-grid article {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.addon-grid h3,
.scenario-grid h3 {
  color: var(--text);
  font-size: 1rem;
}

.addon-grid p,
.scenario-grid p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.addon-price {
  display: flex;
  align-items: baseline;
  gap: 0.18rem;
  margin-bottom: 0.6rem;
}

.addon-price strong {
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.addon-price span,
.addon-price em {
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 700;
}

.pricing-section-heading {
  display: grid;
  justify-items: center;
  max-width: 50rem;
  text-align: center;
}

.pricing-section-heading p:not(.pricing-kicker) {
  max-width: 35rem;
  margin: -0.35rem auto 0;
  color: var(--muted);
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.pricing-faq-list {
  max-width: 760px;
  margin: 2rem auto 0;
  border-top: 1px solid var(--line);
}

.pricing-faq-list details {
  border-bottom: 1px solid var(--line);
}

.pricing-faq-list summary {
  position: relative;
  padding: 1.05rem 2rem 1.05rem 0;
  color: var(--text);
  font-weight: 780;
  cursor: pointer;
  list-style: none;
}

.pricing-faq-list summary::-webkit-details-marker {
  display: none;
}

.pricing-faq-list summary::after {
  content: "+";
  position: absolute;
  top: 1rem;
  right: 0;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1;
}

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

.pricing-faq-list p {
  margin: -0.2rem 0 1.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.pricing-final {
  padding-top: 2rem;
}

.pricing-final-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.8fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  overflow: hidden;
  min-height: 330px;
  padding: clamp(1.4rem, 4vw, 3rem);
  border-radius: 18px;
  color: #edf5f0;
  background:
    radial-gradient(circle at 78% 46%, rgb(53 197 141 / 22%), transparent 28rem),
    #101713;
}

.pricing-final-card h2 {
  color: #edf5f0;
}

.pricing-final-card p {
  max-width: 31rem;
  color: rgb(237 245 240 / 72%);
}

.pricing-final-card img {
  width: min(100%, 520px);
  opacity: 0.24;
  filter: invert(1) brightness(1.7);
  mix-blend-mode: screen;
  justify-self: end;
}

.pricing-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.pricing-light-button,
.pricing-dark-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 0.95rem;
  border-radius: 9px;
  font-size: 0.9rem;
  font-weight: 780;
}

.pricing-light-button {
  color: #101713;
  background: #edf5f0;
}

.pricing-dark-button {
  border: 1px solid rgb(237 245 240 / 18%);
  color: #edf5f0;
  background: rgb(237 245 240 / 8%);
}

.pricing-footer {
  padding-block: 3rem 2rem;
  color: #edf5f0;
  background: #07100c;
}

.pricing-footer .brand-logo-mark {
  background: rgb(237 245 240 / 5%);
  box-shadow: inset 0 0 0 1px rgb(237 245 240 / 8%);
}

.pricing-footer .brand-logo-mark img {
  filter: invert(1) brightness(1.55) contrast(0.95);
  mix-blend-mode: screen;
}

.pricing-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(120px, 0.5fr));
  gap: 2rem;
}

.pricing-footer p {
  max-width: 18rem;
  color: rgb(237 245 240 / 62%);
  font-size: 0.84rem;
}

.pricing-footer nav {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  font-size: 0.84rem;
}

.pricing-footer nav strong {
  margin-bottom: 0.25rem;
  color: rgb(237 245 240 / 92%);
}

.pricing-footer nav a {
  color: rgb(237 245 240 / 60%);
}

.pricing-footer nav a:hover,
.pricing-footer nav a:focus-visible {
  color: var(--accent);
}

.pricing-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(237 245 240 / 10%);
}

.pricing-footer-bottom p {
  max-width: none;
  margin: 0;
  font-size: 0.75rem;
}

.pricing-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem 0.9rem;
  color: rgb(237 245 240 / 60%);
  font-size: 0.75rem;
}

.pricing-legal-links a,
.pricing-legal-links button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  transition: color 180ms ease;
}

.pricing-legal-links a:hover,
.pricing-legal-links a:focus-visible,
.pricing-legal-links button:hover,
.pricing-legal-links button:focus-visible {
  color: var(--accent);
}

@media (max-width: 900px) {
  :root { --shell: min(100% - 40px, 1160px); --space-7: 5.5rem; }
  .hero-grid, .metrics-section-layout, .proof-layout, .faq-layout, .diagnosis-layout { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-sidebar { position: static; }
  .hero-grid { align-items: start; gap: 2rem; min-height: 0; padding-block: 3.5rem 2.2rem; }
  .hero-copy { max-width: 43rem; }
  .model-strip-inner { grid-template-columns: 1fr; padding-block: 1.1rem; }
  .model-strip ul { justify-content: flex-start; }
  .metrics-section { padding-block: 4rem; }
  .metrics-section-header h2 { max-width: 12em; }
  .ai-metrics-demo { margin-bottom: 0; }
  .metrics-tabs { display: flex; overflow-x: auto; padding-bottom: 0.2rem; scroll-snap-type: x proximity; }
  .metric-tab { min-width: 240px; scroll-snap-align: start; }
  .metrics-stage, .metric-scene { min-height: 330px; }
  .prompt-intel-section { padding-block: 5.8rem 4.6rem; }
  .prompt-intel-header h2 { max-width: 16em; }
  .prompt-marquee { margin-top: 4rem; }
  .prompt-testimonial-heading { margin-top: 5.4rem; }
  .testimonial-marquee li { width: 330px; }
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .addons-layout, .pricing-final-card { grid-template-columns: 1fr; }
  .addon-grid, .scenario-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .addon-models { justify-content: flex-start; }
  .pricing-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  :root {
    --shell: min(100% - 32px, 1160px);
    --space-7: 4.25rem;
    --home-heading-hero: clamp(2.15rem, 9.6vw, 3rem);
    --home-heading-section: clamp(1.85rem, 7.6vw, 2.35rem);
  }
  .nav-shell { min-height: 64px; display: flex; justify-content: space-between; }
  .nav-toggle { display: grid; width: 40px; height: 40px; padding: 0; place-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: var(--surface); }
  .nav-toggle span:not(.sr-only) { display: block; width: 16px; height: 1px; background: currentColor; transition: transform 180ms ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(3px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-3px) rotate(-45deg); }
  .nav-menu { position: absolute; top: 64px; right: 16px; left: 16px; display: none; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
  .nav-menu.is-open { display: grid; gap: 0.85rem; }
  .primary-nav { display: grid; grid-column: auto; justify-self: stretch; gap: 0.2rem; padding: 0; border: 0; border-radius: 0; background: transparent; font-size: 0.94rem; }
  .primary-nav a { min-height: 40px; padding: 0.45rem 0.6rem; border-radius: 8px; }
  .nav-actions { display: grid; grid-column: auto; grid-template-columns: 1fr 1fr; justify-self: stretch; gap: 0.55rem; padding-top: 0.8rem; border-top: 1px solid var(--line); }
  .nav-action { min-height: 40px; }
  h1 { font-size: clamp(2rem, 8.2vw, 4.4rem); }
  h2 { max-width: 11em; font-size: clamp(2rem, 10vw, 3rem); }
  body.home-page h1 { font-size: var(--home-heading-hero); }
  body.home-page h2,
  body.home-page .prompt-testimonial-heading h3 {
    max-width: 12em;
    font-size: var(--home-heading-section);
  }
  .hero { min-height: calc(100dvh - 64px); padding-top: 0; }
  .hero-grid { padding-block: 2.9rem 1.4rem; }
  .hero-canvas { display: none; }
  .model-strip-inner { gap: 0.75rem; min-height: auto; padding-block: 0.75rem; }
  .model-strip ul { gap: 0.45rem; }
  .model-strip li a { min-height: 32px; padding: 0.32rem 0.58rem 0.32rem 0.38rem; font-size: 0.78rem; }
  .model-logo-frame { width: 20px; height: 20px; border-radius: 6px; }
  .model-logo { width: 15px; height: 15px; }
  .metrics-section { padding-block: 3.4rem; }
  .ai-metrics-demo { width: 100%; margin-top: 0; }
  .metrics-widget { border-radius: 14px; }
  .metric-tab { min-width: 220px; min-height: 104px; padding: 0.8rem; }
  .metric-tab-copy { font-size: 0.78rem; }
  .metrics-stage, .metric-scene { min-height: 372px; }
  .metric-scene { padding: 0.9rem; }
  .metric-question { width: 100%; max-width: none; }
  .metric-answer { grid-template-columns: 1fr; gap: 0.55rem; }
  .metric-avatar { width: 30px; height: 30px; }
  .metric-answer-card { min-height: 254px; padding: 0.9rem; }
  .metric-popover { position: relative; right: auto; bottom: auto; width: max-content; margin-top: 0.75rem; }
  .metric-sentiment-grid { grid-template-columns: 1fr; }
  .prompt-intel-section { padding-block: 4.4rem 3.8rem; }
  .prompt-intel-grid { background-size: 100% 78px, 72px 100%; }
  .prompt-intel-section::before, .prompt-intel-section::after { width: 46px; }
  .prompt-intel-header h2 { max-width: 12em; font-size: var(--home-heading-section); }
  .prompt-marquee, .testimonial-marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  }
  .prompt-marquee { margin-top: 3rem; }
  .prompt-marquee ul { gap: 0.55rem; padding-right: 0.55rem; }
  .prompt-marquee li { min-height: 46px; gap: 0.5rem; padding: 0.32rem 0.34rem 0.32rem 0.55rem; }
  .prompt-model { min-width: 48px; min-height: 28px; font-size: 0.72rem; }
  .prompt-marquee strong { max-width: 15.5rem; overflow: hidden; text-overflow: ellipsis; font-size: 0.82rem; }
  .prompt-marquee em { min-height: 30px; padding-inline: 0.58rem; font-size: 0.75rem; }
  .prompt-testimonial-heading { margin-top: 4.6rem; }
  .prompt-testimonial-heading h3 { max-width: 12em; font-size: var(--home-heading-section); }
  .testimonial-marquee { margin-top: 2.4rem; }
  .testimonial-marquee li { width: 286px; min-height: 172px; padding: 1rem; }
  .testimonial-marquee p { font-size: 0.88rem; }
  .site-footer { padding-block: 1.35rem; }
  .footer-bottom-row {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.85rem;
    text-align: center;
  }
  .footer-copyright,
  .footer-logo,
  .footer-links {
    justify-self: center;
  }
  .footer-logo { order: -1; }
  .footer-links { justify-content: center; gap: 0.35rem 0.7rem; }
  .cookie-option { grid-template-columns: 1fr; }
  .cookie-toggle { justify-self: start; }
  .cookie-actions { justify-content: stretch; }
  .cookie-secondary, .cookie-primary { flex: 1 1 100%; }
  .pricing-page .nav-menu { background: var(--surface); }
  .pricing-hero { padding-block: 3.2rem 1.6rem; text-align: left; }
  .pricing-hero h1 { font-size: clamp(2.45rem, 12vw, 4rem); }
  .pricing-hero-copy { margin-inline: 0; }
  .pricing-ai-strip { justify-items: start; }
  .pricing-ai-strip ul { justify-content: flex-start; }
  .plan-grid, .addon-grid, .scenario-grid { grid-template-columns: 1fr; }
  .price-card { min-height: 0; }
  .price-card p { min-height: 0; }
  .pricing-partner-banner { display: grid; align-items: start; }
  .pricing-partner-banner a { justify-content: center; }
  .pricing-compare, .pricing-addons, .pricing-scenarios, .pricing-faq, .pricing-final { padding-block: 3.4rem; }
  .comparison-table { min-width: 860px; }
  .addons-layout { grid-template-columns: 1fr; align-items: start; }
  .pricing-section-heading { justify-items: start; text-align: left; }
  .pricing-section-heading p:not(.pricing-kicker) { margin-inline: 0; }
  .pricing-final-card { min-height: 0; padding: 1.4rem; }
  .pricing-final-card img { display: none; }
  .pricing-footer-grid, .pricing-footer-bottom { display: grid; grid-template-columns: 1fr; }
  .pricing-footer-bottom { margin-top: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .hero-canvas { display: none; }
  .metric-tab.is-active .metric-progress span { animation: none; transform: scaleX(1); }
  .metric-scene.is-active .metric-question,
  .metric-scene.is-active .metric-avatar,
  .metric-scene.is-active .metric-answer-card,
  .metric-scene.is-active .metric-result-row,
  .metric-scene.is-active .metric-rank-list div,
  .metric-scene.is-active .metric-sentiment-grid div,
  .metric-scene.is-active .metric-popover { animation: none; }
  .prompt-marquee-track,
  .testimonial-track {
    animation: none;
    transform: none;
  }
}

@media (hover: none), (pointer: coarse) {
  .hero-canvas { opacity: 0.38; }
}


/* ==========================================================================
   滚动视觉增强层（2026-09-05）
   - 视差：JS 写入 --parallax-y，GPU transform 位移
   - 揭示：IntersectionObserver 加 .is-visible，进入视口时错位淡入
   - 降级：html 无 .js-motion 时全部内容正常显示（无 JS/降级安全）
   - 关闭：prefers-reduced-motion 与窄屏由 JS 不启用
   ========================================================================== */

/* ---------- 1. Section 装饰光斑（视差层） ---------- */
.section { position: relative; }
.section-glow {
  position: absolute;
  z-index: 0;
  width: clamp(320px, 46vw, 620px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgb(67 198 148 / 30%) 0%, rgb(67 198 148 / 12%) 38%, transparent 70%);
  filter: blur(18px);
  opacity: 0.95;
  will-change: transform;
}
.section-glow-left { top: 10%; left: 3%; }
.section-glow-right { top: 12%; right: 4%; }
.proof-section .section-glow-right { top: 8%; right: 6%; opacity: 0.85; }
.diagnosis-section .section-glow-right { top: 6%; right: 5%; opacity: 0.9; }
.faq-section .section-glow-left { top: 12%; left: 5%; opacity: 0.8; }
.metrics-section .section-glow-right { top: 10%; right: 6%; }

/* 内容层抬到光斑之上（光斑为定位元素，避免半透明覆盖降低文字对比度） */
.section > .shell,
.section > .prompt-marquee,
.section > .testimonial-marquee,
.section > .model-strip-inner {
  position: relative;
  z-index: 1;
}

/* ---------- 2. 视差位移（由 JS 设置 --parallax-y） ---------- */
html.js-motion [data-parallax] { transform: translate3d(0, var(--parallax-y, 0px), 0); }

/* ---------- 3. 滚动揭示 ---------- */
html.js-motion [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 760ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 760ms cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
html.js-motion [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
/* 视差元素同时带 reveal 时，位移交给外层，避免两个 transform 互相覆盖 */
html.js-motion [data-parallax][data-reveal] { transform: translate3d(0, calc(var(--parallax-y, 0px) + 26px), 0); }
html.js-motion [data-parallax][data-reveal].is-visible { transform: translate3d(0, var(--parallax-y, 0px), 0); }

/* ---------- 4. 全局噪点纹理（打破纯平数字感） ---------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
  mix-blend-mode: overlay;
}

/* ---------- 5. 视觉精修：数据用等宽数字 + 着色阴影 ---------- */
.metric-result-row strong,
.metric-popover strong,
.metric-sentiment-grid strong,
.metric-rank-list span {
  font-variant-numeric: tabular-nums;
}
.metrics-widget,
.answer-board {
  box-shadow: 0 30px 74px rgb(4 18 12 / 46%), 0 0 0 1px rgb(67 198 148 / 6%);
}
.button-primary {
  box-shadow: 0 12px 30px rgb(67 198 148 / 18%);
}
.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 16px 38px rgb(67 198 148 / 26%);
}

/* ---------- 6. 光标聚光边框（能力探测：hover 精准指针才生效） ---------- */
@media (hover: hover) and (pointer: fine) {
  .metrics-widget::after,
  .answer-board::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 320ms ease;
    background: radial-gradient(
      260px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
      rgb(130 229 189 / 14%),
      transparent 62%
    );
  }
  .metrics-widget:hover::after,
  .answer-board:hover::after { opacity: 1; }
}

/* ---------- 7. 降级：减少动态偏好时全部静态呈现 ---------- */
@media (prefers-reduced-motion: reduce) {
  html.js-motion [data-reveal],
  html.js-motion [data-parallax],
  html.js-motion [data-parallax][data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  body::after { display: none; }
}
