:root {
  --bg:#06030d;
  --text:#fff7eb;
  --muted:#cbbdd9;
  --gold:#e6c16c;
  --gold2:#f9e19e;
  --violet:#8b5cf6;
  --line:rgba(255, 255, 255, .12);
  --card:rgba(255, 255, 255, .06);
  --shadow:0 26px 76px rgba(0, 0, 0, .38);
  --radius:30px;
  --container:1180px;
  --gap:16px;
}

/* Tarot card library */
.tarot-library-page {
  gap: 24px;
}

.tarot-library-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
}

.tarot-library-count {
  min-width: 118px;
  padding: 14px 16px;
  border: 1px solid rgba(245, 213, 137, 0.35);
  border-radius: 8px;
  color: #f7d889;
  font-weight: 800;
  text-align: center;
  background: rgba(16, 11, 28, 0.42);
}

.tarot-library-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: 14px;
  align-items: end;
  margin: 6px 0 22px;
}

.tarot-library-hero + .tarot-library-toolbar {
  margin-top: 24px;
}

.tarot-search {
  display: grid;
  gap: 8px;
  color: rgba(250, 244, 255, 0.78);
  font-weight: 700;
}

.tarot-search input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 0 14px;
  color: #fffaf4;
  background: rgba(18, 12, 29, 0.72);
  outline: none;
}

.tarot-search input:focus {
  border-color: rgba(247, 216, 137, 0.72);
}

.tarot-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tarot-filter button {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 0 14px;
  color: rgba(255, 250, 244, 0.82);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
}

.tarot-filter button.is-active,
.tarot-filter button:hover {
  color: #160d20;
  border-color: rgba(247, 216, 137, 0.75);
  background: linear-gradient(135deg, #f7d889, #e9b95d);
}

.tarot-library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
  margin-top: 4px;
}

.tarot-card-tile {
  display: grid;
  grid-template-rows: 210px auto auto;
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 12px;
  color: #fffaf4;
  text-align: left;
  background: rgba(35, 24, 46, 0.72);
  cursor: pointer;
}

.tarot-card-tile:hover {
  border-color: rgba(247, 216, 137, 0.55);
  background: rgba(52, 37, 65, 0.86);
}

.tarot-card-tile img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.32));
}

.tarot-card-tile span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #ffe7a3;
  font-size: 15px;
  font-weight: 900;
}

.tarot-card-tile small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(255, 250, 244, 0.66);
  font-weight: 700;
}

.tarot-card-detail {
  display: grid;
  grid-template-columns: minmax(220px, 330px) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(70, 52, 78, 0.74), rgba(23, 15, 34, 0.86)),
    rgba(23, 15, 34, 0.8);
}

.tarot-detail-media {
  position: sticky;
  top: 18px;
}

.tarot-detail-media img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.42));
}

.tarot-detail-body {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.tarot-detail-body h2 {
  margin: 0;
  color: #ffe7a3;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 0.98;
}

.tarot-detail-lead {
  margin: 0;
  color: rgba(255, 250, 244, 0.78);
  line-height: 1.65;
}

.tarot-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tarot-keywords span {
  padding: 8px 10px;
  border: 1px solid rgba(133, 235, 214, 0.32);
  border-radius: 8px;
  color: #9ff1df;
  font-size: 13px;
  font-weight: 800;
  background: rgba(9, 30, 35, 0.32);
}

.tarot-meaning-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.tarot-meaning-card h3 {
  margin: 0 0 12px;
  color: #ffe7a3;
}

.tarot-meaning-card p {
  margin: 8px 0 0;
  color: rgba(255, 250, 244, 0.78);
  line-height: 1.62;
}

.tarot-empty {
  grid-column: 1 / -1;
}

@media (max-width: 820px) {
  .tarot-library-hero,
  .tarot-library-toolbar,
  .tarot-card-detail {
    grid-template-columns: 1fr;
  }

  .tarot-detail-media {
    position: static;
  }

  .tarot-card-tile {
    grid-template-rows: 190px auto auto;
  }

  .tarot-card-tile img {
    height: 190px;
  }
}

@media (max-width: 520px) {
  .tarot-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tarot-card-tile {
    grid-template-rows: 160px auto auto;
    padding: 10px;
  }

  .tarot-card-tile img {
    height: 160px;
  }

  .tarot-card-detail {
    padding: 18px;
  }
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  overflow-x:hidden;
}

body {
  min-height:100vh;
  margin:0;
  font-family:Inter, Arial, sans-serif;
  color:var(--text);
  background:radial-gradient(circle at 14% 10%, rgba(230, 193, 108, .14), transparent 24%), radial-gradient(circle at 80% 12%, rgba(192, 132, 252, .18), transparent 26%), radial-gradient(circle at 70% 82%, rgba(139, 92, 246, .18), transparent 28%), linear-gradient(145deg, #05020a 0%, #0d0617 35%, #140b22 70%, #07040d 100%);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

body:before {
  content:"";
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  opacity:.16;
  background-image:radial-gradient(circle, rgba(255, 255, 255, .45) 1px, transparent 1.8px), radial-gradient(circle, rgba(230, 193, 108, .28) 1px, transparent 2px);
  background-size:140px 140px, 210px 210px;
  background-position:0 0, 40px 80px;
}

a {
  color:inherit;
  text-decoration:none;
}

h1, h2, h3, p {
  margin-top:0;
}

.page {
  position:relative;
  z-index:1;
  width:min(var(--container), calc(100% - 32px));
  margin:0 auto;
  padding:28px 0 48px;
}

.topbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-bottom:56px;
}

.brand {
  display:flex;
  align-items:center;
  gap:14px;
  font-size:21px;
  font-weight:900;
  line-height:1.1;
  letter-spacing:-.04em;
}

.brand-mark {
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:18px;
  font-size:22px;
  background:linear-gradient(135deg, var(--gold2), var(--gold));
  color:#1d122c;
  box-shadow:0 16px 38px rgba(230, 193, 108, .22);
}

.nav {
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
  gap:8px;
  padding:7px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255, 255, 255, .045);
  color:var(--muted);
  font-size:14px;
}

.nav a {
  padding:10px 14px;
  border-radius:999px;
}

.nav a.is-active,
.nav .nav-account {
  color:#1a1028;
  background:linear-gradient(135deg, var(--gold2), var(--gold));
  box-shadow:0 10px 28px rgba(230, 193, 108, .16);
}

.nav .nav-account {
  font-weight:900;
}

.nav a:hover {
  background:rgba(255, 255, 255, .08);
  color:var(--text);
}

.nav a.is-active:hover,
.nav .nav-account:hover {
  color:#1a1028;
  background:linear-gradient(135deg, var(--gold2), var(--gold));
}

.hero {
  display:grid;
  grid-template-columns:1.02fr .98fr;
  align-items:center;
  gap:40px;
  margin-bottom:66px;
}

.hero-proof {
  display:flex;
  flex-wrap:wrap;
  gap:10px 20px;
  margin:8px 0 20px;
}

.hero-proof-item {
  font-size:13px;
  color:var(--gold2);
  opacity:.85;
}

.eyebrow {
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:10px 14px;
  margin-bottom:20px;
  border:1px solid rgba(230, 193, 108, .2);
  border-radius:999px;
  background:rgba(230, 193, 108, .08);
  color:#ffe5aa;
  font-size:14px;
  font-weight:700;
}

.eyebrow span {
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--gold);
  box-shadow:0 0 18px rgba(230, 193, 108, .9);
}

h1 {
  max-width:720px;
  margin-bottom:24px;
  font-size:clamp(46px, 7vw, 86px);
  line-height:.92;
  letter-spacing:-.04em;
}

