@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=Noto+Serif+SC:wght@400;500;600;700&display=swap");

:root {
  --bg-deep: #0f0a1a;
  --gold: #c9a96e;
  --paper: #f5f0e8;
  --ink: #1a1410;
  --bg-velvet: #181020;
  --bg-night: #090611;
  --gold-soft: #ead7a4;
  --gold-muted: #8d7240;
  --ember: #b35c42;
  --jade: #7aa083;
  --moon: #d8e0ee;
  --paper-deep: #e8ddce;
  --paper-line: rgba(96, 71, 43, 0.22);
  --paper-shadow: rgba(12, 8, 5, 0.22);
  --white-soft: rgba(255, 255, 255, 0.82);
  --white-faint: rgba(255, 255, 255, 0.12);
  --black-faint: rgba(0, 0, 0, 0.18);
  --radius: 8px;
  --nav-height: 74px;
  --content-width: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--paper);
  background:
    linear-gradient(180deg, rgba(15, 10, 26, 0.92), rgba(9, 6, 17, 0.98)),
    radial-gradient(circle at 10% 18%, rgba(201, 169, 110, 0.14), transparent 34%),
    radial-gradient(circle at 84% 8%, rgba(122, 160, 131, 0.1), transparent 28%),
    var(--bg-deep);
  font-family: "Inter", sans-serif;
  line-height: 1.65;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(201, 169, 110, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(201, 169, 110, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, black 0%, transparent 80%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.32;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.5) 1px, transparent 1.5px),
    radial-gradient(circle, rgba(201, 169, 110, 0.6) 1px, transparent 1.4px);
  background-position: 0 0, 28px 34px;
  background-size: 82px 82px, 126px 126px;
  animation: starDrift 18s linear infinite;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img,
svg {
  max-width: 100%;
}

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

p,
h1,
h2,
h3,
h4,
ul,
ol,
figure {
  margin-top: 0;
}

p {
  color: rgba(245, 240, 232, 0.78);
}

ul,
ol {
  padding-left: 1.2rem;
}

li {
  margin-bottom: 8px;
}

strong {
  font-weight: 700;
}

[hidden] {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--nav-height);
  border-bottom: 1px solid rgba(201, 169, 110, 0.22);
  background: rgba(15, 10, 26, 0.88);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--content-width), calc(100% - 40px));
  min-height: var(--nav-height);
  margin: 0 auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-soft);
  font-family: "Cinzel", serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(201, 169, 110, 0.72);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(201, 169, 110, 0.1);
  box-shadow: 0 0 26px rgba(201, 169, 110, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nav-links a {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--gold-soft);
  font-size: 14px;
  font-weight: 600;
  transition:
    color 180ms var(--ease),
    background 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--bg-night);
  background: var(--gold);
  box-shadow: 0 0 28px rgba(201, 169, 110, 0.22);
}

.page-shell {
  width: min(var(--content-width), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: calc(100vh - var(--nav-height));
  padding: 94px 0 72px;
  overflow: hidden;
}

.hero.compact {
  min-height: auto;
  padding: 76px 0 42px;
}

.star-field {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  border-bottom: 1px solid rgba(201, 169, 110, 0.16);
}

.star-field::before,
.star-field::after {
  position: absolute;
  inset: -10%;
  content: "";
  background-repeat: repeat;
  animation: twinkle 4.8s ease-in-out infinite alternate;
}

.star-field::before {
  opacity: 0.72;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(201, 169, 110, 0.72) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(122, 160, 131, 0.56) 0 1px, transparent 1.3px);
  background-position: 20px 14px, 76px 88px, 132px 34px;
  background-size: 180px 180px, 240px 240px, 300px 300px;
}

.star-field::after {
  opacity: 0.36;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.75) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(201, 169, 110, 0.48) 0 1px, transparent 1.5px);
  background-position: 44px 54px, 118px 26px;
  background-size: 140px 140px, 210px 210px;
  animation-duration: 7.2s;
}

.hero-content {
  max-width: 820px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 22px;
  padding: 7px 12px;
  border: 1px solid rgba(201, 169, 110, 0.42);
  border-radius: 999px;
  color: var(--gold-soft);
  background: rgba(15, 10, 26, 0.58);
  font-size: 13px;
  font-weight: 700;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: var(--gold);
  box-shadow: 0 0 18px rgba(201, 169, 110, 0.8);
}

