/* Product-page style: dark stage, big bold headline, red tagline, minimal chrome. */
:root {
  --bg: #000;
  --stage: #1d1d1f;
  --surface: #1d1d1f;
  --surface-2: #2c2c2e;
  --line: #424245;
  --text: #f5f5f7;
  --muted: #86868b;
  --accent: #e2c48c;
  --accent-deep: #c9a45c;
  --gold-rgb: 201, 164, 92;
  --link: #e2c48c;
  --button: #c9a45c;
  --button-hover: #d8b872;
  --button-text: #17120a;
  --warm-surface: #2a2417;
  --danger: #ff6961;
  --el-wood: #30d158;
  --el-fire: #ff453a;
  --el-earth: #d9a441;
  --el-metal: #d1d1d6;
  --el-water: #0a84ff;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }

/* ---------- Hero ---------- */
.hero { background: var(--stage); overflow: hidden; }
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 22px 40px;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 24px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.brand-mark { width: 32px; height: 32px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(226, 196, 140, 0.55); }
.hero h1 {
  margin: 0;
  font-size: clamp(44px, 6.6vw, 80px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.tagline {
  margin: 14px 0 0;
  color: var(--accent-deep);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-desc { margin: 28px 0 0; color: var(--muted); max-width: 26em; }
.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  color: var(--text);
  font-size: 17px;
}
.cta:hover { text-decoration: underline; }
.cta-icon { width: 18px; height: 18px; flex: none; }

/* Home hero: illustration behind the copy, darkened on the text side for contrast. */
.hero-art {
  background:
    linear-gradient(90deg, rgba(8, 8, 10, 0.95) 0%, rgba(8, 8, 10, 0.78) 40%, rgba(8, 8, 10, 0.5) 100%),
    url("../assets/hero-art.webp") 62% 38% / cover no-repeat,
    var(--stage);
}

.hero-art .face-item figcaption { color: #d1d1d6; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9); }

/* ---------- Watch faces (each feature is a face) ---------- */
.faces {
  --w: clamp(132px, 15vw, 186px);
  display: grid;
  grid-template-columns: repeat(2, var(--w));
  gap: 28px 26px;
  justify-content: center;
}
.faces.six { --w: clamp(120px, 12vw, 160px); grid-template-columns: repeat(3, var(--w)); gap: 22px 20px; }
.faces.single { --w: clamp(200px, 24vw, 270px); grid-template-columns: var(--w); }
.face-item { margin: 0; display: grid; justify-items: center; gap: 10px; }
.face-item figcaption { font-size: 14px; color: var(--muted); }
.face {
  position: relative;
  width: var(--w);
  max-width: 100%;
  aspect-ratio: 0.82;
  border-radius: calc(var(--w) * 0.24);
  background: radial-gradient(120% 90% at 50% 0%, #141416, #000 62%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 24px 60px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  font-size: calc(var(--w) / 10);
  color: var(--text);
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
a.face:hover {
  text-decoration: none;
  transform: translateY(-6px);
  box-shadow: 0 0 0 1px rgba(var(--gold-rgb), 0.55), 0 30px 70px rgba(0, 0, 0, 0.6);
}
.face-label, .face-time { position: absolute; top: 1.05em; font-size: 0.62em; font-weight: 600; letter-spacing: 0.06em; }
.face-label { left: 1.6em; color: var(--accent); }
.face-time { right: 1.6em; color: var(--text); font-variant-numeric: tabular-nums; }
.face-foot { position: absolute; bottom: 1.05em; left: 0; right: 0; font-size: 0.6em; color: var(--muted); }

.s-big {
  font-size: 3.6em;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(180deg, #fff, #ffd5a8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.s-grid { display: grid; grid-template-columns: repeat(3, 0.55em); gap: 0.25em; }
.s-grid i { height: 0.55em; border-radius: 50%; background: #3a3a3c; }
.s-grid i.on { background: var(--accent); }
.s-card {
  width: 44%;
  height: 58%;
  border-radius: 0.5em;
  background: linear-gradient(180deg, #f7eed8, #e2cd97);
  color: #2b1e07;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 0.5em 0.2em;
  font-weight: 700;
  font-size: 0.72em;
}
.s-card .s-star { font-size: 2.4em; line-height: 1; }
.s-matrix { width: 66%; height: auto; }
.s-hex { display: grid; gap: 0.26em; width: 46%; }
.s-hex i { height: 0.36em; border-radius: 0.1em; background: var(--text); }
.s-hex i.yin { background: linear-gradient(90deg, var(--text) 0 42%, transparent 42% 58%, var(--text) 58%); }
.s-hex i.moving { background: var(--accent); }

/* ---------- Local nav (sticky) ---------- */
.subnav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(29, 29, 31, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.subnav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(14px, 4vw, 34px);
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav a { color: var(--text); font-size: 16px; white-space: nowrap; }
/* Centre the links when they fit, but keep the first one reachable when the row scrolls. */
.subnav a:first-child { margin-left: auto; }
.subnav a:last-child { margin-right: auto; }
@media (max-width: 820px) { .subnav-inner { padding-right: 96px; } }
.subnav a[aria-current="page"] { color: var(--muted); pointer-events: none; }

/* ---------- Content ---------- */
.section { padding: 72px 16px 80px; }
.container { max-width: 980px; margin: 0 auto; }
.section-title {
  margin: 0 0 8px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.section-lead { margin: 0 0 36px; color: var(--muted); font-size: 19px; }
.muted { color: var(--muted); font-weight: 400; }

.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.tile.featured { grid-column: 1 / -1; background: linear-gradient(135deg, var(--warm-surface), var(--surface) 60%); }
.tile.featured h3 { font-size: clamp(32px, 5vw, 44px); }
.s-breath { width: 52%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(0, 245, 234, 0.55), rgba(10, 132, 255, 0.18) 70%); box-shadow: 0 0 0 1px rgba(0, 245, 234, 0.45); }
.tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 40px 32px;
  border-radius: 28px;
  background: var(--surface);
  color: var(--text);
  transition: transform 0.3s ease;
}
.tile:hover { text-decoration: none; transform: scale(1.015); }
.tile h3 { margin: 0; font-size: 32px; font-weight: 600; line-height: 1.1; }
.tile .tagline { margin: 4px 0 8px; font-size: 14px; }
.tile p { margin: 0; color: var(--muted); flex: 1; }
.tile-link { margin-top: 18px; color: var(--link); }

.panel {
  display: grid;
  gap: 8px;
  padding: 32px;
  border-radius: 28px;
  background: var(--surface);
}
label { font-weight: 600; font-size: 15px; margin-top: 8px; }
label.checkbox { display: flex; align-items: center; gap: 10px; font-weight: 400; }
input[type="text"], input[type="date"], select {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #000;
  color: var(--text);
  font: inherit;
}
input[type="text"]:focus, input[type="date"]:focus, select:focus {
  outline: none;
  border-color: var(--button);
  box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.4);
}
input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--button); }

.btn {
  justify-self: start;
  margin-top: 14px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 980px;
  background: var(--button);
  color: var(--button-text);
  font-weight: 600;
  font: inherit;
  cursor: pointer;
}
.btn:hover { background: var(--button-hover); }
.btn.secondary { background: transparent; border-color: var(--link); color: var(--link); }
.btn.secondary:hover { background: rgba(var(--gold-rgb), 0.14); }

/* ---------- Results ---------- */
.results { margin-top: 40px; display: grid; gap: 16px; scroll-margin-top: 72px; }
.results h2 { margin: 0; font-size: 32px; font-weight: 600; }
.results > .muted { margin: 0; }
.error { color: var(--danger); font-weight: 600; }

.reading-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  border-radius: 22px;
  background: var(--surface);
}
.reading-card.column { flex-direction: column; gap: 10px; }
.reading-card.column > .btn { align-self: flex-start; }
.reading-card.highlight { box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.55); }
.reading-card h3 { margin: 0 0 4px; font-size: 21px; font-weight: 600; }
.reading-card p { margin: 4px 0; }
.keywords { color: var(--accent); font-weight: 600; }
.number-badge {
  flex: 0 0 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 26px;
  font-weight: 700;
  background: radial-gradient(circle, #000 0 60%, transparent 61%), var(--accent);
}
.reading-card.highlight .number-badge {
  background: radial-gradient(circle, #000 0 60%, transparent 61%), conic-gradient(#f3dca6, #a8843f, #f3dca6, #a8843f, #f3dca6);
}

.birth-grid { display: grid; grid-template-columns: repeat(3, 72px); gap: 6px; }
.birth-grid .cell {
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 700;
  word-break: break-all;
}
.birth-grid .cell.empty { color: var(--muted); opacity: 0.5; }

/* ---------- Tarot ---------- */
.question { margin: 0; }
.tarot-spread { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.tarot-slot { width: 180px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.position { margin: 0; font-weight: 600; color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; font-size: 14px; }
.tarot-card {
  width: 150px;
  height: 240px;
  padding: 0;
  border: none;
  background: none;
  perspective: 900px;
  cursor: pointer;
  animation: deal 0.4s ease-out both;
}
.tarot-card.flipped { cursor: default; }
.tarot-inner { position: relative; width: 100%; height: 100%; transition: transform 0.7s; transform-style: preserve-3d; }
.tarot-card.flipped .tarot-inner { transform: rotateY(180deg); }
.tarot-face, .tarot-face-wrap { position: absolute; inset: 0; border-radius: 14px; backface-visibility: hidden; }
.tarot-back {
  display: grid;
  place-items: center;
  font-size: 3rem;
  color: var(--accent-deep);
  border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 50%, #2c2c2e, #1d1d1f 70%);
}
.tarot-face-wrap { transform: rotateY(180deg); }
.tarot-face-wrap.reversed .tarot-front { transform: rotate(180deg); }
.tarot-front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 14px 8px;
  background: linear-gradient(180deg, #f7eed8, #e9d7a8);
  color: #2b1e07;
}
.tarot-label { font-weight: 800; font-size: 1.1rem; }
.tarot-symbol { font-size: 3rem; }
.tarot-name { font-weight: 700; font-size: 0.95rem; }
.tarot-detail h3 { margin: 0; font-size: 17px; }
.tarot-detail p { margin: 2px 0; font-size: 15px; }
#flip-all { justify-self: center; }

@keyframes deal { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ---------- Matrix Destiny ---------- */
.matrix-figure { margin: 0; padding: 24px; border-radius: 22px; background: var(--surface); }
.matrix-chart { display: block; width: 100%; max-width: 460px; height: auto; margin: 0 auto; }
.chart-lines { fill: none; stroke: rgba(255, 255, 255, 0.28); stroke-width: 1.5; }
.chart-point circle { fill: var(--pt); stroke: var(--surface); stroke-width: 2; }
.chart-point text { fill: var(--pt-text, #fff); font-weight: 700; text-anchor: middle; dominant-baseline: central; font-family: var(--font); }
.chart-labels text { fill: #30d158; font-size: 15px; font-weight: 700; text-anchor: middle; dominant-baseline: central; }
.pt-core { --pt: #ffd60a; --pt-text: #000; }
.pt-spirit { --pt: #bf5af2; }
.pt-matter { --pt: #ff453a; }
.pt-ancestor { --pt: #636366; }
.pt-inner { --pt: #2c2c2e; }
.pt-channel { --pt: #30d158; --pt-text: #000; }
.chart-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 14px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}
.chart-legend .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pt); margin-right: -8px; }
.trio { font-size: 24px; font-weight: 600; letter-spacing: 0.04em; }
.purpose-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.purpose { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 16px; background: #000; font-size: 15px; }
.purpose-number { font-size: 40px; font-weight: 600; line-height: 1; color: var(--accent); }
.purpose-name { font-weight: 600; }

/* ---------- Mai Hoa ---------- */
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
legend { font-weight: 600; font-size: 15px; padding: 0; margin-top: 8px; }
.segmented { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: #000; justify-self: start; }
.segmented label { margin: 0; padding: 8px 16px; border-radius: 9px; font-weight: 500; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label:has(input:checked) { background: var(--surface-2); }
.segmented label:has(input:focus-visible) { outline: 2px solid var(--link); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.field-row > div { display: grid; gap: 8px; min-width: 0; }
input[type="number"], input[type="datetime-local"], input[type="time"] {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #000;
  color: var(--text);
  font: inherit;
}
input[type="number"]:focus, input[type="datetime-local"]:focus, input[type="time"]:focus {
  outline: none;
  border-color: var(--button);
  box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.4);
}
.inline-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.inline-row input { flex: 1 1 220px; }
.inline-row .btn { margin-top: 0; }
.hint { margin: 0; font-size: 14px; color: var(--muted); }

.hex-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.hex-card { display: grid; gap: 6px; align-content: start; padding: 24px; border-radius: 22px; background: var(--surface); text-align: center; }
.hex-card h3 { margin: 6px 0 0; font-size: 21px; font-weight: 600; }
.hex-card p { margin: 0; }
.hex { display: grid; gap: 9px; width: 120px; margin: 8px auto 4px; }
.hex-line { height: 14px; border-radius: 3px; background: var(--text); }
.hex-line.yin { background: linear-gradient(90deg, var(--text) 0 42%, transparent 42% 58%, var(--text) 58%); }
.hex-line.moving.yang { background: var(--accent); }
.hex-line.moving.yin { background: linear-gradient(90deg, var(--accent) 0 42%, transparent 42% 58%, var(--accent) 58%); }
.trigram-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.trigram-chip { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; background: #000; font-size: 15px; }
.trigram-symbol { font-size: 34px; line-height: 1; }
.verdict { display: inline-block; padding: 2px 10px; border-radius: 980px; font-size: 13px; font-weight: 700; }
.verdict.good { background: rgba(48, 209, 88, 0.16); color: #30d158; }
.verdict.bad { background: rgba(255, 105, 97, 0.16); color: var(--danger); }


/* ---------- Face extras ---------- */
.s-pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.2em; width: 86%; font-weight: 700; font-size: 0.6em; line-height: 1.3; }
.s-pillars span { display: grid; gap: 0.1em; padding: 0.35em 0; border-radius: 0.35em; background: #1c1c1e; }
.s-pillars i { font-style: normal; color: var(--accent); }
.s-rings { position: relative; width: 56%; aspect-ratio: 1; }
.s-rings i { position: absolute; inset: 0; border-radius: 50%; border: 0.32em solid var(--ring); }
.s-rings i:nth-child(1) { --ring: #c9a45c; }
.s-rings i:nth-child(2) { --ring: #6fa3a0; inset: 0.55em; }
.s-rings i:nth-child(3) { --ring: #f3e9d2; inset: 1.1em; }

/* ---------- Shared result pieces ---------- */
.number-badge.small { font-size: 17px; }
.advice { color: var(--text); }
.purpose.current { box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.6); }
.tag-now { justify-self: start; align-self: flex-start; padding: 2px 10px; border-radius: 980px; background: rgba(var(--gold-rgb), 0.16); color: var(--accent); font-size: 12px; font-weight: 700; }
.arrow-list, .tip-list { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.tip-list { padding-left: 18px; list-style: disc; }
.bars { display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: minmax(84px, 9em) 1fr 3.5em; gap: 12px; align-items: center; font-size: 15px; }
.bar-label { min-width: 0; }
.bar-track { height: 10px; border-radius: 980px; background: #000; overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: inherit; background: var(--muted); }
.bar-fill.main { background: var(--accent); }
.bar-value { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }

/* ---------- Bát Tự ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pillar { display: grid; gap: 4px; padding: 18px 10px; border-radius: 18px; background: var(--surface); text-align: center; }
.pillar p { margin: 0; font-size: 14px; }
.pillar-char { font-size: 26px !important; font-weight: 600; }
.el-tag { display: inline-block; padding: 1px 8px; border-radius: 980px; font-size: 12px; font-weight: 700; color: #000; background: var(--el); }
.el-0, .el-bg-0 { --el: var(--el-wood); }
.el-1, .el-bg-1 { --el: var(--el-fire); }
.el-2, .el-bg-2 { --el: var(--el-earth); }
.el-3, .el-bg-3 { --el: var(--el-metal); }
.el-4, .el-bg-4 { --el: var(--el-water); }
.bar-fill[class*="el-bg-"] { background: var(--el); }

.pillar-god { font-size: 12px !important; font-weight: 600; color: var(--accent); min-height: 1.4em; }
.hidden-stems { display: grid; gap: 2px; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.verdict.neutral { background: rgba(255, 255, 255, 0.1); color: var(--text); }
.luck-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.luck { display: grid; gap: 4px; align-content: start; padding: 14px; border-radius: 14px; background: #000; font-size: 14px; }
.luck.current { box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.6); }
.luck-age { font-weight: 600; }
.luck-name { font-size: 20px; }
.luck .verdict, .purpose .verdict { justify-self: start; }

.table-wrap { overflow-x: auto; max-width: 100%; }
.results > *, .reading-card > div, .reading-card.column > * { min-width: 0; }
.data-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.data-table th { text-align: left; padding: 8px 10px; color: var(--accent); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; border-bottom: 1px solid var(--line); }
.data-table td { padding: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); vertical-align: top; font-variant-numeric: tabular-nums; }
.data-table td strong { font-size: 16px; }
.total-row td { border-bottom: 0; font-weight: 600; }
.now-card { display: grid; gap: 4px; padding: 18px; border-radius: 16px; background: #000; box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.5); }
.decades { display: grid; gap: 10px; }
.decade { display: grid; grid-template-columns: 7.5em 1fr; gap: 10px; align-items: center; }
.decade-label { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.decade-chips { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; }
.age-chip { display: grid; justify-items: center; gap: 1px; padding: 6px 0; border-radius: 8px; background: #000; font-variant-numeric: tabular-nums; }
.age-chip small { font-size: 10px; color: var(--muted); }
.age-chip strong { font-size: 15px; }
.age-chip.anchor { background: #1c1c1e; }
.age-chip.current { background: var(--accent); }
.age-chip.current small { color: #000; }
.steps { margin: 0; padding-left: 20px; display: grid; gap: 8px; }

.lines-detail { text-align: left; margin-top: 6px; font-size: 14px; }
.lines-detail summary { cursor: pointer; color: var(--link); }
.lines-detail ol { margin: 8px 0 0; padding-left: 0; list-style: none; display: grid; gap: 6px; }
.lines-detail li { padding: 8px 10px; border-radius: 10px; background: #000; }
.lines-detail li.moving-text { box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.6); }
.line-quote { margin: 0; padding: 14px 16px; border-radius: 14px; background: #000; border-left: 3px solid var(--accent); }

/* ---------- Khám phá bản thân ---------- */
.tool { display: grid; gap: 16px; padding: 32px; border-radius: 28px; background: var(--surface); scroll-margin-top: 72px; }
.tool { margin-top: 24px; }
.local-nav + .tool { margin-top: 0; }
.tool h2 { margin: 0; font-size: clamp(26px, 4vw, 34px); font-weight: 600; }
.tool > p { margin: 0; color: var(--muted); }
.quiz-list { display: grid; gap: 10px; }
.quiz-item { padding: 14px 16px; border-radius: 14px; background: #000; }
.quiz-item legend { float: left; width: 100%; margin: 0 0 10px; font-weight: 500; font-size: 16px; }
.scale { display: flex; gap: 8px; flex-wrap: wrap; clear: both; }
.scale label { margin: 0; cursor: pointer; }
.scale input { position: absolute; opacity: 0; pointer-events: none; }
.scale span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); font-weight: 600; }
.scale label:has(input:checked) span { background: var(--button); border-color: var(--button); color: var(--button-text); }
.scale label:has(input:focus-visible) span { outline: 2px solid var(--link); outline-offset: 2px; }
.scale-legend { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.sticky-progress { position: sticky; bottom: 12px; justify-self: center; padding: 8px 16px; border-radius: 980px; background: rgba(44, 44, 46, 0.92); font-size: 14px; }
.wheel-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: center; }
.slider-row { display: grid; grid-template-columns: 10em 1fr 2em; gap: 12px; align-items: center; }
.slider-row label { margin: 0; font-weight: 500; }
.slider-row input { accent-color: var(--accent); width: 100%; }
.slider-row output { text-align: right; font-variant-numeric: tabular-nums; }
.radar { width: 100%; height: auto; display: block; }
.radar-ring { fill: none; stroke: rgba(255, 255, 255, 0.12); }
.radar-axis { stroke: rgba(255, 255, 255, 0.12); }
.radar-shape { fill: rgba(var(--gold-rgb), 0.28); stroke: var(--accent); stroke-width: 2; }
.radar-label { fill: var(--muted); font-size: 12px; font-family: var(--font); dominant-baseline: central; }
.breath-stage { display: grid; place-items: center; gap: 12px; padding: 24px 0; }
.breath-circle {
  width: 200px; height: 200px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle, rgba(0, 245, 234, 0.35), rgba(10, 132, 255, 0.15) 70%);
  box-shadow: 0 0 0 1px rgba(0, 245, 234, 0.4);
  transform: scale(0.6);
  transition-property: transform;
  transition-timing-function: ease-in-out;
}
.breath-circle[data-phase="in"], .breath-circle[data-phase="hold"] { transform: scale(1); }
.breath-label { font-size: 22px; font-weight: 600; }
.breath-count { color: var(--muted); font-variant-numeric: tabular-nums; min-height: 1.5em; }
.journal-prompt { margin: 0; padding: 18px; border-radius: 14px; background: #000; font-size: 19px; }
textarea {
  width: 100%; min-height: 180px; padding: 14px; border-radius: 12px; border: 1px solid var(--line);
  background: #000; color: var(--text); font: inherit; resize: vertical;
}
textarea:focus { outline: none; border-color: var(--button); box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.4); }
.row-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row-actions .btn { margin-top: 0; }
.local-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.local-nav a { padding: 8px 16px; border-radius: 980px; background: var(--surface); color: var(--text); font-size: 15px; }

/* ---------- Hồ sơ nội tâm ---------- */
.core-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.core-tile { display: grid; gap: 4px; padding: 18px; border-radius: 18px; background: var(--surface); color: var(--text); }
.core-tile:hover { text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); }
.core-label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.core-value { font-size: 32px; font-weight: 600; line-height: 1.1; }
.core-caption { font-size: 14px; color: var(--muted); }
.theme-list { display: grid; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0 !important; }
.chip { padding: 2px 10px; border-radius: 980px; background: #000; color: var(--muted); font-size: 13px; }
.compare { display: grid; gap: 10px; }
.compare h3 { margin: 8px 0; font-size: 21px; font-weight: 600; }
.compare-head, .compare-row { display: grid; grid-template-columns: 9em repeat(3, minmax(0, 1fr)); gap: 12px; }
.compare-head { padding: 0 18px; font-size: 13px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; }
.compare-row { padding: 18px; border-radius: 18px; background: var(--surface); font-size: 15px; }
.compare-row h4 { margin: 0; font-size: 16px; }
.compare-row p { margin: 0; }
.compare-src { display: none; }

@media (max-width: 820px) {
  .luck-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-art {
    background:
      linear-gradient(180deg, rgba(8, 8, 10, 0.9) 0%, rgba(8, 8, 10, 0.7) 45%, rgba(8, 8, 10, 0.85) 100%),
      url("../assets/hero-art.webp") 60% 30% / cover no-repeat,
      var(--stage);
  }
  .about { grid-template-columns: 1fr; gap: 20px; }
  .about-logo { max-width: 320px; }
  .wheel-layout { grid-template-columns: 1fr; }
  .compare-head { display: none; }
  .compare-row { grid-template-columns: 1fr; }
  .compare-src { display: block; font-size: 12px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; }
}

@media (max-width: 480px) {
  .decade { grid-template-columns: 1fr; gap: 4px; }
  .age-chip strong { font-size: 13px; }
  .pillars { gap: 6px; }
  .pillar { padding: 12px 4px; }
  .pillar-char { font-size: 20px !important; }
  .tool { padding: 22px 16px; }
  .slider-row { grid-template-columns: 7.5em 1fr 1.6em; }
  .scale span { width: 36px; height: 36px; }
  .bar-row { grid-template-columns: 6.5em 1fr 3em; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .sound-stage.playing span { animation: none; opacity: 0.6; }
  .hold-core { transition: none; }
  .breath-circle { transition: none !important; }
}


/* ---------- Wallet chip & expert CTA (fixed) ---------- */
.wallet-chip, .expert-cta {
  position: fixed;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(var(--gold-rgb), 0.45);
  border-radius: 980px;
  background: rgba(20, 18, 14, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.wallet-chip { top: calc(12px + env(safe-area-inset-top, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); padding: 7px 14px; font-size: 14px; font-weight: 600; }
.wallet-dot { width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff3cf, var(--accent-deep)); }
.expert-cta { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); padding: 12px 20px; font-size: 15px; font-weight: 600; background: var(--button); color: var(--button-text); border-color: transparent; }
.expert-cta:hover { background: var(--button-hover); }
.expert-cta-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--button-text); box-shadow: 0 0 0 4px rgba(23, 18, 10, 0.18); }
.wallet-chip:focus-visible, .expert-cta:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }

/* ---------- Modal ---------- */
.modal {
  width: min(640px, calc(100vw - 24px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  border-radius: 24px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
}
.modal::backdrop { background: rgba(0, 0, 0, 0.7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal-head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; background: var(--surface); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.modal-head h2 { margin: 0; font-size: 21px; font-weight: 600; }
.modal-close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #000; color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; }
.modal-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 18px 22px 24px; }
.modal-body p { margin: 0; }
.modal-sub { margin: 8px 0 0; font-size: 17px; font-weight: 600; }
.field { display: grid; align-content: start; gap: 6px; font-weight: 600; font-size: 15px; min-width: 0; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: #000; color: var(--text); font: inherit; font-weight: 400;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--button); box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.4); }
.form-status { min-height: 1.4em; font-size: 14px; color: var(--muted); }
.form-status:empty { display: none; }
.form-status.good { color: #30d158; }
.form-status.bad { color: var(--danger); }
.wallet-balance { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 14px 16px; border-radius: 14px; background: #000; }
.wallet-balance strong { font-size: 28px; font-weight: 600; }
.pack-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pack { display: grid; gap: 2px; padding: 14px 8px; border-radius: 14px; border: 1px solid var(--line); background: #000; color: var(--text); font: inherit; cursor: pointer; }
.pack strong { font-size: 20px; }
.pack span { color: var(--muted); font-size: 14px; }
.pack.active { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.segmented-buttons { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: #000; justify-self: start; flex-wrap: wrap; }
.seg { padding: 8px 14px; border: 0; border-radius: 9px; background: transparent; color: var(--text); font: inherit; cursor: pointer; }
.seg.active { background: var(--surface-2); }
.btn.small { padding: 8px 14px; font-size: 14px; }
.pay-panel { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start; padding: 16px; border-radius: 18px; background: #000; }
.pay-qr-slot { width: 220px; }
.pay-qr { display: block; width: 100%; height: auto; border-radius: 14px; background: #fff; padding: 6px; }
.pay-info { display: grid; gap: 10px; min-width: 0; }
.pay-info .bank div { background: var(--surface); flex-wrap: wrap; }
.pay-info .bank dd { overflow-wrap: anywhere; }
.price-line strong { font-size: 26px; color: var(--accent); }

/* ---------- Report offers ---------- */
.report-offers:empty { display: none; }
.offers { display: grid; gap: 12px; margin-top: 32px; }
.offers h3 { margin: 0; font-size: 26px; font-weight: 600; }
.offers > p { margin: 0; }
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.offer { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 22px; background: var(--surface); }
.offer h4 { margin: 0; font-size: 19px; font-weight: 600; }
.offer p { margin: 0; }
.offer .muted { flex: 1; font-size: 14px; }
.offer .btn { margin-top: 6px; align-self: flex-start; }
.offer select { min-height: 42px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: #000; color: var(--text); font: inherit; }
.offer.featured { background: linear-gradient(160deg, var(--warm-surface), var(--surface) 70%); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), 0.7), 0 20px 60px rgba(var(--gold-rgb), 0.12); transform: translateY(-4px); }
.offer-price { font-size: 30px; font-weight: 600; color: var(--accent); }

/* ---------- Healing ---------- */
.chip-options, .swatch-options { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-option, .swatch-option { position: relative; margin: 0; cursor: pointer; font-weight: 500; }
.chip-option input, .swatch-option input { position: absolute; opacity: 0; pointer-events: none; }
.chip-option span { display: inline-block; padding: 9px 14px; border-radius: 980px; border: 1px solid var(--line); background: #000; }
.chip-option:has(input:checked) span { border-color: var(--accent); background: rgba(var(--gold-rgb), 0.16); color: var(--accent); }
.swatch-option { display: grid; justify-items: center; gap: 4px; width: 64px; }
.swatch { width: 40px; height: 40px; border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 2px #000, 0 0 0 3px var(--line); }
.swatch-option:has(input:checked) .swatch { box-shadow: 0 0 0 2px #000, 0 0 0 4px var(--accent); }
.swatch-label { font-size: 12px; color: var(--muted); }
.chip-option:has(input:focus-visible) span, .swatch-option:has(input:focus-visible) .swatch { outline: 2px solid var(--link); outline-offset: 3px; }
.hold-wrap { display: grid; justify-items: center; gap: 10px; padding: 18px 0 6px; }
.hold-button {
  --progress: 0;
  width: 150px; height: 150px; border: 0; border-radius: 50%; cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none;
  background: conic-gradient(var(--accent) calc(var(--progress) * 360deg), rgba(255, 255, 255, 0.08) 0);
  display: grid; place-items: center;
}
.hold-core { display: grid; place-items: center; width: 126px; height: 126px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #2b2618, #0c0b09 70%); color: var(--accent); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 14px; transition: transform 0.3s ease; }
.hold-button.holding .hold-core { transform: scale(0.94); box-shadow: 0 0 40px rgba(var(--gold-rgb), 0.35); }
.hold-label { margin: 0; color: var(--muted); }
.sound-stage { position: relative; height: 140px; display: grid; place-items: center; }
.sound-stage span { position: absolute; width: 60px; height: 60px; border-radius: 50%; border: 1px solid rgba(var(--gold-rgb), 0.6); opacity: 0.3; }
.sound-stage.playing span { animation: ripple 4.5s ease-out infinite; }
.sound-stage.playing span:nth-child(2) { animation-delay: 1.5s; }
.sound-stage.playing span:nth-child(3) { animation-delay: 3s; }
@keyframes ripple { from { transform: scale(0.6); opacity: 0.8; } to { transform: scale(2.3); opacity: 0; } }
input[type="range"] { width: 100%; accent-color: var(--accent); }
.s-wave { display: flex; align-items: center; gap: 0.28em; height: 40%; }
.s-wave i { width: 0.38em; border-radius: 0.2em; background: var(--accent); }
.s-wave i:nth-child(1), .s-wave i:nth-child(7) { height: 25%; }
.s-wave i:nth-child(2), .s-wave i:nth-child(6) { height: 50%; }
.s-wave i:nth-child(3), .s-wave i:nth-child(5) { height: 80%; }
.s-wave i:nth-child(4) { height: 100%; }
.s-beads { position: relative; width: 56%; aspect-ratio: 1; }
.s-beads i { position: absolute; left: 50%; top: 50%; width: 22%; height: 22%; margin: -11%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f3e9d2, #8a6a3a 70%); transform: rotate(calc(var(--i) * 45deg)) translateY(-160%); }
.s-beads i:nth-child(1) { --i: 0; } .s-beads i:nth-child(2) { --i: 1; } .s-beads i:nth-child(3) { --i: 2; } .s-beads i:nth-child(4) { --i: 3; }
.s-beads i:nth-child(5) { --i: 4; } .s-beads i:nth-child(6) { --i: 5; } .s-beads i:nth-child(7) { --i: 6; } .s-beads i:nth-child(8) { --i: 7; background: radial-gradient(circle at 35% 30%, #b9e0dc, #3c6f6b 70%); }

/* ---------- Shop ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.product { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 24px; background: var(--surface); scroll-margin-top: 80px; }
.product h3 { margin: 6px 0 0; font-size: 20px; font-weight: 600; }
.product p { margin: 0; }
.product .muted { flex: 1; font-size: 14px; }
.product .btn { align-self: flex-start; }
.product.spotlight { box-shadow: inset 0 0 0 1px var(--accent); }
.product-art { position: relative; height: 150px; border-radius: 18px; background: radial-gradient(circle at 50% 40%, #241f15, #000 75%); overflow: hidden; }
.product-art span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.art-book span { width: 74px; height: 96px; border-radius: 4px 10px 10px 4px; background: linear-gradient(90deg, #1a2a3c 0 12%, #233a55 12%); box-shadow: inset 0 0 0 2px rgba(var(--gold-rgb), 0.8), 8px 8px 0 -2px #e9dcc0; }
.art-book span::after { content: "IC"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent); font-weight: 700; letter-spacing: 0.1em; }
.art-bowl span { width: 120px; height: 56px; margin-top: 16px; border-radius: 0 0 70px 70px; background: linear-gradient(180deg, #e2c48c, #8a6a3a); box-shadow: 0 -6px 0 0 #f3dca6 inset; }
.art-bowl span::after { content: ""; position: absolute; left: 100%; top: -30px; width: 60px; height: 8px; border-radius: 4px; background: #6b4a2b; transform: rotate(-30deg); }
.art-pendulum span { width: 2px; height: 70px; margin-top: -20px; background: rgba(var(--gold-rgb), 0.8); }
.art-pendulum span::after { content: ""; position: absolute; left: 50%; top: 100%; width: 30px; height: 40px; transform: translateX(-50%); clip-path: polygon(50% 100%, 0 30%, 50% 0, 100% 30%); background: linear-gradient(160deg, #cfe9e6, #4f8f8a); }
.art-bracelet span { width: 100px; height: 100px; border-radius: 50%; background: radial-gradient(circle, transparent 0 56%, #000 57%), repeating-conic-gradient(from 0deg, #c9a45c 0 14deg, #6fa3a0 14deg 30deg, #f3e9d2 30deg 45deg); }
.tile-grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.section-title.spaced { margin-top: 56px; margin-bottom: 20px; }

/* ---------- Printable report ---------- */
@media screen { #print-area { display: none; } }
@page { size: A4; margin: 16mm 14mm; }
@media print {
  body { background: #fff !important; color: #111 !important; }
  body > *:not(#print-area) { display: none !important; }
  #print-area { display: block; color: #111; font-size: 11pt; line-height: 1.5; }
  .r-cover { display: grid; justify-items: center; gap: 6px; min-height: 240mm; align-content: center; text-align: center; break-after: page; }
  .r-cover img { width: 36mm; height: 36mm; border-radius: 50%; }
  .r-cover h1 { margin: 6mm 0 0; font-size: 28pt; }
  .r-brand { letter-spacing: 0.2em; text-transform: uppercase; font-size: 10pt; color: #8a6a3a; }
  .r-who { font-size: 18pt; font-weight: 600; }
  .r-muted { color: #666; }
  .r-section { break-before: page; }
  .r-section h2 { margin: 0 0 4mm; padding-bottom: 2mm; border-bottom: 2px solid #c9a45c; font-size: 18pt; }
  .r-block { break-inside: avoid; margin: 0 0 5mm; }
  .r-block h3 { margin: 0 0 1.5mm; font-size: 13pt; color: #5a4520; }
  .r-block p, .r-section > p { margin: 0 0 1.5mm; }
  .r-keywords { color: #8a6a3a; font-weight: 600; }
  .r-table { width: 100%; border-collapse: collapse; margin: 2mm 0 4mm; font-size: 9.5pt; break-inside: avoid; }
  .r-table th, .r-table td { border: 1px solid #ccc; padding: 1.5mm 2mm; text-align: left; vertical-align: top; }
  .r-table th { background: #f4efe4; }
  .r-grid td { width: 14mm; height: 10mm; border: 1px solid #999; text-align: center; font-weight: 600; }
  .r-end { break-before: avoid; margin-top: 8mm; padding-top: 3mm; border-top: 1px solid #ccc; color: #555; font-size: 9pt; }
}

/* ---------- Brand, contact & footer ---------- */
.about { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 36px; align-items: center; margin-top: 72px; }
.about-logo { width: 100%; max-width: 440px; height: auto; border-radius: 28px; justify-self: center; box-shadow: 0 0 0 1px rgba(226, 196, 140, 0.35), 0 30px 80px rgba(0, 0, 0, 0.6); }
.about-copy p { margin: 0 0 12px; }
.about-copy .tagline { margin-bottom: 8px; font-size: 14px; }
.contact { margin-top: 72px; scroll-margin-top: 72px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; align-items: start; }
.contact-card { display: grid; gap: 10px; align-content: start; padding: 28px; border-radius: 28px; background: var(--surface); }
.contact-card p { margin: 0; }
.contact-value { font-size: clamp(30px, 5vw, 40px); font-weight: 600; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.qr { width: 100%; max-width: 240px; height: auto; border-radius: 16px; background: #fff; justify-self: start; }
.bank { display: grid; gap: 6px; margin: 0; }
.bank div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 12px; background: #000; }
.bank dt { color: var(--muted); }
.bank dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.bank .account { font-size: 18px; letter-spacing: 0.04em; user-select: all; }
.copy-status:empty { display: none; }
.cta-panel { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 40px; padding: 28px; border-radius: 28px; background: linear-gradient(135deg, var(--warm-surface), var(--surface) 60%); }
.cta-panel h3 { margin: 0 0 4px; font-size: 24px; font-weight: 600; }
.cta-panel p { margin: 0; }
.cta-panel .btn { margin-top: 0; }

.site-footer {
  display: grid;
  justify-items: center;
  gap: 8px;
  border-top: 1px solid var(--surface);
  padding: 28px 16px 96px; /* room for the floating expert button */
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.site-footer p { margin: 0; }
.footer-brand { display: flex; align-items: center; gap: 12px; text-align: left; }
.footer-brand img { width: 44px; height: 44px; border-radius: 50%; }
.footer-brand strong { display: block; color: var(--text); font-size: 14px; }
.footer-brand span { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-contact { font-size: 14px; }

@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; text-align: left; }
  .cta { margin-top: 24px; }
  .faces, .faces.six { --w: min(40vw, 170px); gap: 22px 18px; grid-template-columns: repeat(2, var(--w)); }
  .faces.single { --w: min(62vw, 240px); }
}

@media (max-width: 480px) {
  .reading-card { flex-direction: column; gap: 12px; }
  .panel { padding: 22px; }
  .tarot-slot { width: 100%; }
  .subnav a { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .tarot-inner, .tile, .face { transition: none; }
  .tarot-card { animation: none; }
}

/* Small-screen overrides for the wallet, offers and CTA (kept last so they win over the base rules). */
@media (max-width: 620px) {
  .pay-panel { grid-template-columns: minmax(0, 1fr); }
  .pay-qr-slot { width: min(220px, 100%); }
  .offer-grid { grid-template-columns: 1fr; }
  .offer.featured { transform: none; }
  .expert-cta { padding: 11px 16px; font-size: 14px; }
}
@media (max-width: 480px) {
  .pack-grid { gap: 6px; }
  .pack strong { font-size: 17px; }
}
.offer-price.quote { font-size: 20px; line-height: 1.3; padding-top: 0.4em; }
