:root {
  --ink: #11120f;
  --ink-soft: #1b1b16;
  --stone: #26271f;
  --olive: #536447;
  --wine: #733232;
  --gold: #d3a84f;
  --gold-bright: #f0c76a;
  --wax: #fff2c7;
  --paper: #f4efe2;
  --paper-muted: #d9cfb8;
  --line: rgba(255, 242, 199, 0.22);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
}

body::selection {
  background: rgba(211, 168, 79, 0.4);
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(17, 18, 15, 0.76);
  border-bottom: 1px solid rgba(255, 242, 199, 0.12);
  backdrop-filter: blur(18px);
}

.site-header[data-elevated="true"] {
  background: rgba(12, 13, 11, 0.9);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(240, 199, 106, 0.65);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 35%, var(--gold-bright) 0 10%, transparent 11%),
    linear-gradient(180deg, rgba(240, 199, 106, 0.3), rgba(83, 100, 71, 0.18));
  box-shadow: 0 0 22px rgba(211, 168, 79, 0.28);
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 7px;
  height: 13px;
  border-radius: 8px 8px 3px 3px;
  background: var(--wax);
  transform: translateX(-50%);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  color: rgba(244, 239, 226, 0.82);
  font-size: 0.95rem;
}

.site-nav a,
.footer-links a,
.hero-links a,
.topic-card a {
  text-decoration-color: rgba(211, 168, 79, 0.55);
  text-underline-offset: 0.22em;
}

.site-nav a:hover,
.footer-links a:hover,
.hero-links a:hover,
.topic-card a:hover {
  color: var(--gold-bright);
}

.header-action,
.primary-button,
.filter-button,
.amount-chip {
  border: 0;
  cursor: pointer;
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--gold);
  color: #1d160c;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.header-action svg,
.primary-button svg,
.icon-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 58%;
  filter: saturate(0.95) contrast(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(13, 14, 11, 0.9), rgba(13, 14, 11, 0.56) 48%, rgba(13, 14, 11, 0.74)),
    linear-gradient(0deg, rgba(17, 18, 15, 0.96), rgba(17, 18, 15, 0.08) 35%, rgba(17, 18, 15, 0.32));
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 460px);
  align-items: start;
  gap: clamp(28px, 5vw, 72px);
  width: min(1180px, calc(100% - 36px));
  min-height: 82svh;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 58px) 0 clamp(34px, 5vw, 66px);
}

.hero-copy {
  max-width: 690px;
  padding-top: 18px;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 10px;
  color: var(--gold-bright);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 7vw, 5.75rem);
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 580px;
  margin: 24px 0 0;
  color: rgba(244, 239, 226, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 26px;
  color: rgba(244, 239, 226, 0.86);
}

.ritual-panel {
  width: 100%;
  padding: 20px;
  border: 1px solid rgba(255, 242, 199, 0.22);
  border-radius: 8px;
  background: rgba(24, 24, 18, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.panel-heading {
  margin-bottom: 14px;
}

.panel-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.15;
}

.field-group {
  min-width: 0;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
}

.field-group legend,
.input-label {
  display: block;
  margin-bottom: 8px;
  color: rgba(244, 239, 226, 0.82);
  font-size: 0.88rem;
  font-weight: 700;
}

.segment-grid,
.duration-row,
.amount-row,
.wall-toolbar,
.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.segment-grid label,
.duration-row label {
  min-width: 0;
}

.segment-grid input,
.duration-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segment-grid span,
.duration-row span,
.amount-chip,
.filter-button,
.payment-methods span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  width: 100%;
  padding: 0 12px;
  border: 1px solid rgba(255, 242, 199, 0.16);
  border-radius: 999px;
  background: rgba(255, 242, 199, 0.07);
  color: rgba(244, 239, 226, 0.9);
  font-size: 0.9rem;
  font-weight: 700;
}

.segment-grid input:checked + span,
.duration-row input:checked + span,
.amount-chip.active,
.filter-button.active {
  border-color: rgba(240, 199, 106, 0.86);
  background: rgba(211, 168, 79, 0.22);
  color: #fff6df;
}

.duration-row label {
  flex: 1 1 96px;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 242, 199, 0.17);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fffaf0;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input {
  min-height: 40px;
  padding: 0 13px;
}