h1 strong {
  display:block;
  color:transparent;
  background:linear-gradient(90deg, #fff8e9 0%, #f2d388 42%, #d7b0ff 82%);
  -webkit-background-clip:text;
  background-clip:text;
}

.lead {
  max-width:620px;
  margin-bottom:30px;
  color:var(--muted);
  font-size:19px;
  line-height:1.6;
}

.actions {
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-bottom:32px;
}

.btn {
  min-height:56px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:0 22px;
  border-radius:18px;
  font-size:15px;
  font-weight:900;
  transition:.18s;
}

.btn:hover {
  transform:translateY(-2px);
}

a:focus-visible,
summary:focus-visible,
.btn:focus-visible {
  outline:3px solid rgba(249, 225, 158, .9);
  outline-offset:4px;
}

.btn-primary {
  color:#180f28;
  background:linear-gradient(135deg, var(--gold2), var(--gold));
  box-shadow:0 18px 44px rgba(230, 193, 108, .23);
}

.btn-secondary {
  color:var(--text);
  background:rgba(255, 255, 255, .07);
  border:1px solid var(--line);
}

.trust-row, .features, .plans, .reviews, .magic-strip {
  display:grid;
  gap:var(--gap);
}

.trust-row {
  grid-template-columns:repeat(3, 1fr);
  max-width:680px;
  gap:12px;
}

.features {
  grid-template-columns:repeat(4, 1fr);
}

.plans, .reviews {
  grid-template-columns:repeat(3, 1fr);
}

.magic-strip {
  grid-template-columns:repeat(5, 1fr);
  margin-bottom:66px;
  gap:12px;
}

.trust-item, .feature, .plan, .review, .panel, .seo-text, details, .final-cta, .magic-chip, .legal-card {
  border:1px solid var(--line);
  background:var(--card);
  box-shadow:0 18px 50px rgba(0, 0, 0, .12);
}

.trust-item {
  min-height:100px;
  padding:18px;
  border-radius:22px;
}

.trust-item b {
  display:block;
  margin-bottom:6px;
  color:var(--gold2);
  font-size:22px;
}

.trust-item span {
  color:var(--muted);
  font-size:13px;
  line-height:1.35;
}

.visual-wrap {
  position:relative;
  min-height:660px;
  display:grid;
  place-items:center;
  overflow:visible;
}

.moon-glow {
  position:absolute;
  top:10px;
  right:40px;
  z-index:1;
  width:210px;
  height:210px;
  border-radius:50%;
  background:radial-gradient(circle at 50% 50%, #fff1c0 0%, #f0cf7b 58%, rgba(230, 193, 108, .2) 80%, transparent 82%);
  box-shadow:0 0 86px rgba(230, 193, 108, .25);
}

.hero-stage {
  position:relative;
  z-index:2;
  width:min(520px, 95vw);
  height:660px;
  overflow:visible;
}

.sigil {
  position:absolute;
  inset:42px 54px 118px;
  display:grid;
  place-items:center;
  border:1px solid rgba(230, 193, 108, .16);
  border-radius:50%;
  opacity:.8;
}

.sigil:before, .sigil:after {
  content:"";
  position:absolute;
  border:1px solid rgba(230, 193, 108, .12);
  border-radius:50%;
}

.sigil:before {
  inset:24px;
}

.sigil:after {
  inset:60px;
}

.sigil-core {
  width:180px;
  height:180px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:var(--gold2);
  background:radial-gradient(circle, rgba(230, 193, 108, .1), rgba(139, 92, 246, .08), transparent 72%);
  font-size:56px;
}

.table {
  position:absolute;
  left:20px;
  right:20px;
  bottom:0;
  height:210px;
  overflow:hidden;
  border:1px solid rgba(255, 255, 255, .08);
  border-radius:34px;
  background:radial-gradient(circle at 50% 20%, rgba(230, 193, 108, .08), transparent 34%), linear-gradient(145deg, #12091e, #0c0616);
  box-shadow:var(--shadow);
}

.table:before {
  content:"";
  position:absolute;
  inset:18px;
  border:1px solid rgba(230, 193, 108, .12);
  border-radius:24px;
}

.card {
  position:absolute;
  --card-x:0;
  --card-rotate:0deg;
  width:132px;
  height:204px;
  padding:12px;
  border:1px solid rgba(255, 255, 255, .18);
  border-radius:26px;
  background:linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
  box-shadow:0 20px 46px rgba(0, 0, 0, .32);
}

.card.left {
  left:72px;
  bottom:30px;
  --card-rotate:-10deg;
}

.card.center {
  left:38%;
  bottom:30px;
  z-index:3;
  transform:translateX(-50%);
  --card-rotate:0deg;
}

.card.right {
  right:72px;
  bottom:30px;
  --card-rotate:10deg;
}

.card-inner {
  position:relative;
  height:100%;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid rgba(230, 193, 108, .3);
  border-radius:18px;
  color:var(--gold2);
  background:radial-gradient(circle at center, rgba(230, 193, 108, .13), transparent 34%), linear-gradient(180deg, rgba(9, 6, 18, .35), rgba(9, 6, 18, .8));
  font-size:38px;
}

.candle {
  position:absolute;
  bottom:250px;
  width:32px;
  height:95px;
  border-radius:12px 12px 10px 10px;
  background:linear-gradient(180deg, #f2ead8, #d8ceb8 70%, #b4ab99 100%);
  box-shadow:0 10px 24px rgba(0, 0, 0, .25);
}

.candle.left {
  left:44px;
}

.candle.right {
  right:44px;
}

.candle:before {
  content:"";
  position:absolute;
  top:-24px;
  left:50%;
  width:20px;
  height:28px;
  border-radius:50% 50% 46% 46%;
  background:radial-gradient(circle at 50% 30%, #fff4bf 0 20%, #ffdf80 38%, #ffb347 60%, rgba(255, 179, 71, .2) 78%, transparent 80%);
  box-shadow:0 0 30px rgba(255, 208, 102, .58);
  transform:translateX(-50%);
}

.candle:after {
  content:"";
  position:absolute;
  top:-8px;
  left:50%;
  width:2px;
  height:12px;
  transform:translateX(-50%);
  border-radius:2px;
  background:#2f1b0b;
}

.crystal {
  position:absolute;
  top:160px;
  left:50%;
  width:160px;
  height:160px;
  transform:translateX(-50%);
  border:1px solid rgba(255, 255, 255, .18);
  border-radius:50%;
  background:radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .42), transparent 14%), radial-gradient(circle at 50% 50%, rgba(192, 132, 252, .65), rgba(83, 48, 140, .55) 58%, rgba(230, 193, 108, .16) 86%, transparent 88%);
  box-shadow:inset 0 0 50px rgba(255, 255, 255, .06), 0 0 62px rgba(139, 92, 246, .28);
}

.crystal-base {
  position:absolute;
  top:304px;
  left:50%;
  width:120px;
  height:44px;
  transform:translateX(-50%);
  border-radius:0 0 24px 24px;
  background:linear-gradient(180deg, #5d3b1c, #2a170d);
  box-shadow:0 16px 30px rgba(0, 0, 0, .34);
}

.magic-chip {
  min-height:70px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:16px;
  border-radius:22px;
  color:#f2e6ff;
  font-size:14px;
  font-weight:800;
  text-align:center;
}

.section-head {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:22px;
}

.section-kicker {
  margin-bottom:10px;
  color:var(--gold);
  font-size:12px;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.section-head h2, .panel h2, .seo-text h2, .final-cta h2 {
  margin-bottom:0;
  font-size:clamp(30px, 4.8vw, 54px);
  line-height:.98;
  letter-spacing:-.065em;
}

.section-head p {
  max-width:430px;
  margin-bottom:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.55;
}

.features, .plans, .reviews {
  margin-bottom:66px;
}

.feature, .plan, .review, .panel, .seo-text {
  border-radius:var(--radius);
}

.feature, .review, .panel, .seo-text {
  padding:24px;
}

.feature-icon {
  width:52px;
  height:52px;
  margin-bottom:18px;
  border:1px solid rgba(230, 193, 108, .18);
  border-radius:18px;
  color:var(--gold2);
  background:rgba(230, 193, 108, .08);
  font-size:24px;
  display:grid;
  place-items:center;
}

.feature h3, .step h3, .plan h3 {
  letter-spacing:-.03em;
}

.feature h3 {
  margin-bottom:10px;
  font-size:18px;
}

.feature p {
  margin-bottom:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
}

.seo-text {
  margin-bottom:66px;
  padding:30px;
  background:radial-gradient(circle at 10% 0%, rgba(230, 193, 108, .1), transparent 36%), rgba(255, 255, 255, .05);
}

.seo-text h2 {
  max-width:760px;
  margin-bottom:16px;
  font-size:clamp(28px, 4vw, 46px);
}

.seo-text p {
  max-width:920px;
  margin:12px 0 0;
  color:var(--muted);
  font-size:16px;
  line-height:1.65;
}

.plan {
  position:relative;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  padding:26px;
  border-radius:32px;
}

.plan:before {
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:4px;
  background:linear-gradient(90deg, transparent, rgba(230, 193, 108, .8), transparent);
  opacity:.7;
}

.plan.featured {
  border-color:rgba(230, 193, 108, .35);
  background:radial-gradient(circle at top right, rgba(230, 193, 108, .14), transparent 34%), rgba(255, 255, 255, .08);
  transform:translateY(-8px);
}

.badge {
  width:fit-content;
  display:inline-flex;
  margin-bottom:18px;
  padding:8px 11px;
  border-radius:999px;
  color:#1a1229;
  background:linear-gradient(135deg, var(--gold2), var(--gold));
  font-size:12px;
  font-weight:900;
}

.plan h3 {
  margin-bottom:8px;
  font-size:26px;
  letter-spacing:-.055em;
}

.plan-desc {
  margin-bottom:18px;
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
}

.price {
  display:flex;
  align-items:end;
  gap:7px;
  margin:18px 0;
}

.price-original {
  display:block;
  font-size:15px;
  color:var(--muted);
  text-decoration:line-through;
  opacity:.7;
  margin-bottom:2px;
}

.price b {
  font-size:42px;
  line-height:1;
  letter-spacing:-.06em;
}

.price span {
  padding-bottom:6px;
  color:var(--muted);
  font-size:14px;
}

.plan ul {
  display:grid;
  gap:11px;
  margin:20px 0 24px;
  padding:0;
  list-style:none;
  color:#eadff5;
  font-size:14px;
}

.plan li {
  display:flex;
  gap:10px;
  line-height:1.35;
}

.plan li:before {
  content:"✦";
  color:var(--gold);
  flex:0 0 auto;
}

.plan .btn {
  width:100%;
  margin-top:auto;
}

.plan-empty {
  grid-column:1 / -1;
  max-width:520px;
}

.ritual-grid, .faq {
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:18px;
  margin-bottom:66px;
}

.panel {
  padding:30px;
  background:radial-gradient(circle at 20% 20%, rgba(139, 92, 246, .16), transparent 36%), rgba(255, 255, 255, .06);
}

.panel h2 {
  margin-bottom:16px;
  font-size:clamp(30px, 4vw, 48px);
  line-height:1;
}

.panel p {
  margin-bottom:0;
  color:var(--muted);
  line-height:1.6;
}

.steps, .faq-list {
  display:grid;
  gap:12px;
}

.step {
  display:grid;
  grid-template-columns:54px 1fr;
  gap:16px;
  align-items:start;
  padding:20px;
  border:1px solid rgba(255, 255, 255, .09);
  border-radius:26px;
  background:var(--card);
}

.step-num {
  width:54px;
  height:54px;
  border-radius:18px;
  font-weight:1000;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, var(--gold2), var(--gold));
  color:#1d122c;
}

.step h3 {
  margin-bottom:7px;
  font-size:18px;
}

.step p {
  margin-bottom:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
}

.review {
  position:relative;
  overflow:hidden;
  padding:24px;
  border-radius:28px;
}

.review:before {
  content:"✦";
  position:absolute;
  top:16px;
  right:18px;
  color:rgba(230, 193, 108, .14);
  font-size:30px;
}

.review p {
  margin-bottom:18px;
  color:#eadff5;
  font-size:14px;
  line-height:1.55;
}

.review b {
  color:var(--gold2);
  font-size:14px;
}

details {
  overflow:hidden;
  padding:18px 20px;
  border-radius:23px;
  transition:.25s;
}

details[open] {
  border-color:rgba(230, 193, 108, .24);
  background:rgba(255, 255, 255, .075);
  box-shadow:0 18px 44px rgba(0, 0, 0, .16), 0 0 26px rgba(230, 193, 108, .07);
}

summary {
  position:relative;
  cursor:pointer;
  list-style:none;
  padding-right:34px;
  font-weight:900;
  letter-spacing:-.02em;
}

summary::-webkit-details-marker {
  display:none;
}

summary:after {
  content:"✦";
  position:absolute;
  right:0;
  top:50%;
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  transform:translateY(-50%);
  border-radius:50%;
  color:var(--gold2);
  background:rgba(230, 193, 108, .09);
  font-size:12px;
}

details p {
  margin:12px 0 0;
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
}

.final-cta {
  position:relative;
  overflow:hidden;
  margin-bottom:18px;
  padding:clamp(30px, 5vw, 54px);
  border-color:rgba(230, 193, 108, .26);
  border-radius:38px;
  text-align:center;
  background:radial-gradient(circle at 50% 0%, rgba(230, 193, 108, .22), transparent 34%), radial-gradient(circle at 50% 50%, rgba(139, 92, 246, .12), transparent 50%), linear-gradient(135deg, rgba(192, 132, 252, .14), rgba(255, 255, 255, .06));
  box-shadow:var(--shadow);
}

.final-cta h2 {
  max-width:760px;
  margin:0 auto 16px;
  font-size:clamp(34px, 5vw, 62px);
}

.final-cta p {
  max-width:620px;
  margin:0 auto 26px;
  color:var(--muted);
  font-size:16px;
  line-height:1.56;
}

.disclaimer {
  margin-top:18px;
  padding:18px 20px;
  border:1px solid rgba(255, 255, 255, .08);
  border-radius:24px;
  color:rgba(255, 247, 235, .62);
  background:rgba(255, 255, 255, .045);
  font-size:12px;
  line-height:1.55;
  text-align:center;
}

.footer {
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:28px 0 0;
  color:rgba(255, 247, 235, .5);
  font-size:13px;
}

.footer-links {
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:14px;
}

.footer-links a {
  color:rgba(255, 247, 235, .58);
}

.footer-links a:hover {
  color:var(--gold2);
}

.legal-page {
  max-width:920px;
}

.cabinet-page,
.news-page {
  max-width:var(--container);
}

.legal-card {
  padding:28px;
  border-radius:26px;
  color:rgba(255, 247, 235, .72);
  font-size:14px;
  line-height:1.65;
}

.legal-card h1 {
  font-size:clamp(36px, 6vw, 64px);
  line-height:1;
  margin-bottom:18px;
}

.legal-card h2 {
  margin:26px 0 10px;
  color:var(--gold2);
  font-size:20px;
}

.legal-card p, .legal-card ul {
  margin:0 0 12px;
}

.legal-card ul {
  padding-left:20px;
}

.back-link {
  display:inline-flex;
  margin-bottom:20px;
  color:var(--gold2);
}

@media(max-width:980px) {
  .hero, .ritual-grid, .faq {
    grid-template-columns:1fr;
  }

  .features, .plans, .reviews {
    grid-template-columns:1fr 1fr;
  }

  .magic-strip {
    grid-template-columns:repeat(2, 1fr);
  }

  .plan.featured {
    transform:none;
  }

  .visual-wrap {
    min-height:620px;
  }

  .nav {
    display:none;
  }

}

@media(max-width:768px) {
  .page {
    width:min(100% - 24px, 560px);
    padding:18px 0 34px;
  }

  .topbar {
    margin-bottom:30px;
  }

  .brand {
    font-size:18px;
  }

  .brand-mark {
    width:42px;
    height:42px;
    border-radius:15px;
    font-size:20px;
  }

  .hero {
    gap:24px;
    margin-bottom:42px;
  }

  .eyebrow {
    max-width:100%;
    padding:8px 11px;
    font-size:12px;
    line-height:1.25;
  }

  h1 {
    margin-bottom:18px;
    font-size:clamp(38px, 13vw, 58px);
    line-height:.96;
    letter-spacing:-.065em;
  }

  .lead {
    margin-bottom:22px;
    font-size:16px;
    line-height:1.55;
  }

  .actions {
    gap:10px;
    margin-bottom:22px;
  }

  .btn {
    width:100%;
    min-height:52px;
  }

  .trust-row, .features, .plans, .reviews, .magic-strip {
    grid-template-columns:1fr;
  }

  .visual-wrap {
    min-height:470px;
    overflow:hidden;
    border-radius:34px;
  }

  .hero-stage {
    width:min(100%, 390px);
    height:500px;
    transform:scale(.9);
    transform-origin:center top;
  }

  .moon-glow {
    top:0;
    right:14px;
    width:128px;
    height:128px;
  }

  .sigil {
    inset:34px 28px 112px;
    opacity:.58;
  }

  .sigil-core {
    width:130px;
    height:130px;
    font-size:42px;
  }

  .crystal {
    top:104px;
    width:118px;
    height:118px;
  }

  .crystal-base {
    top:208px;
    width:92px;
    height:34px;
  }

  .table {
    left:10px;
    right:10px;
    height:168px;
    border-radius:28px;
  }

  .candle {
    bottom:202px;
    width:24px;
    height:72px;
  }

  .candle.left {
    left:18px;
  }

  .candle.right {
    right:18px;
  }

  .card {
    width:90px;
    height:140px;
  }

  .card.left {
    left:44px;
    bottom:24px;
  }

  .card.center {
    left:50%;
    bottom:24px;
  }

  .card.right {
    right:44px;
    bottom:24px;
  }

  .magic-strip, .features, .plans, .reviews, .ritual-grid, .faq, .seo-text {
    margin-bottom:44px;
  }

  .section-head {
    display:block;
  }

  .section-head p {
    margin-top:14px;
  }

  .footer {
    flex-direction:column;
    text-align:center;
  }

  .footer-links {
    justify-content:center;
  }

}

@media(max-width:420px) {
  .page {
    width:calc(100% - 20px);
  }

  h1 {
    font-size:clamp(34px, 12.5vw, 46px);
  }

  .visual-wrap {
    min-height:420px;
  }

  .hero-stage {
    width:350px;
    height:430px;
    transform:scale(.82);
  }

  .moon-glow {
    width:110px;
    height:110px;
  }

  .card {
    width:78px;
    height:124px;
  }

  .card.left {
    left:36px;
  }

  .card.right {
    right:36px;
  }

  .crystal {
    top:96px;
  }

  .crystal-base {
    top:200px;
  }

  .price {
    display:block;
  }

  .price span {
    display:block;
    margin-top:4px;
    padding-bottom:0;
  }

}

.ambient-magic {
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  overflow:hidden;
}

.magic-particle, .rune-float, .smoke-wisp, .orb-glow {
  position:absolute;
  will-change:transform, opacity;
}

.magic-particle {
  width:5px;
  height:5px;
  border-radius:50%;
  background:rgba(249, 225, 158, .9);
  box-shadow:0 0 18px rgba(249, 225, 158, .75);
  opacity:0;
  animation:particleRise 12s linear infinite;
}

.magic-particle:nth-child(1) {
  left:8%;
  bottom:-30px;
  animation-delay:0s;
}

.magic-particle:nth-child(2) {
  left:23%;
  bottom:-40px;
  animation-delay:-2s;
  transform:scale(.75);
}

.magic-particle:nth-child(3) {
  left:39%;
  bottom:-35px;
  animation-delay:-4s;
  transform:scale(1.1);
}

.magic-particle:nth-child(4) {
  left:58%;
  bottom:-45px;
  animation-delay:-6s;
  transform:scale(.85);
}

.magic-particle:nth-child(5) {
  left:74%;
  bottom:-30px;
  animation-delay:-8s;
  transform:scale(1.25);
}

.magic-particle:nth-child(6) {
  left:91%;
  bottom:-50px;
  animation-delay:-10s;
  transform:scale(.7);
}

.rune-float {
  color:rgba(249, 225, 158, .22);
  font-size:clamp(36px, 5vw, 74px);
  text-shadow:0 0 22px rgba(249, 225, 158, .16);
  animation:runeDrift 18s ease-in-out infinite;
}

.rune-float:nth-child(7) {
  left:5%;
  top:18%;
  animation-delay:-1s;
}

.rune-float:nth-child(8) {
  right:8%;
  top:31%;
  animation-delay:-5s;
}

.rune-float:nth-child(9) {
  left:12%;
  bottom:15%;
  animation-delay:-9s;
}

.rune-float:nth-child(10) {
  right:14%;
  bottom:19%;
  animation-delay:-13s;
}

.smoke-wisp {
  width:260px;
  height:260px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255, 255, 255, .055), rgba(192, 132, 252, .03) 35%, transparent 68%);
  filter:blur(18px);
  opacity:0;
  animation:smokeWisp 17s ease-in-out infinite;
}

.smoke-wisp:nth-child(11) {
  left:8%;
  bottom:8%;
  animation-delay:0s;
}

.smoke-wisp:nth-child(12) {
  left:44%;
  bottom:0;
  animation-delay:-6s;
}

.smoke-wisp:nth-child(13) {
  right:5%;
  bottom:12%;
  animation-delay:-11s;
}

.orb-glow {
  width:320px;
  height:320px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(192, 132, 252, .09), rgba(230, 193, 108, .035) 38%, transparent 70%);
  filter:blur(22px);
  opacity:.45;
  animation:orbFloat 14s ease-in-out infinite alternate;
}

.orb-glow:nth-child(14) {
  left:58%;
  top:10%;
}

.orb-glow:nth-child(15) {
  left:2%;
  bottom:18%;
  animation-delay:-7s;
}

.brand-mark {
  animation:brandPulse 5s ease-in-out infinite;
}

.moon-glow {
  animation:moonFloat 7s ease-in-out infinite, moonPulse 4.5s ease-in-out infinite alternate;
}

.sigil {
  animation:sigilRotate 45s linear infinite;
}

.sigil-core {
  animation:corePulse 4.2s ease-in-out infinite;
}

.crystal {
  animation:crystalPulse 4s ease-in-out infinite, crystalFloat 8s ease-in-out infinite;
}

.candle:before {
  animation:flameFlicker 1s ease-in-out infinite alternate;
}

.card {
  animation:cardLevitate 6.2s ease-in-out infinite;
}

.card.center {
  animation-delay:-1.8s;
}

.card.right {
  animation-delay:-3.3s;
}

.trust-item {
  animation:softFloat 7.5s ease-in-out infinite;
}

.trust-item:nth-child(2) {
  animation-delay:-1.7s;
}

.trust-item:nth-child(3) {
  animation-delay:-3.4s;
}

.magic-chip {
  animation:chipFloat 7s ease-in-out infinite;
}

.magic-chip:nth-child(2) {
  animation-delay:-1.1s;
}

.magic-chip:nth-child(3) {
  animation-delay:-2.2s;
}

.magic-chip:nth-child(4) {
  animation-delay:-3.3s;
}

.magic-chip:nth-child(5) {
  animation-delay:-4.4s;
}

.feature, .plan, .review, .legal-card {
  animation:cardBreath 9s ease-in-out infinite;
}

.feature:nth-child(2), .plan:nth-child(2), .review:nth-child(2) {
  animation-delay:-1.5s;
}

.feature:nth-child(3), .plan:nth-child(3), .review:nth-child(3) {
  animation-delay:-3s;
}

.feature:nth-child(4) {
  animation-delay:-4.5s;
}

.btn-primary {
  animation:goldPulse 4.2s ease-in-out infinite;
}

.btn {
  position:relative;
  overflow:hidden;
}

.btn:after {
  content:"";
  position:absolute;
  inset:0;
  transform:translateX(-130%);
  background:linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent);
  animation:buttonShimmer 5.8s ease-in-out infinite;
  pointer-events:none;
}

.final-cta {
  animation:finalGlow 6s ease-in-out infinite alternate;
}

details[open] {
  animation:faqOpen .34s ease both;
}

@keyframes particleRise {
  0% {
    opacity:0;
    transform:translate3d(0, 40px, 0) scale(.6);
  }

  12% {
    opacity:1;
  }

  100% {
    opacity:0;
    transform:translate3d(36px, -105vh, 0) scale(1.35);
  }

}

@keyframes runeDrift {
  0%, 100% {
    transform:translate3d(0, 0, 0) rotate(0deg);
    opacity:.24;
  }

  50% {
    transform:translate3d(20px, -32px, 0) rotate(11deg);
    opacity:.54;
  }

}

@keyframes smokeWisp {
  0% {
    opacity:0;
    transform:translate3d(0, 40px, 0) scale(.7);
  }

  25% {
    opacity:.35;
  }

  100% {
    opacity:0;
    transform:translate3d(36px, -220px, 0) scale(1.3);
  }

}

@keyframes orbFloat {
  0% {
    transform:translate3d(0, 0, 0) scale(.96);
    opacity:.28;
  }

  100% {
    transform:translate3d(24px, -30px, 0) scale(1.08);
    opacity:.55;
  }

}

@keyframes buttonShimmer {
  0%, 64% {
    transform:translateX(-130%);
  }

  86%, 100% {
    transform:translateX(130%);
  }

}

@keyframes brandPulse {
  50% {
    box-shadow:0 18px 48px rgba(230, 193, 108, .34), 0 0 18px rgba(249, 225, 158, .24);
  }

}

@keyframes goldPulse {
  50% {
    box-shadow:0 22px 58px rgba(230, 193, 108, .34), 0 0 20px rgba(249, 225, 158, .18);
  }

}

@keyframes softFloat {
  50% {
    transform:translateY(-6px);
  }

}

@keyframes moonFloat {
  50% {
    transform:translate3d(-10px, -14px, 0);
  }

}

@keyframes moonPulse {
  100% {
    box-shadow:0 0 96px rgba(230, 193, 108, .32), 0 0 34px rgba(249, 225, 158, .13);
  }

}

@keyframes sigilRotate {
  to {
    transform:rotate(360deg);
  }

}

@keyframes corePulse {
  50% {
    transform:scale(1.08);
    opacity:1;
  }

}

@keyframes cardLevitate {
  0%, 100% {
    transform:translateX(var(--card-x, 0)) translateY(0) rotate(var(--card-rotate, 0deg));
  }

  50% {
    transform:translateX(var(--card-x, 0)) translateY(-10px) rotate(var(--card-rotate, 0deg));
  }

}

@keyframes flameFlicker {
  0% {
    transform:translateX(-50%) scale(.86, 1.08) rotate(-3deg);
    opacity:.85;
  }

  100% {
    transform:translateX(-54%) scale(.94, 1.18) rotate(-7deg);
    opacity:.96;
  }

}

@keyframes crystalPulse {
  50% {
    box-shadow:inset 0 0 70px rgba(255, 255, 255, .09), 0 0 82px rgba(139, 92, 246, .42), 0 0 38px rgba(230, 193, 108, .12);
  }

}

@keyframes crystalFloat {
  50% {
    transform:translateX(-50%) translateY(-8px);
  }

}

@keyframes chipFloat {
  50% {
    transform:translateY(-5px);
    box-shadow:0 14px 34px rgba(230, 193, 108, .07);
  }

}

@keyframes cardBreath {
  50% {
    transform:translateY(-5px);
    box-shadow:0 18px 42px rgba(0, 0, 0, .16), 0 0 20px rgba(230, 193, 108, .06);
  }

}

@keyframes faqOpen {
  from {
    transform:translateY(-2px);
    opacity:.88;
  }

  to {
    transform:translateY(0);
    opacity:1;
  }

}

@keyframes finalGlow {
  to {
    box-shadow:var(--shadow), 0 0 52px rgba(230, 193, 108, .16), 0 0 76px rgba(139, 92, 246, .09);
  }

}

@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after {
    animation-duration:.001ms!important;
    animation-iteration-count:1!important;
    scroll-behavior:auto!important;
  }

}

