:root {
  --bg: #fff7fb;
  --bg-soft: #fff1f7;
  --panel: #fffdfd;
  --panel-strong: #fffdfd;
  --ink: #2a1721;
  --muted: #755766;
  --line: rgba(117, 61, 89, 0.14);
  --rose: #d86c9c;
  --rose-deep: #b84f82;
  --rose-soft: #f7dce7;
  --gold: #c79a4a;
  --shadow: 0 18px 42px rgba(170, 104, 137, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(216, 108, 156, 0.09) 0%, transparent 34%),
    linear-gradient(180deg, #fffafc 0%, #fbf9fd 48%, #ffffff 100%);
  font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
}

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

.page-shell {
  position: relative;
  overflow: clip;
  min-height: 100vh;
}

.ambient {
  display: none;
}

.site-header,
main {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 28px 0 18px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--rose) 0%, #f5accb 100%);
  color: white;
  font-family: "Palatino Linotype", "Book Antiqua", "Georgia", serif;
  font-size: 1.7rem;
  box-shadow: 0 12px 24px rgba(216, 108, 156, 0.28);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--rose-deep);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
}

.site-header h1,
.hero-copy h2,
.hero-card h3,
.result-heading h3,
.info-card h3,
.section-intro h3,
.faq-list h4 {
  margin: 0;
  font-family: "Palatino Linotype", "Book Antiqua", "Georgia", serif;
}

.site-header h1 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 600;
}

.top-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.top-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.top-nav a:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(184, 79, 130, 0.28);
}

.top-nav a.is-current {
  background: linear-gradient(135deg, rgba(216, 108, 156, 0.16), rgba(242, 176, 200, 0.38));
  border-color: rgba(184, 79, 130, 0.22);
  color: var(--ink);
}

.page-main {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 56px;
}

.page-section {
  margin-top: 12px;
}

.home-hero {
  padding-top: 18px;
}

.quick-links {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.quick-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(184, 79, 130, 0.12);
  color: var(--ink);
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 28px;
  padding: 32px 0 40px;
  align-items: start;
}

.hero-copy,
.hero-card,
.result-panel,
.section-catalog,
.tool-section,
.info-card,
.faq,
.finance-panel {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.hero-copy {
  border-radius: var(--radius-xl);
  padding: 42px;
}

.hero-copy h2 {
  font-size: 4.25rem;
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 12ch;
  overflow-wrap: break-word;
}

.hero-copy h2 span {
  display: block;
  color: var(--rose-deep);
}

.lead {
  max-width: 58ch;
  margin: 22px 0 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.mini-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(252, 242, 247, 0.9) 100%);
  border: 1px solid rgba(210, 158, 183, 0.22);
}

.mini-card strong {
  font-size: 0.98rem;
}

.mini-card span {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.94rem;
}

.hero-card {
  border-radius: var(--radius-xl);
  padding: 28px;
}

.home-calculator {
  align-self: start;
}