.hero h1,
.page-title {
  margin-bottom: 22px;
  color: var(--paper);
  font-family: "Cinzel", serif;
  font-size: clamp(46px, 8vw, 96px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.hero p,
.page-intro {
  max-width: 760px;
  margin-bottom: 34px;
  color: rgba(245, 240, 232, 0.78);
  font-size: clamp(17px, 2.1vw, 22px);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--paper);
  background:
    linear-gradient(var(--bg-deep), var(--bg-deep)) padding-box,
    linear-gradient(135deg, var(--gold-soft), var(--gold), var(--ember)) border-box;
  box-shadow: 0 0 0 rgba(201, 169, 110, 0);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  transition:
    transform 180ms var(--ease),
    box-shadow 180ms var(--ease),
    color 180ms var(--ease);
}

.btn:hover {
  color: #fffaf2;
  box-shadow:
    0 0 22px rgba(201, 169, 110, 0.34),
    0 14px 34px rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}

.btn:focus-visible,
.nav-links a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}

.btn.secondary {
  color: var(--gold-soft);
  background:
    linear-gradient(rgba(15, 10, 26, 0.74), rgba(15, 10, 26, 0.74)) padding-box,
    linear-gradient(135deg, rgba(201, 169, 110, 0.56), rgba(245, 240, 232, 0.22)) border-box;
}

.section {
  padding: 76px 0;
}

.section.tight {
  padding: 42px 0;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.section-header h2,
.content-section h2,
.result-block h2 {
  margin-bottom: 10px;
  color: var(--paper);
  font-family: "Cinzel", serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-header p,
.content-section > p {
  max-width: 700px;
  margin-bottom: 0;
}

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

.card {
  position: relative;
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(201, 169, 110, 0.18);
  border-radius: var(--radius);
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(255, 251, 244, 0.96), rgba(232, 221, 206, 0.94)),
    var(--paper);
  box-shadow: 0 20px 54px var(--paper-shadow);
  transition:
    border-color 180ms var(--ease),
    transform 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.card:hover {
  border-color: var(--gold);
  box-shadow:
    0 20px 58px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(201, 169, 110, 0.28);
  transform: translateY(-3px);
}

.card .icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border: 1px solid rgba(201, 169, 110, 0.44);
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.16);
  font-size: 24px;
}

.card h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-family: "Cinzel", serif;
  font-size: 24px;
  line-height: 1.15;
}

.card p,
.card li {
  color: rgba(26, 20, 16, 0.78);
}

.split-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.panel {
  position: sticky;
  top: calc(var(--nav-height) + 22px);
  padding: 24px;
  border: 1px solid rgba(201, 169, 110, 0.24);
  border-radius: var(--radius);
  background: rgba(15, 10, 26, 0.72);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.panel h2 {
  margin-bottom: 8px;
  color: var(--paper);
  font-family: "Cinzel", serif;
  font-size: 28px;
  line-height: 1.14;
}

.panel p {
  margin-bottom: 22px;
  font-size: 14px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

label {
  color: var(--gold-soft);
  font-size: 14px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(201, 169, 110, 0.28);
  border-radius: 6px;
  color: var(--paper);
  background: rgba(9, 6, 17, 0.78);
}

input::placeholder {
  color: rgba(245, 240, 232, 0.45);
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold-soft) 50%),
    linear-gradient(135deg, var(--gold-soft) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 20px,
    calc(100% - 12px) 20px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.year-tools {
  display: flex;
  gap: 8px;
  margin-top: -8px;
  margin-bottom: 16px;
}

.year-tools button {
  flex: 1;
  min-height: 38px;
  border: 1px solid rgba(201, 169, 110, 0.28);
  border-radius: 999px;
  color: var(--gold-soft);
  background: rgba(201, 169, 110, 0.08);
  transition:
    border-color 180ms var(--ease),
    background 180ms var(--ease);
}

.year-tools button:hover {
  border-color: var(--gold);
  background: rgba(201, 169, 110, 0.16);
}

.form-error {
  min-height: 22px;
  margin: 12px 0 0;
  color: #ffb39f;
  font-size: 14px;
}

.empty-state {
  display: grid;
  min-height: 440px;
  place-items: center;
  padding: 30px;
  border: 1px dashed rgba(201, 169, 110, 0.34);
  border-radius: var(--radius);
  text-align: center;
  background: rgba(15, 10, 26, 0.46);
}

.empty-state strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-soft);
  font-family: "Cinzel", serif;
  font-size: 24px;
}