section:not(.hero), .seo-text, .final-cta, .legal-card, .panel, .feature, .plan, .review, .trust-item, .magic-chip {
  content-visibility:auto;
  contain-intrinsic-size:1px 420px;
}

.card, .moon-glow, .sigil, .crystal, .magic-particle, .rune-float, .smoke-wisp, .orb-glow {
  will-change:transform, opacity;
}

img, svg, video {
  max-width:100%;
  height:auto;
}

@media(max-width:768px) {
  .trust-item, .magic-chip, .feature, .plan, .review, .btn-primary, .final-cta {
    animation:none;
  }

  .smoke-wisp:nth-child(12), .smoke-wisp:nth-child(13), .orb-glow {
    display:none;
  }

  .rune-float {
    opacity:.18;
  }

  .magic-particle:nth-child(5), .magic-particle:nth-child(6) {
    display:none;
  }

}

body {
  text-wrap:pretty;
}

h1, h2, h3, p, li, summary, .lead, .plan-desc, .trust-item span, .feature p, .review p, .panel p, .seo-text p, .legal-card p, .legal-card li {
  overflow-wrap:break-word;
}

.hero>div:first-child {
  min-width:0;
}

.hero .lead, .hero h1 {
  text-align:left;
}

.section-head {
  align-items:flex-start;
}

.section-head>div {
  min-width:0;
}

.section-head h2 {
  text-wrap:balance;
}

.section-head p {
  text-align:left;
}

.trust-row, .features, .plans, .reviews {
  align-items:stretch;
}

.trust-item, .feature, .plan, .review, .panel, .seo-text, .legal-card {
  height:100%;
}

