.psychomatrix-back {
  color: var(--violet);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 750;
}
.psychomatrix-back:hover { text-decoration: underline; text-underline-offset: 4px; }

.psychomatrix-hero {
  width: auto;
  max-width: 1180px;
  margin: 28px auto 72px;
  padding: 54px;
  border-radius: 38px;
  background: linear-gradient(140deg, var(--night), #30254f);
  color: white;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 70px;
  align-items: center;
  box-shadow: 0 28px 70px rgba(25,21,47,.22);
  position: relative;
  overflow: hidden;
}
.psychomatrix-hero > * { min-width: 0; }
.psychomatrix-hero .intro { min-width: 0; max-width: 100%; }
.psychomatrix-hero h1 {
  max-width: 100%;
  font-size: clamp(3rem, 6vw, 5.15rem);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.psychomatrix-hero .date-card,
.psychomatrix-hero .date-card input { min-width: 0; max-width: 100%; }
.psychomatrix-hero::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  right: -120px;
  top: -150px;
  opacity: .16;
  background: linear-gradient(var(--gold) 2px, transparent 2px), linear-gradient(90deg, var(--gold) 2px, transparent 2px);
  background-size: 110px 110px;
}

.psychomatrix-explainer,
.psychomatrix-next-step {
  max-width: 1180px;
  margin: 0 auto 78px;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}
.psychomatrix-explainer > p,
.psychomatrix-next-step > div:last-child > p { margin: 0; color: var(--muted); font-size: 1.06rem; }

.psychomatrix-system {
  max-width: 1180px;
  margin: 0 auto 86px;
  padding: 54px;
  border-radius: 32px;
  background: linear-gradient(145deg, #fffdf8, #f6eddb);
  border: 1px solid rgba(201,155,67,.42);
}
.psychomatrix-system-intro { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); column-gap: 58px; align-items: end; }
.psychomatrix-system-intro .eyebrow { grid-column: 1 / -1; }
.psychomatrix-system-intro h2 { margin-bottom: 0; }
.psychomatrix-system-intro > p:last-child { margin: 0; color: var(--muted); font-size: 1.04rem; }
.psychomatrix-system-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-top: 38px; }
.psychomatrix-system-grid article { padding: 22px 20px; border-radius: 18px; background: rgba(255,255,255,.76); border: 1px solid rgba(95,74,145,.12); }
.psychomatrix-system-grid span { color: var(--gold-dark); font-size: .75rem; font-weight: 850; letter-spacing: .1em; }
.psychomatrix-system-grid h3 { margin: 10px 0 9px; font-family: Georgia,"Times New Roman",serif; font-size: 1.25rem; }
.psychomatrix-system-grid p { margin: 0; color: var(--muted); font-size: .91rem; }
.psychomatrix-system-footnote { max-width: 880px; margin: 28px 0 0; color: var(--violet); font-weight: 650; }

.psychomatrix-results { max-width: 1180px; margin: 0 auto; padding: 0 28px 90px; }
.psychomatrix-result-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 24px; align-items: start; }
.psychomatrix-board-card,
.psychomatrix-summary {
  border: 1px solid rgba(95,74,145,.14);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}