.result-stack {
  display: grid;
  gap: 18px;
}

.result-block {
  padding: 24px;
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: var(--radius);
  background: rgba(15, 10, 26, 0.58);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.result-kicker {
  margin-bottom: 8px;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 700;
}

.lunar-line {
  margin-bottom: 18px;
  color: rgba(245, 240, 232, 0.7);
  font-size: 14px;
}

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

.pillar-card {
  min-height: 180px;
  padding: 18px;
  border: 1px solid rgba(201, 169, 110, 0.26);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
}

.pillar-card p {
  margin-bottom: 12px;
  color: rgba(26, 20, 16, 0.62);
  font-size: 13px;
  font-weight: 700;
}

.pillar-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-family: "Noto Serif SC", serif;
  font-size: 46px;
  line-height: 1;
}

.pillar-card span {
  display: block;
  margin-bottom: 14px;
  color: rgba(26, 20, 16, 0.74);
  font-size: 14px;
}

.pillar-card small {
  display: block;
  color: rgba(26, 20, 16, 0.66);
  font-size: 12px;
  line-height: 1.45;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(96, 71, 43, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(96, 71, 43, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
}

table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  color: var(--ink);
  font-size: 14px;
}

th,
td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(96, 71, 43, 0.16);
  text-align: left;
  vertical-align: top;
}

th {
  color: rgba(26, 20, 16, 0.66);
  background: rgba(201, 169, 110, 0.18);
  font-size: 12px;
  font-weight: 800;
}

td strong {
  display: block;
  color: var(--ink);
}

td span {
  display: block;
  color: rgba(26, 20, 16, 0.64);
  font-size: 12px;
}

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

.bars {
  display: grid;
  gap: 13px;
}

.bar-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 12px;
}

.bar-row span:first-child,
.bar-row b {
  color: var(--paper);
  font-size: 14px;
}

.bar {
  height: 12px;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 110, 0.22);
  border-radius: 999px;
  background: rgba(245, 240, 232, 0.1);
}

.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
}

.element-wood .bar span {
  background: linear-gradient(90deg, #6aa36f, #b9d98a);
}

.element-fire .bar span {
  background: linear-gradient(90deg, #b35c42, #f0a45d);
}

.element-earth .bar span {
  background: linear-gradient(90deg, #a98a55, #d8bf7a);
}

.element-metal .bar span {
  background: linear-gradient(90deg, #aeb7bf, #f3efe0);
}

.element-water .bar span {
  background: linear-gradient(90deg, #4f7ea3, #9ed0e8);
}

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

.archetype-chip {
  padding: 14px;
  border: 1px solid rgba(201, 169, 110, 0.22);
  border-radius: var(--radius);
  background: rgba(245, 240, 232, 0.08);
}

.archetype-chip strong {
  display: block;
  margin-bottom: 5px;
  color: var(--gold-soft);
}

.archetype-chip span {
  color: rgba(245, 240, 232, 0.72);
  font-size: 13px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(201, 169, 110, 0.24);
  border-radius: 999px;
  color: var(--gold-soft);
  background: rgba(201, 169, 110, 0.08);
  font-size: 13px;
}

.content-section {
  padding: 42px 0;
  border-bottom: 1px solid rgba(201, 169, 110, 0.16);
}

.content-section:last-child {
  border-bottom: 0;
}

.content-section p {
  max-width: 860px;
}

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

.data-card {
  padding: 22px;
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: var(--radius);
  background: rgba(245, 240, 232, 0.08);
}

.data-card h3 {
  margin-bottom: 10px;
  color: var(--gold-soft);
  font-family: "Cinzel", serif;
}

.term-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.term {
  min-height: 74px;
  padding: 12px;
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
}

.term strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Noto Serif SC", serif;
  font-size: 22px;
}

.term span {
  display: block;
  color: rgba(26, 20, 16, 0.66);
  font-size: 12px;
  line-height: 1.35;
}

.compare-table {
  margin-top: 22px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 36px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px;
  border: 1px solid rgba(201, 169, 110, 0.24);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.25);
}

.price-card.featured {
  border-color: var(--gold);
  transform: translateY(-10px);
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(201, 169, 110, 0.34),
    0 0 34px rgba(201, 169, 110, 0.18);
}

.badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--bg-night);
  background: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.price-card h2 {
  margin-bottom: 8px;
  color: var(--ink);
  font-family: "Cinzel", serif;
  font-size: 30px;
}

.price {
  margin-bottom: 18px;
  color: var(--ink);
  font-family: "Cinzel", serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.price-card p,
.price-card li {
  color: rgba(26, 20, 16, 0.76);
}

.price-card ul {
  flex: 1;
  margin-bottom: 24px;
}

.price-card .btn {
  width: 100%;
  color: var(--paper);
  background:
    linear-gradient(var(--ink), var(--ink)) padding-box,
    linear-gradient(135deg, var(--gold-soft), var(--gold), var(--ember)) border-box;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 3, 8, 0.72);
  backdrop-filter: blur(12px);
}

.modal {
  width: min(480px, 100%);
  padding: 28px;
  border: 1px solid rgba(201, 169, 110, 0.36);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.45);
}

.modal h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-family: "Cinzel", serif;
}