.home-calculator-form {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.home-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mode-card {
  position: relative;
  min-height: 58px;
  cursor: pointer;
}

.mode-card input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.mode-card span {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 0 12px;
  border-radius: 16px;
  border: 1px solid rgba(184, 79, 130, 0.14);
  background: rgba(255, 255, 255, 0.84);
  color: var(--muted);
  font-weight: 800;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.mode-card input:focus-visible + span {
  outline: 3px solid rgba(184, 79, 130, 0.28);
  outline-offset: 3px;
}

.mode-card input:checked + span {
  background: linear-gradient(135deg, var(--rose-deep) 0%, #dd7aa6 55%, #f2b0c8 100%);
  border-color: rgba(184, 79, 130, 0.18);
  color: #ffffff;
  box-shadow: 0 18px 32px rgba(184, 79, 130, 0.22);
}

.mode-card:hover span {
  transform: translateY(-1px);
}

.home-date-grid {
  display: grid;
  gap: 14px;
}

.home-calculator-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.home-calculator-note.is-error {
  color: #9c3158;
}

.section-switcher {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.section-tab {
  min-height: 48px;
  justify-content: flex-start;
  padding: 0 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  box-shadow: none;
  border: 1px solid rgba(184, 79, 130, 0.12);
}

.section-tab.is-active {
  background: linear-gradient(135deg, var(--rose-deep) 0%, #dd7aa6 55%, #f2b0c8 100%);
  color: white;
  box-shadow: 0 18px 32px rgba(184, 79, 130, 0.24);
}

.section-catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 0 24px;
  padding: 22px;
  border-radius: 30px;
}

.catalog-card {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(184, 79, 130, 0.14);
}

.catalog-card h3 {
  margin: 0 0 8px;
  font-family: "Palatino Linotype", "Book Antiqua", "Georgia", serif;
}

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

.catalog-card p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.sales-ladder {
  display: grid;
  gap: 22px;
  margin: 34px 0 60px;
}

.sales-ladder-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.7fr);
  gap: 28px;
  align-items: end;
}

.sales-ladder-head h3 {
  margin: 0;
  font-family: "Palatino Linotype", "Book Antiqua", "Georgia", serif;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
}

.sales-ladder-head p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.sales-ladder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.sales-step {
  min-height: 220px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(184, 79, 130, 0.14);
  box-shadow: 0 12px 24px rgba(130, 102, 160, 0.08);
  contain: layout paint;
}

.sales-step--locked {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(245, 248, 255, 0.96));
  border-color: rgba(70, 112, 184, 0.18);
}

.sales-step--payment {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 232, 0.95));
  border-color: rgba(199, 154, 74, 0.22);
}

.sales-step-status,
.paid-preview-status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(184, 79, 130, 0.16);
  color: var(--rose-deep);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sales-step h4 {
  margin: 22px 0 10px;
  font-family: "Palatino Linotype", "Book Antiqua", "Georgia", serif;
  font-size: 1.35rem;
}

.sales-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.workspace {
  display: grid;
  gap: 24px;
}

.tool-section {
  display: none;
  border-radius: 30px;
  padding: 28px;
}

.tool-section.is-always-visible,
.tool-section.is-active {
  display: block;
}

.tool-header {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 18px;
}

.tool-copy {
  color: var(--muted);
  line-height: 1.7;
  max-width: 58ch;
}

.tool-form {
  display: grid;
  gap: 16px;
}

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

.double-form button {
  grid-column: 1 / -1;
}

.placeholder-section p:last-child {
  color: var(--muted);
  line-height: 1.7;
  max-width: 66ch;
}

.card-head p:last-child,
.info-card p:last-child,
.faq-list p {
  color: var(--muted);
  line-height: 1.75;
}

.matrix-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.field {
  display: grid;
  gap: 10px;
}

.field span {
  font-weight: 700;
  font-size: 0.96rem;
}

input[type="date"] {
  width: 100%;
  min-height: 56px;
  border-radius: 16px;
  border: 1px solid rgba(184, 79, 130, 0.22);
  background: rgba(255, 255, 255, 0.92);
  padding: 0 16px;
  color: var(--ink);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

button {
  min-height: 58px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--rose-deep) 0%, #dd7aa6 55%, #f2b0c8 100%);
  color: white;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(184, 79, 130, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(184, 79, 130, 0.22);
}

button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-note {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.form-note.is-error {
  color: #9c3158;
}

.result-panel {
  margin-top: 8px;
  border-radius: var(--radius-xl);
  padding: 28px;
}

.result-actions {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.secondary-action {
  min-width: min(100%, 340px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 241, 247, 0.98));
  color: var(--rose-deep);
  border: 1px solid rgba(184, 79, 130, 0.18);
  box-shadow: 0 10px 22px rgba(184, 79, 130, 0.1);
}

.secondary-action:hover {
  box-shadow: 0 14px 28px rgba(184, 79, 130, 0.14);
}

.finance-panel {
  margin-top: 18px;
  border-radius: var(--radius-xl);
  padding: 28px;
}

.compatibility-panel {
  margin-top: 18px;
  border-radius: var(--radius-xl);
  padding: 28px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.is-hidden {
  display: none;
}

.result-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.result-age {
  min-width: 112px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 248, 250, 0.96), rgba(248, 232, 240, 0.96));
  border: 1px solid rgba(184, 79, 130, 0.16);
  text-align: center;
}

.result-age span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.result-age strong {
  font-size: 1.9rem;
  font-family: "Palatino Linotype", "Book Antiqua", "Georgia", serif;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: white;
  border: 1px solid rgba(184, 79, 130, 0.18);
  color: var(--muted);
}

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

.matrix-frame {
  min-width: 0;
  padding: clamp(12px, 2vw, 24px);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 244, 248, 0.98));
  border: 1px solid rgba(184, 79, 130, 0.14);
  contain: layout paint;
  transform: translateZ(0);
}