.psychomatrix-board-card { padding: clamp(22px, 5vw, 46px); }
.psychomatrix-date { margin-bottom: 18px; text-align: center; font-size: clamp(1.7rem, 4vw, 2.55rem); font-weight: 820; letter-spacing: .02em; }
.psychomatrix-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 24px; }
.psychomatrix-row span {
  min-width: 72px;
  padding: 9px 15px;
  border: 1px solid #dfc785;
  border-radius: 13px;
  background: var(--gold-soft);
  text-align: center;
  font-size: 1.12rem;
  font-weight: 760;
}
.psychomatrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 620px;
  margin: 0 auto;
  border: 2px solid #d9b96d;
}
.psychomatrix-cell {
  min-height: 130px;
  padding: 12px;
  display: grid;
  place-items: center;
  position: relative;
  background: linear-gradient(145deg, #fffdf9, #f8f0df);
  border-right: 2px solid #d9b96d;
  border-bottom: 2px solid #d9b96d;
}
.psychomatrix-cell:nth-child(3n) { border-right: 0; }
.psychomatrix-cell:nth-child(n+7) { border-bottom: 0; }
.psychomatrix-cell small { position: absolute; left: 10px; top: 7px; color: #8e8068; font-size: .78rem; }
.psychomatrix-cell strong { font-size: clamp(2rem, 6vw, 3.5rem); line-height: 1; color: #1e2c44; letter-spacing: -.04em; }
.psychomatrix-formula { min-height: 1.2em; margin: 16px 0 0; color: var(--muted); text-align: center; font-size: .9rem; }

.psychomatrix-summary { padding: 30px; position: sticky; top: 20px; }
.psychomatrix-summary h3 { margin: 12px 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; line-height: 1.14; }
.psychomatrix-summary > p:not(.summary-kicker) { color: var(--muted); }
.psychomatrix-coming-note { margin-top: 22px; padding: 16px; border-radius: 14px; background: var(--violet-soft); color: var(--violet) !important; font-size: .88rem; }
.psychomatrix-section-heading { margin-top: 64px; }
.psychomatrix-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.psychomatrix-topic { border: 1px solid var(--line); border-radius: 18px; background: white; overflow: hidden; }
.psychomatrix-topic button { width: 100%; min-height: 78px; padding: 16px 18px; display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; text-align: left; color: var(--ink); background: transparent; border: 0; }
.psychomatrix-topic button:hover { background: #fbf8f0; }
.psychomatrix-topic-number { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--night); font-weight: 800; }
.psychomatrix-topic-title { font-weight: 760; }
.psychomatrix-topic-title small { display: block; margin-top: 4px; color: var(--muted); font-size: .68rem; font-weight: 650; }
.psychomatrix-topic-value { color: var(--violet); font-weight: 820; }
.psychomatrix-topic-detail { padding: 0 20px 22px 72px; color: var(--muted); font-size: .91rem; line-height: 1.62; }
.psychomatrix-topic-detail p { margin: 0 0 12px; }
.psychomatrix-topic-detail h4 { margin: 24px 0 12px; color: var(--ink); font-family: Georgia,"Times New Roman",serif; font-size: 1.2rem; }
.psychomatrix-topic-meta { color: var(--violet); font-size: .83rem; font-weight: 680; }
.psychomatrix-topic-locked { background: linear-gradient(145deg,#fff,#f8f5fb); }
.psychomatrix-topic-locked .psychomatrix-topic-number { background: #756987; }
.psychomatrix-lock-link { display: inline-flex; margin-top: 5px; color: var(--violet); font-weight: 780; text-decoration: none; }
.psychomatrix-lock-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.psychomatrix-topic.open { border-color: rgba(201,155,67,.7); box-shadow: 0 12px 28px rgba(38,29,67,.07); }
.psychomatrix-inline-link { display: inline-flex; margin-top: 18px; color: var(--violet); font-weight: 780; text-decoration: none; }
.psychomatrix-inline-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.psychomatrix-purchase { margin-top: 70px; }
.psychomatrix-offer-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 28px 0; }
.psychomatrix-offer-grid article { display: grid; gap: 8px; padding: 20px; border: 1px solid rgba(95,74,145,.14); border-radius: 18px; background: white; }
.psychomatrix-offer-grid strong { color: var(--night); font-family: Georgia,"Times New Roman",serif; font-size: 1.15rem; }
.psychomatrix-offer-grid span { color: var(--muted); font-size: .9rem; line-height: 1.55; }
.psychomatrix-purchase-box { max-width: 780px; margin-inline: auto; }

.psychomatrix-promo {
  max-width: 1180px;
  margin: -24px auto 82px;
  padding: 34px 38px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: 40px;
  align-items: center;
  border: 1px solid rgba(201,155,67,.52);
  border-radius: 28px;
  background: linear-gradient(145deg, #fffdf8, #f6ecda);
  box-shadow: 0 16px 42px rgba(38,29,67,.08);
}
.psychomatrix-promo h2 { font-size: clamp(2rem, 4vw, 3rem); }
.psychomatrix-promo-copy > p:not(.eyebrow) { max-width: 720px; margin: 17px 0 23px; color: var(--muted); }
.psychomatrix-promo-link { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 18px; border-radius: 14px; background: var(--night); color: white; text-decoration: none; font-weight: 780; }
.psychomatrix-promo-link:hover { background: #2b244a; }
.psychomatrix-promo-visual { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #d9b96d; background: white; }
.psychomatrix-promo-visual span { min-height: 58px; display: grid; place-items: center; border-right: 1px solid #d9b96d; border-bottom: 1px solid #d9b96d; color: #1e2c44; font-size: 1.08rem; font-weight: 820; }
.psychomatrix-promo-visual span:nth-child(3n) { border-right: 0; }
.psychomatrix-promo-visual span:nth-child(n+7) { border-bottom: 0; }

@media (max-width: 850px) {
  .psychomatrix-hero { margin: 12px 16px 60px; padding: 34px 24px; border-radius: 28px; grid-template-columns: 1fr; gap: 36px; }
  .psychomatrix-explainer, .psychomatrix-next-step, .psychomatrix-result-layout { grid-template-columns: 1fr; }
  .psychomatrix-summary { position: static; }
  .psychomatrix-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .psychomatrix-promo { margin: -22px 16px 64px; grid-template-columns: 1fr; }
  .psychomatrix-system { margin-inline: 16px; padding: 38px 28px; }
  .psychomatrix-system-intro { grid-template-columns: 1fr; gap: 18px; }
  .psychomatrix-system-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .psychomatrix-offer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 580px) {
  .psychomatrix-back { font-size: .78rem; }
  .psychomatrix-main { max-width: 100%; overflow-x: clip; }
  .psychomatrix-hero { max-width: calc(100% - 32px); padding: 28px 18px; gap: 28px; }
  .psychomatrix-hero h1 { font-size: clamp(2.15rem, 11vw, 3.15rem); line-height: 1.02; letter-spacing: -.025em; }
  .psychomatrix-hero .lead { font-size: 1rem; }
  .psychomatrix-explainer, .psychomatrix-next-step, .psychomatrix-results { padding-inline: 16px; }
  .psychomatrix-result-layout { gap: 16px; }
  .psychomatrix-board-card { padding: 18px 12px 20px; border-radius: 20px; }
  .psychomatrix-row span { min-width: 58px; padding: 8px 10px; }
  .psychomatrix-cell { min-height: 92px; padding: 8px; }
  .psychomatrix-cell strong { font-size: clamp(1.6rem, 9vw, 2.65rem); }
  .psychomatrix-topics { grid-template-columns: 1fr; }
  .psychomatrix-topic-detail { padding-left: 20px; }
  .psychomatrix-promo { padding: 26px 20px; }
  .psychomatrix-system { padding: 30px 20px; }
  .psychomatrix-system-grid { grid-template-columns: 1fr; }
}
