/* V47 — brand, provenance and instrument visual system */

.brand-symbol-logo {
  width: 42px;
  height: 42px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-symbol-logo img {
  position: static;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: saturate(.72) brightness(.94);
  transform: scale(1.04);
}

.hero-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 24px;
}

.hero-brand-lockup img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: saturate(.72) brightness(.92);
}

.hero-brand-lockup p,
.hero-brand-lockup b,
.hero-brand-lockup span {
  display: block;
  margin: 0;
}

.hero-brand-lockup p {
  padding-left: 13px;
  border-left: 1px solid rgba(169, 146, 99, .38);
}

.hero-brand-lockup b {
  color: var(--text);
  font: 700 11px/1.2 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .15em;
}

.hero-brand-lockup span {
  margin-top: 6px;
  color: var(--blue);
  font: 650 9px/1.2 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .12em;
}

/* Founder provenance */
.founder-story {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  border-block: 1px solid var(--border);
  background: #0a0d11;
}

.founder-interface {
  position: absolute;
  z-index: 0;
  top: 8%;
  right: -8%;
  width: min(58vw, 920px);
  opacity: .055;
  filter: grayscale(1) saturate(.45);
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent, #000 24%, #000 72%, transparent);
}

.founder-interface img {
  width: 100%;
}

.founder-story-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, .72fr) minmax(600px, 1.28fr);
  gap: clamp(64px, 8vw, 112px);
}

.founder-mark {
  width: 104px;
  height: 104px;
  margin-bottom: 28px;
}

.founder-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(.68) brightness(.88);
}

.founder-story-intro h2 {
  margin-top: 14px;
  color: var(--text);
  font-size: clamp(38px, 4.35vw, 64px);
  font-weight: 680;
  line-height: 1.08;
  letter-spacing: -.06em;
}

.founder-story-intro > p:last-child {
  max-width: 560px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.founder-timeline {
  border-bottom: 1px solid var(--border);
}

.founder-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 22px;
  padding: 25px 0;
  border-top: 1px solid var(--border);
}

.founder-timeline li::before {
  position: absolute;
  top: 33px;
  left: 91px;
  width: 5px;
  height: 5px;
  border: 1px solid var(--blue);
  border-radius: 50%;
  background: #0a0d11;
  box-shadow: 0 0 0 5px rgba(91, 132, 255, .05);
  content: "";
}

.founder-timeline time {
  color: var(--blue);
  font: 700 12px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .04em;
}

.founder-timeline b,
.founder-timeline p {
  display: block;
}

.founder-timeline b {
  color: var(--text);
  font-size: 15px;
}

.founder-timeline p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.72;
}

.module-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
  border-top: 1px solid var(--border-strong);
  border-left: 1px solid var(--border);
}

.module-ledger article {
  min-height: 166px;
  padding: 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(15, 18, 23, .54);
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.module-ledger article:hover {
  z-index: 1;
  border-color: rgba(91, 132, 255, .34);
  background: rgba(17, 23, 34, .8);
  transform: translateY(-2px);
}

.module-ledger span,
.module-ledger b,
.module-ledger p {
  display: block;
}

.module-ledger span {
  color: var(--blue);
  font: 700 9px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .1em;
}

.module-ledger b {
  margin-top: 13px;
  color: var(--text);
  font-size: 15px;
}

.module-ledger p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.72;
}

/* Product-specific instrument glyphs */
.product-logic-3 li {
  position: relative;
  padding-top: 34px;
}

.logic-glyph {
  position: absolute;
  top: 25px;
  right: 25px;
  display: block !important;
  width: 48px;
  height: 48px;
  opacity: .78;
}

.logic-glyph i {
  position: absolute;
  display: block;
  transition: transform 480ms cubic-bezier(.2, .8, .2, 1), opacity 480ms ease;
}

.logic-glyph-regime i {
  left: 5px;
  width: 34px;
  height: 1px;
  background: var(--muted);
  transform-origin: left;
}

.logic-glyph-regime i:nth-child(1) { top: 12px; transform: rotate(-8deg); }
.logic-glyph-regime i:nth-child(2) { top: 23px; background: var(--blue); transform: rotate(-2deg); }
.logic-glyph-regime i:nth-child(3) { top: 34px; transform: rotate(6deg); }