.result-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 18px;
  align-items: start;
}

.matrix-stage {
  min-width: 0;
  max-width: 920px;
  margin: 0 auto;
}

.matrix-stage .matrix-svg {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.matrix-stage .obch {
  position: relative;
  width: min(100%, 860px);
  margin: 0 auto;
}

.matrix-stage .obch > img {
  width: 100%;
  display: block;
}

.matrix-stage .obch div {
  border-radius: 50%;
  text-align: center;
  line-height: 10%;
  box-sizing: border-box;
}

.matrix-stage .trans {
  transform: rotateY(0deg);
}

.arcana-panel {
  padding: 22px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(252, 240, 246, 0.98));
  border: 1px solid rgba(184, 79, 130, 0.14);
}

.arcana-panel h4 {
  margin: 0 0 16px;
  font-size: 1.3rem;
  font-family: "Palatino Linotype", "Book Antiqua", "Georgia", serif;
}

.arcana-list {
  display: grid;
  gap: 10px;
}

.arcana-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(184, 79, 130, 0.12);
}

.arcana-item span {
  color: var(--muted);
  line-height: 1.45;
}

.arcana-item strong {
  min-width: 40px;
  text-align: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(216, 108, 156, 0.18), rgba(247, 220, 231, 0.7));
  color: var(--rose-deep);
  font-size: 1rem;
}

.result-side-stack {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.result-side-stack > section {
  min-width: 0;
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(252, 240, 246, 0.98));
  border: 1px solid rgba(184, 79, 130, 0.14);
  contain: layout paint;
}

.result-side-stack .arcana-panel {
  padding: 22px;
}

.chakra-panel h4,
.personal-formula h4 {
  margin: 0 0 12px;
  font-family: "Palatino Linotype", "Book Antiqua", "Georgia", serif;
  font-size: 1.22rem;
}

.panel-muted-copy,
.personal-formula p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.5;
}

.analysis-panel {
  margin-top: 22px;
  padding-top: 8px;
}

.matrix-sections {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.locked-section-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 0;
  padding: 22px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(70, 112, 184, 0.14);
  box-shadow: 0 8px 18px rgba(70, 112, 184, 0.06);
  contain: layout paint;
}

.locked-section-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.locked-section-main h4 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: clamp(1.1rem, 2vw, 1.28rem);
}

.locked-section-main p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.locked-section-action {
  min-height: 42px;
  padding: 0 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111111;
  box-shadow: none;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.locked-section-row .payment-stub-note {
  grid-column: 1 / -1;
}

.mini-lock {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 20px;
  border: 3px solid #2e3440;
  border-radius: 6px;
}

.mini-lock::before {
  content: "";
  position: absolute;
  left: 3px;
  top: -14px;
  width: 10px;
  height: 12px;
  border: 3px solid #2e3440;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.matrix-section-item {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(184, 79, 130, 0.1);
  box-shadow: 0 10px 22px rgba(184, 79, 130, 0.06);
  overflow: hidden;
  contain: layout paint;
  content-visibility: auto;
  contain-intrinsic-size: auto 260px;
}

.matrix-section-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 30px;
  cursor: pointer;
  list-style: none;
  font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 800;
}

.matrix-section-summary::-webkit-details-marker {
  display: none;
}

.matrix-section-chevron {
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 18px solid #5b87e5;
  transition: transform 180ms ease;
  flex: 0 0 auto;
}

.matrix-section-item[open] .matrix-section-chevron {
  transform: rotate(180deg);
}

