:root {
  --bg: #eef2f6;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --navy: #16356e;
  --navy-strong: #122a57;
  --blue: #2e5db6;
  --mint: #dcefeb;
  --green: #15806d;
  --muted: #617290;
  --line: rgba(22, 53, 110, 0.12);
  --shadow: 0 28px 80px rgba(22, 53, 110, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--navy-strong);
  font-family: "Manrope", "Noto Sans TC", sans-serif;
  background:
    radial-gradient(circle at 0% 0%, rgba(22, 53, 110, 0.11), transparent 28%),
    radial-gradient(circle at 100% 18%, rgba(21, 128, 109, 0.1), transparent 24%),
    linear-gradient(180deg, #f0f3f6 0%, #e8edf2 100%);
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image: radial-gradient(rgba(22, 53, 110, 0.08) 0.7px, transparent 0.7px);
  background-size: 10px 10px;
  transform: translate3d(0, 0, 0);
  animation: noiseShift 24s linear infinite;
}

.qh-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(240, 243, 246, 0.94), rgba(240, 243, 246, 0.78));
  border-bottom: 1px solid rgba(22, 53, 110, 0.06);
}

.qh-logo {
  text-decoration: none;
  color: inherit;
}

.qh-logo-text {
  display: inline-block;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.05em;
  line-height: 1;
  font-family: "SF Pro Display", "PingFang TC", sans-serif;
}

.qh-nav {
  display: flex;
  gap: 20px;
}

.qh-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
}

main {
  width: min(calc(100% - 32px), 1240px);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
}

