:root {
  --ink: #15100d;
  --ink-2: #1e1611;
  --panel: #2a2016;
  --gold: #c9a96a;
  --gold-bright: #e0c181;
  --gold-dim: rgba(201, 169, 106, 0.32);
  --paper: #eee4d2;
  --paper-ink: #2e251e;
  --red: #c84a46;
  --text: #d4c8b6;
  --muted: #968a78;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 8%, rgba(142, 104, 48, 0.09), transparent 20rem),
    linear-gradient(180deg, #15100d, #1d1510 55%, #100c0a);
  font-family: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", serif;
  line-height: 1.75;
}

body.modal-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 20;
  opacity: 0.06;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  z-index: 15;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(201, 169, 106, 0.12);
  background: rgba(19, 14, 11, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-bright);
  text-decoration: none;
  white-space: nowrap;
  font-size: 25px;
  letter-spacing: 0.12em;
  font-family: "Kaiti SC", "STKaiti", serif;
}

.brand-mark {
  width: 32px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.8vw, 28px);
  flex: 1;
}

.desktop-nav a,
.desktop-nav button {
  padding: 0;
  border: 0;
  color: #c8bba9;
  text-decoration: none;
  white-space: nowrap;
  font-size: 15px;
  background: transparent;
  cursor: pointer;
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav button:hover,
.desktop-nav button:focus-visible {
  color: var(--gold-bright);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button,
.profile-button,
.mobile-menu-button {
  height: 40px;
  border: 1px solid rgba(201, 169, 106, 0.22);
  background: transparent;
  cursor: pointer;
}

.icon-button {
  width: 40px;
  border-radius: 50%;
}

.icon-button svg,
.profile-button svg,
.floating-share svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.profile-button {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-radius: 22px;
  color: var(--gold);
  text-decoration: none;
}

.profile-button b {
  font-weight: 400;
}

.mobile-menu-button {
  display: none;
  width: 40px;
  border-radius: 50%;
}

.mobile-menu-button span {
  display: block;
  width: 16px;
  height: 1px;
  margin: 5px auto;
  background: var(--gold);
  transition: transform 180ms ease;
}

.mobile-nav {
  position: fixed;
  z-index: 14;
  top: var(--header-height);
  right: 12px;
  display: none;
  width: 180px;
  padding: 12px;
  border: 1px solid var(--gold-dim);
  border-radius: 4px;
  background: rgba(28, 21, 16, 0.98);
}

.mobile-nav a {
  display: block;
  padding: 10px 12px;
  color: var(--text);
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 50px) 24px 80px;
  background:
    linear-gradient(180deg, rgba(9, 7, 6, 0.2), rgba(25, 16, 12, 0.1)),
    radial-gradient(circle at 50% 48%, rgba(128, 82, 44, 0.08), transparent 28rem);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(0deg, var(--ink-2), transparent);
}

.moon {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  background: rgba(218, 186, 121, 0.06);
}

.moon-one {
  width: 112px;
  height: 112px;
  top: 12%;
  right: 12%;
}

.moon-two {
  width: 16px;
  height: 16px;
  top: 28%;
  right: 16%;
  background: rgba(218, 186, 121, 0.18);
}

.floating-dust::before,
.floating-dust::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 32vw 40vh 0 rgba(201, 169, 106, 0.32), 66vw 22vh 0 rgba(201, 169, 106, 0.18);
  animation: drift 7s ease-in-out infinite alternate;
}

.floating-dust::before {
  top: 30%;
  left: 12%;
}

.floating-dust::after {
  right: 22%;
  bottom: 28%;
  opacity: 0.5;
  animation-delay: -3s;
}

.temple-lines {
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0.16;
}

.roof {
  position: absolute;
  left: 50%;
  width: min(1100px, 88vw);
  height: 280px;
  border: 2px solid rgba(201, 169, 106, 0.42);
  transform: translateX(-50%) rotate(45deg) skew(-13deg, -13deg);
}

.roof-one {
  bottom: -165px;
}

.roof-two {
  bottom: -255px;
  width: min(820px, 68vw);
}