.modal p {
  color: rgba(26, 20, 16, 0.72);
}

.modal-close {
  float: right;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(26, 20, 16, 0.14);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(26, 20, 16, 0.04);
  font-size: 24px;
  line-height: 1;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 42px 0 0;
  padding: 26px;
  border: 1px solid rgba(201, 169, 110, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(201, 169, 110, 0.16), rgba(122, 160, 131, 0.08)),
    rgba(15, 10, 26, 0.68);
}

.cta-band h2,
.cta-band p {
  margin-bottom: 0;
}

.site-footer {
  padding: 44px 0;
  border-top: 1px solid rgba(201, 169, 110, 0.18);
  color: rgba(245, 240, 232, 0.62);
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--content-width), calc(100% - 40px));
  margin: 0 auto;
  gap: 18px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 14px;
}

.footer-links a {
  color: var(--gold-soft);
}

.sixty-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
}

.sixty-grid span {
  padding: 10px;
  border: 1px solid rgba(201, 169, 110, 0.18);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  font-size: 12px;
}

details {
  margin-top: 20px;
}

summary {
  cursor: pointer;
  color: var(--gold-soft);
  font-weight: 700;
}

.nav-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  color: rgba(245, 240, 232, 0.62);
  font-size: 12px;
  white-space: nowrap;
}

.nav-meta span {
  min-height: 32px;
  padding: 6px 9px;
  border: 1px solid rgba(201, 169, 110, 0.18);
  border-radius: 999px;
  background: rgba(245, 240, 232, 0.05);
}

.hero .page-shell {
  position: relative;
  z-index: 1;
}

.hero::after {
  position: absolute;
  inset: auto -8% 8% -8%;
  z-index: 0;
  height: 42%;
  content: "";
  pointer-events: none;
  opacity: 0.28;
  background-image:
    radial-gradient(circle, rgba(234, 215, 164, 0.62) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(122, 160, 131, 0.5) 0 1px, transparent 1.5px);
  background-position: 12px 18px, 84px 62px;
  background-size: 110px 110px, 168px 168px;
  transform: translate3d(0, 0, 0);
  animation: particleRise 26s linear infinite;
}

.sample-reading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 34px;
}

.sample-copy,
.sample-scroll,
.newsletter-band,
.share-panel,
.faq-item,
.insight-card {
  border: 1px solid rgba(201, 169, 110, 0.22);
  border-radius: var(--radius);
  background: rgba(15, 10, 26, 0.58);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.sample-copy {
  padding: 28px;
}

.sample-copy h2,
.newsletter-band h2,
.share-panel h2,
.faq-section h2,
.insight-card h2 {
  margin-bottom: 12px;
  color: var(--paper);
  font-family: "Cinzel", serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
}

.sample-copy h2,
.newsletter-band h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.proof-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(201, 169, 110, 0.24);
  border-radius: 999px;
  color: var(--gold-soft);
  background: rgba(201, 169, 110, 0.08);
  font-size: 13px;
  font-weight: 700;
}