.logic-glyph-trigger {
  border-left: 1px solid var(--muted);
  border-bottom: 1px solid var(--muted);
}

.logic-glyph-trigger i:nth-child(1) {
  left: 9px;
  bottom: 9px;
  width: 8px;
  height: 20px;
  border: 1px solid var(--muted);
}

.logic-glyph-trigger i:nth-child(2) {
  left: 24px;
  bottom: 9px;
  width: 8px;
  height: 29px;
  border: 1px solid var(--blue);
}

.logic-glyph-trigger i:nth-child(3) {
  right: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--blue);
  transform: rotate(45deg);
  background: rgba(91, 132, 255, .08);
}

.logic-glyph-risk i:nth-child(1),
.logic-glyph-risk i:nth-child(2) {
  left: 4px;
  width: 40px;
  height: 1px;
  border-top: 1px dashed var(--muted);
}

.logic-glyph-risk i:nth-child(1) { top: 10px; }
.logic-glyph-risk i:nth-child(2) { bottom: 10px; }
.logic-glyph-risk i:nth-child(3) {
  top: 20px;
  left: 20px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--blue);
  border-radius: 50%;
  background: rgba(91, 132, 255, .12);
}

.product-logic-3 li:hover .logic-glyph-regime i:nth-child(1) { transform: rotate(-2deg) scaleX(1.08); }
.product-logic-3 li:hover .logic-glyph-regime i:nth-child(3) { transform: rotate(2deg) scaleX(1.08); }
.product-logic-3 li:hover .logic-glyph-trigger i:nth-child(3) { transform: rotate(225deg); }
.product-logic-3 li:hover .logic-glyph-risk i:nth-child(3) { transform: scale(1.35); }

/* Architecture flow */
.system-architecture {
  overflow: hidden;
  border-block: 1px solid var(--border);
  background:
    linear-gradient(90deg, transparent, rgba(91, 132, 255, .035) 50%, transparent),
    #0b0e12;
}

.architecture-flow {
  display: grid;
  grid-template-columns: 1fr 36px 1fr 36px 1fr 36px 1.08fr;
  align-items: stretch;
  margin-top: 48px;
}

.architecture-flow article {
  min-width: 0;
  padding: 28px 24px;
  border: 1px solid var(--border);
  background: rgba(15, 18, 23, .72);
}

.architecture-flow article.is-current {
  border-color: rgba(91, 132, 255, .38);
  background: rgba(17, 23, 34, .92);
  box-shadow: inset 0 2px var(--blue);
}

.architecture-flow > i {
  position: relative;
}

.architecture-flow > i::before {
  position: absolute;
  top: 50%;
  right: 7px;
  left: 7px;
  height: 1px;
  background: linear-gradient(90deg, var(--border), var(--blue));
  content: "";
}

.architecture-flow > i::after {
  position: absolute;
  top: calc(50% - 3px);
  right: 6px;
  width: 5px;
  height: 5px;
  border-top: 1px solid var(--blue);
  border-right: 1px solid var(--blue);
  transform: rotate(45deg);
  content: "";
}

.architecture-flow span,
.architecture-flow b,
.architecture-flow p {
  display: block;
}

.architecture-flow span {
  color: var(--blue);
  font: 700 9px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .08em;
}

.architecture-flow b {
  margin-top: 18px;
  color: var(--text);
  font: 700 14px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace;
}

.architecture-flow p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.68;
}