textarea {
  min-height: 70px;
  margin-bottom: 10px;
  padding: 12px 13px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: rgba(240, 199, 106, 0.85);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(211, 168, 79, 0.15);
}

::placeholder {
  color: rgba(244, 239, 226, 0.48);
}

.amount-block {
  margin: 12px 0 16px;
}

.amount-row {
  margin-bottom: 8px;
}

.amount-chip {
  flex: 1 1 72px;
  width: auto;
}

.switch-row {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 10px;
  margin: 6px 0 14px;
  color: rgba(244, 239, 226, 0.88);
  font-size: 0.9rem;
}

.switch-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.switch-ui {
  position: relative;
  width: 46px;
  height: 26px;
  border: 1px solid rgba(255, 242, 199, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.switch-ui::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--paper-muted);
  transition: transform 180ms ease, background 180ms ease;
}

.switch-row input:checked + .switch-ui {
  border-color: rgba(240, 199, 106, 0.8);
  background: rgba(211, 168, 79, 0.26);
}

.switch-row input:checked + .switch-ui::after {
  transform: translateX(20px);
  background: var(--gold-bright);
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f0c76a, #c99435);
  color: #1d160c;
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(211, 168, 79, 0.24);
}

.primary-button:hover,
.header-action:hover {
  filter: brightness(1.06);
}

.wall-section,
.content-section,
.trust-section,
.faq-section {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 4vw, 56px);
}

.wall-section {
  background:
    linear-gradient(180deg, rgba(211, 168, 79, 0.08), transparent 22%),
    linear-gradient(180deg, #11120f, #191a15);
  overflow: hidden;
}

.section-heading {
  width: min(920px, 100%);
  margin: 0 auto 28px;
  text-align: center;
}

.section-heading.narrow {
  width: min(760px, 100%);
}

.section-heading h2,
.trust-section h2,
.faq-section h2 {
  margin: 0;
  color: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  margin: 14px auto 0;
  color: rgba(244, 239, 226, 0.74);
}

.wall-toolbar {
  justify-content: center;
  margin: 0 auto 24px;
}

.filter-button {
  width: auto;
}

.candle-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  align-items: center;
  gap: clamp(22px, 4vw, 58px);
  width: min(1120px, 100%);
  min-height: clamp(440px, 54vw, 620px);
  margin: 0 auto;
  padding: clamp(38px, 6vw, 70px) clamp(12px, 4vw, 42px);
  overflow: visible;
  border-top: 1px solid rgba(255, 242, 199, 0.08);
  border-bottom: 1px solid rgba(255, 242, 199, 0.08);
  background:
    linear-gradient(90deg, transparent, rgba(255, 242, 199, 0.06) 50%, transparent),
    repeating-linear-gradient(90deg, transparent 0 118px, rgba(255, 242, 199, 0.035) 119px 120px),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(255, 242, 199, 0.03) 48%, rgba(0, 0, 0, 0.22));
  perspective: 900px;
}

.candle-grid::after {
  content: "";
  position: absolute;
  right: 4%;
  bottom: 34px;
  left: 4%;
  height: 44px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.34), transparent);
  filter: blur(16px);
  pointer-events: none;
}