.matrix-section-title {
  line-height: 1.2;
}

.matrix-section-content {
  padding: 0 30px 28px;
  color: rgba(74, 53, 68, 0.9);
}

.matrix-section-content p {
  margin: 0 0 16px;
  line-height: 1.82;
  font-size: 1.08rem;
}

.matrix-section-content p:last-child {
  margin-bottom: 0;
}

.matrix-section-grid {
  margin-top: 22px;
}

.matrix-section-table {
  margin-top: 22px;
}

.matrix-section-table + .matrix-section-grid {
  margin-top: 18px;
}

.yearly-panel {
  display: grid;
  gap: 18px;
}

.yearly-controls {
  display: flex;
  align-items: center;
}

.yearly-select {
  min-width: 240px;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(184, 79, 130, 0.18);
  background: #ffffff;
  padding: 0 16px;
  color: var(--ink);
  font: inherit;
}

.yearly-body {
  display: grid;
  gap: 22px;
}

.yearly-block h4 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: "Palatino Linotype", "Book Antiqua", "Georgia", serif;
  font-size: 1.05rem;
}

.yearly-block p {
  margin: 0;
}

.matrix-insights {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
  margin-top: 22px;
}

.insight-panel {
  padding: 24px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 244, 248, 0.98));
  border: 1px solid rgba(184, 79, 130, 0.14);
}

.chakra-table-wrap {
  overflow-x: auto;
}

.chakra-table {
  width: 100%;
  min-width: 0;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 14px;
}

.chakra-table th,
.chakra-table td {
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  text-align: center;
}

.chakra-table th {
  background: rgba(255, 255, 255, 0.96);
  color: #111111;
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.chakra-table td {
  background: var(--chakra-color, rgba(255, 255, 255, 0.9));
  color: var(--chakra-text, var(--ink));
  font-weight: 800;
}

.chakra-table td:first-child,
.chakra-table th:first-child {
  text-align: left;
}

.chakra-table tbody tr:last-child td {
  border-bottom: 0;
}

.chakra-row-total td {
  background: #d0d0d0;
  color: #111111;
  font-weight: 900;
}

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

.personal-formula {
  min-width: 0;
}

.formula-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.formula-values {
  display: grid;
  gap: 8px;
}

.formula-row {
  display: grid;
  grid-template-columns: 52px 36px;
  align-items: center;
  gap: 8px;
}

.formula-row span {
  color: var(--ink);
  font-weight: 600;
}

.formula-row strong,
.formula-result,
.personal-number strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 3px solid #111111;
  border-radius: 50%;
  background: #ffffff;
  color: #111111;
  font-size: 1rem;
  line-height: 1;
}

.formula-brace {
  margin-top: -2px;
  color: #111111;
  font-family: "Times New Roman", serif;
  font-size: 4.4rem;
  line-height: 0.7;
}

.formula-result {
  margin-left: 2px;
}

.personal-number {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding-top: 4px;
}

.personal-number span {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
}

.destiny-grid {
  display: grid;
  gap: 14px;
}

.destiny-card {
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(184, 79, 130, 0.14);
}

.destiny-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.destiny-card-top h4 {
  margin: 0;
  font-family: "Palatino Linotype", "Book Antiqua", "Georgia", serif;
  font-size: 1.08rem;
}

.destiny-card-top strong {
  min-width: 64px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(216, 108, 156, 0.18), rgba(247, 220, 231, 0.7));
  color: var(--rose-deep);
  text-align: center;
}

.destiny-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.analysis-intro {
  margin-bottom: 14px;
}

.analysis-intro h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.analysis-intro p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.analysis-card {
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 243, 248, 0.98));
  border: 1px solid rgba(184, 79, 130, 0.14);
  box-shadow: 0 10px 22px rgba(184, 79, 130, 0.06);
  contain: layout paint;
}

.analysis-card h4 {
  margin: 0 0 10px;
  font-family: "Palatino Linotype", "Book Antiqua", "Georgia", serif;
  font-size: 1.08rem;
  line-height: 1.35;
}