.architecture-note {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.architecture-note span {
  color: var(--blue);
  font: 700 10px/1.3 ui-monospace, "SFMono-Regular", Consolas, monospace;
}

.architecture-note p {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

/* Subscription emblems — product language, not game ranks */
.price-card {
  min-height: 500px;
  overflow: hidden;
}

.price-card .price-overline,
.price-card h3,
.price-card .price-value,
.price-card .price-meta {
  position: relative;
  z-index: 2;
}

.price-card .price-overline {
  max-width: 54%;
}

.price-card .price-badge {
  top: 118px;
  right: 28px;
}

.tier-emblem {
  --tier-accent: 91, 132, 255;
  position: absolute;
  z-index: 1;
  top: 22px;
  right: 22px;
  width: 106px;
  height: 106px;
  border: 1px solid rgba(var(--tier-accent), .22);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(var(--tier-accent), .11), transparent 58%),
    rgba(8, 10, 13, .72);
  box-shadow: inset 0 0 24px rgba(var(--tier-accent), .05);
  transition: border-color 420ms ease, transform 420ms cubic-bezier(.2, .8, .2, 1);
}

[data-tier="jianwei"] .tier-emblem { --tier-accent: 140, 150, 165; }
[data-tier="zhishi"] .tier-emblem { --tier-accent: 91, 132, 255; }
[data-tier="taoguang"] .tier-emblem {
  --tier-accent: 91, 132, 255;
  box-shadow: inset 0 0 26px rgba(91, 132, 255, .08), 0 0 34px rgba(91, 132, 255, .04);
}

.tier-orbit {
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(var(--tier-accent), .28);
  border-radius: 50%;
}

.tier-orbit::before,
.tier-orbit::after {
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(var(--tier-accent), .14);
  border-radius: 50%;
  content: "";
}

.tier-orbit::after {
  inset: -1px;
  border-right-color: transparent;
  border-bottom-color: transparent;
}

.tier-trigger {
  position: absolute;
  top: 45px;
  left: 45px;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(var(--tier-accent), .72);
  transform: rotate(45deg);
  background: rgba(var(--tier-accent), .1);
  box-shadow: 0 0 18px rgba(var(--tier-accent), .16);
}

[data-tier="zhishi"] .tier-trigger {
  border-radius: 50%;
  transform: none;
}

[data-tier="taoguang"] .tier-trigger {
  width: 18px;
  height: 18px;
  top: 43px;
  left: 43px;
  border-radius: 50%;
  transform: none;
}

.tier-wave {
  position: absolute;
  right: 15px;
  bottom: 19px;
  left: 15px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 4px;
  height: 28px;
}

.tier-wave i {
  width: 2px;
  height: 7px;
  background: rgba(var(--tier-accent), .48);
  transform-origin: bottom;
  animation: tierSignal 2.6s ease-in-out infinite;
}

.tier-wave i:nth-child(2) { height: 15px; animation-delay: -.4s; }
.tier-wave i:nth-child(3) { height: 24px; animation-delay: -.8s; }
.tier-wave i:nth-child(4) { height: 13px; animation-delay: -1.2s; }
.tier-wave i:nth-child(5) { height: 19px; animation-delay: -1.6s; }

.price-card:hover .tier-emblem {
  border-color: rgba(var(--tier-accent), .44);
  transform: translateY(-3px) scale(1.025);
}

html[data-indicator-mode="3m"] .tier-emblem {
  box-shadow: inset 0 0 28px rgba(var(--tier-accent), .1), 0 0 32px rgba(var(--tier-accent), .06);
}

html[data-indicator-mode="3m"] .tier-wave i {
  animation-duration: 1.6s;
}

@keyframes tierSignal {
  0%, 100% { transform: scaleY(.62); opacity: .38; }
  50% { transform: scaleY(1); opacity: .88; }
}

@media (prefers-reduced-motion: no-preference) {
  .tier-orbit::after {
    animation: tierOrbit 12s linear infinite;
  }

  [data-tier="jianwei"] .tier-orbit::after { animation-duration: 18s; }
  [data-tier="zhishi"] .tier-orbit::after { animation-duration: 14s; }

  @keyframes tierOrbit {
    to { transform: rotate(360deg); }
  }
}

@media (max-width: 1080px) {
  .founder-story-grid {
    grid-template-columns: 1fr;
  }

  .founder-story-intro {
    max-width: 760px;
  }

  .architecture-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .architecture-flow > i {
    display: none;
  }

  .architecture-note {
    grid-template-columns: auto 1fr;
  }
}

@media (max-width: 720px) {
  .brand-symbol-logo {
    width: 37px;
    height: 37px;
  }

  .hero-brand-lockup {
    margin-bottom: 19px;
  }

  .hero-brand-lockup img {
    width: 38px;
    height: 38px;
  }

  .founder-story {
    padding: 76px 0;
  }

  .founder-story-grid {
    gap: 48px;
  }

  .founder-mark {
    width: 82px;
    height: 82px;
  }

  .founder-story-intro h2 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .founder-timeline li {
    grid-template-columns: 82px 1fr;
  }

  .founder-timeline li::before {
    left: 70px;
  }

  .module-ledger,
  .architecture-flow {
    grid-template-columns: 1fr;
  }

  .module-ledger article {
    min-height: 0;
  }

  .architecture-note {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .architecture-note span:not(:first-child) {
    margin-top: 12px;
  }

  .logic-glyph {
    top: 22px;
    right: 4px;
    transform: scale(.86);
  }

  .price-card .price-badge {
    top: 118px;
    right: 22px;
  }

  .tier-emblem {
    right: 16px;
    width: 98px;
    height: 98px;
  }

  .tier-trigger {
    top: 41px;
    left: 41px;
  }

  [data-tier="taoguang"] .tier-trigger {
    top: 39px;
    left: 39px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tier-wave i,
  .tier-orbit::after {
    animation: none;
  }
}

/* V48 — productized hierarchy, evidence and mobile readability */

body {
  font-size: 16px;
}

.section-kicker,
.eyebrow,
.hero-brand-lockup span,
.module-ledger span,
.architecture-flow span,
.architecture-note span,
.price-overline,
.tier-code,
.replay-screen-bar,
.case-route span,
.case-disclosure,
.interface-disclosure,
.verification-card > span {
  font-size: 11px !important;
}

.hero-brand-lockup span {
  color: var(--muted);
}

.brand-symbol-logo img {
  filter: saturate(1) brightness(1.03) contrast(1.06);
  transform: scale(1.08);
}

.hero-brand-lockup img,
.founder-mark img {
  filter: saturate(.9) brightness(1);
}

.hero-title-nowrap {
  white-space: normal;
}

.founder-timeline p,
.module-ledger p,
.architecture-flow p,
.architecture-note p {
  font-size: 13px;
}

/* Home: one real judgment handoff instead of repeated screenshot cards */
.handoff-section {
  border-block: 1px solid var(--border);
  background: #090c10;
}

.handoff-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px minmax(0, 1fr);
  align-items: center;
  margin-top: 44px;
}

.handoff-frame {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #05070a;
}

.handoff-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.handoff-label {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}

.handoff-label span,
.handoff-label em {
  color: var(--blue);
  font: 700 11px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-style: normal;
}

.handoff-label b {
  color: var(--text);
  font-size: 14px;
}

.handoff-signal {
  display: grid;
  gap: 8px;
  justify-items: center;
  color: var(--blue);
  font: 700 11px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace;
}

.handoff-signal i {
  position: relative;
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.handoff-signal i:last-child::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--blue);
  border-right: 1px solid var(--blue);
  transform: rotate(45deg);
  content: "";
}

.handoff-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 26px;
}