.candle-card {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 250px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  outline: none;
  transform: translate3d(var(--float-x, 0), var(--float-y, 0), 0) scale(var(--scale, 1));
  animation: floatCandle calc(5.8s + var(--delay, 0s)) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.candle-card::before {
  content: "";
  position: absolute;
  top: -76px;
  left: 50%;
  width: 1px;
  height: 108px;
  background: linear-gradient(180deg, transparent, rgba(255, 242, 199, 0.24), transparent);
  opacity: 0.18;
  transform: translateX(-50%);
  pointer-events: none;
}

.candle-visual {
  position: relative;
  width: 118px;
  height: calc(var(--wax-h, 104px) + var(--flame-h, 40px) + 42px);
  margin: 0 auto;
  filter: drop-shadow(0 20px 22px rgba(0, 0, 0, 0.36));
  transform-style: preserve-3d;
}

.flame {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 4;
  width: calc(var(--flame-h, 40px) * 0.68);
  height: var(--flame-h, 40px);
  border-radius: 54% 46% 48% 52% / 62% 56% 44% 38%;
  background:
    radial-gradient(circle at 50% 68%, rgba(255, 255, 226, 0.98) 0 15%, transparent 16%),
    radial-gradient(circle at 50% 58%, #ffd46f 0 36%, transparent 37%),
    radial-gradient(circle at 48% 42%, #f07b38 0 62%, transparent 63%);
  filter:
    drop-shadow(0 0 12px rgba(240, 199, 106, 0.92))
    drop-shadow(0 0 28px rgba(211, 168, 79, var(--glow, 0.56)));
  transform: translateX(-50%) rotate(-4deg);
  transform-origin: 50% 82%;
  animation: flame 2.4s ease-in-out infinite;
}

.flame::after {
  content: "";
  position: absolute;
  inset: 19% 31% 20%;
  border-radius: inherit;
  background: linear-gradient(180deg, #fffce0, #f6bd4f);
  opacity: 0.84;
  filter: blur(0.3px);
}

.wick {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: calc(var(--flame-h, 40px) - 1px);
  width: 2px;
  height: 14px;
  background: #201910;
  transform: translateX(-50%);
}

.wax-body {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: calc(var(--flame-h, 40px) + 10px);
  width: var(--wax-w, 40px);
  height: var(--wax-h, 104px);
  overflow: hidden;
  border-radius: 14px 14px 7px 7px;
  background:
    linear-gradient(90deg, rgba(111, 77, 34, 0.28), rgba(255, 255, 250, 0.92) 18%, rgba(255, 248, 219, 0.86) 52%, rgba(145, 102, 48, 0.26)),
    linear-gradient(180deg, var(--wax-a, #fff6d6), var(--wax-b, #ddbd78));
  box-shadow:
    inset 8px 0 14px rgba(255, 255, 255, 0.22),
    inset -8px 0 14px rgba(86, 58, 24, 0.2),
    0 0 34px rgba(255, 226, 142, 0.18);
  transform: translateX(-50%);
}

.wax-body::before {
  content: "";
  position: absolute;
  inset: -6px 0 auto;
  height: 13px;
  border-radius: 50%;
  background: #fff6d8;
  box-shadow: inset 0 -4px 10px rgba(95, 59, 21, 0.18);
}

.wax-body::after {
  content: "";
  position: absolute;
  top: 12%;
  left: 28%;
  width: 18%;
  height: 76%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), transparent);
  opacity: 0.7;
}

.wax-drip {
  position: absolute;
  top: 8px;
  z-index: 2;
  width: 7px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 249, 222, 0.95), rgba(222, 191, 124, 0.72));
  box-shadow: inset -2px 0 5px rgba(110, 78, 34, 0.12);
}

.wax-drip.one {
  left: 21%;
  height: 18px;
}

.wax-drip.two {
  right: 22%;
  height: 30px;
}

.wax-drip.three {
  left: 52%;
  height: 12px;
}

.candle-glow {
  position: absolute;
  z-index: 0;
  top: calc(var(--flame-h, 40px) - 58px);
  left: 50%;
  width: 160px;
  height: 180px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 237, 170, 0.42), transparent 24%),
    radial-gradient(circle at 50% 58%, rgba(211, 168, 79, 0.18), transparent 58%);
  filter: blur(8px);
  opacity: 0.85;
  transform: translateX(-50%);
  pointer-events: none;
}

.candle-shadow {
  position: absolute;
  z-index: 0;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 16px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.44);
  filter: blur(10px);
  transform: translateY(18px) scaleX(0.8);
}

.candle-info {
  position: absolute;
  z-index: 8;
  bottom: 2px;
  left: 50%;
  width: min(260px, 76vw);
  padding: 14px 15px;
  border: 1px solid rgba(255, 242, 199, 0.22);
  border-radius: 8px;
  background: rgba(16, 17, 14, 0.86);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.46), 0 0 26px rgba(211, 168, 79, 0.12);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px) scale(0.96);
  transition: opacity 180ms ease, transform 180ms ease;
}

.candle-card:hover,
.candle-card:focus {
  z-index: 9;
}