.trust-item {
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

.feature {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  text-align:left;
}

.feature-icon {
  flex:0 0 auto;
}

.feature h3 {
  min-height:44px;
  display:flex;
  align-items:flex-start;
}

.feature p {
  margin-top:auto;
}

.plan {
  min-height:100%;
  height:100%;
}

.plans {
  align-items:stretch;
}

.plan h3 {
  text-wrap:balance;
}

.plan-desc {
  min-height:44px;
}

.plan ul {
  flex:1;
  align-content:start;
}

.price {
  min-height:50px;
}

.review {
  display:flex;
  flex-direction:column;
}

.review p {
  flex:1;
}

.ritual-grid {
  align-items:stretch;
}

.steps {
  align-content:start;
}

.step {
  height:100%;
}

.step h3 {
  text-wrap:balance;
}

.faq {
  align-items:start;
}

.faq-list details {
  width:100%;
}

.final-cta h2 {
  text-wrap:balance;
}

.footer {
  align-items:center;
}

.footer>span:first-child {
  text-align:left;
}

.footer-links {
  text-align:right;
}

.legal-page .topbar {
  align-items:center;
}

.legal-card h1, .legal-card h2 {
  text-wrap:balance;
}

.legal-card {
  text-align:left;
}

@media(max-width:980px) {
  .section-head {
    gap:14px;
  }

  .features, .plans, .reviews {
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .plans {
    align-items:stretch;
  }

}

@media(max-width:768px) {
  body {
    text-align:left;
  }

  .page {
    width:min(100% - 24px, 560px);
  }

  .topbar {
    align-items:flex-start;
  }

  .hero {
    display:grid;
    grid-template-columns:1fr;
  }

  .hero .lead, .hero h1, .section-head h2, .section-head p {
    text-align:left;
  }

  .trust-row, .features, .plans, .reviews, .magic-strip {
    grid-template-columns:1fr;
  }

  .feature, .plan, .review, .panel, .seo-text, .trust-item {
    text-align:left;
  }

  .feature {
    align-items:flex-start;
  }

  .feature h3 {
    min-height:auto;
  }

  .plan-desc {
    min-height:auto;
  }

  .price {
    min-height:auto;
  }

  .ritual-grid, .faq {
    grid-template-columns:1fr;
  }

  .step {
    grid-template-columns:46px minmax(0, 1fr);
  }

  .footer {
    align-items:center;
    text-align:center;
  }

  .footer>span:first-child, .footer-links {
    text-align:center;
    justify-content:center;
  }

  .legal-page .topbar {
    align-items:flex-start;
  }

}

@media(max-width:420px) {
  .page {
    width:calc(100% - 20px);
  }

  .topbar {
    gap:14px;
  }

  .brand {
    line-height:1.12;
  }

  .section-head h2 {
    letter-spacing:-.045em;
  }

  .final-cta h2 {
    letter-spacing:-.045em;
  }

}

/* Responsive layout polish */

.card.center {
  --card-x:-50%;
}

.card.center {
  transform:translateX(var(--card-x));
}

.visual-wrap {
  isolation:isolate;
  border-radius:40px;
  padding:clamp(18px, 2.2vw, 30px);
}

:root {
  --motion-soft:cubic-bezier(.22, 1, .36, 1);
  --motion-float:cubic-bezier(.45, 0, .2, 1);
  --motion-slow:8s;
}

.ambient-magic *,
.brand-mark,
.moon-glow,
.sigil,
.sigil-core,
.crystal,
.candle::before,
.card,
.trust-item,
.magic-chip,
.feature,
.plan,
.review,
.btn-primary,
.btn::after,
.final-cta {
  animation-timing-function:var(--motion-float);
}

.visual-wrap::before {
  content:"";
  position:absolute;
  inset:18px;
  z-index:0;
  border-radius:40px;
  background:
    radial-gradient(circle at 78% 10%, rgba(249, 225, 158, .24), transparent 22%),
    radial-gradient(circle at 48% 42%, rgba(139, 92, 246, .22), transparent 34%),
    radial-gradient(circle at 28% 78%, rgba(26, 12, 48, .72), transparent 46%),
    linear-gradient(150deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .035) 48%, rgba(230, 193, 108, .055));
  filter:blur(12px);
  opacity:.94;
  box-shadow:0 28px 86px rgba(0, 0, 0, .16);
  -webkit-mask-image:radial-gradient(ellipse at center, #000 58%, rgba(0, 0, 0, .72) 74%, transparent 100%);
  mask-image:radial-gradient(ellipse at center, #000 58%, rgba(0, 0, 0, .72) 74%, transparent 100%);
}

.visual-wrap::after {
  content:"";
  position:absolute;
  inset:18px;
  z-index:0;
  border-radius:34px;
  background:
    linear-gradient(110deg, transparent 0 34%, rgba(249, 225, 158, .08) 48%, transparent 62%),
    radial-gradient(circle at 50% 54%, rgba(255, 247, 235, .08), transparent 34%);
  filter:blur(.2px);
  opacity:.8;
  pointer-events:none;
}

.hero-stage {
  z-index:1;
}

.hero {
  grid-template-columns:minmax(0, 1.2fr) minmax(390px, .8fr);
}

.hero h1,
h1 {
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
}

.table {
  z-index:1;
  overflow:visible;
  border-color:rgba(255, 255, 255, .1);
  background:
    radial-gradient(circle at 50% 0%, rgba(230, 193, 108, .1), transparent 42%),
    linear-gradient(180deg, rgba(21, 8, 39, .9), rgba(7, 2, 17, .96));
  box-shadow:0 24px 54px rgba(0, 0, 0, .34), 0 0 42px rgba(139, 92, 246, .08);
}

.table::before {
  z-index:0;
  pointer-events:none;
}

.card {
  z-index:3;
  backdrop-filter:blur(8px);
}

.card.left {
  left:50px;
}

.card.center {
  left:50%;
  z-index:4;
}

.card.right {
  right:50px;
}

.moon-glow {
  z-index:2;
}

.crystal,
.crystal-base,
.candle {
  z-index:3;
}

.sigil {
  z-index:1;
}

.trust-item,
.feature,
.plan,
.review,
.panel,
.seo-text,
details,
.final-cta,
.magic-chip,
.legal-card {
  backdrop-filter:blur(10px);
}

.btn {
  transition:transform .32s var(--motion-soft), color .32s var(--motion-soft), background .32s var(--motion-soft), border-color .32s var(--motion-soft), box-shadow .32s var(--motion-soft), opacity .32s var(--motion-soft);
}

.btn-secondary:hover,
.btn-secondary:active {
  color:#1a1028;
  border-color:rgba(230, 193, 108, .72);
  background:linear-gradient(135deg, rgba(249, 225, 158, .96), rgba(230, 193, 108, .9));
  box-shadow:0 18px 42px rgba(230, 193, 108, .18);
}

.btn-primary:hover,
.btn-primary:active {
  color:#11091d;
  background:linear-gradient(135deg, #fff2ba, #e8bd58 56%, #d9a6ff);
  box-shadow:0 22px 56px rgba(230, 193, 108, .32), 0 0 22px rgba(217, 166, 255, .16);
}

.trust-item,
.feature,
.plan,
.review,
.magic-chip,
.final-cta,
details {
  transition:transform .36s var(--motion-soft), border-color .36s var(--motion-soft), background .36s var(--motion-soft), box-shadow .36s var(--motion-soft);
}

.trust-item:hover,
.feature:hover,
.plan:hover,
.review:hover,
.magic-chip:hover {
  transform:translateY(-4px);
  border-color:rgba(230, 193, 108, .22);
  box-shadow:0 20px 50px rgba(0, 0, 0, .18), 0 0 22px rgba(230, 193, 108, .06);
}

.card {
  transition:filter .42s var(--motion-soft), box-shadow .42s var(--motion-soft);
}

.hero-stage:hover .card {
  filter:brightness(1.08);
}

.hero-stage:hover .crystal {
  filter:saturate(1.08) brightness(1.05);
}

.hero-stage:hover .moon-glow {
  filter:saturate(1.04) brightness(1.04);
}

.magic-particle {
  animation-duration:16s;
}

.rune-float {
  animation-duration:24s;
}

.smoke-wisp {
  animation-duration:23s;
}

.orb-glow {
  animation-duration:20s;
}

.brand-mark {
  animation-duration:7s;
}

.moon-glow {
  animation-duration:10s, 7s;
}

.sigil {
  animation-duration:70s;
}

.sigil-core {
  animation-duration:6s;
}

.crystal {
  animation-duration:7s, 12s;
}

.card {
  animation-duration:9s;
}

.trust-item {
  animation-duration:11s;
}

.magic-chip {
  animation-duration:10s;
}

.feature,
.plan,
.review,
.legal-card {
  animation-duration:12s;
}

.btn-primary {
  animation-duration:6s;
}

.btn::after {
  animation-duration:8s;
}

.final-cta {
  animation-duration:9s;
}

.page,
.hero,
.section-head,
.trust-row,
.features,
.plans,
.reviews,
.ritual-grid,
.faq,
.step,
.footer {
  min-width:0;
}

.brand span:last-child,
.btn,
.magic-chip,
.badge,
summary {
  min-width:0;
}

@media(max-width:1120px) {
  .page {
    width:min(100% - 28px, 960px);
  }

  .hero {
    grid-template-columns:minmax(0, 1fr) minmax(360px, .86fr);
    gap:28px;
  }

  .hero-stage {
    width:min(460px, 100%);
  }

  .trust-row {
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }

  .features {
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media(max-width:900px) {
  .page {
    width:min(100% - 24px, 680px);
  }

  .topbar {
    margin-bottom:34px;
  }

  .hero {
    grid-template-columns:1fr;
    overflow:visible;
    border-radius:0;
    gap:26px;
  }

  .hero>div:first-child {
    max-width:680px;
    position:relative;
    z-index:2;
  }

  .visual-wrap {
    position:relative;
    inset:auto;
    z-index:1;
    min-height:540px;
    overflow:visible;
    opacity:1;
    pointer-events:auto;
    margin-top:8px;
    padding:18px;
  }

  .visual-wrap::before {
    inset:0;
    border-radius:32px;
  }

  .visual-wrap::after {
    inset:16px;
    border-radius:28px;
  }

  .hero-stage {
    width:min(390px, 100%);
    height:500px;
  }

  .trust-row,
  .features,
  .plans,
  .reviews,
  .magic-strip {
    grid-template-columns:1fr;
  }

  .section-head {
    display:block;
  }

  .section-head p {
    max-width:100%;
    margin-top:14px;
  }
}

@media(max-width:640px) {
  .page {
    width:min(100% - 20px, 520px);
    padding-top:16px;
  }

  .topbar {
    align-items:center;
    margin-bottom:26px;
  }

  .brand {
    max-width:100%;
    gap:10px;
    font-size:17px;
    letter-spacing:-.02em;
  }

  .brand-mark {
    flex:0 0 40px;
    width:40px;
    height:40px;
    border-radius:14px;
  }

  .eyebrow {
    width:100%;
    align-items:flex-start;
    border-radius:18px;
    white-space:normal;
  }

  h1 {
    font-size:clamp(34px, 11.5vw, 50px);
    line-height:1;
    letter-spacing:-.035em;
  }

  .section-head h2,
  .panel h2,
  .seo-text h2,
  .final-cta h2,
  .legal-card h1 {
    font-size:clamp(27px, 8.4vw, 38px);
    line-height:1.06;
    letter-spacing:-.03em;
  }

  .lead {
    font-size:16px;
  }

  .actions {
    display:grid;
    grid-template-columns:1fr;
  }

  .btn {
    width:100%;
    min-height:50px;
    padding:0 16px;
    border-radius:16px;
    text-align:center;
  }

  .trust-item,
  .feature,
  .plan,
  .review,
  .panel,
  .seo-text,
  .legal-card,
  details {
    border-radius:20px;
  }

  .feature,
  .review,
  .panel,
  .seo-text,
  .legal-card {
    padding:20px;
  }

  .plan {
    padding:22px;
  }

  .feature p,
  .plan-desc {
    margin-top:0;
  }

  .price {
    display:block;
    min-height:auto;
  }

  .price b {
    display:block;
    font-size:36px;
  }

  .price span {
    display:block;
    margin-top:4px;
    padding-bottom:0;
  }

  .step {
    grid-template-columns:42px minmax(0, 1fr);
    gap:12px;
    padding:16px;
    border-radius:20px;
  }

  .step-num {
    width:42px;
    height:42px;
    border-radius:14px;
  }

  .visual-wrap {
    position:relative;
    inset:auto;
    min-height:400px;
    border-radius:24px;
    padding:clamp(16px, 4.6vw, 22px);
    overflow:visible;
    opacity:1;
  }

  .visual-wrap::before {
    inset:10px;
    border-radius:24px;
    filter:blur(9px);
  }

  .visual-wrap::after {
    inset:12px;
    border-radius:20px;
  }

  .hero-stage {
    width:min(280px, 100%);
    height:386px;
    transform:none;
    margin-left:auto;
    margin-right:auto;
    margin-top:-8px;
  }

  .moon-glow {
    top:34px;
    right:28px;
    width:92px;
    height:92px;
  }

  .sigil {
    inset:24px 16px 100px;
  }

  .sigil-core {
    width:116px;
    height:116px;
    font-size:36px;
  }

  .crystal {
    top:90px;
    width:108px;
    height:108px;
  }

  .crystal-base {
    top:186px;
    width:86px;
  }

  .table {
    left:8px;
    right:8px;
    bottom:8px;
    height:150px;
    border-radius:24px;
  }

  .candle {
    bottom:184px;
    width:22px;
    height:66px;
  }

  .candle.left {
    left:18px;
  }

  .candle.right {
    right:18px;
  }

  .card {
    width:82px;
    height:128px;
    padding:8px;
    border-radius:18px;
  }

  .card-inner {
    border-radius:13px;
    font-size:28px;
  }

  .card.left {
    left:28px;
    bottom:26px;
  }

  .card.center {
    left:50%;
    bottom:30px;
  }

  .card.right {
    right:28px;
    bottom:26px;
  }

  .final-cta {
    border-radius:24px;
    padding:28px 20px;
  }

  .disclaimer {
    border-radius:18px;
    text-align:left;
  }

  .footer {
    gap:14px;
  }
}

@media(max-width:380px) {
  .page {
    width:calc(100% - 16px);
  }

  h1 {
    font-size:clamp(31px, 10.8vw, 40px);
  }

  .section-head h2,
  .panel h2,
  .seo-text h2,
  .final-cta h2,
  .legal-card h1 {
    font-size:clamp(25px, 8vw, 34px);
  }

  .hero-stage {
    width:min(260px, 100%);
  }

  .card {
    width:74px;
    height:116px;
  }

  .card.left {
    left:18px;
  }

  .card.right {
    right:18px;
  }

  .magic-chip {
    min-height:58px;
    padding:12px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .btn,
  .trust-item,
  .feature,
  .plan,
  .review,
  .magic-chip,
  .final-cta,
  details,
  .card {
    transition:none!important;
  }
}

/* Full design optimization */

:root {
  --rose:#f4b6c8;
  --aqua:#8ee6d6;
  --ink:#100719;
}

.topbar {
  position:relative;
  top:auto;
  z-index:20;
  padding:10px 12px;
  border:1px solid rgba(255, 255, 255, .08);
  border-radius:28px;
  background:rgba(10, 5, 18, .64);
  backdrop-filter:blur(18px);
  box-shadow:0 18px 48px rgba(0, 0, 0, .16);
}

.brand {
  letter-spacing:-.025em;
}

.nav {
  background:rgba(255, 255, 255, .055);
}

.nav a {
  transition:background .28s var(--motion-soft), color .28s var(--motion-soft), transform .28s var(--motion-soft);
}

.nav a:hover {
  transform:translateY(-1px);
}

.hero {
  position:relative;
}

section[id] {
  scroll-margin-top:28px;
}

.hero::after {
  content:"";
  position:absolute;
  left:-6%;
  top:16%;
  width:34%;
  height:54%;
  z-index:-1;
  border-radius:50%;
  background:radial-gradient(circle, rgba(142, 230, 214, .09), transparent 68%);
  filter:blur(18px);
  pointer-events:none;
}

.lead {
  color:rgba(232, 220, 242, .86);
}

.trust-row {
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.trust-item,
.feature,
.plan,
.review,
.panel,
.seo-text,
details,
.magic-chip,
.legal-card,
.intent-card,
.experience-section,
.telegram-preview,
.safety-section,
.safety-grid article {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .035)),
    radial-gradient(circle at 18% 0%, rgba(249, 225, 158, .07), transparent 38%);
  border-color:rgba(255, 255, 255, .13);
}

.magic-strip {
  align-items:stretch;
}

.magic-chip {
  position:relative;
  min-height:76px;
  overflow:hidden;
}

.magic-chip,
.magic-chip::before,
.feature,
.review {
  animation:none!important;
  transition:none!important;
}

.magic-chip:hover,
.feature:hover,
.review:hover {
  transform:none!important;
  border-color:var(--line);
  box-shadow:0 18px 50px rgba(0, 0, 0, .12);
}

.magic-chip:hover::before {
  transform:none!important;
}

.magic-chip::before,
.intent-card::before,
.telegram-preview::before,
.safety-section::before {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(110deg, transparent, rgba(255, 255, 255, .12), transparent);
  transform:translateX(-120%);
  transition:transform .7s var(--motion-soft);
  pointer-events:none;
}

.magic-chip:hover::before,
.intent-card:hover::before,
.telegram-preview:hover::before,
.safety-section:hover::before {
  transform:translateX(120%);
}

.section-head {
  margin-bottom:28px;
}

.section-kicker {
  color:#f4ce78;
}

.intent-section,
.experience-section,
.safety-section {
  margin-bottom:66px;
  content-visibility:visible;
  contain-intrinsic-size:auto;
}

.intent-grid {
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
}

.intent-card {
  position:relative;
  min-height:210px;
  overflow:hidden;
  padding:24px;
  border:1px solid var(--line);
  border-radius:28px;
  box-shadow:0 18px 48px rgba(0, 0, 0, .14);
  transition:transform .36s var(--motion-soft), border-color .36s var(--motion-soft), box-shadow .36s var(--motion-soft);
}

.intent-card:hover {
  transform:translateY(-5px);
  border-color:rgba(244, 206, 120, .28);
  box-shadow:0 24px 58px rgba(0, 0, 0, .2), 0 0 28px rgba(142, 230, 214, .06);
}

.intent-card span {
  display:inline-grid;
  place-items:center;
  width:42px;
  height:42px;
  margin-bottom:28px;
  border-radius:16px;
  color:#1b1025;
  background:linear-gradient(135deg, var(--gold2), var(--gold));
  font-weight:1000;
}

.intent-card h3 {
  margin-bottom:10px;
  color:#fff7eb;
  font-size:22px;
}

.intent-card p {
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.58;
}

.intent-card.accent {
  background:
    radial-gradient(circle at 82% 12%, rgba(142, 230, 214, .14), transparent 34%),
    linear-gradient(145deg, rgba(230, 193, 108, .12), rgba(255, 255, 255, .05));
}

.experience-section {
  display:grid;
  grid-template-columns:minmax(0, .95fr) minmax(320px, .75fr);
  gap:18px;
  align-items:stretch;
  padding:clamp(24px, 4vw, 40px);
  border:1px solid var(--line);
  border-radius:34px;
  box-shadow:var(--shadow);
}

.experience-copy h2 {
  max-width:760px;
  margin-bottom:16px;
  font-size:clamp(30px, 4.8vw, 52px);
  line-height:1;
  letter-spacing:-.05em;
}

.experience-copy>p {
  max-width:640px;
  color:var(--muted);
  line-height:1.64;
}

.experience-points {
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
  margin-top:28px;
}

.experience-points div {
  min-height:118px;
  padding:18px;
  border:1px solid rgba(255, 255, 255, .1);
  border-radius:22px;
  background:rgba(255, 255, 255, .045);
}

.experience-points b {
  display:block;
  margin-bottom:8px;
  color:var(--gold2);
  font-size:18px;
}

.experience-points span {
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}

.telegram-preview {
  position:relative;
  overflow:hidden;
  align-self:stretch;
  padding:18px;
  border:1px solid var(--line);
  border-radius:28px;
  background:
    radial-gradient(circle at 70% 0%, rgba(142, 230, 214, .13), transparent 35%),
    linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .035));
}

.telegram-top {
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:16px;
  color:var(--gold2);
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.telegram-top span {
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--aqua);
  box-shadow:0 0 20px rgba(142, 230, 214, .7);
}

.message-card {
  position:relative;
  margin-top:12px;
  padding:16px;
  border:1px solid rgba(255, 255, 255, .1);
  border-radius:20px;
  background:rgba(9, 5, 19, .44);
}

.message-card.main {
  margin-left:22px;
}

.message-card.glow {
  border-color:rgba(230, 193, 108, .26);
  background:rgba(230, 193, 108, .08);
}

.message-card small {
  display:block;
  margin-bottom:8px;
  color:rgba(249, 225, 158, .82);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.message-card p {
  margin:0;
  color:#f2e6ff;
  line-height:1.48;
}

.plan {
  border-radius:28px;
}

.plan.featured {
  box-shadow:0 24px 70px rgba(0, 0, 0, .22), 0 0 36px rgba(230, 193, 108, .12);
}

.ritual-grid {
  grid-template-columns:minmax(0, .82fr) minmax(0, 1.18fr);
}

.step {
  transition:transform .32s var(--motion-soft), border-color .32s var(--motion-soft), background .32s var(--motion-soft);
}

.step:hover {
  transform:translateX(4px);
  border-color:rgba(142, 230, 214, .18);
  background:rgba(255, 255, 255, .075);
}

.safety-section {
  position:relative;
  display:grid;
  grid-template-columns:minmax(0, .8fr) minmax(0, 1.2fr);
  gap:18px;
  overflow:hidden;
  padding:clamp(24px, 4vw, 38px);
  border:1px solid var(--line);
  border-radius:32px;
  box-shadow:0 20px 56px rgba(0, 0, 0, .16);
}

.safety-section h2 {
  margin:0;
  font-size:clamp(30px, 4.4vw, 50px);
  line-height:1;
  letter-spacing:-.045em;
}

.safety-grid {
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
}

.safety-grid article {
  padding:18px;
  border:1px solid rgba(255, 255, 255, .1);
  border-radius:22px;
}

.safety-grid b {
  display:block;
  margin-bottom:8px;
  color:var(--gold2);
  font-size:18px;
}

.safety-grid p {
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
}

.final-cta {
  border-radius:32px;
}

.footer {
  border-top:1px solid rgba(255, 255, 255, .08);
  margin-top:28px;
}

@media(max-width:1120px) {
  .intent-grid {
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .experience-section,
  .safety-section {
    grid-template-columns:1fr;
  }
}

@media(max-width:900px) {
  .trust-row {
    grid-template-columns:1fr;
  }

  .experience-points,
  .safety-grid {
    grid-template-columns:1fr;
  }
}

@media(max-width:640px) {
  .intent-section,
  .experience-section,
  .safety-section {
    margin-bottom:44px;
  }

  .intent-grid {
    grid-template-columns:1fr;
  }

  .trust-row {
    grid-template-columns:1fr;
  }

  .intent-card {
    min-height:auto;
    padding:20px;
    border-radius:20px;
  }

  .intent-card span {
    margin-bottom:18px;
  }

  .experience-section,
  .safety-section {
    padding:20px;
    border-radius:24px;
  }

  .experience-copy h2,
  .safety-section h2 {
    font-size:clamp(27px, 8.4vw, 38px);
    letter-spacing:-.03em;
  }

  .telegram-preview {
    border-radius:22px;
  }

  .message-card.main {
    margin-left:0;
  }

  .step:hover {
    transform:none;
  }
}

.consent-card {
  display:grid;
  gap:24px;
}

.legal-links-grid {
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}

.legal-mini-card {
  display:block;
  padding:18px;
  border:1px solid rgba(255, 255, 255, .1);
  border-radius:22px;
  background:rgba(255, 255, 255, .035);
}

.legal-mini-card b {
  display:block;
  margin-bottom:8px;
  color:var(--gold2);
  font-size:16px;
}

.legal-mini-card span {
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}

.legal-mini-card:hover {
  border-color:rgba(230, 193, 108, .24);
  background:rgba(255, 255, 255, .055);
}

.consent-form {
  display:grid;
  gap:14px;
}

.consent-check {
  display:grid;
  grid-template-columns:22px 1fr;
  gap:14px;
  align-items:start;
  padding:18px;
  border:1px solid rgba(255, 255, 255, .1);
  border-radius:20px;
  background:rgba(255, 255, 255, .035);
}

.consent-check input {
  width:20px;
  height:20px;
  margin:1px 0 0;
  accent-color:var(--gold);
}

.consent-check span {
  color:#f2e6ff;
  font-size:15px;
  line-height:1.55;
}

.consent-check a {
  color:var(--gold2);
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}

.consent-note {
  margin:4px 0 0;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}

.consent-submit {
  width:fit-content;
  min-width:280px;
}

@media(max-width:900px) {
  .legal-links-grid {
    grid-template-columns:1fr;
  }
}

@media(max-width:640px) {
  .consent-check {
    grid-template-columns:1fr;
  }

  .consent-submit {
    width:100%;
    min-width:0;
  }
}

.is-hidden {
  display:none!important;
}

.admin-page *,
.admin-page *::before,
.admin-page *::after {
  animation:none!important;
  transition:none!important;
}

.admin-page .btn:hover,
.admin-page .cabinet-panel:hover,
.admin-page .legal-card:hover,
.admin-page .cabinet-admin-card:hover,
.admin-page .admin-plan-card:hover,
.admin-page .admin-news-card:hover {
  transform:none!important;
}

.admin-section-tabs {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0 0 24px;
  padding:8px;
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255, 255, 255, .04);
}

.admin-subsection-tabs {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 18px;
  padding:6px;
  border:1px solid rgba(255, 255, 255, .1);
  border-radius:18px;
  background:rgba(255, 255, 255, .035);
}

.admin-section-tab {
  min-height:46px;
  padding:0 18px;
  border:1px solid transparent;
  border-radius:16px;
  background:transparent;
  color:var(--muted);
  font:inherit;
  font-weight:900;
  cursor:pointer;
}

.admin-subsection-tab {
  min-height:42px;
  padding:0 16px;
  border:1px solid transparent;
  border-radius:14px;
  background:transparent;
  color:var(--muted);
  font:inherit;
  font-size:14px;
  font-weight:900;
  cursor:pointer;
}

.admin-section-tab.is-active {
  color:#1a1028;
  border-color:rgba(230, 193, 108, .55);
  background:linear-gradient(135deg, var(--gold2), var(--gold));
}

.admin-subsection-tab.is-active {
  color:#1a1028;
  border-color:rgba(230, 193, 108, .5);
  background:linear-gradient(135deg, var(--gold2), var(--gold));
}

.admin-section {
  display:grid;
  gap:18px;
}

.admin-subsection {
  display:grid;
  gap:18px;
}

.cabinet-shell {
  margin-bottom:28px;
}

.cabinet-auth-panel {
  width:min(100%, 560px);
  margin:0 auto;
  display:grid;
  gap:18px;
}

.cabinet-access-note {
  margin:0;
  padding:16px 18px;
  border:1px solid rgba(230, 193, 108, .22);
  border-radius:20px;
  background:rgba(230, 193, 108, .08);
  color:#fff1c2;
  font-weight:800;
  line-height:1.5;
  text-align:center;
}

.cabinet-auth-switcher {
  width:100%;
  max-width:360px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  padding:8px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255, 255, 255, .04);
}

.cabinet-view-switcher {
  width:100%;
  max-width:360px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin:0 0 24px;
  padding:8px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255, 255, 255, .04);
}

.cabinet-view-tab {
  min-height:44px;
  border:0;
  border-radius:999px;
  background:transparent;
  color:var(--muted);
  font:inherit;
  font-weight:800;
  cursor:pointer;
}

.cabinet-view-tab.is-active {
  color:#1a1028;
  background:linear-gradient(135deg, var(--gold2), var(--gold));
}

.cabinet-view-switcher-wide {
  max-width:100%;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  border-radius:22px;
}

.cabinet-hero {
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(220px, 300px);
  gap:18px;
  align-items:stretch;
  margin-bottom:18px;
  padding:24px;
  border:1px solid rgba(255, 255, 255, .12);
  border-radius:28px;
  background:
    radial-gradient(circle at 86% 10%, rgba(230, 193, 108, .16), transparent 34%),
    radial-gradient(circle at 18% 100%, rgba(142, 230, 214, .1), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .035));
}

.cabinet-hero h2,
.cabinet-panel h2 {
  line-height:1;
}

.cabinet-hero p,
.cabinet-panel p,
.cabinet-reading-card p,
.cabinet-recommendation span {
  color:var(--muted);
  line-height:1.6;
}

.cabinet-quick-actions {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
}

.cabinet-day-card {
  display:grid;
  justify-items:center;
  align-content:start;
  gap:10px;
  min-width:0;
  padding:18px;
  border:1px solid rgba(245, 216, 137, .24);
  border-radius:22px;
  background:rgba(12, 7, 19, .44);
  text-align:center;
}

.cabinet-day-card span,
.cabinet-reading-card span,
.cabinet-profile-summary span,
.cabinet-notifications span {
  color:#8ee6d6;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.cabinet-day-card img {
  width:min(100%, 112px);
  height:158px;
  object-fit:contain;
  filter:drop-shadow(0 18px 24px rgba(0, 0, 0, .34));
}

.cabinet-day-card b {
  color:#ffe7a3;
  font-size:20px;
}

.cabinet-day-card p {
  margin:0;
  color:rgba(255, 247, 235, .72);
  font-size:13px;
  line-height:1.45;
}

.cabinet-stat-grid {
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:12px;
  margin-bottom:18px;
}

.cabinet-stat-grid article,
.cabinet-profile-summary article,
.cabinet-notifications article {
  padding:16px;
  border:1px solid rgba(255, 255, 255, .1);
  border-radius:18px;
  background:rgba(255, 255, 255, .045);
}

.cabinet-stat-grid span {
  display:block;
  margin-bottom:8px;
  color:#ffe7a3;
  font-size:30px;
  font-weight:1000;
  line-height:1;
}

.cabinet-stat-grid b {
  display:block;
  color:#fffaf4;
}

.cabinet-stat-grid p {
  margin:6px 0 0;
  color:var(--muted);
  font-size:13px;
}

.cabinet-section-grid,
.cabinet-profile-layout {
  display:grid;
  grid-template-columns:minmax(0, 1.15fr) minmax(280px, .85fr);
  gap:18px;
  margin-top:18px;
}

.cabinet-wide-panel {
  min-width:0;
}

.cabinet-panel-head,
.cabinet-reading-top {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}

.cabinet-panel-head .btn {
  width:auto;
  margin:0;
  flex:0 0 auto;
}

.cabinet-saved-cards,
.cabinet-reading-list,
.cabinet-recommendations,
.cabinet-plan-includes,
.cabinet-notifications,
.cabinet-profile-summary {
  display:grid;
  gap:12px;
}

.cabinet-saved-cards {
  grid-template-columns:repeat(2, minmax(0, 1fr));
}

.cabinet-saved-card {
  display:grid;
  grid-template-columns:70px minmax(0, 1fr);
  gap:14px;
  align-items:center;
  padding:12px;
  border:1px solid rgba(255, 255, 255, .1);
  border-radius:18px;
  background:rgba(255, 255, 255, .04);
}

.cabinet-saved-card img {
  width:70px;
  height:104px;
  object-fit:contain;
  filter:drop-shadow(0 12px 16px rgba(0, 0, 0, .32));
}

.cabinet-saved-card b,
.cabinet-recommendation b,
.cabinet-reading-card h3,
.cabinet-profile-summary b,
.cabinet-notifications b {
  color:#ffe7a3;
}

.cabinet-saved-card span {
  display:block;
  margin-top:4px;
  color:#8ee6d6;
  font-size:12px;
  font-weight:900;
}

.cabinet-saved-card p {
  margin:8px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}

.cabinet-recommendation,
.cabinet-reading-card {
  display:block;
  padding:16px;
  border:1px solid rgba(255, 255, 255, .1);
  border-radius:18px;
  background:rgba(255, 255, 255, .045);
}

.cabinet-recommendation b,
.cabinet-recommendation span {
  display:block;
}

.cabinet-recommendation span {
  margin-top:7px;
  font-size:13px;
}

.cabinet-reading-card h3 {
  margin:6px 0 0;
  font-size:20px;
}

.cabinet-reading-top time {
  flex:0 0 auto;
  color:rgba(255, 247, 235, .64);
  font-weight:800;
}

.cabinet-reading-cards,
.cabinet-plan-includes {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:14px 0;
}

.cabinet-reading-cards b,
.cabinet-plan-includes span {
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:7px 10px;
  border:1px solid rgba(230, 193, 108, .22);
  border-radius:999px;
  color:#ffe7a3;
  background:rgba(230, 193, 108, .07);
  font-size:13px;
}

.cabinet-form-grid {
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}

.cabinet-field input[type="date"],
.cabinet-field input[type="time"] {
  color-scheme:dark;
}

.cabinet-profile-form .btn {
  justify-self:start;
  margin-top:4px;
}

.cabinet-profile-summary {
  grid-template-columns:repeat(2, minmax(0, 1fr));
}

.cabinet-profile-summary b,
.cabinet-notifications b {
  display:block;
  margin-top:8px;
  line-height:1.25;
}

@media(max-width:980px) {
  .cabinet-view-switcher-wide {
    grid-template-columns:repeat(5, max-content);
    overflow-x:auto;
    border-radius:18px;
  }

  .cabinet-hero,
  .cabinet-section-grid,
  .cabinet-profile-layout {
    grid-template-columns:1fr;
  }

  .cabinet-stat-grid {
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media(max-width:640px) {
  .cabinet-hero,
  .cabinet-panel {
    padding:16px;
    border-radius:22px;
  }

  .cabinet-saved-cards,
  .cabinet-form-grid,
  .cabinet-profile-summary,
  .cabinet-stat-grid {
    grid-template-columns:1fr;
  }

  .cabinet-saved-card {
    grid-template-columns:58px minmax(0, 1fr);
  }

  .cabinet-saved-card img {
    width:58px;
    height:86px;
  }

  .cabinet-panel-head,
  .cabinet-reading-top {
    display:grid;
  }
}

.cabinet-auth-tab {
  min-height:44px;
  border:0;
  border-radius:999px;
  background:transparent;
  color:var(--muted);
  font:inherit;
  font-weight:800;
  cursor:pointer;
}

.cabinet-auth-tab.is-active {
  color:#1a1028;
  background:linear-gradient(135deg, var(--gold2), var(--gold));
}

.cabinet-form {
  width:100%;
  display:grid;
  gap:14px;
}

.cabinet-field {
  width:100%;
  display:grid;
  gap:8px;
}

.cabinet-field span {
  color:var(--gold2);
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.field-hint {
  color:rgba(203, 189, 217, .78);
  font-size:13px;
  line-height:1.45;
}

.cabinet-field input,
.cabinet-field textarea {
  width:100%;
  min-height:56px;
  padding:16px 18px;
  border:1px solid rgba(255, 255, 255, .12);
  border-radius:18px;
  background:#120b1f;
  color:var(--text);
  font:inherit;
}

.cabinet-field textarea {
  min-height:120px;
  resize:vertical;
}

.cabinet-submit,
.admin-plan-create .btn,
.admin-plan-actions .btn,
.admin-actions .btn {
  justify-self:center;
}

.cabinet-submit:disabled {
  color:rgba(255, 247, 235, .52);
  background:rgba(255, 255, 255, .08);
  border:1px solid rgba(255, 255, 255, .1);
  box-shadow:none;
  cursor:not-allowed;
}

.cabinet-note,
.cabinet-error {
  margin:0;
  text-align:center;
}

/* Email verification pending panel */
.cabinet-verify-panel {
  text-align:center;
  padding-top:8px;
}

.verify-icon {
  font-size:48px;
  line-height:1;
  margin-bottom:8px;
  color:var(--gold, #e6c16c);
}

.cabinet-error {
  color:#ffcfbf;
}

.consent-stack {
  display:grid;
  gap:12px;
}

.consent-inline {
  display:grid;
  grid-template-columns:20px minmax(0, 1fr);
  gap:12px;
  align-items:start;
  color:var(--muted);
}

.consent-inline input {
  margin-top:2px;
}

.consent-inline a {
  color:var(--gold2);
  text-decoration:underline;
  text-underline-offset:3px;
}

.cabinet-heading {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:24px;
}

.cabinet-heading h1,
.cabinet-panel h2,
.admin-create-panel h2,
.admin-plan-card h2 {
  margin-bottom:10px;
}

.cabinet-grid {
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
}

.cabinet-panel {
  padding:24px;
  border:1px solid var(--line);
  border-radius:24px;
  background:rgba(255, 255, 255, .04);
}

.cabinet-panel .btn {
  width:100%;
  margin-top:20px;
}

.cabinet-admin-grid {
  display:grid;
  gap:18px;
}

.cabinet-news {
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
}

.news-card,
.admin-news-card {
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:24px;
  background:rgba(255, 255, 255, .04);
}

.news-card-link {
  display:block;
  color:inherit;
}

.news-card-link:hover {
  border-color:rgba(230, 193, 108, .32);
  background:rgba(255, 255, 255, .065);
}

.news-card-body,
.admin-news-form {
  padding:20px;
}

.news-card-image,
.admin-news-preview {
  display:block;
  width:100%;
  aspect-ratio:16 / 9;
  object-fit:cover;
  background:#120b1f;
}

.news-card h2,
.admin-news-card h2 {
  margin-bottom:10px;
  font-size:24px;
}

.news-card p {
  margin-bottom:0;
  color:var(--muted);
}

.news-card-more {
  display:inline-flex;
  align-items:center;
  margin-top:16px;
  color:var(--gold2);
  font-weight:900;
}

.news-image-preview {
  overflow:hidden;
  border:1px solid rgba(230, 193, 108, .24);
  border-radius:20px;
  background:rgba(255, 255, 255, .04);
}

.news-image-preview img {
  display:block;
  width:100%;
  aspect-ratio:16 / 9;
  object-fit:cover;
}

.news-article {
  grid-column:1 / -1;
  padding:28px;
  border:1px solid var(--line);
  border-radius:26px;
  background:rgba(255, 255, 255, .04);
}

.news-article-cover {
  display:block;
  width:100%;
  aspect-ratio:16 / 9;
  margin:20px 0 26px;
  border-radius:22px;
  object-fit:cover;
  background:#120b1f;
}

.news-article-body {
  max-width:820px;
  margin:0 auto;
  color:rgba(255, 247, 235, .78);
  font-size:17px;
  line-height:1.75;
}

.news-article-body p:last-child {
  margin-bottom:0;
}

.news-card-empty {
  grid-column:1 / -1;
}

.news-page .topbar {
  margin-bottom:34px;
}

.public-news {
  margin-top:18px;
}

.matrix-page .topbar {
  margin-bottom:34px;
}

.matrix-page {
  max-width:1180px;
}

.matrix-page *,
.matrix-page *::before,
.matrix-page *::after {
  animation:none!important;
  transition:none!important;
}

.matrix-page .btn:hover,
.matrix-page .legal-card:hover,
.matrix-page .matrix-card:hover,
.matrix-page .matrix-summary article:hover {
  transform:none!important;
}

.matrix-intro {
  margin-bottom:22px;
}

.matrix-intro h1 {
  margin-bottom:14px;
}

.matrix-layout {
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  align-items:start;
}

.matrix-form {
  align-self:start;
  width:100%;
  max-width:none;
  height:auto;
  min-height:0;
  display:grid;
  align-content:start;
  grid-auto-rows:max-content;
  gap:16px;
}

.matrix-form .cabinet-field {
  align-self:start;
}

.matrix-form> .cabinet-field,
.matrix-form .btn,
.matrix-note {
  max-width:720px;
}

.matrix-form .btn {
  width:100%;
}

.matrix-form-grid {
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}

.matrix-note {
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}

.matrix-result {
  display:grid;
  gap:18px;
}

.matrix-result-head {
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
}

.matrix-result-head h2 {
  margin-bottom:8px;
  font-size:clamp(28px, 4vw, 42px);
}

.matrix-result-head p {
  margin:0;
  color:var(--muted);
}

.matrix-main-number {
  min-width:116px;
  min-height:116px;
  display:grid;
  place-items:center;
  padding:14px;
  border:1px solid rgba(230, 193, 108, .35);
  border-radius:28px;
  background:radial-gradient(circle at 50% 20%, rgba(249, 225, 158, .24), rgba(255, 255, 255, .055));
  text-align:center;
}

.matrix-main-number span {
  color:var(--muted);
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
}

.matrix-main-number b {
  color:var(--gold2);
  font-size:46px;
  line-height:1;
}

.matrix-board {
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:12px;
}

.matrix-card {
  min-height:174px;
  display:grid;
  align-content:start;
  gap:8px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255, 255, 255, .045);
}

.matrix-card span {
  color:var(--gold2);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.matrix-card b {
  color:var(--gold2);
  font-size:34px;
  line-height:1;
}

.matrix-card strong {
  font-size:16px;
}

.matrix-card p {
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}

.matrix-summary {
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
}

.matrix-summary article {
  padding:18px;
  border:1px solid var(--line);
  border-radius:20px;
  background:rgba(255, 255, 255, .04);
}

.matrix-summary b {
  display:block;
  margin-bottom:8px;
  color:var(--gold2);
}

.matrix-summary p {
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}

.matrix-visual-wrap {
  display:grid;
  gap:14px;
  padding:20px;
  border:1px solid var(--line);
  border-radius:26px;
  background:
    radial-gradient(circle at 50% 24%, rgba(230, 193, 108, .12), transparent 34%),
    rgba(255, 255, 255, .04);
}

.matrix-visual-head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}

.matrix-visual-head h2 {
  margin-bottom:8px;
  font-size:clamp(28px, 4vw, 42px);
}

.matrix-visual-head p {
  max-width:780px;
  margin:0;
  color:var(--muted);
  line-height:1.55;
}

.matrix-signature-code {
  width:min(100%, 360px);
  flex:0 0 auto;
  padding:16px;
  border:1px solid rgba(230, 193, 108, .26);
  border-radius:20px;
  background:linear-gradient(135deg, rgba(230, 193, 108, .12), rgba(139, 92, 246, .08));
}

.matrix-signature-code span,
.matrix-signature-story span {
  display:block;
  margin-bottom:8px;
  color:var(--gold2);
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.matrix-signature-code b {
  display:block;
  color:var(--gold2);
  font-size:20px;
  line-height:1.25;
  word-break:break-word;
}

.matrix-signature-code p {
  margin:8px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}

.matrix-visual {
  width:100%;
  height:auto;
  min-height:0;
  aspect-ratio:1280 / 820;
  display:block;
  border:1px solid rgba(255, 255, 255, .08);
  border-radius:24px;
  background:
    radial-gradient(circle at 50% 50%, rgba(139, 92, 246, .14), transparent 38%),
    rgba(7, 3, 14, .38);
}

.matrix-visual-seal {
  background:
    radial-gradient(circle at 50% 46%, rgba(230, 193, 108, .14), transparent 30%),
    radial-gradient(circle at 50% 50%, rgba(139, 92, 246, .18), transparent 52%),
    linear-gradient(135deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .018));
}

.matrix-seal-bg {
  fill:rgba(255, 255, 255, .028);
  stroke:rgba(255, 255, 255, .1);
  stroke-width:1.5;
}

.matrix-orbit {
  fill:none;
  stroke:rgba(230, 193, 108, .18);
  stroke-width:2;
}

.matrix-orbit-inner {
  stroke:rgba(255, 255, 255, .12);
}

.matrix-polygon {
  fill:none;
  stroke:rgba(230, 193, 108, .22);
  stroke-width:2;
}

.matrix-polygon-inner {
  stroke:rgba(255, 255, 255, .16);
}

.matrix-polygon-outer {
  stroke-dasharray:10 12;
}

.matrix-line {
  stroke:rgba(230, 193, 108, .18);
  stroke-width:2;
}

.matrix-line-soft {
  stroke:rgba(255, 255, 255, .12);
  stroke-dasharray:6 10;
}

.matrix-line-bind {
  stroke:rgba(139, 92, 246, .24);
  stroke-width:2;
}

.matrix-seal-moon-orbit {
  fill:none;
  stroke:rgba(230, 193, 108, .16);
  stroke-width:2;
  stroke-dasharray:14 12;
}

.matrix-seal-crescent {
  fill:rgba(230, 193, 108, .055);
  stroke:rgba(230, 193, 108, .16);
  stroke-width:1.4;
}

.matrix-seal-crescent-right {
  fill:rgba(139, 92, 246, .055);
  stroke:rgba(139, 92, 246, .17);
}

.matrix-seal-portal-card {
  fill:url(#matrixSealCard);
  stroke:rgba(230, 193, 108, .22);
  stroke-width:1.5;
}

.matrix-seal-portal-inner {
  fill:rgba(7, 3, 14, .56);
  stroke:rgba(230, 193, 108, .3);
  stroke-width:1.2;
}

.matrix-seal-portal-lesson .matrix-seal-portal-card {
  stroke:rgba(192, 132, 252, .28);
}

.matrix-seal-portal-lesson .matrix-seal-portal-inner {
  stroke:rgba(192, 132, 252, .34);
}

.matrix-seal-portal-label,
.matrix-seal-portal-number,
.matrix-seal-portal-name {
  text-anchor:middle;
  dominant-baseline:middle;
  font-family:Inter, Arial, sans-serif;
  pointer-events:none;
}

.matrix-seal-portal-label {
  fill:rgba(255, 247, 235, .68);
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.matrix-seal-portal-number {
  fill:var(--gold2);
  font-size:38px;
  font-weight:900;
}

.matrix-seal-portal-name {
  fill:rgba(255, 247, 235, .76);
  font-size:11px;
  font-weight:800;
}

.matrix-visual-node circle {
  fill:rgba(255, 255, 255, .075);
  stroke:rgba(230, 193, 108, .46);
  stroke-width:2;
}

.matrix-visual-node-outer circle {
  fill:rgba(139, 92, 246, .12);
  stroke:rgba(255, 255, 255, .22);
}

.matrix-seal-lunar-node circle {
  fill:rgba(255, 255, 255, .052);
  stroke:rgba(230, 193, 108, .28);
}

.matrix-seal-house rect {
  fill:rgba(255, 255, 255, .065);
  stroke:rgba(255, 255, 255, .14);
  stroke-width:1.5;
}

.matrix-seal-house-gold rect {
  fill:rgba(230, 193, 108, .115);
  stroke:rgba(230, 193, 108, .42);
}

.matrix-seal-house-violet rect {
  fill:rgba(139, 92, 246, .13);
  stroke:rgba(192, 132, 252, .32);
}

.matrix-seal-house-muted rect {
  fill:rgba(255, 255, 255, .06);
  stroke:rgba(255, 255, 255, .18);
}

.matrix-visual-center circle {
  fill:url(#matrixNodeGlow);
  stroke:rgba(255, 242, 186, .78);
  stroke-width:3;
}

.matrix-visual-center .matrix-seal-center-ring {
  fill:none;
  stroke:rgba(230, 193, 108, .28);
  stroke-width:2;
  stroke-dasharray:8 10;
}

.matrix-visual-number,
.matrix-visual-label,
.matrix-visual-center-label,
.matrix-visual-center-number,
.matrix-visual-center-name {
  text-anchor:middle;
  dominant-baseline:middle;
  font-family:Inter, Arial, sans-serif;
  pointer-events:none;
}

.matrix-visual-number {
  fill:var(--gold2);
  font-size:28px;
  font-weight:900;
}

.matrix-visual-number-small {
  font-size:22px;
}

.matrix-visual-label {
  fill:rgba(255, 247, 235, .72);
  font-size:11px;
  font-weight:800;
}

.matrix-visual-label-small {
  fill:rgba(255, 247, 235, .62);
  font-size:9px;
}

.matrix-visual-center-label {
  fill:rgba(24, 15, 40, .72);
  font-size:13px;
  font-weight:900;
  text-transform:uppercase;
}

.matrix-visual-center-number {
  fill:#180f28;
  font-size:46px;
  font-weight:900;
}

.matrix-visual-center-name {
  fill:#180f28;
  font-size:14px;
  font-weight:900;
}

.matrix-signature-story {
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:10px;
}

.matrix-signature-story article {
  padding:14px;
  border:1px solid rgba(255, 255, 255, .08);
  border-radius:16px;
  background:rgba(255, 255, 255, .035);
}

.matrix-signature-story b {
  display:block;
  margin-bottom:8px;
  color:var(--gold2);
  line-height:1.3;
}

.matrix-signature-story p {
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}

.matrix-source-strip {
  display:grid;
  grid-template-columns:repeat(6, minmax(0, 1fr));
  gap:10px;
}

.matrix-source-strip div {
  padding:12px;
  border:1px solid rgba(255, 255, 255, .08);
  border-radius:16px;
  background:rgba(255, 255, 255, .035);
}

.matrix-source-strip span {
  display:block;
  margin-bottom:6px;
  color:var(--muted);
  font-size:12px;
  font-weight:800;
}

.matrix-source-strip b {
  color:var(--gold2);
  font-size:22px;
  line-height:1;
}

.matrix-formula {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.matrix-formula article {
  padding:20px;
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255, 255, 255, .045);
}

.matrix-formula h3 {
  margin-bottom:14px;
  font-size:22px;
}

.matrix-source-grid {
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:10px;
}

.matrix-source-grid div,
.matrix-periods div {
  padding:14px;
  border:1px solid rgba(255, 255, 255, .08);
  border-radius:16px;
  background:rgba(255, 255, 255, .035);
}

.matrix-source-grid span,
.matrix-periods span {
  display:block;
  margin-bottom:6px;
  color:var(--gold2);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
}

.matrix-source-grid b {
  display:block;
  color:var(--gold2);
  font-size:26px;
  line-height:1;
}

.matrix-source-grid p,
.matrix-periods p,
.matrix-age-note {
  margin:8px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}

.matrix-periods {
  display:grid;
  gap:10px;
  margin-top:12px;
}

.matrix-periods b {
  display:block;
}

.matrix-deep-report {
  display:grid;
  gap:18px;
}

.numerology-report {
  display:grid;
  gap:16px;
}

.numerology-grid {
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}

.numerology-card {
  display:grid;
  grid-template-columns:72px minmax(0, 1fr);
  gap:16px;
  padding:20px;
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255, 255, 255, .045);
}

.numerology-number {
  width:72px;
  height:72px;
  display:grid;
  place-items:center;
  border:1px solid rgba(230, 193, 108, .34);
  border-radius:22px;
  color:var(--gold2);
  background:rgba(230, 193, 108, .08);
  font-size:34px;
  font-weight:900;
}

.numerology-card span {
  display:block;
  margin-bottom:6px;
  color:var(--gold2);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.numerology-card h3 {
  margin-bottom:8px;
  font-size:22px;
}

.numerology-card p {
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.45;
}

.numerology-card dl {
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:10px;
  margin:0;
}

.numerology-card dl div {
  padding-top:10px;
  border-top:1px solid rgba(255, 255, 255, .08);
}

.numerology-card dt {
  margin-bottom:4px;
  color:var(--gold2);
  font-weight:900;
}

.numerology-card dd {
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}

.numerology-synthesis {
  padding:20px;
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255, 255, 255, .045);
}

.numerology-synthesis h3 {
  margin-bottom:10px;
  font-size:24px;
}

.numerology-synthesis p {
  margin:0 0 10px;
  color:var(--muted);
  line-height:1.55;
}

.numerology-synthesis p:last-child {
  margin-bottom:0;
}

.matrix-report-title {
  padding-top:8px;
}

.matrix-report-title h2 {
  margin-bottom:10px;
  font-size:clamp(28px, 4vw, 42px);
}

.matrix-report-title p {
  margin:0;
  color:var(--muted);
  line-height:1.55;
}

.matrix-deep-grid {
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}

.matrix-deep-card,
.matrix-channel,
.matrix-practice,
.matrix-disclaimer {
  padding:20px;
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255, 255, 255, .045);
}

.matrix-deep-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}

.matrix-deep-top span {
  color:var(--gold2);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.matrix-deep-top b {
  color:var(--gold2);
  font-size:30px;
  line-height:1;
}

.matrix-deep-card h3,
.matrix-channel h3,
.matrix-practice h3 {
  margin-bottom:10px;
  font-size:22px;
}

.matrix-deep-card p,
.matrix-channel>p {
  margin-bottom:14px;
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}

.matrix-deep-card dl {
  display:grid;
  gap:10px;
  margin:0;
}

.matrix-deep-card dl div {
  padding-top:10px;
  border-top:1px solid rgba(255, 255, 255, .08);
}

.matrix-deep-card dt {
  margin-bottom:4px;
  color:var(--gold2);
  font-weight:900;
}

.matrix-deep-card dd {
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.45;
}

.matrix-channels {
  display:grid;
  gap:12px;
}

.matrix-channel-list {
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
}

.matrix-channel-list div {
  padding:16px;
  border:1px solid rgba(255, 255, 255, .09);
  border-radius:18px;
  background:rgba(255, 255, 255, .035);
}

.matrix-channel-list span {
  display:block;
  margin-bottom:8px;
  color:var(--gold2);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
}

.matrix-channel-list b {
  display:block;
  margin-bottom:8px;
}

.matrix-channel-list p {
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}

.matrix-practice ul {
  display:grid;
  gap:10px;
  margin:0;
  padding:0;
  list-style:none;
}

.matrix-practice li {
  color:var(--muted);
  line-height:1.5;
}

.matrix-practice b,
.matrix-disclaimer b {
  color:var(--gold2);
}

.matrix-disclaimer p {
  margin:8px 0 0;
  color:var(--muted);
  line-height:1.5;
}

/* Premium hero redesign */
.premium-hero {
  grid-template-columns:minmax(0, 1.04fr) minmax(380px, .86fr);
  align-items:center;
  gap:clamp(28px, 5vw, 68px);
  min-height:calc(100vh - 160px);
  margin-bottom:72px;
  padding:12px 0 18px;
}

.premium-hero::after {
  display:none;
}

.premium-hero .hero-copy {
  max-width:760px;
}

.premium-hero .eyebrow {
  margin-bottom:22px;
  border-color:rgba(249, 225, 158, .24);
  background:rgba(255, 255, 255, .045);
  color:#f7dfab;
  box-shadow:none;
}

.premium-hero h1 {
  max-width:780px;
  margin-bottom:22px;
  font-size:clamp(46px, 6.3vw, 82px);
  line-height:.94;
  letter-spacing:-.055em;
}

.premium-hero h1 strong {
  display:block;
  color:#f6dfaa;
  background:none;
  -webkit-background-clip:initial;
  background-clip:initial;
}

.premium-hero .lead {
  max-width:680px;
  margin-bottom:26px;
  color:rgba(255, 247, 235, .74);
  font-size:18px;
  line-height:1.7;
}

.premium-hero .actions {
  margin-bottom:14px;
}

.premium-hero .btn-primary,
.premium-hero .btn::after,
.premium-hero .trust-item {
  animation:none!important;
}

.hero-matrix-callout {
  width:100%;
  max-width:720px;
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:16px;
  align-items:center;
  margin:0 0 20px;
  padding:16px;
  border:1px solid rgba(230, 193, 108, .18);
  border-radius:20px;
  background:
    radial-gradient(circle at 0% 0%, rgba(230, 193, 108, .12), transparent 36%),
    rgba(255, 255, 255, .045);
  box-shadow:0 18px 48px rgba(0, 0, 0, .16);
}

.oracle-panel .hero-matrix-callout {
  grid-template-columns:1fr;
  gap:12px;
  margin:0;
  padding:16px;
  border-color:rgba(142, 230, 214, .18);
  background:
    radial-gradient(circle at 0% 0%, rgba(142, 230, 214, .13), transparent 38%),
    rgba(142, 230, 214, .045);
  box-shadow:none;
}

.hero-matrix-callout span {
  display:block;
  margin-bottom:6px;
  color:#8ee6d6;
  font-size:11px;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.hero-matrix-callout b {
  display:block;
  margin-bottom:6px;
  color:#f5dfa8;
  font-size:19px;
  line-height:1.2;
}

.hero-matrix-callout p {
  margin:0;
  color:rgba(255, 247, 235, .64);
  font-size:14px;
  line-height:1.45;
}

.hero-matrix-link {
  min-height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 16px;
  border:1px solid rgba(249, 225, 158, .26);
  border-radius:15px;
  color:#180f28;
  background:linear-gradient(135deg, #fff0b9, #e6c16c);
  font-size:14px;
  font-weight:900;
  white-space:nowrap;
}

.oracle-panel .hero-matrix-link {
  width:100%;
}

.premium-hero .trust-row {
  max-width:720px;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:10px;
}

.premium-hero .trust-item {
  min-height:92px;
  padding:15px;
  border-color:rgba(255, 255, 255, .09);
  border-radius:18px;
  background:rgba(255, 255, 255, .04);
  box-shadow:none;
  transition:none!important;
}

.premium-hero .trust-item:hover {
  transform:none!important;
  border-color:rgba(255, 255, 255, .09);
  box-shadow:none;
}

.premium-hero .trust-item b {
  margin-bottom:7px;
  color:#f5dfa8;
  font-size:15px;
  letter-spacing:.02em;
  text-transform:uppercase;
}

.premium-hero .trust-item span {
  color:rgba(255, 247, 235, .62);
  font-size:13px;
  line-height:1.4;
}

.hero-showcase {
  position:relative;
  min-height:560px;
  display:grid;
  place-items:center;
  isolation:isolate;
}

.hero-showcase::before {
  content:"";
  position:absolute;
  inset:22px 4px;
  z-index:-2;
  border-radius:42px;
  background:
    radial-gradient(circle at 50% 0%, rgba(230, 193, 108, .16), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  border:1px solid rgba(255, 255, 255, .08);
}

.hero-showcase::after {
  content:"";
  position:absolute;
  inset:80px 36px 54px;
  z-index:-1;
  border-radius:34px;
  background:radial-gradient(circle at 50% 38%, rgba(139, 92, 246, .18), transparent 58%);
  filter:blur(2px);
}

.oracle-panel {
  width:min(100%, 520px);
  display:grid;
  gap:16px;
  padding:22px;
  border:1px solid rgba(255, 255, 255, .13);
  border-radius:30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .105), rgba(255, 255, 255, .04)),
    radial-gradient(circle at 84% 10%, rgba(230, 193, 108, .13), transparent 34%);
  box-shadow:0 28px 70px rgba(0, 0, 0, .34);
  backdrop-filter:blur(12px);
}

.oracle-panel-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding-bottom:14px;
  border-bottom:1px solid rgba(255, 255, 255, .09);
}

.oracle-panel-top span,
.oracle-main-card span,
.oracle-mini-card span {
  color:#f5dfa8;
  font-size:12px;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.oracle-panel-top b {
  color:rgba(255, 247, 235, .78);
  font-size:14px;
}

.oracle-main-card {
  display:grid;
  grid-template-columns:78px minmax(0, 1fr);
  gap:16px;
  align-items:center;
  padding:18px;
  border:1px solid rgba(230, 193, 108, .18);
  border-radius:22px;
  background:rgba(9, 5, 18, .5);
}

.oracle-mark {
  width:78px;
  height:96px;
  display:grid;
  place-items:center;
  border:1px solid rgba(230, 193, 108, .32);
  border-radius:20px;
  color:#f7dda1;
  background:
    radial-gradient(circle at 50% 42%, rgba(230, 193, 108, .16), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025));
  font-size:34px;
}

.oracle-main-card p {
  margin:8px 0 0;
  color:#fff7eb;
  font-size:21px;
  line-height:1.35;
  letter-spacing:-.02em;
}

.oracle-reading-grid {
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}

.oracle-mini-card {
  min-height:150px;
  padding:16px;
  border:1px solid rgba(255, 255, 255, .09);
  border-radius:20px;
  background:rgba(255, 255, 255, .04);
}

.oracle-mini-card b {
  display:block;
  margin:10px 0 8px;
  color:#fff7eb;
  font-size:24px;
  letter-spacing:-.03em;
}

.oracle-mini-card p,
.oracle-thread p {
  margin:0;
  color:rgba(255, 247, 235, .64);
  font-size:14px;
  line-height:1.5;
}

.oracle-thread {
  display:grid;
  grid-template-columns:10px minmax(0, 1fr);
  gap:12px;
  align-items:start;
  padding:16px;
  border:1px solid rgba(142, 230, 214, .16);
  border-radius:18px;
  background:rgba(142, 230, 214, .045);
}

.oracle-thread span {
  width:10px;
  height:10px;
  margin-top:5px;
  border-radius:50%;
  background:#8ee6d6;
  box-shadow:0 0 18px rgba(142, 230, 214, .45);
}

.oracle-card-stack {
  position:absolute;
  left:28px;
  bottom:24px;
  z-index:-1;
  width:190px;
  height:230px;
  opacity:.44;
}

.oracle-card-stack div {
  position:absolute;
  width:92px;
  height:150px;
  border:1px solid rgba(230, 193, 108, .18);
  border-radius:22px;
  background:linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025));
}

.oracle-card-stack div:nth-child(1) {
  left:0;
  bottom:10px;
  transform:rotate(-13deg);
}

.oracle-card-stack div:nth-child(2) {
  left:54px;
  bottom:22px;
  transform:rotate(2deg);
}

.oracle-card-stack div:nth-child(3) {
  left:104px;
  bottom:6px;
  transform:rotate(13deg);
}

@media(max-width:980px) {
  .premium-hero {
    grid-template-columns:1fr;
    min-height:0;
  }

  .hero-showcase {
    min-height:0;
  }
}

@media(max-width:768px) {
  .premium-hero {
    gap:24px;
    margin-bottom:46px;
    padding-top:0;
  }

  .premium-hero h1 {
    font-size:clamp(38px, 12vw, 58px);
    line-height:.98;
  }

  .premium-hero .lead {
    font-size:16px;
  }

  .premium-hero .trust-row,
  .hero-matrix-callout,
  .oracle-reading-grid {
    grid-template-columns:1fr;
  }

  .hero-matrix-link {
    width:100%;
  }

  .hero-showcase::before {
    inset:0;
    border-radius:28px;
  }

  .oracle-panel {
    padding:16px;
    border-radius:24px;
  }
}

@media(max-width:520px) {
  .oracle-main-card {
    grid-template-columns:1fr;
  }

  .oracle-mark {
    width:100%;
    height:86px;
  }

  .oracle-panel-top {
    display:grid;
  }
}

.matrix-expanded-report {
  display:grid;
  gap:18px;
}

.matrix-reading-section {
  border-color:rgba(230, 193, 108, .2);
  background:
    radial-gradient(circle at 18% 0%, rgba(230, 193, 108, .12), transparent 34%),
    radial-gradient(circle at 82% 10%, rgba(139, 92, 246, .12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
}

.matrix-reading-hero {
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(260px, 360px);
  gap:14px;
  align-items:stretch;
}

.matrix-reading-hero>div,
.matrix-reading-synthesis {
  padding:20px;
  border:1px solid rgba(255, 255, 255, .09);
  border-radius:22px;
  background:rgba(255, 255, 255, .04);
}

.matrix-reading-hero span,
.matrix-reading-code span {
  display:block;
  margin-bottom:8px;
  color:var(--gold2);
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.matrix-reading-hero h3 {
  margin-bottom:10px;
  font-size:clamp(28px, 4vw, 42px);
}

.matrix-reading-hero p,
.matrix-reading-synthesis p {
  margin:0;
  color:var(--muted);
  line-height:1.55;
}

.matrix-reading-code {
  display:grid;
  align-content:center;
}

.matrix-reading-code b {
  display:block;
  color:var(--gold2);
  font-size:clamp(24px, 4vw, 34px);
  line-height:1.1;
  word-break:break-word;
}

.matrix-reading-code p {
  margin-top:10px;
  font-size:14px;
}

.matrix-reading-synthesis h3 {
  margin-bottom:10px;
  color:var(--gold2);
  font-size:24px;
}

.matrix-reading-synthesis p + p {
  margin-top:10px;
}

.matrix-topic-groups {
  display:grid;
  gap:18px;
}

.matrix-topic-group {
  display:grid;
  gap:12px;
}

.matrix-topic-group>h3 {
  margin:0;
  color:var(--gold2);
  font-size:24px;
}

.matrix-topic-warning {
  padding:18px;
  border:1px solid rgba(249, 225, 158, .18);
  border-radius:20px;
  background:rgba(230, 193, 108, .06);
}

.matrix-topic-warning b {
  color:var(--gold2);
}

.matrix-topic-warning p {
  margin:8px 0 0;
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}

.matrix-expanded-section {
  display:grid;
  gap:16px;
  padding:22px;
  border:1px solid var(--line);
  border-radius:24px;
  background:linear-gradient(135deg, rgba(255, 255, 255, .052), rgba(255, 255, 255, .032));
}

.matrix-expanded-head h2 {
  margin-bottom:10px;
  font-size:clamp(28px, 4vw, 42px);
}

.matrix-expanded-head p {
  max-width:920px;
  margin:0;
  color:var(--muted);
  line-height:1.55;
}

.matrix-expanded-grid {
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}

.matrix-expanded-grid-three {
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.matrix-expanded-card,
.matrix-forecast-card,
.matrix-year-card {
  padding:18px;
  border:1px solid rgba(255, 255, 255, .09);
  border-radius:20px;
  background:rgba(255, 255, 255, .035);
}

.matrix-expanded-meta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

.matrix-expanded-meta span,
.matrix-forecast-card span,
.matrix-year-card span,
.matrix-chakra-head span,
.matrix-chakra-row span {
  color:var(--gold2);
  font-size:12px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.matrix-expanded-meta b {
  color:var(--gold2);
  font-size:30px;
  line-height:1;
}

.matrix-expanded-card h3,
.matrix-forecast-card h3 {
  margin-bottom:10px;
  font-size:21px;
}

.matrix-expanded-card p,
.matrix-forecast-card p,
.matrix-year-card p,
.matrix-chakra-row p {
  margin:0 0 10px;
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}

.matrix-expanded-card p:last-child,
.matrix-forecast-card p:last-child,
.matrix-year-card p:last-child,
.matrix-chakra-row p:last-child {
  margin-bottom:0;
}

.matrix-expanded-card strong,
.matrix-chakra-row strong {
  color:var(--gold2);
}

.matrix-chakra-grid {
  display:grid;
  gap:10px;
}

.matrix-chakra-head,
.matrix-chakra-row {
  display:grid;
  grid-template-columns:1.4fr .42fr .42fr .42fr 1.7fr;
  gap:10px;
  align-items:start;
}

.matrix-chakra-head {
  padding:0 14px;
}

.matrix-chakra-row {
  padding:16px;
  border:1px solid rgba(255, 255, 255, .09);
  border-radius:18px;
  background:rgba(255, 255, 255, .035);
}

.matrix-chakra-row>b {
  min-height:46px;
  display:grid;
  place-items:center;
  border:1px solid rgba(230, 193, 108, .24);
  border-radius:16px;
  color:var(--gold2);
  background:rgba(230, 193, 108, .06);
  font-size:22px;
  line-height:1;
}

.matrix-forecast-grid {
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:12px;
}

.matrix-year-grid {
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:12px;
  margin-top:2px;
}

.matrix-year-card {
  display:grid;
  grid-template-columns:64px minmax(0, 1fr);
  gap:12px;
  align-items:start;
}

.matrix-year-card span {
  grid-column:1 / -1;
}

.matrix-year-card b {
  width:64px;
  height:64px;
  display:grid;
  place-items:center;
  border:1px solid rgba(230, 193, 108, .3);
  border-radius:18px;
  color:var(--gold2);
  background:rgba(230, 193, 108, .07);
  font-size:30px;
}

.admin-actions {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.admin-plan-create,
.admin-plan-form {
  display:grid;
  gap:14px;
}

.admin-plan-grid {
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}

.admin-switches {
  display:flex;
  flex-wrap:wrap;
  gap:18px;
}

.admin-plan-card-top,
.admin-plan-actions,
.admin-plan-order {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.admin-plan-card {
  display:grid;
  gap:18px;
}

.admin-plan-actions {
  justify-content:flex-start;
  flex-wrap:wrap;
}

.admin-mini-btn {
  min-height:44px;
  padding:0 16px;
}

.admin-delete-btn {
  border-color:rgba(255, 170, 170, .25);
}

@media(max-width:900px) {
  .cabinet-grid,
  .admin-plan-grid,
  .cabinet-news {
    grid-template-columns:1fr;
  }

  .matrix-layout,
  .matrix-summary,
  .matrix-formula {
    grid-template-columns:1fr;
  }

  .matrix-board {
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .matrix-deep-grid,
  .matrix-channel-list,
  .numerology-grid,
  .numerology-card dl,
  .matrix-source-strip,
  .matrix-signature-story,
  .matrix-reading-hero,
  .matrix-expanded-grid,
  .matrix-expanded-grid-three,
  .matrix-forecast-grid,
  .matrix-year-grid {
    grid-template-columns:1fr;
  }

  .matrix-chakra-head {
    display:none;
  }

  .matrix-chakra-row {
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }

  .matrix-chakra-row>div:first-child,
  .matrix-chakra-row>div:last-child {
    grid-column:1 / -1;
  }

  .cabinet-heading,
  .admin-plan-card-top {
    display:grid;
  }
}

@media(max-width:640px) {
  .admin-section-tabs,
  .admin-subsection-tabs {
    display:grid;
    grid-template-columns:1fr;
  }

  .admin-section-tab,
  .admin-subsection-tab {
    width:100%;
  }

  .matrix-form-grid,
  .matrix-board,
  .matrix-source-grid {
    grid-template-columns:1fr;
  }

  .matrix-result-head {
    display:grid;
  }

  .matrix-visual-head {
    display:grid;
  }

  .matrix-signature-code {
    width:100%;
  }

  .matrix-main-number {
    width:100%;
  }

  .matrix-visual-wrap {
    padding:14px;
    border-radius:20px;
  }

  .matrix-visual {
    min-height:0;
    overflow:visible;
  }

  .matrix-expanded-section {
    padding:16px;
    border-radius:20px;
  }

  .matrix-chakra-row {
    grid-template-columns:1fr;
  }

  .matrix-chakra-row>b,
  .matrix-year-card b {
    width:100%;
  }

  .matrix-year-card {
    grid-template-columns:1fr;
  }

  .numerology-card {
    grid-template-columns:1fr;
  }

  .numerology-number {
    width:100%;
  }

  .cabinet-auth-panel {
    width:100%;
  }

  .cabinet-submit,
  .admin-plan-create .btn,
  .admin-plan-actions .btn,
  .admin-actions .btn {
    width:100%;
    justify-self:stretch;
  }

  .admin-switches,
  .admin-plan-order {
    display:grid;
  }
}

/* Natal chart calculator */
.nav {
  flex-wrap:nowrap;
  justify-content:flex-end;
}

.nav a {
  white-space:nowrap;
}

.natal-page {
  max-width:1180px;
}

.natal-page *,
.natal-page *::before,
.natal-page *::after {
  animation:none!important;
  transition:none!important;
  scroll-behavior:auto!important;
}

.natal-page .legal-card:hover,
.natal-page .btn:hover,
.natal-page article:hover,
.natal-page section:hover,
.natal-page .nav a:hover,
.natal-page .natal-body-card:hover,
.natal-page .natal-house-card:hover,
.natal-page .natal-topic-card:hover {
  transform:none!important;
  box-shadow:inherit;
}

.natal-hero {
  position:relative;
  display:grid;
  grid-template-columns:minmax(0, 1.04fr) minmax(320px, .72fr);
  gap:clamp(22px, 4vw, 56px);
  align-items:center;
  overflow:hidden;
  margin-bottom:22px;
  background:
    radial-gradient(circle at 72% 20%, rgba(142, 230, 214, .14), transparent 34%),
    radial-gradient(circle at 18% 86%, rgba(244, 182, 200, .12), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .035));
}

.natal-hero::after {
  content:"";
  position:absolute;
  inset:auto -12% -32% 34%;
  height:260px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(230, 193, 108, .16), transparent 68%);
  filter:blur(18px);
  pointer-events:none;
}

.natal-hero-copy {
  position:relative;
  z-index:1;
}

.natal-hero h1 {
  max-width:760px;
  margin-bottom:16px;
  font-size:clamp(38px, 5.5vw, 70px);
  line-height:.98;
}

.natal-hero p {
  max-width:700px;
  color:var(--muted);
  font-size:17px;
  line-height:1.65;
}

.natal-hero-points {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:24px;
}

.natal-hero-points span,
.natal-side-grid span {
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:9px 12px;
  border:1px solid rgba(255, 255, 255, .1);
  border-radius:999px;
  background:rgba(255, 255, 255, .055);
  color:rgba(255, 247, 235, .74);
  font-size:13px;
  font-weight:800;
}

.natal-orbit-visual {
  position:relative;
  z-index:1;
  width:min(100%, 360px);
  aspect-ratio:1;
  justify-self:center;
  display:grid;
  place-items:center;
  border:1px solid rgba(255, 255, 255, .1);
  border-radius:50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(142, 230, 214, .16), transparent 26%),
    radial-gradient(circle at 50% 50%, rgba(139, 92, 246, .14), transparent 58%);
  box-shadow:0 24px 80px rgba(0, 0, 0, .26);
}

.natal-orbit-ring {
  position:absolute;
  inset:10%;
  border:1px solid rgba(230, 193, 108, .2);
  border-radius:50%;
}

.natal-orbit-ring:nth-child(2) {
  inset:25%;
  border-color:rgba(142, 230, 214, .2);
  transform:rotate(18deg) scaleX(.82);
}

.natal-orbit-ring:nth-child(3) {
  inset:38%;
  border-color:rgba(244, 182, 200, .2);
}

.natal-orbit-visual span,
.natal-orbit-visual b {
  position:absolute;
  display:grid;
  place-items:center;
  border:1px solid rgba(255, 255, 255, .13);
  border-radius:50%;
  background:rgba(12, 6, 22, .72);
  color:#f5dfa8;
  box-shadow:0 14px 36px rgba(0, 0, 0, .25);
}

.natal-orbit-visual span {
  width:58px;
  height:58px;
  font-size:26px;
}

.natal-orbit-visual span:nth-of-type(1) {
  top:12%;
  right:22%;
}

.natal-orbit-visual span:nth-of-type(2) {
  left:10%;
  top:44%;
}

.natal-orbit-visual span:nth-of-type(3) {
  right:12%;
  bottom:18%;
}

.natal-orbit-visual b {
  width:82px;
  height:82px;
  font-size:18px;
  letter-spacing:.08em;
}

.natal-calculator {
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(280px, .42fr);
  gap:18px;
  align-items:start;
  margin-bottom:18px;
}

.natal-info-grid {
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
  margin-bottom:18px;
}

.natal-info-card {
  display:grid;
  gap:10px;
}

.natal-info-card>span {
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border:1px solid rgba(142, 230, 214, .26);
  border-radius:16px;
  color:#8ee6d6;
  background:rgba(142, 230, 214, .07);
  font-size:20px;
  font-weight:900;
}

.natal-info-card h2 {
  margin:0;
  font-size:24px;
}

.natal-info-card p {
  margin:0;
  color:var(--muted);
  line-height:1.55;
}

.natal-layer-preview {
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(340px, .7fr);
  gap:18px;
  align-items:center;
  margin-bottom:18px;
}

.natal-layer-preview h2 {
  margin-bottom:10px;
}

.natal-layer-preview p {
  margin:0;
  color:var(--muted);
  line-height:1.6;
}

.natal-layer-preview-grid {
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px;
}

.natal-layer-preview-grid span {
  min-height:78px;
  display:grid;
  align-items:end;
  padding:14px;
  border:1px solid rgba(255, 255, 255, .1);
  border-radius:18px;
  background:
    radial-gradient(circle at 20% 0%, rgba(230, 193, 108, .12), transparent 44%),
    rgba(255, 255, 255, .045);
  color:#f5dfa8;
  font-weight:900;
}

.natal-form,
.natal-side {
  display:grid;
  gap:16px;
}

.natal-form h2,
.natal-side h2 {
  margin-bottom:4px;
}

.natal-form-grid {
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}

.natal-form-grid-three {
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.cabinet-field select {
  width:100%;
  min-height:54px;
  padding:0 14px;
  border:1px solid rgba(255, 255, 255, .13);
  border-radius:16px;
  outline:none;
  background:rgba(255, 255, 255, .06);
  color:var(--text);
  font:inherit;
  transition:border-color .26s var(--motion-soft), background .26s var(--motion-soft), box-shadow .26s var(--motion-soft);
}

.cabinet-field select:focus {
  border-color:rgba(230, 193, 108, .44);
  background:rgba(255, 255, 255, .085);
  box-shadow:0 0 0 4px rgba(230, 193, 108, .08);
}

.cabinet-field select option {
  color:#180f28;
}

.natal-note,
.natal-side p {
  margin:0;
  color:var(--muted);
  line-height:1.55;
}

.natal-side-grid {
  display:grid;
  gap:10px;
}

.natal-side-grid span {
  justify-content:flex-start;
  border-radius:16px;
}

.natal-result {
  display:grid;
  gap:18px;
}

.natal-result,
.natal-result *,
.natal-result::before,
.natal-result::after {
  animation:none!important;
  transition:none!important;
}

.natal-result,
.natal-result:hover,
.natal-result:focus-within,
.natal-result article:hover {
  transform:none!important;
  opacity:1!important;
}

.natal-result-head,
.natal-wheel-head {
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
}

.natal-result-head h2,
.natal-wheel-head h2 {
  margin-bottom:8px;
  font-size:clamp(30px, 4.3vw, 48px);
}

.natal-result-head p,
.natal-wheel-head p {
  margin:0;
  color:var(--muted);
  line-height:1.55;
}

.natal-result-badge {
  min-width:170px;
  padding:16px;
  border:1px solid rgba(142, 230, 214, .26);
  border-radius:22px;
  background:
    radial-gradient(circle at 20% 0%, rgba(142, 230, 214, .18), transparent 48%),
    rgba(255, 255, 255, .055);
}

.natal-result-badge span {
  display:block;
  margin-bottom:8px;
  color:#8ee6d6;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
}

.natal-result-badge b {
  color:#f5dfa8;
  font-size:20px;
}

.natal-wheel-wrap,
.natal-reading,
.natal-disclaimer {
  padding:20px;
  border:1px solid var(--line);
  border-radius:26px;
  background:
    radial-gradient(circle at 20% 8%, rgba(142, 230, 214, .09), transparent 30%),
    rgba(255, 255, 255, .04);
}

.natal-wheel-wrap {
  display:grid;
  gap:18px;
}

.natal-wheel {
  width:100%;
  max-width:820px;
  height:auto;
  justify-self:center;
  display:block;
  overflow:visible;
}

.natal-wheel-bg {
  fill:url(#natalWheelGlow);
}

.natal-wheel-ring {
  fill:none;
  stroke:rgba(230, 193, 108, .28);
  stroke-width:2;
}

.natal-wheel-ring-mid {
  stroke:rgba(255, 255, 255, .16);
}

.natal-wheel-ring-core {
  stroke:rgba(142, 230, 214, .26);
}

.natal-wheel-line {
  stroke:rgba(255, 255, 255, .13);
  stroke-width:1.4;
}

.natal-axis {
  stroke:rgba(244, 182, 200, .34);
  stroke-width:2.4;
  stroke-dasharray:10 10;
}

.natal-axis-asc {
  stroke:rgba(142, 230, 214, .42);
}

.natal-wheel-sign,
.natal-axis-label,
.natal-wheel-body text {
  text-anchor:middle;
  dominant-baseline:middle;
  font-family:inherit;
  font-weight:900;
}

.natal-wheel-sign {
  fill:rgba(245, 223, 168, .72);
  font-size:28px;
}

.natal-axis-label {
  fill:#8ee6d6;
  font-size:20px;
  letter-spacing:.08em;
}

.natal-wheel-body circle {
  fill:rgba(13, 7, 24, .9);
  stroke:rgba(230, 193, 108, .5);
  stroke-width:2;
  filter:drop-shadow(0 10px 18px rgba(0, 0, 0, .36));
}

.natal-wheel-body-ascendant circle,
.natal-wheel-body-midheaven circle {
  stroke:rgba(142, 230, 214, .62);
}

.natal-wheel-body text {
  fill:#f5dfa8;
  font-size:18px;
}

.natal-wheel-body-ascendant text,
.natal-wheel-body-midheaven text {
  fill:#8ee6d6;
  font-size:12px;
  letter-spacing:.06em;
}

.natal-signature,
.natal-summary-grid,
.natal-body-grid,
.natal-aspect-grid,
.natal-data-grid,
.natal-layer-grid,
.natal-house-grid,
.natal-zodiac-grid,
.natal-topic-grid {
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
}

.natal-signature article,
.natal-summary-grid article,
.natal-aspect-grid article,
.natal-body-card,
.natal-element-row,
.natal-data-grid article,
.natal-layer-grid article,
.natal-house-card,
.natal-zodiac-grid article,
.natal-topic-card {
  padding:18px;
  border:1px solid rgba(255, 255, 255, .1);
  border-radius:20px;
  background:rgba(255, 255, 255, .045);
}

.natal-signature span,
.natal-aspect-grid span,
.natal-element-row span,
.natal-data-grid span,
.natal-house-card span,
.natal-zodiac-grid span,
.natal-topic-card span {
  display:block;
  margin-bottom:8px;
  color:#8ee6d6;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.natal-signature b,
.natal-summary-grid b,
.natal-aspect-grid b,
.natal-element-row b,
.natal-data-grid b,
.natal-layer-grid b,
.natal-house-card b,
.natal-zodiac-grid b {
  display:block;
  color:#f5dfa8;
  font-size:18px;
  line-height:1.25;
}

.natal-signature p,
.natal-summary-grid p,
.natal-aspect-grid p,
.natal-element-row p,
.natal-data-grid p,
.natal-layer-grid p,
.natal-house-card p,
.natal-zodiac-grid p,
.natal-topic-card p {
  margin:8px 0 0;
  color:var(--muted);
  line-height:1.5;
}

.natal-layer-grid {
  grid-template-columns:repeat(4, minmax(0, 1fr));
}

.natal-body-grid {
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.natal-body-card {
  display:grid;
  gap:14px;
}

.natal-body-top {
  display:flex;
  gap:12px;
  align-items:flex-start;
}

.natal-body-top>span {
  flex:0 0 48px;
  height:48px;
  display:grid;
  place-items:center;
  border:1px solid rgba(230, 193, 108, .22);
  border-radius:16px;
  color:#f5dfa8;
  background:rgba(230, 193, 108, .08);
  font-size:22px;
  font-weight:900;
}

.natal-body-top b {
  display:block;
  margin-bottom:4px;
  color:#fff7eb;
}

.natal-body-top p {
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.35;
}

.natal-body-card h3 {
  margin:0;
  color:#f5dfa8;
  font-size:24px;
}

.natal-body-card dl {
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px;
  margin:0;
}

.natal-body-card dl div {
  padding:10px;
  border-radius:14px;
  background:rgba(255, 255, 255, .045);
}

.natal-body-card dt {
  color:var(--muted);
  font-size:12px;
}

.natal-body-card dd {
  margin:4px 0 0;
  color:#fff7eb;
  font-weight:800;
}

.natal-body-meaning {
  margin:0;
  color:rgba(255, 247, 235, .7);
  font-size:13px;
  line-height:1.5;
}

.natal-house-grid {
  grid-template-columns:repeat(4, minmax(0, 1fr));
}

.natal-house-card,
.natal-zodiac-grid article {
  display:grid;
  align-content:start;
}

.natal-house-card small,
.natal-zodiac-grid small {
  display:block;
  margin-top:12px;
  color:rgba(255, 247, 235, .76);
  font-weight:800;
  line-height:1.45;
}

.natal-topic-grid {
  grid-template-columns:repeat(2, minmax(0, 1fr));
}

.natal-topic-card {
  display:grid;
  gap:14px;
}

.natal-topic-card h3 {
  margin:0;
  color:#f5dfa8;
  font-size:24px;
}

.natal-topic-card section {
  padding:14px;
  border-radius:16px;
  background:rgba(255, 255, 255, .045);
}

.natal-topic-card section + section {
  margin-top:10px;
}

.natal-element-grid {
  display:grid;
  gap:12px;
}

.natal-element-row {
  display:grid;
  grid-template-columns:190px minmax(160px, 1fr) minmax(0, 1fr);
  gap:14px;
  align-items:center;
}

.natal-element-row span {
  margin:4px 0 0;
  color:var(--muted);
  text-transform:none;
  letter-spacing:0;
}

.natal-element-track {
  height:12px;
  overflow:hidden;
  border-radius:999px;
  background:rgba(255, 255, 255, .08);
}

.natal-element-track i {
  display:block;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg, #8ee6d6, #f4b6c8, #e6c16c);
}

.natal-feature {
  display:grid;
  grid-template-columns:minmax(0, .9fr) minmax(320px, 1fr);
  gap:18px;
  align-items:stretch;
  margin-bottom:72px;
}

.natal-feature-card,
.natal-feature-panel {
  position:relative;
  overflow:hidden;
  padding:24px;
  border:1px solid var(--line);
  border-radius:28px;
  background:
    radial-gradient(circle at 18% 10%, rgba(142, 230, 214, .12), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
}

.natal-feature-card h2 {
  max-width:620px;
  margin-bottom:12px;
  font-size:clamp(30px, 4.6vw, 54px);
  line-height:1;
}

.natal-feature-card p,
.natal-feature-panel p {
  color:var(--muted);
  line-height:1.6;
}

.natal-feature-list {
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:10px;
  margin:22px 0;
}

.natal-feature-list span {
  min-height:84px;
  display:grid;
  place-items:center;
  padding:14px;
  border:1px solid rgba(255, 255, 255, .1);
  border-radius:18px;
  background:rgba(255, 255, 255, .045);
  color:#f5dfa8;
  font-weight:900;
  text-align:center;
}

.natal-mini-wheel {
  width:100%;
  aspect-ratio:1.6;
  display:grid;
  place-items:center;
}

.natal-mini-wheel svg {
  width:min(100%, 420px);
  height:auto;
  overflow:visible;
}

@media(max-width:1100px) {
  .nav {
    gap:6px;
  }

  .nav a {
    padding:9px 10px;
    font-size:13px;
  }

  .natal-feature {
    grid-template-columns:1fr;
  }

  .natal-layer-grid,
  .natal-house-grid {
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media(max-width:980px) {
  .topbar {
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
  }

  .nav {
    width:100%;
    display:flex;
    flex-wrap:nowrap;
    justify-content:flex-start;
    overflow-x:auto;
    padding:6px;
    border-radius:20px;
    scrollbar-width:thin;
  }

  .nav a {
    flex:0 0 auto;
  }
}

@media(max-width:900px) {
  .natal-hero,
  .natal-calculator,
  .natal-result-head,
  .natal-wheel-head,
  .natal-element-row,
  .natal-layer-preview {
    grid-template-columns:1fr;
    display:grid;
  }

  .natal-orbit-visual {
    width:min(100%, 300px);
  }

  .natal-signature,
  .natal-summary-grid,
  .natal-body-grid,
  .natal-aspect-grid,
  .natal-info-grid,
  .natal-data-grid,
  .natal-layer-grid,
  .natal-house-grid,
  .natal-zodiac-grid,
  .natal-topic-grid,
  .natal-feature-list {
    grid-template-columns:1fr;
  }
}

@media(max-width:640px) {
  .natal-hero,
  .natal-form,
  .natal-side,
  .natal-wheel-wrap,
  .natal-reading,
  .natal-feature-card,
  .natal-feature-panel {
    padding:16px;
    border-radius:22px;
  }

  .natal-form-grid,
  .natal-form-grid-three,
  .natal-body-card dl,
  .natal-layer-preview-grid {
    grid-template-columns:1fr;
  }

  .natal-result-badge {
    min-width:0;
  }
}

/* Static content blocks */
:where(
  .trust-item,
  .magic-chip,
  .feature,
  .plan,
  .review,
  .panel,
  .seo-text,
  .legal-card,
  .final-cta,
  .step,
  .intent-card,
  .experience-point,
  .safety-section,
  .safety-grid article,
  .faq details,
  .news-card,
  .cabinet-panel,
  .admin-request,
  .admin-news-card,
  .admin-plan-card,
  .matrix-card,
  .matrix-summary article,
  .matrix-deep-card,
  .matrix-channel,
  .matrix-practice,
  .matrix-disclaimer,
  .matrix-expanded-card,
  .matrix-forecast-card,
  .matrix-year-card,
  .numerology-card,
  .natal-info-card,
  .natal-layer-preview,
  .natal-reading,
  .natal-side,
  .natal-form,
  .natal-result,
  .natal-feature-card,
  .natal-feature-panel
) {
  animation:none!important;
}

:where(
  .trust-item,
  .magic-chip,
  .feature,
  .plan,
  .review,
  .panel,
  .seo-text,
  .legal-card,
  .final-cta,
  .step,
  .intent-card,
  .experience-point,
  .safety-section,
  .safety-grid article,
  .faq details,
  .news-card,
  .cabinet-panel,
  .admin-request,
  .admin-news-card,
  .admin-plan-card,
  .matrix-card,
  .matrix-summary article,
  .matrix-deep-card,
  .matrix-channel,
  .matrix-practice,
  .matrix-disclaimer,
  .matrix-expanded-card,
  .matrix-forecast-card,
  .matrix-year-card,
  .numerology-card,
  .natal-info-card,
  .natal-layer-preview,
  .natal-reading,
  .natal-side,
  .natal-form,
  .natal-result,
  .natal-feature-card,
  .natal-feature-panel
):hover {
  transform:none!important;
}

/* Personality code section */
.code-page {
  max-width:1180px;
}

.code-page *,
.code-page *::before,
.code-page *::after {
  animation:none!important;
  transition:none!important;
  scroll-behavior:auto!important;
}

.code-page .legal-card:hover,
.code-page article:hover,
.code-page section:hover,
.code-page .btn:hover {
  transform:none!important;
}

.code-hero {
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(320px, .72fr);
  gap:clamp(22px, 4vw, 56px);
  align-items:center;
  margin-bottom:18px;
  overflow:hidden;
  background:
    radial-gradient(circle at 78% 12%, rgba(142, 230, 214, .16), transparent 34%),
    radial-gradient(circle at 14% 86%, rgba(230, 193, 108, .12), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .035));
}

.code-hero h1 {
  margin-bottom:16px;
  font-size:clamp(44px, 7vw, 84px);
  line-height:.95;
}

.code-hero p,
.code-concept p,
.code-side p,
.code-note {
  color:var(--muted);
  line-height:1.65;
}

.code-hero-points,
.code-side-list {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:24px;
}

.code-hero-points span,
.code-side-list span {
  min-height:38px;
  display:inline-flex;
  align-items:center;
  padding:9px 12px;
  border:1px solid rgba(255, 255, 255, .1);
  border-radius:999px;
  background:rgba(255, 255, 255, .055);
  color:rgba(255, 247, 235, .76);
  font-size:13px;
  font-weight:900;
}

.code-oracle-visual {
  justify-self:center;
  width:min(100%, 380px);
}

.code-oracle-visual svg {
  width:100%;
  height:auto;
  display:block;
  border:1px solid rgba(255, 255, 255, .1);
  border-radius:50%;
  background:rgba(255, 255, 255, .035);
}

.code-info-grid,
.code-system-grid {
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
  margin-bottom:18px;
}

.code-info-card,
.code-system-grid article {
  display:grid;
  gap:10px;
}

.code-info-card>span,
.code-system-grid span {
  width:max-content;
  min-width:48px;
  height:48px;
  display:grid;
  place-items:center;
  padding:0 14px;
  border:1px solid rgba(142, 230, 214, .26);
  border-radius:16px;
  color:#8ee6d6;
  background:rgba(142, 230, 214, .07);
  font-size:14px;
  font-weight:900;
  letter-spacing:.08em;
}

.code-info-card h2,
.code-system-grid h2 {
  margin:0;
  font-size:24px;
}

.code-info-card p,
.code-system-grid p {
  margin:0;
  color:var(--muted);
  line-height:1.55;
}

.code-concept {
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(280px, .55fr);
  gap:18px;
  align-items:center;
  margin-bottom:18px;
}

.code-flow {
  display:grid;
  grid-template-columns:1fr auto 1fr auto 1fr;
  gap:10px;
  align-items:center;
}

.code-flow span {
  min-height:82px;
  display:grid;
  place-items:center;
  padding:14px;
  border:1px solid rgba(255, 255, 255, .1);
  border-radius:18px;
  background:rgba(255, 255, 255, .045);
  color:#f5dfa8;
  font-weight:900;
  text-align:center;
}

.code-flow b {
  color:#8ee6d6;
  font-size:24px;
}

.code-calculator {
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(280px, .42fr);
  gap:18px;
  align-items:start;
  margin-bottom:18px;
}

.code-form,
.code-side {
  display:grid;
  gap:16px;
}

.code-form-grid {
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}

.code-form-grid-three {
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.code-result {
  display:grid;
  gap:18px;
  margin-bottom:18px;
}

.code-result,
.code-result *,
.code-result::before,
.code-result::after {
  animation:none!important;
  transition:none!important;
}

.code-result-head {
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
}

.code-result-head h2 {
  margin-bottom:8px;
  font-size:clamp(32px, 4.8vw, 56px);
}

.code-result-head p {
  color:var(--muted);
}

.code-result-badge {
  min-width:210px;
  padding:16px;
  border:1px solid rgba(142, 230, 214, .26);
  border-radius:22px;
  background:
    radial-gradient(circle at 20% 0%, rgba(142, 230, 214, .18), transparent 48%),
    rgba(255, 255, 255, .055);
}

.code-result-badge span,
.code-passport span,
.code-reading span,
.code-center-card span,
.code-gate-grid span,
.code-channel-grid span {
  display:block;
  margin-bottom:8px;
  color:#8ee6d6;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.code-result-badge b {
  color:#f5dfa8;
  font-size:20px;
}

.code-dashboard {
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  align-items:start;
}

.code-bodygraph-card,
.code-passport,
.code-reading,
.code-disclaimer {
  padding:20px;
  border:1px solid var(--line);
  border-radius:26px;
  background:
    radial-gradient(circle at 16% 8%, rgba(142, 230, 214, .09), transparent 30%),
    rgba(255, 255, 255, .04);
}

.code-graph-head {
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
  margin-bottom:16px;
}

.code-graph-head p {
  max-width:420px;
  margin:0;
  color:var(--muted);
  line-height:1.5;
}

.code-bodygraph {
  width:100%;
  max-width:1180px;
  height:auto;
  display:block;
  margin:0 auto;
  border-radius:24px;
  background:#eef7f9;
}

.code-wheel-bg {
  fill:url(#codeWheelGlow);
  stroke:rgba(18, 30, 38, .22);
  stroke-width:2;
}

.code-wheel-gate rect {
  fill:#fff;
  stroke:rgba(18, 30, 38, .25);
}

.code-wheel-gate text {
  text-anchor:middle;
  fill:#23303a;
  font-size:11px;
  font-weight:900;
}

.code-wheel-gate-red rect {
  fill:#e24a3b;
}

.code-wheel-gate-gold rect {
  fill:#d6a74d;
}

.code-wheel-gate-green rect {
  fill:#9fd177;
}

.code-wheel-gate-muted rect {
  fill:#fff;
}

.code-channel-lines line {
  stroke:rgba(18, 30, 38, .25);
  stroke-width:5;
  stroke-linecap:round;
}

.code-channel-lines line.is-active {
  stroke:#101018;
  stroke-width:8;
}

.code-center polygon,
.code-center rect {
  fill:#f7f7f1;
  stroke:#26313a;
  stroke-width:2;
}

.code-center.is-defined polygon,
.code-center.is-defined rect {
  fill:#d6a74d;
}

.code-center-sacral.is-defined rect,
.code-center-root.is-defined rect {
  fill:#df4b3f;
}

.code-center-g.is-defined polygon {
  fill:#f6e86f;
}

.code-center text {
  text-anchor:middle;
  dominant-baseline:middle;
  fill:#101018;
  font-size:11px;
  font-weight:900;
}

.code-passport {
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:12px;
}

.code-passport article,
.code-reading-grid article,
.code-center-card,
.code-gate-grid article,
.code-channel-grid article,
.code-trigger-grid article {
  padding:16px;
  border:1px solid rgba(255, 255, 255, .1);
  border-radius:18px;
  background:rgba(255, 255, 255, .045);
}

.code-passport b,
.code-reading-grid b,
.code-center-card b,
.code-gate-grid b,
.code-channel-grid b,
.code-trigger-grid b {
  display:block;
  color:#f5dfa8;
  font-size:18px;
  line-height:1.25;
}

.code-passport p,
.code-reading-grid p,
.code-center-card p,
.code-gate-grid p,
.code-channel-grid p,
.code-trigger-grid p,
.code-center-card small {
  margin:8px 0 0;
  color:var(--muted);
  line-height:1.5;
}

.code-reading-grid,
.code-center-grid,
.code-gate-grid,
.code-channel-grid,
.code-trigger-grid {
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
}

.code-center-grid {
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.code-center-card.is-defined {
  border-color:rgba(230, 193, 108, .26);
  background:
    radial-gradient(circle at 20% 0%, rgba(230, 193, 108, .14), transparent 42%),
    rgba(255, 255, 255, .05);
}

.code-gate-grid {
  grid-template-columns:repeat(4, minmax(0, 1fr));
}

.code-channel-grid {
  grid-template-columns:repeat(2, minmax(0, 1fr));
}

.code-trigger-grid {
  grid-template-columns:repeat(4, minmax(0, 1fr));
}

.code-feature {
  display:grid;
  grid-template-columns:minmax(0, .9fr) minmax(320px, 1fr);
  gap:18px;
  align-items:stretch;
  margin-bottom:72px;
}

.code-feature-card,
.code-feature-panel {
  position:relative;
  overflow:hidden;
  padding:24px;
  border:1px solid var(--line);
  border-radius:28px;
  background:
    radial-gradient(circle at 18% 10%, rgba(142, 230, 214, .12), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
}

.code-feature-card h2 {
  max-width:660px;
  margin-bottom:12px;
  font-size:clamp(30px, 4.6vw, 54px);
  line-height:1;
}

.code-feature-card p,
.code-feature-panel p {
  color:var(--muted);
  line-height:1.6;
}

.code-feature-list {
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:10px;
  margin:22px 0;
}

.code-feature-list span {
  min-height:84px;
  display:grid;
  place-items:center;
  padding:14px;
  border:1px solid rgba(255, 255, 255, .1);
  border-radius:18px;
  background:rgba(255, 255, 255, .045);
  color:#f5dfa8;
  font-weight:900;
  text-align:center;
}

.code-mini-graph svg {
  width:100%;
  height:auto;
  display:block;
  overflow:visible;
}

.matrix-feature {
  display:grid;
  grid-template-columns:minmax(0, .9fr) minmax(320px, 1fr);
  gap:18px;
  align-items:stretch;
  margin-bottom:72px;
}

.matrix-feature-card,
.matrix-feature-panel {
  position:relative;
  overflow:hidden;
  padding:24px;
  border:1px solid var(--line);
  border-radius:28px;
  background:
    radial-gradient(circle at 18% 10%, rgba(230, 193, 108, .13), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(142, 230, 214, .08), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
}

.matrix-feature-card h2 {
  max-width:680px;
  margin-bottom:12px;
  font-size:clamp(30px, 4.6vw, 54px);
  line-height:1;
}

.matrix-feature-card p,
.matrix-feature-panel p {
  color:var(--muted);
  line-height:1.6;
}

.matrix-feature-list {
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:10px;
  margin:22px 0;
}

.matrix-feature-list span {
  min-height:84px;
  display:grid;
  place-items:center;
  padding:14px;
  border:1px solid rgba(255, 255, 255, .1);
  border-radius:18px;
  background:rgba(255, 255, 255, .045);
  color:#f5dfa8;
  font-weight:900;
  text-align:center;
}

.matrix-mini-seal {
  width:100%;
  aspect-ratio:1.6;
  display:grid;
  place-items:center;
}

.matrix-mini-seal svg {
  width:min(100%, 420px);
  height:auto;
  display:block;
  overflow:visible;
}

@media(max-width:1100px) {
  .code-system-grid,
  .code-gate-grid,
  .code-trigger-grid,
  .matrix-feature-list,
  .code-feature-list,
  .code-passport {
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .matrix-feature,
  .code-feature {
    grid-template-columns:1fr;
  }
}

@media(max-width:900px) {
  .code-hero,
  .code-concept,
  .code-calculator,
  .code-dashboard,
  .code-result-head,
  .code-graph-head {
    grid-template-columns:1fr;
    display:grid;
  }

  .code-info-grid,
  .code-system-grid,
  .code-reading-grid,
  .code-center-grid,
  .code-gate-grid,
  .code-channel-grid,
  .code-trigger-grid,
  .code-passport,
  .matrix-feature-list,
  .code-feature-list {
    grid-template-columns:1fr;
  }

  .code-flow {
    grid-template-columns:1fr;
  }
}

@media(max-width:640px) {
  .code-hero,
  .code-form,
  .code-side,
  .code-bodygraph-card,
  .code-passport,
  .code-reading,
  .matrix-feature-card,
  .matrix-feature-panel,
  .code-feature-card,
  .code-feature-panel {
    padding:16px;
    border-radius:22px;
  }

  .code-form-grid,
  .code-form-grid-three {
    grid-template-columns:1fr;
  }

  .code-result-badge {
    min-width:0;
  }

  .code-bodygraph {
    min-width:0;
  }

  .code-bodygraph-card {
    overflow:hidden;
  }
}

/* Final navigation and Tarot library interaction polish */
.topbar {
  display:grid;
  grid-template-columns:auto minmax(0, 1fr);
  align-items:center;
  gap:18px;
  padding:12px 14px;
  border-radius:24px;
}

.brand {
  min-width:0;
  gap:12px;
  font-size:20px;
  line-height:1;
  letter-spacing:0;
}

.brand span:last-child {
  max-width:190px;
  color:#fffaf4;
  text-wrap:balance;
}

.brand-mark {
  flex:0 0 auto;
  width:42px;
  height:42px;
  border-radius:14px;
  font-size:20px;
}

.nav {
  width:100%;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:6px;
  padding:6px;
  border-radius:22px;
}

.nav a {
  min-height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 13px;
  border-radius:999px;
  white-space:nowrap;
  font-size:14px;
  line-height:1;
}

.nav a.is-active,
.nav .nav-account {
  box-shadow:none;
}

.tarot-card-tile.is-open {
  border-color:rgba(247, 216, 137, .72);
  background:
    radial-gradient(circle at 50% 18%, rgba(247, 216, 137, .18), transparent 42%),
    rgba(52, 37, 65, .9);
}

.tarot-card-detail {
  grid-column:1 / -1;
  margin:6px 0 12px;
}

@media(max-width:1120px) {
  .topbar {
    grid-template-columns:1fr;
    gap:12px;
  }

  .brand span:last-child {
    max-width:none;
  }

  .nav {
    justify-content:flex-start;
  }
}

@media(max-width:720px) {
  .topbar {
    padding:10px;
  }

  .brand {
    font-size:18px;
  }

  .brand-mark {
    width:38px;
    height:38px;
  }

  .nav {
    flex-wrap:nowrap;
    overflow-x:auto;
    border-radius:18px;
    scrollbar-width:thin;
  }

  .nav a {
    flex:0 0 auto;
    min-height:36px;
    padding:0 12px;
    font-size:13px;
  }
}

/* Shared page width standard */
.page,
.legal-page,
.cabinet-page,
.news-page,
.matrix-page,
.natal-page,
.code-page,
.tarot-library-page {
  width:min(var(--container), calc(100% - 32px));
  max-width:var(--container);
}

@media(max-width:768px) {
  .page,
  .legal-page,
  .cabinet-page,
  .news-page,
  .matrix-page,
  .natal-page,
  .code-page,
  .tarot-library-page {
    width:min(100% - 24px, 680px);
    max-width:680px;
  }
}

@media(max-width:420px) {
  .page,
  .legal-page,
  .cabinet-page,
  .news-page,
  .matrix-page,
  .natal-page,
  .code-page,
  .tarot-library-page {
    width:calc(100% - 20px);
    max-width:none;
  }
}