/* --- Social Proof Strip (Homepage) --- */
.social-proof-strip {
  padding: 48px 0;
  border-top: 1px solid rgba(201, 169, 110, 0.16);
  border-bottom: 1px solid rgba(201, 169, 110, 0.16);
  background: rgba(201, 169, 110, 0.04);
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
}

.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.proof-number {
  font-family: "Cinzel", serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.proof-label {
  color: var(--gold-soft);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .proof-row {
    gap: 28px;
  }

  .proof-stat {
    flex: 0 0 auto;
    min-width: 140px;
  }
}

.sample-scroll {
  position: relative;
  overflow: hidden;
  padding: 28px;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(255, 251, 244, 0.96), rgba(232, 221, 206, 0.94)),
    var(--paper);
}

.sample-scroll::before {
  position: absolute;
  inset: 14px;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(96, 71, 43, 0.16);
}

.sample-scroll p {
  position: relative;
  color: rgba(26, 20, 16, 0.78);
}

.sample-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
  color: var(--ink);
}

.sample-header span {
  font-family: "Cinzel", serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
}

.sample-header strong {
  flex: none;
  padding: 5px 9px;
  border: 1px solid rgba(96, 71, 43, 0.18);
  border-radius: 999px;
  color: rgba(26, 20, 16, 0.66);
  font-size: 12px;
}

.sample-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}

.sample-grid div {
  padding: 14px;
  border: 1px solid rgba(96, 71, 43, 0.16);
  border-radius: var(--radius);
  background: rgba(201, 169, 110, 0.12);
}

.sample-grid span {
  display: block;
  margin-bottom: 6px;
  color: rgba(26, 20, 16, 0.78);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.sample-grid p,
.sample-note {
  margin-bottom: 0;
  font-size: 14px;
}

.newsletter-section {
  padding-top: 0;
}

.newsletter-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(122, 160, 131, 0.16), rgba(201, 169, 110, 0.12)),
    rgba(15, 10, 26, 0.66);
}

.newsletter-form {
  display: grid;
  gap: 10px;
}

.newsletter-form > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.newsletter-form .btn {
  white-space: nowrap;
}

.newsletter-form p {
  margin-bottom: 0;
  color: rgba(245, 240, 232, 0.62);
  font-size: 12px;
}

.page-columns {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.about-mark {
  display: grid;
  position: sticky;
  top: calc(var(--nav-height) + 28px);
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid rgba(201, 169, 110, 0.34);
  border-radius: 50%;
  color: var(--gold-soft);
  background: rgba(201, 169, 110, 0.08);
  box-shadow: 0 0 64px rgba(201, 169, 110, 0.16);
  font-family: "Noto Serif SC", serif;
  font-size: 92px;
}

.policy-list .content-section:first-child,
.page-columns .content-section:first-child {
  padding-top: 0;
}

.share-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
}

.share-panel h2 {
  font-size: 26px;
}

.share-panel p {
  margin-bottom: 0;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(201, 169, 110, 0.28);
  border-radius: 999px;
  color: var(--gold-soft);
  background: rgba(201, 169, 110, 0.08);
  font-size: 14px;
  font-weight: 800;
  transition:
    border-color 180ms var(--ease),
    background 180ms var(--ease),
    transform 180ms var(--ease);
}

.share-button:hover {
  border-color: var(--gold);
  background: rgba(201, 169, 110, 0.16);
  transform: translateY(-1px);
}

.copy-status {
  grid-column: 1 / -1;
  min-height: 20px;
  color: var(--jade);
  font-size: 13px;
}

.faq-section {
  margin-top: 56px;
}

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

.faq-item {
  padding: 22px;
}

.faq-item h3,
.insight-card h2 {
  margin-bottom: 10px;
}

.faq-item h3 {
  color: var(--gold-soft);
  font-family: "Cinzel", serif;
  font-size: 22px;
  line-height: 1.15;
}