.candle-card:hover .candle-info,
.candle-card:focus .candle-info,
.candle-card:focus-within .candle-info,
.candle-card.is-inspected .candle-info {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

body .candle-grid .candle-card.is-inspected > .candle-info {
  opacity: 1 !important;
  transform: translate(-50%, 0) scale(1) !important;
}

.candle-card.is-inspected .candle-info {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.candle-card h3 {
  margin: 0 0 4px;
  color: #fff8e6;
  font-size: 1.05rem;
}

.candle-card .intent {
  margin: 0 0 8px;
  color: var(--gold-bright);
  font-size: 0.84rem;
  font-weight: 800;
}

.candle-card .message {
  margin: 0;
  color: rgba(244, 239, 226, 0.76);
  font-size: 0.92rem;
  display: -webkit-box;
  min-height: 2.8em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.candle-card .time-left {
  margin: 10px 0 0;
  color: rgba(244, 239, 226, 0.54);
  font-size: 0.78rem;
}

.candle-taper .wax-body {
  width: calc(var(--wax-w, 40px) * 0.78);
  border-radius: 20px 20px 8px 8px;
}

.candle-ivory {
  --wax-a: #fff8df;
  --wax-b: #d9b86d;
}

.candle-chapel {
  --wax-a: #f8e1b1;
  --wax-b: #b77d43;
}

.candle-chapel .wax-body {
  border-radius: 8px 8px 4px 4px;
}

.candle-votive .wax-body {
  width: calc(var(--wax-w, 40px) + 18px);
  height: calc(var(--wax-h, 104px) * 0.7);
  top: calc(var(--flame-h, 40px) + 28px);
  border-radius: 18px 18px 10px 10px;
}

.candle-opal {
  --wax-a: #f7f2e7;
  --wax-b: #c8d0bd;
}

.candle-opal .flame {
  filter:
    drop-shadow(0 0 12px rgba(255, 238, 184, 0.9))
    drop-shadow(0 0 34px rgba(167, 207, 180, 0.34));
}

.candle-card.is-highlighted .candle-glow {
  animation: newCandlePulse 2.8s ease-in-out infinite;
}

.candle-card.is-highlighted .candle-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 10px 5px -8px;
  border-radius: 50%;
  border: 1px solid rgba(126, 255, 218, 0.28);
  box-shadow:
    0 0 28px rgba(126, 255, 218, 0.22),
    0 0 64px rgba(240, 199, 106, 0.28);
  pointer-events: none;
}

.content-section {
  background: var(--paper);
  color: #28241b;
}

.content-section .eyebrow {
  color: var(--wine);
}

.content-section .section-heading h2,
.topic-card h3 {
  color: #221e16;
}

.content-section .section-heading p {
  color: rgba(40, 36, 27, 0.72);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.topic-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(83, 100, 71, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.48);
}

.topic-mark {
  display: block;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 36%, #f0c76a 0 16%, transparent 17%),
    linear-gradient(180deg, rgba(115, 50, 50, 0.24), rgba(83, 100, 71, 0.18));
  border: 1px solid rgba(115, 50, 50, 0.25);
}

.topic-card h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.topic-card p {
  color: rgba(40, 36, 27, 0.72);
}

.topic-card a {
  color: #6f2e2d;
  font-weight: 800;
}

.search-cluster {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(940px, 100%);
  margin: 24px auto 0;
}

.search-cluster a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(83, 100, 71, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: #5d2b2a;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.trust-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  background:
    linear-gradient(135deg, rgba(83, 100, 71, 0.34), transparent 38%),
    #191a15;
}

.trust-copy {
  color: rgba(244, 239, 226, 0.76);
  font-size: 1.02rem;
}

.trust-copy p:first-child {
  margin-top: 0;
}

.faq-section {
  background: #11120f;
}

.faq-list {
  display: grid;
  gap: 10px;
  width: min(850px, 100%);
  margin: 0 auto;
}

details {
  border: 1px solid rgba(255, 242, 199, 0.13);
  border-radius: 8px;
  background: rgba(255, 242, 199, 0.05);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  color: #fff8e6;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 20px 18px;
  color: rgba(244, 239, 226, 0.72);
}

.payment-dialog {
  width: min(510px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--paper);
}

.payment-dialog::backdrop {
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(6px);
}

.payment-box {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(255, 242, 199, 0.18);
  border-radius: 8px;
  background: #191a15;
  box-shadow: var(--shadow);
}

.payment-box h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.icon-button {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 242, 199, 0.16);
  border-radius: 50%;
  background: rgba(255, 242, 199, 0.06);
  color: var(--paper);
  cursor: pointer;
}

.payment-summary {
  display: grid;
  gap: 8px;
  margin: 12px 0 16px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 242, 199, 0.06);
  color: rgba(244, 239, 226, 0.8);
}