.pillar {
  position: absolute;
  bottom: -10px;
  width: 28px;
  height: 170px;
  border: 1px solid rgba(201, 169, 106, 0.25);
  border-radius: 50% 50% 0 0;
  background: rgba(141, 54, 43, 0.32);
}

.pillar-one {
  left: 22%;
}

.pillar-two {
  right: 22%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  text-align: center;
}

.halo-mark {
  width: 106px;
  height: 106px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border: 1px solid rgba(201, 169, 106, 0.45);
  border-radius: 50%;
  color: var(--gold-bright);
  box-shadow: 0 0 0 8px rgba(201, 169, 106, 0.04), 0 0 28px rgba(201, 169, 106, 0.24);
  animation: breathe 4s ease-in-out infinite;
}

.halo-mark svg {
  width: 42px;
  height: 50px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

.hero h1 {
  margin: 0;
  color: var(--gold-bright);
  font-family: "Kaiti SC", "STKaiti", serif;
  font-size: clamp(54px, 6vw, 78px);
  line-height: 1.1;
  letter-spacing: 0.14em;
  text-shadow: 0 3px 18px rgba(225, 191, 126, 0.13);
}

.hero-content > p {
  margin: 22px 0 24px;
  color: #c2b5a3;
  font-size: clamp(16px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 54px;
  padding: 12px 28px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 17px;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-button {
  border: 1px solid #d65b54;
  color: #fff8ef;
  background: var(--red);
  box-shadow: 0 8px 24px rgba(150, 44, 40, 0.2);
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
}

.primary-button:hover {
  box-shadow: 0 11px 30px rgba(150, 44, 40, 0.32);
}

.primary-button svg {
  width: 21px;
  margin-right: 10px;
  vertical-align: -5px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.ghost-button {
  border: 1px solid rgba(201, 169, 106, 0.45);
  color: var(--gold-bright);
  background: rgba(16, 12, 10, 0.4);
}

.ghost-button:hover {
  background: rgba(201, 169, 106, 0.07);
}

.scroll-hint {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
  color: #837766;
  text-decoration: none;
  font-size: 13px;
}

.scroll-hint span {
  width: 1px;
  height: 24px;
  margin-top: 8px;
  background: linear-gradient(var(--gold), transparent);
}

.section {
  position: relative;
  padding: 100px max(18px, 4vw);
}

.features-section {
  background:
    radial-gradient(circle at 12% 40%, rgba(121, 65, 39, 0.1), transparent 26rem),
    var(--ink-2);
}

.section-heading {
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading span,
.eyebrow {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.14em;
}

.section-heading h2,
.incense-section h2,
.share-panel h2 {
  margin: 8px 0 6px;
  color: var(--gold-bright);
  font-family: "Kaiti SC", "STKaiti", serif;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: 0.12em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  width: min(1220px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 auto;
}

.feature-card {
  display: block;
  position: relative;
  min-height: 225px;
  padding: 28px;
  border: 1px solid rgba(201, 169, 106, 0.24);
  border-radius: 14px;
  text-align: left;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.018), transparent 35%),
    #2a2016;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.025), 0 0 20px rgba(230, 211, 173, 0.12);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 220ms ease, transform 220ms ease, background 220ms ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(224, 193, 129, 0.58);
  background: #302417;
}

.feature-icon {
  display: block;
  min-height: 44px;
  color: var(--gold-bright);
  font-size: 40px;
  line-height: 1;
}

.heart-icon {
  color: #d8534d;
}

.feature-icon svg {
  width: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.feature-card .tag {
  position: absolute;
  top: 30px;
  right: 24px;
  padding: 2px 10px;
  border: 1px solid rgba(201, 169, 106, 0.25);
  border-radius: 15px;
  color: #a99267;
  font-size: 12px;
}

.feature-card strong {
  display: block;
  margin: 14px 0 8px;
  color: #ddd0bd;
  font-family: "Kaiti SC", "STKaiti", serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.feature-card small {
  color: #b0a28e;
  font-size: 15px;
  line-height: 1.8;
}

.why-section {
  padding-top: 24px;
  background: var(--ink-2);
}

.why-panel {
  width: min(1220px, 100%);
  margin: 0 auto;
  padding: 40px 28px 30px;
  border: 1px solid rgba(201, 169, 106, 0.25);
  border-radius: 14px;
  background: #2a2016;
  box-shadow: 0 0 22px rgba(230, 211, 173, 0.1);
}

.compact {
  margin-bottom: 28px;
}

.compact h2 {
  font-size: 40px;
}

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

.principles article {
  min-height: 124px;
  padding: 22px;
  border: 1px solid rgba(201, 169, 106, 0.18);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.012);
}

.principles b {
  color: var(--gold-bright);
  font-size: 18px;
  font-weight: 400;
}

.principles p {
  margin: 5px 0 0;
  color: #a99b88;
  font-size: 14px;
}

.book-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.book-row span {
  padding: 10px 8px;
  border: 1px solid rgba(201, 169, 106, 0.18);
  border-radius: 9px;
  color: #c4b69f;
  text-align: center;
}

.incense-wrap {
  padding: 90px max(18px, 4vw);
  background:
    linear-gradient(rgba(238, 228, 210, 0.96), rgba(238, 228, 210, 0.96)),
    radial-gradient(circle, #fff, #d8c5a6);
}

.incense-section {
  position: relative;
  width: min(1220px, 100%);
  min-height: 430px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding: 58px 20px 45px;
  overflow: hidden;
  border: 1px solid rgba(115, 78, 43, 0.22);
  border-radius: 15px;
  color: var(--paper-ink);
  text-align: center;
  background: rgba(255, 250, 239, 0.68);
  box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.12);
}

.incense-section h2 {
  color: var(--paper-ink);
}

.incense-section > p:not(.eyebrow):not(.incense-message) {
  margin: 8px 0 20px;
  font-size: 17px;
}

.incense-symbol {
  position: relative;
  width: 44px;
  height: 55px;
}

.incense-symbol span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 36px;
  border: 2px solid var(--red);
  border-radius: 50% 50% 45% 45%;
  transform: translateX(-50%) rotate(22deg);
}

.incense-symbol span:nth-child(2) {
  transform: translateX(-70%) rotate(-12deg) scale(0.7);
}

.incense-symbol span:nth-child(3) {
  transform: translateX(-22%) rotate(42deg) scale(0.55);
}

.incense-stage {
  height: 0;
  display: flex;
  gap: 14px;
  opacity: 0;
  transition: height 500ms ease, opacity 500ms ease;
}

.incense-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.incense-button {
  display: inline-grid;
  place-items: center;
}

.incense-button .after-lit {
  display: none;
}

.incense-toggle:checked + .incense-button {
  border-color: #9b7a49;
  background: #86643d;
}

.incense-toggle:checked + .incense-button .before-lit {
  display: none;
}

.incense-toggle:checked + .incense-button .after-lit {
  display: inline;
}

.incense-toggle:checked ~ .incense-stage {
  height: 80px;
  margin-top: 22px;
  opacity: 1;
}

.incense-stage i {
  position: relative;
  width: 3px;
  height: 58px;
  display: block;
  background: #8d3c2d;
}

.incense-stage i::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e48643;
  box-shadow: 0 0 11px #da6c35;
}

.incense-stage i::after {
  content: "";
  position: absolute;
  top: -40px;
  left: -12px;
  width: 24px;
  height: 38px;
  border-left: 2px solid rgba(98, 87, 78, 0.28);
  border-radius: 50%;
  animation: smoke 2.7s ease-in-out infinite;
}

.incense-stage i:nth-child(2)::after {
  animation-delay: -0.8s;
}

.incense-stage i:nth-child(3)::after {
  animation-delay: -1.5s;
}

.incense-message {
  min-height: 28px;
  margin: 5px 0 0;
  color: #8a5d3e;
  opacity: 0;
  transition: opacity 300ms ease;
}

.incense-toggle:checked ~ .incense-message {
  opacity: 1;
}

.share-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 169, 106, 0.07), transparent 32rem),
    var(--ink-2);
}