.reveal {
  transform: translateY(24px);
  opacity: 0;
  transition: transform 700ms ease, opacity 700ms ease;
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.hero-pro {
  position: relative;
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 30px;
  align-items: center;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 10% 6% 8% 6%;
  border-radius: 42px;
  background-image:
    linear-gradient(rgba(22, 53, 110, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 53, 110, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.94), transparent 92%);
  pointer-events: none;
}

.hero-copy,
.hero-stage,
.story-panel,
.engine-card,
.proof-shell,
.access-card,
.access-table-shell,
.contact-section,
.curve-panel {
  position: relative;
  z-index: 2;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.hero-badges span,
.engine-tag,
.proof-tag,
.trait,
.popular-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(46, 93, 182, 0.1);
  color: var(--blue);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.hero-copy h1,
.section-title h2,
.contact-copy h2 {
  margin: 0;
  letter-spacing: -0.06em;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 1.02;
  color: var(--navy);
}

.hero-copy {
  margin-top: 0;
  transform: translateY(-84px);
}

.hero-copy.reveal.is-visible {
  transform: translateY(-84px);
}

.hero-text,
.story-panel p,
.engine-card p,
.proof-card p,
.access-card p,
.contact-copy p,
.scenario,
.trust-note p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-text {
  max-width: 60ch;
  margin: 24px 0 0;
  font-size: 1.02rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 0;
  outline: 0;
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); }

.btn-solid {
  color: #fff;
  background: linear-gradient(135deg, #1a3c79, #2b56a8);
}

.btn-outline {
  color: var(--navy);
  border: 1px solid rgba(22, 53, 110, 0.16);
  background: rgba(255,255,255,0.58);
}

.trust-note {
  margin-top: 24px;
  max-width: 920px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.trust-note p {
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.45;
  white-space: nowrap;
}

.trust-note-label {
  color: var(--blue);
  font-weight: 800;
}

.trust-note-text {
  color: var(--muted);
  font-weight: 600;
}

.hero-stage {
  min-height: 580px;
}

.hero-surface {
  position: absolute;
  inset: 6% -4% 6% 18%;
  border-radius: 44px;
  background:
    radial-gradient(circle at 24% 24%, rgba(46, 93, 182, 0.16), transparent 24%),
    radial-gradient(circle at 72% 48%, rgba(21, 128, 109, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(218, 232, 242, 0.22), rgba(220, 236, 232, 0.18));
}

.stage-card {
  position: absolute;
  width: min(100%, 356px);
  padding: 26px;
  border-radius: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  animation: floatCard 6.2s ease-in-out infinite;
}

.stage-card-main {
  top: 10%;
  right: 6%;
  z-index: 3;
}

.stage-card-fast {
  top: 38%;
  left: 4%;
  z-index: 2;
  animation-delay: -2.2s;
}

.stage-card small {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(46, 93, 182, 0.1);
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stage-card h2 {
  margin: 14px 0 10px;
  font-size: 2rem;
  color: var(--navy);
}

.stage-metric {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.stage-metric span {
  color: var(--muted);
  font-weight: 700;
}

.stage-metric strong {
  font-size: 1.75rem;
  color: var(--navy);
}

.live-widget {
  position: absolute;
  right: 3%;
  bottom: 9%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(22, 53, 110, 0.1);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  z-index: 4;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #25d07f;
  box-shadow: 0 0 0 0 rgba(37, 208, 127, 0.4);
  animation: pulseDot 2s infinite;
}

.live-widget small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.live-widget strong {
  display: block;
  margin-top: 4px;
  font-size: 1.1rem;
  color: var(--navy);
}

.story-row,
.engine-grid,
.proof-grid,
.access-grid,
.curve-split {
  display: grid;
  gap: 18px;
}

.story-row {
  grid-template-columns: 1fr 1fr;
  margin-top: 24px;
}

.story-panel,
.engine-card,
.proof-shell,
.access-card,
.contact-section,
.access-table-shell,
.curve-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.story-panel {
  padding: 28px;
  border-radius: var(--radius-xl);
}

.story-panel.accent,
.engine-card.accent,
.proof-card.accent,
.access-card.featured,
.curve-panel.accent,
.contact-section {
  background: linear-gradient(180deg, rgba(21, 128, 109, 0.08), rgba(255,255,255,0.8));
}

.story-panel small,
.access-card small {
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.story-panel h2 {
  margin: 14px 0 10px;
  font-size: 1.95rem;
  line-height: 1.18;
  letter-spacing: -0.05em;
}

.engine-section,
.proof-section,
.access-section {
  padding-top: 94px;
}

.section-title {
  display: grid;
  gap: 10px;
  max-width: 780px;
  margin-bottom: 26px;
}

.section-title h2,
.contact-copy h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.12;
}

.engine-grid,
.proof-grid {
  grid-template-columns: 1fr 1fr;
}

.engine-card,
.proof-card,
.access-card,
.curve-panel {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.engine-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.trait-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.engine-card h3,
.access-card h3 {
  margin: 16px 0 10px;
  font-size: 1.65rem;
  color: var(--navy);
}

.scenario {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(22, 53, 110, 0.08);
  background: rgba(255,255,255,0.52);
  font-weight: 600;
}

.engine-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.engine-metrics div {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.engine-metrics small {
  display: block;
  color: var(--muted);
}

.engine-metrics strong {
  display: block;
  margin-top: 8px;
  font-size: 1.22rem;
}

.proof-shell {
  padding: 22px;
  border-radius: var(--radius-xl);
}

.period-switch {
  display: inline-flex;
  gap: 10px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(22, 53, 110, 0.08);
}

.proof-button {
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--muted);
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
}

.proof-button.is-active {
  color: #fff;
  background: linear-gradient(135deg, #1a3c79, #2b56a8);
}

.proof-grid,
.curve-split {
  margin-top: 20px;
}

.proof-card-soft {
  border: 1px solid rgba(46, 93, 182, 0.12);
  background: linear-gradient(180deg, rgba(46, 93, 182, 0.04), rgba(255,255,255,0.88));
}

.proof-card-soft-green {
  border: 1px solid rgba(21, 128, 109, 0.10);
  background: linear-gradient(180deg, rgba(21, 128, 109, 0.05), rgba(255,255,255,0.88));
}

.proof-card h3 {
  margin: 14px 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

.proof-card dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 18px;
  margin: 22px 0 0;
}

.proof-card dl div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.proof-card dt {
  color: var(--muted);
  font-size: 0.84rem;
}

.proof-card dd {
  margin: 8px 0 0;
  font-weight: 800;
}

.proof-links {
  margin-top: 18px;
}

.proof-link {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.curve-split {
  grid-template-columns: 1fr 1fr;
}

.curve-panel span {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.curve-panel {
  padding: 18px 18px 16px;
}

.curve-box {
  margin-top: 12px;
  position: relative;
  min-height: 132px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(231, 237, 244, 0.9));
  border: 1px solid rgba(22, 53, 110, 0.08);
  display: flex;
  align-items: stretch;
}

.curve-svg {
  width: 100%;
  height: 100%;
  display: block;
  padding: 10px 12px 8px;
}

.curve-line {
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.curve-svg-blue .curve-line {
  stroke: rgba(46, 93, 182, 0.92);
}

.curve-svg-green .curve-line {
  stroke: rgba(21, 128, 109, 0.9);
}

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

.access-card {
  background: var(--surface-strong);
  min-height: 286px;
  display: flex;
  flex-direction: column;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.access-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 36px 80px rgba(22, 53, 110, 0.14);
  border-color: rgba(22, 53, 110, 0.14);
}

.popular-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  margin: 0;
  color: #fff;
  background: linear-gradient(135deg, #1a3c79, #2b56a8);
  z-index: 2;
}

.price {
  margin: 12px 0 10px;
  font-size: 2.25rem;
  font-weight: 800;
}

.price span {
  font-size: 1rem;
  color: var(--muted);
}

.access-actions {
  margin-top: auto;
  padding-top: 26px;
  display: flex;
  align-items: center;
}

.access-actions .btn {
  width: min(100%, 344px);
  margin: 0 auto;
}

.access-table-shell {
  margin-top: 22px;
  padding: 26px 28px 26px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.84), rgba(235, 241, 247, 0.92));
}

.access-table-shell h3 {
  margin: 8px 0 0;
  font-size: 1.6rem;
  line-height: 1.14;
}

.access-matrix {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.matrix-col {
  display: grid;
  grid-template-rows: repeat(4, minmax(62px, auto));
  text-align: center;
}

.matrix-col strong,
.matrix-col span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  min-height: 62px;
}

.matrix-col strong {
  color: var(--navy);
  font-weight: 800;
}

.matrix-col span {
  color: var(--navy-strong);
  border-top: 1px solid var(--line);
}

.activation-flow-section {
  margin: 36px 0 24px;
}

.activation-flow-section h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  color: var(--navy);
}

.activation-flow-card {
  margin-top: 22px;
  padding: 24px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(22, 53, 110, 0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(236, 241, 246, 0.94));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.activation-flow-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-xl) - 10px);
}

.contact-section {
  margin: 96px 0 44px;
  padding: 32px;
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: center;
  background: linear-gradient(135deg, rgba(22, 53, 110, 0.08), rgba(21, 128, 109, 0.08), rgba(255,255,255,0.82));
}

.contact-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-right: 56px;
  flex-wrap: wrap;
}

.popup-backdrop {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(10, 22, 46, 0.38);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
  z-index: 50;
}

.popup-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.popup-panel {
  max-width: 855px !important;
  width: 855px;
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(22, 53, 110, 0.12);
  background: rgba(255,255,255,0.75);
  color: var(--navy);
  font-size: 1.3rem;
  cursor: pointer;
}

.popup-state h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.1;
  color: var(--navy);
}

.popup-intro {
  margin: 12px 0 0;
  color: var(--blue);
  line-height: 1.75;
}

.popup-trial-banner {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(22, 53, 110, 0.1);
  background: linear-gradient(135deg, rgba(26, 60, 121, 0.08), rgba(21, 128, 109, 0.12), rgba(255, 255, 255, 0.9));
  box-shadow: 0 16px 40px rgba(22, 53, 110, 0.08);
}

.popup-trial-label {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.popup-trial-banner strong {
  display: block;
  margin-top: 10px;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.popup-trial-banner p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 600;
}

.popup-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
  margin-top: 24px;
}

.popup-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 700;
}

.popup-form label span {
  font-size: 0.92rem;
}

.popup-form input,
.popup-form select,
.popup-form textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(22, 53, 110, 0.1);
  background: rgba(255,255,255,0.88);
  padding: 14px 16px;
  color: var(--navy-strong);
  font: inherit;
}

.popup-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 56px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%2316356e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: calc(100% - 34px) 50%;
  background-size: 14px 9px;
  background-repeat: no-repeat;
}