.analysis-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.finance-result-grid {
  margin-top: 10px;
}

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

.compatibility-card {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(184, 79, 130, 0.14);
}

.compatibility-card-head {
  margin-bottom: 12px;
}

.compatibility-card-head h4 {
  margin: 0;
  font-family: "Palatino Linotype", "Book Antiqua", "Georgia", serif;
  font-size: 1.2rem;
}

.compatibility-card--shared {
  grid-column: 1 / -1;
}

.compatibility-card--shared .matrix-frame {
  max-width: 920px;
  margin: 0 auto;
}

.compatibility-stage .matrix-svg,
.compatibility-stage .shared-compatibility-svg {
  display: block;
  width: 100%;
  height: auto;
}

.compatibility-chips {
  margin-top: 14px;
}

.loading-matrix {
  display: grid;
  place-items: center;
  gap: 18px;
  min-height: clamp(260px, 42vw, 520px);
  padding: 28px;
  text-align: center;
  color: var(--muted);
}

.loading-orbit {
  position: relative;
  width: 180px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(184, 79, 130, 0.14);
  animation: loading-spin 2400ms linear infinite;
}

.loading-orbit::before,
.loading-orbit::after {
  content: "";
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  border: 2px solid rgba(70, 112, 184, 0.16);
}

.loading-orbit::after {
  inset: 42%;
  background: linear-gradient(135deg, rgba(216, 108, 156, 0.28), rgba(199, 154, 74, 0.24));
  border: 0;
}

.loading-orbit span {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  border: 5px solid var(--rose);
  box-shadow: 0 10px 24px rgba(184, 79, 130, 0.16);
}

.loading-orbit span:nth-child(1) {
  left: 50%;
  top: -14px;
  transform: translateX(-50%);
}

.loading-orbit span:nth-child(2) {
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  border-color: #5b87e5;
}

.loading-orbit span:nth-child(3) {
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  border-color: var(--gold);
}

.loading-orbit span:nth-child(4) {
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
  border-color: #5b87e5;
}

.loading-orbit span:nth-child(5) {
  left: 50%;
  top: 50%;
  width: 38px;
  height: 38px;
  transform: translate(-50%, -50%);
  border-color: var(--rose-deep);
}

.loading-matrix p {
  margin: 0;
  font-weight: 800;
  color: var(--ink);
}

.loading-chip strong,
.arcana-item.is-loading strong,
.loading-pill,
.loading-line {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(247, 220, 231, 0.7), rgba(255, 255, 255, 0.96), rgba(224, 233, 255, 0.7));
  background-size: 220% 100%;
  animation: loading-shimmer 1300ms ease-in-out infinite;
}

.loading-chip strong {
  width: 32px;
  min-height: 18px;
  border-radius: 999px;
}

.arcana-item.is-loading strong {
  width: 44px;
  min-height: 34px;
}

.loading-section {
  padding: 28px 30px;
}

.loading-line {
  height: 15px;
  border-radius: 999px;
  margin-bottom: 13px;
}

.loading-line--wide {
  width: min(100%, 540px);
  height: 22px;
}

.loading-line--short {
  width: min(62%, 360px);
  margin-bottom: 0;
}

.loading-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.loading-pill {
  width: 116px;
  height: 34px;
  border-radius: 999px;
}

.state-panel {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 28px;
  text-align: center;
}

.state-panel h4 {
  margin: 0 0 10px;
  font-family: "Palatino Linotype", "Book Antiqua", "Georgia", serif;
  font-size: 1.35rem;
}

.state-panel p {
  max-width: 46ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.state-panel.is-error h4 {
  color: #9c3158;
}

.paid-preview {
  display: grid;
  gap: 18px;
  margin-top: 8px;
  padding: 26px;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(245, 248, 255, 0.96));
  border: 1px solid rgba(70, 112, 184, 0.16);
  box-shadow: 0 10px 24px rgba(70, 112, 184, 0.06);
  contain: layout paint;
}

.paid-preview-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.paid-preview-head h3 {
  margin: 0;
  font-family: "Palatino Linotype", "Book Antiqua", "Georgia", serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.16;
}