.share-panel {
  width: min(1220px, 100%);
  margin: 0 auto;
  padding: 60px 24px;
  border: 1px solid rgba(201, 169, 106, 0.2);
  border-radius: 14px;
  text-align: center;
  background: #2a2016;
}

.share-panel > p:not(.eyebrow) {
  color: #aa9d89;
}

.share-symbol {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border: 1px solid rgba(201, 169, 106, 0.35);
  border-radius: 50%;
  color: var(--red);
  font-size: 26px;
}

footer {
  padding: 70px 20px 45px;
  color: #857968;
  text-align: center;
  background: #100c0a;
}

footer blockquote {
  margin: 24px 0;
  color: #a99a84;
  font-family: "Kaiti SC", "STKaiti", serif;
  font-size: 20px;
}

footer span {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.15em;
}

.footer-legal { display:flex; justify-content:center; flex-wrap:wrap; gap:18px; margin-top:18px; }
.footer-legal a { color:inherit; font-size:13px; text-underline-offset:4px; }

.floating-share {
  position: fixed;
  z-index: 12;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 169, 106, 0.42);
  border-radius: 50%;
  color: var(--gold-bright);
  background: rgba(91, 64, 37, 0.78);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.modal {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.modal.active {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 6, 5, 0.82);
  backdrop-filter: blur(12px);
}