.popup-form select:focus,
.popup-form input:focus,
.popup-form textarea:focus {
  outline: none;
  border-color: rgba(46, 93, 182, 0.24);
  box-shadow: 0 0 0 3px rgba(46, 93, 182, 0.08);
}

.popup-form textarea {
  resize: vertical;
  min-height: 110px;
}

.popup-full,
.popup-submit,
.popup-actions {
  grid-column: 1 / -1;
}

.popup-actions {
  margin-top: 4px;
}

.popup-actions .btn {
  display: inline-flex;
}

.popup-submit {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.popup-submit p,
.popup-actions p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.popup-success-state[hidden] {
  display: none;
}

.popup-success-state {
  position: relative;
  overflow: hidden;
  padding: 20px 8px 8px;
  min-height: 280px;
}

.popup-success-state > :not(.success-burst) {
  position: relative;
  z-index: 2;
}

.popup-success-state h2 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  color: var(--navy);
}

.popup-success-state p {
  max-width: 48ch;
  color: var(--muted);
  line-height: 1.8;
}

.success-actions {
  margin-top: 24px;
}

.popup-dismiss {
  position: static;
}

.success-burst {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 150px;
  pointer-events: none;
}

.success-burst span {
  position: absolute;
  top: -10px;
  width: 10px;
  height: 14px;
  border-radius: 4px;
  opacity: 0;
  animation: confettiDrop 1800ms ease-out forwards;
}