.paid-preview-status {
  flex: 0 0 auto;
  border-color: rgba(70, 112, 184, 0.2);
  color: #385fa8;
}

.paid-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.locked-card {
  position: relative;
  min-height: 176px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(70, 112, 184, 0.14);
  color: rgba(42, 23, 33, 0.76);
  contain: layout paint;
}

.paid-preview-actions,
.sales-step-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.payment-stub-button {
  min-height: 48px;
  border-radius: 14px;
  padding: 0 18px;
  box-shadow: 0 10px 18px rgba(70, 112, 184, 0.12);
}

.secondary-stub-button {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 255, 0.98));
  color: #385fa8;
  border: 1px solid rgba(70, 112, 184, 0.18);
}

.payment-stub-note {
  flex-basis: 100%;
  min-height: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.payment-stub-note.is-visible {
  color: #385fa8;
  font-weight: 700;
}

.lock-mark {
  display: inline-block;
  width: 28px;
  height: 24px;
  margin-bottom: 18px;
  border: 3px solid #5b87e5;
  border-radius: 8px;
}

.lock-mark::before {
  content: "";
  display: block;
  width: 14px;
  height: 12px;
  margin: -15px auto 0;
  border: 3px solid #5b87e5;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: transparent;
}

.locked-card h4 {
  margin: 0 0 10px;
  font-family: "Palatino Linotype", "Book Antiqua", "Georgia", serif;
  font-size: 1.1rem;
}

.locked-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

@keyframes loading-shimmer {
  0% {
    background-position: 120% 0;
  }
  100% {
    background-position: -120% 0;
  }
}

@keyframes loading-spin {
  to {
    transform: rotate(360deg);
  }
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.info-card {
  border-radius: 26px;
  padding: 26px;
}

.faq {
  margin: 24px 0 56px;
  border-radius: var(--radius-xl);
  padding: 28px;
}

.section-intro {
  margin-bottom: 16px;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.faq-list article {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(184, 79, 130, 0.14);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: reveal-up 700ms ease forwards;
}

.hero-card.reveal {
  animation-delay: 120ms;
}

.result-panel.reveal,
.info-grid.reveal {
  animation-delay: 160ms;
}

.faq.reveal {
  animation-delay: 240ms;
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .hero,
  .section-catalog,
  .sales-ladder-head,
  .sales-ladder-grid,
  .tool-header,
  .result-grid,
  .matrix-insights,
  .analysis-grid,
  .compatibility-grid,
  .personal-grid,
  .paid-preview-grid,
  .info-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .hero-card {
    position: static;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .hero-copy h2 {
    max-width: none;
    font-size: 3.4rem;
  }
}

@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-lockup {
    align-items: flex-start;
  }

  .hero-copy,
  .hero-card,
  .result-panel,
  .faq,
  .info-card,
  .paid-preview {
    padding: 22px;
  }

  .hero {
    padding-top: 18px;
    gap: 18px;
  }

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

  .hero-copy h2 {
    max-width: none;
    font-size: 2.7rem;
    line-height: 1.04;
    overflow-wrap: anywhere;
  }

  .result-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .top-nav a {
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
  }

  .matrix-section-summary,
  .matrix-section-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .matrix-section-summary {
    font-size: 1.15rem;
  }

  .paid-preview-head {
    display: grid;
    align-items: start;
  }

  .locked-section-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .locked-section-action {
    justify-self: start;
  }

  .yearly-select {
    min-width: 100%;
  }
}

@media (max-width: 420px) {
  .site-header,
  main,
  .page-main {
    width: min(100% - 24px, 1160px);
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 1.45rem;
  }

  .site-header h1 {
    font-size: 1.3rem;
  }

  .hero-copy,
  .hero-card,
  .tool-section,
  .result-panel,
  .section-catalog,
  .faq,
  .info-card {
    border-radius: 18px;
    padding: 18px;
  }

  .hero-copy h2 {
    font-size: 2.42rem;
  }

  .lead {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .section-catalog {
    gap: 12px;
  }

  .catalog-card {
    border-radius: 14px;
    padding: 16px;
  }
}