.modal-card {
  position: relative;
  width: min(480px, 100%);
  padding: 36px;
  border: 1px solid rgba(201, 169, 106, 0.42);
  border-radius: 16px;
  background: #251b14;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  color: #a89b89;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.modal-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border: 1px solid rgba(201, 169, 106, 0.4);
  border-radius: 50%;
  color: var(--gold-bright);
  font-family: "Kaiti SC", "STKaiti", serif;
  font-size: 25px;
}

.modal-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 13px;
}

.modal-card h2 {
  margin: 5px 0 8px;
  color: var(--gold-bright);
  font-family: "Kaiti SC", "STKaiti", serif;
  font-size: 36px;
  font-weight: 400;
}

.modal-card > p:not(.modal-kicker) {
  color: #aa9c89;
}

.modal-card label {
  display: block;
  text-align: left;
}

.modal-card label span {
  display: block;
  margin-bottom: 7px;
  color: #bcae9a;
  font-size: 14px;
}

.modal-card input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(201, 169, 106, 0.27);
  border-radius: 7px;
  outline: none;
  color: #eee2cf;
  background: rgba(8, 6, 5, 0.32);
}

.modal-card input:focus {
  border-color: var(--gold);
}

.modal-card form .primary-button {
  width: 100%;
  margin-top: 16px;
}

.result {
  display: none;
  margin-top: 18px;
  padding: 15px;
  border: 1px solid rgba(201, 169, 106, 0.18);
  border-radius: 8px;
  color: #ddcfba;
  background: rgba(201, 169, 106, 0.05);
}

.result.show {
  display: block;
}