.handoff-action p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.75;
}

/* Home: flagship product gets 80% of the weight */
.service-priority {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, .55fr);
  margin-top: 42px;
  border-block: 1px solid var(--border);
}

.product-priority {
  padding: 42px 48px 42px 0;
}

.priority-head > span,
.service-rail > span {
  color: var(--blue);
  font: 700 11px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .12em;
}

.priority-head h3,
.service-rail h3 {
  margin-top: 12px;
  color: var(--text);
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -.045em;
}

.priority-head p,
.service-rail p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.75;
}

.comparison-table {
  margin: 30px 0;
  border-top: 1px solid var(--border);
}

.comparison-table > div {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  border-bottom: 1px solid var(--border);
}

.comparison-table span,
.comparison-table strong {
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.55;
}

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

.comparison-table strong {
  border-left: 1px solid var(--border);
  color: var(--text-soft);
  font-weight: 600;
}

.comparison-table > div:first-child {
  background: rgba(91, 132, 255, .045);
}

.service-rail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 0 42px 40px;
  border-left: 1px solid var(--border);
}

.service-rail h3 {
  font-size: 26px;
}

.service-rail .text-link {
  margin-top: 28px;
}

/* Founder story becomes editorial, not another four-card dashboard */
.evolution-ledger {
  margin-top: 34px;
  border-top: 1px solid var(--border-strong);
}