.payment-summary strong {
  color: #fff8e6;
}

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

.payment-methods {
  margin-bottom: 18px;
}

.payment-methods span {
  width: auto;
  min-height: 34px;
  color: rgba(244, 239, 226, 0.78);
  font-size: 0.78rem;
}

.payment-error {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(230, 90, 74, 0.36);
  border-radius: 8px;
  background: rgba(230, 90, 74, 0.12);
  color: #ffd2c8;
  font-size: 0.88rem;
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.microcopy {
  margin: 14px 0 0;
  color: rgba(244, 239, 226, 0.56);
  font-size: 0.82rem;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 34px clamp(18px, 4vw, 56px);
  border-top: 1px solid rgba(255, 242, 199, 0.12);
  background: #0c0d0b;
  color: rgba(244, 239, 226, 0.68);
}

.footer-brand {
  margin-bottom: 8px;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

.topic-page {
  background:
    radial-gradient(circle at 18% 0%, rgba(211, 168, 79, 0.16), transparent 32%),
    linear-gradient(180deg, #11120f, #191a15 62%, #11120f);
}

.article-hero {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(62px, 10vw, 118px) 0 clamp(36px, 6vw, 70px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: rgba(244, 239, 226, 0.58);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: rgba(244, 239, 226, 0.78);
  text-decoration-color: rgba(211, 168, 79, 0.48);
  text-underline-offset: 0.22em;
}

.breadcrumb span::before {
  content: "/";
  margin-right: 8px;
  color: rgba(244, 239, 226, 0.35);
}

.article-hero h1 {
  max-width: 860px;
  margin: 0;
  color: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 7vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.article-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(244, 239, 226, 0.78);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.article-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 30px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--gold);
  color: #1d160c;
  font-weight: 900;
  text-decoration: none;
}

.article-body {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto clamp(60px, 9vw, 110px);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 242, 199, 0.14);
  border-radius: 8px;
  background: rgba(255, 242, 199, 0.06);
}

.article-body h2 {
  margin: 30px 0 10px;
  color: #fff8e6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p {
  margin: 0;
  color: rgba(244, 239, 226, 0.76);
}

@keyframes flame {
  0%,
  100% {
    transform: translateX(-50%) rotate(-4deg) scale(1);
  }
  50% {
    transform: translateX(-48%) rotate(4deg) scale(1.08, 0.96);
  }
}

@keyframes floatCandle {
  0%,
  100% {
    transform: translate3d(var(--float-x, 0), calc(var(--float-y, 0) - var(--drift, 8px)), 0) scale(var(--scale, 1));
  }
  50% {
    transform: translate3d(calc(var(--float-x, 0) * -0.35), calc(var(--float-y, 0) + var(--drift, 8px)), 24px) scale(var(--scale, 1));
  }
}

@keyframes newCandlePulse {
  0%,
  100% {
    opacity: 0.78;
    filter: blur(8px);
  }
  50% {
    opacity: 1;
    filter: blur(5px) saturate(1.18);
  }
}

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

  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 42px 0 38px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .ritual-panel {
    padding: 20px;
  }

  .topic-grid,
  .trust-section {
    grid-template-columns: 1fr;
  }

  .topic-card {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 64px;
    padding: 12px 14px;
  }

  .brand span:last-child {
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-action {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .hero-inner {
    width: min(100% - 28px, 1180px);
  }

  .hero h1 {
    font-size: clamp(2.6rem, 14vw, 4.25rem);
  }

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

  .wall-section,
  .content-section,
  .trust-section,
  .faq-section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .candle-grid {
    grid-template-columns: repeat(2, minmax(116px, 1fr));
    min-height: 640px;
    gap: 18px;
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .candle-card {
    min-height: 260px;
  }

  .candle-info {
    width: min(230px, 88vw);
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@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;
  }
}

/* Production polish: smaller premium candle wall, live timer burn-down, payment/legal states */
.api-notice {
  width: min(920px, 100%);
  margin: 0 auto 18px;
  padding: 12px 15px;
  border: 1px solid rgba(240, 199, 106, 0.28);
  border-radius: 12px;
  background: rgba(211, 168, 79, 0.1);
  color: rgba(255, 248, 230, 0.82);
  font-size: 0.9rem;
  text-align: center;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.process-section {
  padding: clamp(44px, 7vw, 78px) clamp(18px, 4vw, 56px);
  background:
    radial-gradient(circle at 18% 10%, rgba(211, 168, 79, 0.14), transparent 30%),
    linear-gradient(180deg, #191a15, #11120f);
}

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

.process-card {
  min-height: 178px;
  padding: 22px;
  border: 1px solid rgba(255, 242, 199, 0.14);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 242, 199, 0.08), rgba(255, 242, 199, 0.035));
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.2);
}

.process-card strong {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 15px;
  border-radius: 50%;
  background: rgba(240, 199, 106, 0.2);
  color: var(--gold-bright);
}

.process-card h3 {
  margin: 0 0 9px;
  color: #fff8e6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
}

.process-card p {
  margin: 0;
  color: rgba(244, 239, 226, 0.68);
}

.candle-grid {
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  align-items: center;
  gap: clamp(18px, 3.4vw, 46px);
  min-height: clamp(440px, 50vw, 590px);
  padding: clamp(42px, 6vw, 78px) clamp(10px, 3vw, 32px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 18%, rgba(240, 199, 106, 0.12), transparent 25%),
    radial-gradient(circle at 12% 72%, rgba(115, 50, 50, 0.22), transparent 26%),
    linear-gradient(90deg, transparent, rgba(255, 242, 199, 0.055) 50%, transparent),
    repeating-linear-gradient(90deg, transparent 0 118px, rgba(255, 242, 199, 0.025) 119px 120px),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(255, 242, 199, 0.035) 48%, rgba(0, 0, 0, 0.32));
}

.candle-card {
  min-height: 214px;
  transform: translate3d(var(--float-x, 0), var(--float-y, 0), var(--z, 0)) rotate(var(--tilt, 0deg)) scale(var(--scale, 0.82));
  animation: premiumFloat var(--speed, 7s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform;
}

.candle-card::before {
  top: -58px;
  height: 82px;
  opacity: 0.13;
}

.candle-visual {
  width: 94px;
  height: calc(var(--wax-h, 84px) + var(--flame-h, 30px) + 46px);
  opacity: var(--candle-alpha, 0.96);
  filter:
    blur(var(--depth-blur, 0px))
    drop-shadow(0 18px 18px rgba(0, 0, 0, 0.38));
}

.flame {
  width: calc(var(--flame-h, 30px) * 0.64);
  height: var(--flame-h, 30px);
  background:
    radial-gradient(circle at 50% 70%, rgba(255, 255, 229, 0.98) 0 15%, transparent 16%),
    radial-gradient(circle at 50% 58%, #ffe08a 0 34%, transparent 35%),
    radial-gradient(circle at 48% 42%, #ff8b41 0 62%, transparent 63%);
  filter:
    drop-shadow(0 0 10px rgba(255, 224, 142, 0.95))
    drop-shadow(0 0 22px rgba(211, 168, 79, var(--glow, 0.56)));
}

.wick {
  top: calc(var(--flame-h, 30px) - 1px);
  height: 12px;
}

.wax-body,
.candle-votive .wax-body,
.candle-taper .wax-body {
  top: calc(var(--flame-h, 30px) + 10px + var(--burned-px, 0px));
  width: var(--wax-w, 30px);
  height: var(--lit-h, 82px);
  min-height: 28px;
  border-radius: 13px 13px 7px 7px;
  background:
    radial-gradient(ellipse at 50% 2%, rgba(255, 255, 255, 0.95), rgba(255, 246, 216, 0.62) 36%, rgba(132, 92, 39, 0.22) 72%, rgba(65, 37, 16, 0.32) 100%),
    linear-gradient(90deg, rgba(101, 69, 29, 0.33), rgba(255, 255, 252, 0.96) 18%, rgba(255, 248, 219, 0.86) 54%, rgba(132, 87, 35, 0.3)),
    linear-gradient(180deg, var(--wax-a, #fff6d6), var(--wax-b, #d9b36d));
  box-shadow:
    inset 5px 0 13px rgba(255, 255, 255, 0.24),
    inset -8px 0 15px rgba(86, 58, 24, 0.23),
    inset 0 -11px 16px rgba(90, 61, 25, 0.16),
    0 0 28px rgba(255, 226, 142, 0.14);
}

.wax-body::before {
  display: none;
}

.wax-top {
  position: absolute;
  inset: -6px 0 auto;
  height: 13px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(92, 55, 22, 0.22), transparent 38%),
    linear-gradient(180deg, rgba(255, 253, 238, 0.98), rgba(232, 194, 112, 0.82));
  box-shadow: inset 0 -4px 10px rgba(95, 59, 21, 0.18);
}

.wax-drip {
  top: 5px;
  width: 5px;
  height: 19px;
  opacity: 0.92;
}

.wax-drip.two {
  height: 26px;
}

.candle-meter {
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 58px;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 242, 199, 0.14);
  transform: translateX(-50%);
}

.candle-meter span,
.time-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f0c76a, #fff1a8);
  box-shadow: 0 0 12px rgba(240, 199, 106, 0.46);
}

.candle-glow {
  top: calc(var(--flame-h, 30px) - 52px);
  width: 134px;
  height: 150px;
  opacity: 0.75;
}

.candle-shadow {
  right: 22px;
  left: 22px;
  height: 13px;
  transform: translateY(14px) scaleX(0.72);
}

.candle-info {
  bottom: -10px;
  width: min(245px, 78vw);
  padding: 13px 14px;
  border-radius: 14px;
}

.candle-card .time-left {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 7px;
  color: rgba(244, 239, 226, 0.62);
}

.candle-card .time-left strong {
  color: var(--gold-bright);
  font-size: 0.76rem;
}

.time-bar {
  display: block;
  width: 100%;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 242, 199, 0.12);
}

.candle-amber {
  --wax-a: #ffe0a4;
  --wax-b: #ad6e35;
}

.candle-porcelain {
  --wax-a: #fffaf0;
  --wax-b: #c7bba0;
}

.payment-note {
  color: rgba(240, 199, 106, 0.82);
  font-size: 0.83rem;
}

.consent-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin: 0 0 14px;
  color: rgba(244, 239, 226, 0.68);
  font-size: 0.82rem;
}

.consent-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--gold-bright);
}