.toast {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: 28px;
  padding: 11px 18px;
  border: 1px solid rgba(201, 169, 106, 0.35);
  border-radius: 24px;
  color: #eee0ca;
  background: rgba(36, 26, 18, 0.96);
  opacity: 0;
  transform: translate(-50%, 20px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes breathe {
  50% { box-shadow: 0 0 0 12px rgba(201, 169, 106, 0.03), 0 0 38px rgba(201, 169, 106, 0.32); }
}

@keyframes drift {
  to { transform: translate(12px, -20px); opacity: 0.35; }
}

@keyframes smoke {
  0% { transform: translate(0, 0) scale(0.8); opacity: 0; }
  35% { opacity: 0.7; }
  100% { transform: translate(11px, -28px) scale(1.25); opacity: 0; }
}

@media (max-width: 1100px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-button {
    display: block;
  }

  .site-header {
    justify-content: space-between;
  }

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

@media (max-width: 720px) {
  :root {
    --header-height: 64px;
  }

  .site-header {
    padding: 0 14px;
  }

  .brand {
    font-size: 21px;
  }

  .brand-mark {
    width: 27px;
  }

  .icon-button {
    display: none;
  }

  .profile-button {
    height: 37px;
    padding: 0 10px;
    font-size: 13px;
  }

  .hero {
    min-height: 860px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .halo-mark {
    width: 90px;
    height: 90px;
  }

  .hero h1 {
    font-size: 57px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: min(320px, 100%);
    margin: 0 auto;
  }

  .hero-actions button {
    width: 100%;
  }

  .section {
    padding: 74px 14px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .feature-card {
    min-height: 190px;
    padding: 24px;
  }

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

  .why-panel {
    padding: 34px 15px 20px;
  }

  .book-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .incense-wrap {
    padding: 60px 14px;
  }

  .incense-section {
    min-height: 470px;
  }

  .share-panel {
    padding: 50px 18px;
  }

  .share-panel br,
  .incense-section br {
    display: none;
  }

  .floating-share {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }

  .modal-card {
    padding: 32px 20px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 2026 editorial redesign */
:root {
  --ink: #f2f0e9;
  --ink-2: #e9e7df;
  --panel: #fffefa;
  --gold: #a78543;
  --gold-bright: #b59450;
  --gold-dim: rgba(30, 53, 70, 0.15);
  --paper: #f8f6ef;
  --paper-ink: #182b3a;
  --red: #b83a35;
  --text: #243746;
  --muted: #737b7d;
  --navy: #19364a;
  --line: rgba(25, 54, 74, 0.18);
}

body {
  color: var(--text);
  background:
    linear-gradient(rgba(248, 246, 239, .96), rgba(248, 246, 239, .96)),
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(25, 54, 74, .025) 5px 6px);
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
}

.grain { opacity: .025; mix-blend-mode: multiply; }
.site-header {
  height: 68px;
  padding: 0 clamp(18px, 3vw, 48px);
  border-color: var(--line);
  background: rgba(248, 246, 239, .9);
  box-shadow: 0 1px 0 rgba(255,255,255,.65);
}
.brand { color: var(--navy); font-size: 23px; }
.brand-mark { width: 29px; height: 34px; stroke-width: 1.45; }
.desktop-nav { gap: clamp(12px, 1.45vw, 23px); }
.desktop-nav a { color: #59666d; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 13px; }
.desktop-nav a:hover { color: var(--red); }
.icon-button, .profile-button, .mobile-menu-button { border-color: var(--line); color: var(--navy); background: rgba(255,255,255,.42); }
.profile-button { border-radius: 3px; font-family: "PingFang SC", sans-serif; font-size: 13px; }

.hero {
  min-height: 790px;
  display: block;
  padding: 132px clamp(22px, 6vw, 92px) 72px;
  background:
    radial-gradient(circle at 78% 24%, rgba(184, 58, 53, .9) 0 43px, transparent 44px),
    linear-gradient(155deg, transparent 0 57%, rgba(25,54,74,.035) 57.2% 57.5%, transparent 57.7%),
    linear-gradient(25deg, transparent 0 71%, rgba(25,54,74,.045) 71.2% 71.5%, transparent 71.7%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 20% -8% auto 37%;
  height: 54%;
  opacity: .2;
  background:
    linear-gradient(150deg, transparent 48%, var(--navy) 48.2% 48.5%, transparent 48.7%) 0 30% / 52% 65%,
    linear-gradient(210deg, transparent 48%, var(--navy) 48.2% 48.5%, transparent 48.7%) 100% 30% / 52% 65%;
  filter: blur(.25px);
}
.hero::after { height: 120px; background: linear-gradient(0deg, var(--paper), transparent); }
.moon, .floating-dust, .temple-lines { display: none; }
.hero-layout {
  position: relative;
  z-index: 2;
  width: min(1240px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(350px, .72fr);
  gap: clamp(56px, 8vw, 130px);
  align-items: center;
  margin: 0 auto;
}
.hero-content {
  max-width: 650px;
  text-align: left;
}
.vertical-seal {
  position: absolute;
  top: 4px;
  left: -43px;
  margin: 0 !important;
  color: var(--red) !important;
  font-family: "PingFang SC", sans-serif;
  font-size: 11px !important;
  letter-spacing: .22em;
  writing-mode: vertical-rl;
}
.hero-title-row { display: flex; align-items: center; gap: 17px; }
.halo-mark {
  width: 58px;
  height: 70px;
  margin: 0;
  border: 1px solid var(--navy);
  border-radius: 50% 50% 45% 45%;
  color: var(--navy);
  box-shadow: none;
  animation: none;
}
.halo-mark svg { width: 30px; height: 39px; stroke-width: 1.4; }
.hero h1 {
  color: var(--navy);
  font-size: clamp(52px, 6.5vw, 88px);
  letter-spacing: .08em;
  text-shadow: none;
}
.hero-content h2 {
  margin: 28px 0 18px;
  color: var(--navy);
  font-size: clamp(33px, 4.2vw, 60px);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -.02em;
}
.hero-content > p:not(.vertical-seal) {
  max-width: 530px;
  margin: 0 0 30px;
  color: #5f6c72;
  font-size: 17px;
  line-height: 1.95;
}
.hero-actions { justify-content: flex-start; gap: 10px; }
.primary-button, .ghost-button {
  min-width: 154px;
  min-height: 50px;
  border-radius: 2px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
}
.primary-button { border-color: var(--red); background: var(--red); box-shadow: 7px 7px 0 rgba(184,58,53,.12); }
.ghost-button { border-color: var(--navy); color: var(--navy); background: transparent; }
.ghost-button:hover { color: white; background: var(--navy); }
.favorite-quick {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  color: #7a8283;
  font-family: "PingFang SC", sans-serif;
  font-size: 12px;
}
.favorite-quick > span { padding-right: 14px; border-right: 1px solid var(--line); }
.favorite-quick div { display: flex; flex-wrap: wrap; gap: 12px; }
.favorite-quick a { color: var(--navy); text-decoration: none; border-bottom: 1px solid rgba(25,54,74,.28); }

.daily-desk {
  position: relative;
  padding: 28px 30px 26px;
  border-top: 3px solid var(--navy);
  border-bottom: 1px solid var(--navy);
  background: rgba(255, 254, 250, .82);
  box-shadow: 20px 24px 0 rgba(25,54,74,.045);
}
.daily-desk::before {
  content: "日课";
  position: absolute;
  top: -36px;
  right: 0;
  color: rgba(25,54,74,.17);
  font-size: 72px;
  line-height: 1;
}
.daily-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.daily-head small { color: var(--red); font-family: "PingFang SC", sans-serif; font-size: 12px; }
.daily-head h2 { margin: 3px 0 0; color: var(--navy); font-size: 31px; font-weight: 400; letter-spacing: .08em; }
.daily-head strong { color: var(--navy); font-family: "PingFang SC", sans-serif; font-size: 14px; font-weight: 400; }
.daily-head strong span { margin-right: 3px; color: var(--red); font-family: Georgia, serif; font-size: 31px; }
.daily-checkin {
  width: 100%;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 0 10px;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  text-align: left;
  background: transparent;
  cursor: pointer;
}
.daily-checkin > span { grid-row: 1 / 3; font-size: 30px; line-height: 1.3; }
.daily-checkin b { font-size: 16px; font-weight: 500; }
.daily-checkin small { color: #879094; font-family: "PingFang SC", sans-serif; }
.daily-checkin.done > span, .daily-checkin.done b { color: var(--red); }
.daily-wish { padding: 18px 0; border-bottom: 1px solid var(--line); }
.daily-wish label, .recent-entry > span, .daily-quote span { display: block; margin-bottom: 8px; color: #7b8588; font-family: "PingFang SC", sans-serif; font-size: 11px; letter-spacing: .12em; }
.daily-wish > div { display: flex; border-bottom: 1px solid var(--navy); }
.daily-wish input { min-width: 0; height: 37px; flex: 1; padding: 0; border: 0; outline: none; color: var(--navy); background: transparent; }
.daily-wish button { width: 48px; border: 0; color: var(--red); background: transparent; cursor: pointer; }
.daily-wish p { min-height: 20px; margin: 7px 0 0; color: #7a8589; font-size: 12px; }
.recent-entry { padding: 18px 0 0; }
.recent-entry a { display: grid; grid-template-columns: 1fr auto; color: inherit; text-decoration: none; }
.recent-entry b { color: var(--navy); font-size: 18px; font-weight: 400; }
.recent-entry small { grid-column: 1; color: #8c9496; font-family: "PingFang SC", sans-serif; }
.recent-entry i { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--red); font-family: "PingFang SC", sans-serif; font-size: 12px; font-style: normal; }
.daily-quote { margin: 20px -30px -26px; padding: 16px 30px; color: #e8e9e5; background: var(--navy); }
.daily-quote span { margin-bottom: 3px; color: #c4c9c8; }
.daily-quote p { margin: 0; font-size: 14px; }
.scroll-hint { position: absolute; left: 50%; bottom: -78px; color: #778185; transform: translateX(-50%); }
.scroll-hint span { background: linear-gradient(var(--red), transparent); }

.section { padding: 105px max(22px, 5vw); }
.features-section { background: var(--paper); }
.section-heading { width: min(1220px, 100%); margin-bottom: 48px; text-align: left; }
.section-heading span, .eyebrow { color: var(--red); font-family: "PingFang SC", sans-serif; font-size: 12px; }
.section-heading h2, .incense-section h2, .share-panel h2 {
  margin-top: 10px;
  color: var(--navy);
  font-size: clamp(34px, 4.5vw, 58px);
  letter-spacing: .01em;
}
.section-heading p { color: var(--muted); font-size: 15px; }
.feature-grid {
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--navy);
}
.feature-card {
  min-height: 118px;
  display: grid;
  grid-template-columns: 74px minmax(180px, .65fr) minmax(280px, 1.35fr) 48px;
  align-items: center;
  gap: 25px;
  padding: 24px 8px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--navy);
  background: transparent;
  box-shadow: none;
}
.feature-card::before {
  content: attr(data-index);
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 15px;
}
.feature-card:hover { padding-left: 18px; transform: none; border-color: var(--navy); background: rgba(25,54,74,.035); }
.feature-icon { display: none; }
.feature-card .tag {
  position: static;
  grid-column: 2;
  grid-row: 1;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #92999a;
  font-family: "PingFang SC", sans-serif;
  font-size: 11px;
}
.feature-card strong {
  grid-column: 2;
  margin: 22px 0 0;
  color: var(--navy);
  font-size: 27px;
  letter-spacing: .03em;
}
.feature-card small { grid-column: 3; grid-row: 1; color: #657277; font-size: 14px; }
.favorite-toggle {
  grid-column: 4;
  grid-row: 1;
  width: 38px;
  height: 38px;
  border: 0;
  color: #8a9497;
  background: transparent;
  cursor: pointer;
  font-size: 23px;
}
.favorite-toggle.active { color: var(--red); }

.why-section { padding-top: 20px; background: var(--paper); }
.why-panel {
  padding: 54px 0 35px;
  border: 0;
  border-top: 1px solid var(--navy);
  border-bottom: 1px solid var(--navy);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.compact { text-align: left; }
.principles article { border: 0; border-left: 1px solid var(--line); border-radius: 0; background: transparent; }
.principles b { color: var(--navy); font-size: 20px; }
.principles p { color: #697579; }
.book-row { border-top: 1px solid var(--line); }
.book-row span { border: 0; border-radius: 0; color: #647176; }

.incense-wrap { padding: 100px max(22px, 5vw); background: var(--navy); }
.incense-section {
  min-height: 390px;
  align-items: flex-start;
  padding: 64px 9%;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 0;
  color: #eef0ec;
  text-align: left;
  background:
    radial-gradient(circle at 82% 30%, rgba(184,58,53,.95) 0 38px, transparent 39px),
    linear-gradient(145deg, transparent 0 63%, rgba(255,255,255,.08) 63.2% 63.4%, transparent 63.6%);
  box-shadow: none;
}
.incense-section h2 { color: white; }
.incense-section > p:not(.eyebrow):not(.incense-message) { max-width: 520px; color: #c6cecf; }
.incense-symbol { display: none; }
.incense-section .primary-button { margin-top: 12px; }
.incense-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.incense-actions .paper-entry { border-color: #e0b86d; color: #e0b86d; background: transparent; box-shadow: none; }
.incense-actions .paper-entry:hover { color: var(--navy); background: #e0b86d; }
.share-section { background: #e7e4dc; }
.share-panel { border: 0; border-left: 4px solid var(--red); border-radius: 0; color: var(--text); background: transparent; box-shadow: none; }
.share-panel h2 { color: var(--navy); }
footer { color: #9da5a7; background: #132c3d; }
footer blockquote { color: #e4e8e5; }
.floating-share { border-color: var(--navy); color: white; background: var(--navy); box-shadow: none; }

@media (max-width: 980px) {
  .hero { min-height: auto; padding-top: 112px; }
  .hero-layout { grid-template-columns: 1fr; gap: 74px; }
  .hero-content { max-width: 720px; }
  .daily-desk { width: min(620px, 100%); }
  .scroll-hint { display: none; }
}

@media (max-width: 700px) {
  .site-header { height: 62px; }
  .hero { padding: 102px 18px 68px; background: radial-gradient(circle at 84% 15%, rgba(184,58,53,.9) 0 25px, transparent 26px); }
  .hero::before { inset: 21% -40% auto 10%; }
  .vertical-seal { display: none; }
  .hero-title-row { gap: 12px; }
  .halo-mark { width: 47px; height: 57px; }
  .hero h1 { font-size: 48px; }
  .hero-content h2 { font-size: 37px; }
  .hero-content > p:not(.vertical-seal) { font-size: 15px; }
  .daily-desk { padding: 23px 21px; box-shadow: 10px 12px 0 rgba(25,54,74,.045); }
  .daily-quote { margin: 18px -21px -23px; padding: 15px 21px; }
  .section { padding: 74px 18px; }
  .feature-card {
    min-height: 135px;
    grid-template-columns: 42px 1fr 38px;
    gap: 12px;
  }
  .feature-card::before { grid-row: 1 / 3; align-self: start; padding-top: 5px; }
  .feature-card .tag { grid-column: 2; }
  .feature-card strong { grid-column: 2; margin-top: 21px; font-size: 23px; }
  .feature-card small { grid-column: 2 / 4; grid-row: 2; margin-top: 2px; }
  .favorite-toggle { grid-column: 3; }
  .principles { grid-template-columns: 1fr; }
}

.member-nav-link { color: var(--red) !important; }
.membership-home { padding: 100px max(22px, 5vw); color: white; background: var(--navy); }
.membership-home-inner {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(44px, 8vw, 110px);
  align-items: center;
  margin: auto;
}
.membership-home-copy > span { color: #d5a85b; font-family: Georgia, serif; font-size: 11px; letter-spacing: .28em; }
.membership-home-copy h2 { margin: 20px 0; color: white; font-size: clamp(38px, 5vw, 66px); font-weight: 400; line-height: 1.2; letter-spacing: .04em; }
.membership-home-copy p { max-width: 580px; color: #c1cbce; font-size: 16px; line-height: 1.9; }
.membership-home-link { display: inline-flex; gap: 32px; align-items: center; margin-top: 20px; padding-bottom: 7px; border-bottom: 1px solid #d5a85b; color: #f0c46f; text-decoration: none; }
.membership-home-link i { font-style: normal; transition: transform .25s ease; }
.membership-home-link:hover i { transform: translateX(7px); }
.membership-home-benefits { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255,255,255,.28); border-left: 1px solid rgba(255,255,255,.28); }
.membership-home-benefits article { min-height: 150px; display: flex; gap: 18px; align-items: center; padding: 24px; border-right: 1px solid rgba(255,255,255,.28); border-bottom: 1px solid rgba(255,255,255,.28); }
.membership-home-benefits article > b { color: #d5a85b; font-family: Georgia, serif; font-size: 34px; font-weight: 400; }
.membership-home-benefits article div { display: grid; gap: 7px; }
.membership-home-benefits strong { color: white; font-size: 17px; font-weight: 400; }
.membership-home-benefits small { color: #9eabad; line-height: 1.5; }
.membership-home-price { display: grid !important; align-content: center; color: var(--navy); background: #f0c46f; }
.membership-home-price small { color: #6d5528; }.membership-home-price strong { color: var(--navy); font-size: 36px; font-weight: 400; }.membership-home-price span { color: #6d5528; }

@media (max-width: 820px) {
  .membership-home-inner { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .membership-home { padding: 72px 20px; }
  .membership-home-copy h2 { font-size: 39px; }
  .membership-home-benefits { grid-template-columns: 1fr; }
  .membership-home-benefits article { min-height: 112px; }
}