.evolution-ledger article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.evolution-ledger article > span {
  color: var(--blue);
  font: 700 12px/1.6 ui-monospace, "SFMono-Regular", Consolas, monospace;
}

.evolution-ledger b {
  color: var(--text);
  font-size: 15px;
}

.evolution-ledger p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.founder-promise {
  margin-top: 34px;
  padding: 24px 0;
  border-block: 1px solid var(--border);
}

.founder-promise span {
  color: var(--blue);
  font: 700 11px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .1em;
}

.founder-promise p {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
}

/* Case evidence */
.case-media-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-media-grid-3 .case-image {
  display: block;
  min-height: 380px;
  color: inherit;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}

.case-media-grid-3 .case-image img {
  object-fit: contain;
}

.case-media-grid-3 .case-image:hover,
.case-media-grid-3 .case-image:focus-visible {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.layer-reader {
  margin-top: 44px;
  border-top: 1px solid var(--border);
}

.layer-reader article {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.layer-reader article > span {
  color: var(--blue);
  font: 700 12px/1.5 ui-monospace, "SFMono-Regular", Consolas, monospace;
}

.layer-reader h3 {
  color: var(--text);
  font-size: clamp(20px, 2.3vw, 30px);
  font-weight: 620;
  letter-spacing: -.03em;
}

.layer-reader p {
  margin-top: 9px;
  max-width: 840px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.delivery-assurance {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 36px;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.delivery-assurance > div {
  min-height: 110px;
  padding: 22px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.delivery-assurance span,
.delivery-assurance b {
  display: block;
}

.delivery-assurance span {
  color: var(--blue);
  font-size: 12px;
}

.delivery-assurance b {
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 550;
  line-height: 1.65;
}

.value-note {
  display: grid;
  grid-template-columns: minmax(180px, .4fr) minmax(0, 1.6fr);
  gap: 28px;
  margin-top: 24px;
  padding: 24px 0;
  border-block: 1px solid var(--border);
}

.value-note strong {
  color: var(--text);
  font-size: 15px;
}

.value-note p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.page-indicator .replay-grid {
  grid-template-columns: minmax(500px, 1.1fr) minmax(340px, .7fr);
  min-height: 0;
}

.page-indicator .replay-viewport {
  height: auto;
  aspect-ratio: 868 / 949;
}

.replay-zoom {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-top: 1px solid var(--border);
  background: #090c10;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.replay-zoom:hover {
  color: #fff;
  background: rgba(91, 132, 255, .08);
}

.replay-dialog {
  width: min(94vw, 1180px);
  max-width: none;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: #06080b;
  color: var(--text);
}

.replay-dialog::backdrop {
  background: rgba(2, 4, 7, .88);
  backdrop-filter: blur(8px);
}

.replay-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 13px;
}

.replay-dialog-head button {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.replay-dialog img {
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 54px);
  margin: auto;
  object-fit: contain;
}

/* Subscription: semantic signal formation, one-time interaction */
.price-card {
  padding-bottom: 86px;
}

.tier-action {
  position: absolute;
  right: 30px;
  bottom: 30px;
  left: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
}

.price-card.is-featured .tier-action {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.tier-emblem {
  top: 25px;
  right: 24px;
  width: 112px;
  height: 78px;
  border-radius: 10px;
  background: rgba(8, 10, 13, .7);
}

.tier-orbit {
  inset: 14px 12px;
  border: 0;
  border-top: 1px solid rgba(var(--tier-accent), .36);
  border-bottom: 1px solid rgba(var(--tier-accent), .2);
  border-radius: 0;
}

.tier-orbit::before,
.tier-orbit::after {
  inset: 13px 8px;
  border: 0;
  border-top: 1px solid rgba(var(--tier-accent), .2);
  border-radius: 0;
}

.tier-orbit::after {
  inset: 27px 20px;
  border-top-color: rgba(var(--tier-accent), .56);
}

[data-tier="jianwei"] .tier-orbit::before,
[data-tier="jianwei"] .tier-orbit::after {
  display: none;
}

[data-tier="zhishi"] .tier-orbit::after {
  inset-inline: 13px;
}

.tier-trigger,
[data-tier="taoguang"] .tier-trigger {
  top: 34px;
  left: 51px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transform: none;
}

.tier-wave {
  right: 16px;
  bottom: 10px;
  left: 16px;
  height: 16px;
}

.tier-wave i {
  height: 4px;
  animation: none;
}

.tier-wave i:nth-child(2) { height: 7px; }
.tier-wave i:nth-child(3) { height: 12px; }
.tier-wave i:nth-child(4) { height: 8px; }
.tier-wave i:nth-child(5) { height: 10px; }

.tier-orbit::after,
.tier-wave i {
  animation: none !important;
}

.price-card:hover .tier-emblem {
  transform: translateY(-2px);
}

/* Business verification */
.license-preview {
  margin: 24px 0 20px;
}

.license-preview img {
  display: block;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f1e8dd;
}

.license-open {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
}

.license-open span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 6px;
  background: rgba(5, 8, 13, .82);
  color: #f2f5f8;
  font-size: 11px;
  backdrop-filter: blur(8px);
}

.license-open:hover img,
.license-open:focus-visible img {
  border-color: var(--blue);
}

.license-preview figcaption {
  margin-top: 10px;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.65;
}

/* EA page becomes an engineering document rather than stacked cards */
.page-ea .tier-grid {
  display: block;
  border-top: 1px solid var(--border);
}

.page-ea .tier {
  display: grid;
  grid-template-columns: minmax(150px, .6fr) minmax(210px, .85fr) minmax(300px, 1.25fr) minmax(220px, .85fr);
  grid-template-areas:
    "code head summary specs"
    "code head deliverables note";
  gap: 28px;
  align-items: center;
  min-height: 0;
  padding: 30px 0;
  border-right: 0;
  border-bottom: 1px solid var(--border);
  border-left: 0;
  background: transparent;
}

.page-ea .tier + .tier {
  border-left: 0;
}

.page-ea .tier-code {
  grid-area: code;
  align-self: start;
}

.page-ea .tier-head {
  grid-area: head;
  display: block;
}

.page-ea .tier-head h3 {
  font-size: 24px;
}

.page-ea .tier-price {
  margin-top: 8px;
}

.page-ea .tier-summary,
.page-ea .tier-note {
  margin: 0;
}

.page-ea .tier-summary {
  grid-area: summary;
}

.page-ea .tier-specs {
  grid-area: specs;
}

.page-ea .deliverables {
  grid-area: deliverables;
}

.page-ea .tier-note {
  grid-area: note;
}

.page-ea .tier-specs,
.page-ea .deliverables {
  margin-top: 10px;
}

.page-ea .tier-specs b {
  font-size: 11px;
}

.page-ea .workflow {
  display: block;
  border-top: 1px solid var(--border);
}

.page-ea .workflow-step {
  display: grid;
  grid-template-columns: 150px 220px 1fr;
  gap: 30px;
  min-height: 0;
  padding: 28px 0;
  border-right: 0;
  border-bottom: 1px solid var(--border);
}

.page-ea .workflow-step + .workflow-step {
  border-left: 0;
}

.page-ea .workflow-step h3,
.page-ea .workflow-step p {
  margin: 0;
}

.request-layout {
  display: grid;
  grid-template-columns: minmax(280px, .65fr) minmax(580px, 1.35fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
}

.request-intro > p {
  margin-top: 22px;
  color: var(--muted);
  line-height: 1.8;
}

.request-intro ul {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.request-intro li {
  padding-left: 16px;
  border-left: 2px solid rgba(91, 132, 255, .45);
}

.ea-request-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.ea-request-form label {
  display: grid;
  gap: 9px;
}

.ea-request-form label > span {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
}

.ea-request-form input,
.ea-request-form select,
.ea-request-form textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  outline: 0;
  background: #0a0d12;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  line-height: 1.55;
}

.ea-request-form input,
.ea-request-form select {
  min-height: 46px;
  padding: 0 13px;
}

.ea-request-form textarea {
  resize: vertical;
  padding: 12px 13px;
}

.ea-request-form input:focus,
.ea-request-form select:focus,
.ea-request-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(91, 132, 255, .09);
}

.field-wide {
  grid-column: 1 / -1;
}

.request-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.request-actions p {
  color: var(--faint);
  font-size: 12px;
}

.selected-plan {
  margin-top: 16px;
  padding: 11px 14px;
  border-left: 2px solid var(--blue);
  background: rgba(91, 132, 255, .055);
  color: var(--text-soft) !important;
  font-size: 13px;
}

.mobile-conversion-bar {
  display: none;
}

.legal-hero h1 {
  font-size: clamp(48px, 7vw, 78px);
}

@media (max-width: 1080px) {
  .handoff-track {
    grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr);
    gap: 0;
  }

  .handoff-signal {
    transform: none;
  }

  .service-priority,
  .request-layout {
    grid-template-columns: 1fr;
  }

  .product-priority {
    padding-right: 0;
  }

  .service-rail {
    padding: 34px 0;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

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

  .case-media-grid-3 figure:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 10px);
  }

  .page-indicator .replay-grid {
    grid-template-columns: 1fr;
  }

  .page-indicator .replay-visual,
  .page-indicator .replay-panel {
    justify-self: center;
    width: min(100%, 720px);
  }

  .page-indicator .replay-viewport {
    height: clamp(480px, 68vw, 720px);
    aspect-ratio: auto;
  }

  .page-ea .tier {
    grid-template-columns: 150px 1fr;
    grid-template-areas:
      "code head"
      "summary summary"
      "specs deliverables"
      "note note";
  }
}

@media (max-width: 720px) {
  .handoff-track {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .handoff-signal {
    transform: rotate(90deg);
  }

  .hero-title-nowrap {
    white-space: normal !important;
  }

  .section-kicker,
  .eyebrow,
  .hero-brand-lockup span,
  .price-overline,
  .tier-code,
  .replay-screen-bar,
  .case-route span,
  .case-disclosure,
  .interface-disclosure {
    font-size: 11px !important;
  }

  .handoff-label {
    grid-template-columns: auto 1fr;
  }

  .handoff-label em {
    grid-column: 2;
  }

  .handoff-action {
    align-items: stretch;
    flex-direction: column;
  }

  .comparison-table span,
  .comparison-table strong {
    padding: 12px 10px;
    font-size: 13px;
  }

  .founder-story-intro h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .case-media-grid-3 .case-image {
    min-height: 0;
  }

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

  .case-media-grid-3 figure:last-child {
    grid-column: auto;
    width: 100%;
  }

  .value-note {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .layer-reader article {
    grid-template-columns: 38px 1fr;
  }

  .delivery-assurance {
    grid-template-columns: 1fr;
  }

  .tier-emblem {
    top: 20px;
    right: 16px;
    width: 98px;
    height: 70px;
  }

  .tier-trigger,
  [data-tier="taoguang"] .tier-trigger {
    top: 29px;
    left: 44px;
  }

  .page-ea .tier,
  .page-ea .workflow-step {
    grid-template-columns: 1fr;
    grid-template-areas:
      "code"
      "head"
      "summary"
      "specs"
      "deliverables"
      "note";
    gap: 10px;
    padding: 24px 0;
  }

  .ea-request-form {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }

  .field-wide {
    grid-column: 1;
  }

  .request-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .license-preview {
    margin-inline: -8px;
  }

  .legal-hero h1 {
    font-size: clamp(44px, 15vw, 64px);
  }

  .page-privacy .policy-row:not(.policy-head) span::before {
    display: block;
    margin-bottom: 5px;
    color: var(--blue);
    font: 700 11px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace;
    content: attr(data-label);
  }

  .page-indicator {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }

  .mobile-conversion-bar {
    position: fixed;
    z-index: 88;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 10px 10px 15px;
    border: 1px solid rgba(91, 132, 255, .4);
    border-radius: 10px;
    background: rgba(10, 13, 18, .94);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .42);
    backdrop-filter: blur(16px);
  }

  .mobile-conversion-bar span {
    color: var(--text-soft);
    font-size: 12px;
  }

  .mobile-conversion-bar b {
    color: var(--blue);
  }

  .mobile-conversion-bar button {
    flex: 0 0 auto;
    padding: 9px 13px;
    border: 0;
    border-radius: 7px;
    background: var(--blue);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
  }
}