.consent-row a,
.legal-card a {
  color: var(--gold-bright);
  text-underline-offset: 0.22em;
}

.legal-card {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto clamp(60px, 8vw, 100px);
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(255, 242, 199, 0.14);
  border-radius: 18px;
  background: rgba(255, 242, 199, 0.06);
  color: rgba(244, 239, 226, 0.76);
}

.legal-card h2 {
  margin: 28px 0 10px;
  color: #fff8e6;
  font-family: Georgia, "Times New Roman", serif;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: rgba(244, 239, 226, 0.76);
}

@keyframes premiumFloat {
  0%,
  100% {
    transform: translate3d(var(--float-x, 0), calc(var(--float-y, 0) - var(--drift, 8px)), var(--z, 0)) rotate(var(--tilt, 0deg)) scale(var(--scale, 0.82));
  }
  33% {
    transform: translate3d(calc(var(--float-x, 0) * -0.25), calc(var(--float-y, 0) + var(--drift, 8px)), calc(var(--z, 0) + 18px)) rotate(calc(var(--tilt, 0deg) * -0.4)) scale(var(--scale, 0.82));
  }
  66% {
    transform: translate3d(calc(var(--float-x, 0) * 0.45), calc(var(--float-y, 0) + var(--drift, 8px) * -0.25), calc(var(--z, 0) - 10px)) rotate(calc(var(--tilt, 0deg) * 0.35)) scale(var(--scale, 0.82));
  }
}

@media (max-width: 900px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .candle-grid {
    grid-template-columns: repeat(3, minmax(76px, 1fr));
    min-height: 590px;
    gap: 8px 12px;
    padding-right: 6px;
    padding-left: 6px;
  }

  .candle-card {
    min-height: 176px;
  }

  .candle-visual {
    width: 76px;
  }

  .candle-info {
    width: min(218px, 92vw);
  }
}