.faq-item p {
  margin-bottom: 0;
}

.insight-list {
  display: grid;
  gap: 18px;
}

.insight-card {
  padding: 28px;
}

.insight-card h2 {
  max-width: 900px;
  font-size: clamp(28px, 4vw, 46px);
}

.insight-card p {
  max-width: 860px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@keyframes twinkle {
  0% {
    opacity: 0.32;
    transform: translate3d(0, 0, 0);
  }

  50% {
    opacity: 0.78;
  }

  100% {
    opacity: 0.46;
    transform: translate3d(14px, -10px, 0);
  }
}

@keyframes starDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-82px, 82px, 0);
  }
}

@keyframes particleRise {
  0% {
    background-position: 12px 18px, 84px 62px;
    transform: translate3d(0, 20px, 0);
  }

  100% {
    background-position: 12px -220px, 84px -170px;
    transform: translate3d(0, -18px, 0);
  }
}

@media (max-width: 980px) {
  .card-grid,
  .pricing-grid,
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .panel {
    position: relative;
    top: auto;
  }

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

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

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

  .sample-reading,
  .newsletter-band,
  .page-columns {
    grid-template-columns: 1fr;
  }

  .about-mark {
    position: relative;
    top: auto;
    width: 180px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: auto;
  }

  .site-header {
    position: sticky;
  }

  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
    width: min(100% - 28px, var(--content-width));
    padding: 14px 0;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
  }

  .nav-links a {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 13px;
  }

  .nav-meta {
    order: 3;
    margin-left: 0;
    flex-wrap: wrap;
    white-space: normal;
  }

  .nav-meta span {
    min-height: 36px;
  }

  .page-shell,
  .footer-shell {
    width: min(100% - 28px, var(--content-width));
  }

  .hero {
    min-height: 640px;
    padding: 66px 0 42px;
  }

  .hero.compact {
    min-height: auto;
  }

  .hero h1,
  .page-title {
    font-size: clamp(38px, 13vw, 58px);
  }

  .hero p,
  .page-intro {
    font-size: 17px;
  }

  .hero-actions,
  .cta-band,
  .section-header,
  .footer-shell {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 50px 0;
  }

  .card-grid,
  .pricing-grid,
  .content-grid,
  .archetype-list,
  .faq-grid,
  .sample-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

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

  .year-tools button {
    min-height: 44px;
  }

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

  .result-block,
  .panel,
  .card,
  .price-card {
    padding: 20px;
  }

  .bar-row {
    grid-template-columns: 64px minmax(0, 1fr) 28px;
  }

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

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

  .newsletter-form > div,
  .share-panel {
    grid-template-columns: 1fr;
  }

  .share-buttons {
    justify-content: flex-start;
  }

  .share-button {
    flex: 1 1 120px;
  }

  table {
    min-width: 900px;
  }
}

@media (max-width: 480px) {
  .brand {
    font-size: 18px;
  }

  .eyebrow {
    align-items: flex-start;
    border-radius: var(--radius);
    line-height: 1.35;
  }

  .hero {
    min-height: 620px;
  }

  .term-grid,
  .sixty-grid {
    grid-template-columns: 1fr;
  }

  .pillar-card strong {
    font-size: 40px;
  }

  .price {
    font-size: 36px;
  }

  .modal {
    padding: 22px;
  }

  .sample-copy,
  .sample-scroll,
  .newsletter-band,
  .share-panel,
  .insight-card,
  .faq-item {
    padding: 20px;
  }
}

.whisper-list {
  display: grid;
  gap: 16px;
  margin-top: 14px;
}

.whisper-card {
  padding: 22px;
  border: 1px solid rgba(201, 169, 110, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.06), rgba(15, 10, 26, 0.4));
}

.whisper-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.whisper-icon {
  font-size: 22px;
}

.whisper-head h3 {
  margin-bottom: 0;
  color: var(--gold-soft);
  font-family: "Cinzel", serif;
  font-size: 17px;
}

.whisper-card p {
  color: rgba(245, 240, 232, 0.78);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 14px;
}

.whisper-cta {
  display: inline-flex;
  font-size: 13px;
  padding: 8px 18px;
  color: var(--bg-night) !important;
  background: var(--gold) !important;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}