.success-burst span:nth-child(1) { left: 8%; background: #2e5db6; animation-delay: 30ms; }
.success-burst span:nth-child(2) { left: 15%; background: #1f9d7a; animation-delay: 160ms; }
.success-burst span:nth-child(3) { left: 24%; background: #ffb84d; animation-delay: 80ms; }
.success-burst span:nth-child(4) { left: 33%; background: #16356e; animation-delay: 210ms; }
.success-burst span:nth-child(5) { left: 42%; background: #63a8ff; animation-delay: 120ms; }
.success-burst span:nth-child(6) { left: 50%; background: #18b981; animation-delay: 260ms; }
.success-burst span:nth-child(7) { left: 58%; background: #ffd166; animation-delay: 70ms; }
.success-burst span:nth-child(8) { left: 66%; background: #2e5db6; animation-delay: 180ms; }
.success-burst span:nth-child(9) { left: 74%; background: #1f9d7a; animation-delay: 20ms; }
.success-burst span:nth-child(10) { left: 82%; background: #ff8f6b; animation-delay: 220ms; }
.success-burst span:nth-child(11) { left: 89%; background: #16356e; animation-delay: 130ms; }
.success-burst span:nth-child(12) { left: 94%; background: #8cc7ff; animation-delay: 280ms; }

.popup-success-list {
  margin: 20px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes confettiDrop {
  0% {
    transform: translate3d(0, -12px, 0) rotate(0deg);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  100% {
    transform: translate3d(-8px, 120px, 0) rotate(220deg);
    opacity: 0;
  }
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(37, 208, 127, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(37, 208, 127, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 208, 127, 0); }
}

@keyframes noiseShift {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(8px, -10px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

@media (max-width: 1100px) {
  .hero-pro,
  .story-row,
  .engine-grid,
  .proof-grid,
  .contact-section,
  .curve-split {
    grid-template-columns: 1fr;
  }

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

  .access-matrix {
    grid-template-columns: 1fr;
  }

  .matrix-col {
    grid-template-rows: none;
    border-top: 1px solid var(--line);
  }

  .qh-header {
    position: static;
  }

  .hero-stage {
    min-height: 540px;
  }

  .popup-form {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
    padding-right: 0;
  }
}

@media (max-width: 720px) {
  main,
  .qh-header {
    width: min(calc(100% - 20px), 1240px);
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 11vw, 4.3rem);
  }

  .floating-card,
  .story-panel,
  .engine-card,
  .proof-card,
  .access-card,
  .proof-shell,
  .contact-section,
  .curve-panel,
  .access-table-shell,
  .qh-nav,
  .hero-actions,
  .hero-badges,
  .trait-row {
    flex-wrap: wrap;
  }
}
