/* Born & Drawn (TH): Thai type (Noto Serif Thai headings, Noto Sans Thai body), no letter-spacing on Thai text, hot-pink accent for the brand.
   Layout concept: a dusk-coloured "story band" carries the cards and the hero; everything below sits on quiet
   lavender-mist paper in a single 1120px column, with gold reserved for numbers, card titles and the one action that matters. */
:root {
  --paper: #F3EFF6; --surface: #FCFAFD; --ink: #241F3B; --muted: #5F5876; --line: #DED6E6;
  --gold: #8E6210; --gold-soft: #E3B75C; --moss: #3D5C44; --rose: #9A4459;
  --night: #1E1A36; --night-2: #2B2550; --on-night: #F2ECDF; --on-night-muted: #C7BFD9;
  --shadow: 0 1px 2px rgba(36, 31, 59, .08), 0 8px 24px rgba(36, 31, 59, .08);
  --display: 'Noto Serif Thai', 'Noto Sans Thai', Georgia, serif;
  --body: 'Noto Sans Thai', 'Sarabun', 'Leelawadee UI', system-ui, -apple-system, sans-serif;
  --pop: #E8336F; --pop-soft: #FF7FA8;
  --r-sm: 6px; --r-md: 12px; --r-card: 10px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --paper: #13112A; --surface: #1C1938; --ink: #EEE9F6; --muted: #ABA3C2; --line: #322C52;
  --gold: #E3B75C; --gold-soft: #E3B75C; --moss: #93BC9C; --rose: #E096AA;
  --night: #0C0A1D; --night-2: #1E1A3D; --on-night: #F2ECDF; --on-night-muted: #C7BFD9;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.35); color-scheme: dark; } }
:root[data-theme="dark"] {
  --paper: #13112A; --surface: #1C1938; --ink: #EEE9F6; --muted: #ABA3C2; --line: #322C52;
  --gold: #E3B75C; --gold-soft: #E3B75C; --moss: #93BC9C; --rose: #E096AA;
  --night: #0C0A1D; --night-2: #1E1A3D; --on-night: #F2ECDF; --on-night-muted: #C7BFD9;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.35); color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.15; text-wrap: balance; margin: 0; letter-spacing: .01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.stack { display: grid; gap: 16px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.num { font-family: var(--display); font-variant-numeric: tabular-nums; }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: color-mix(in srgb, var(--night) 92%, transparent); backdrop-filter: blur(10px); color: var(--on-night); border-bottom: 1px solid rgba(227, 183, 92, .18); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 1.25rem; white-space: nowrap; }
.brand svg { flex: none; }
.nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; color: var(--on-night-muted); font-size: .95rem; }
.nav a:hover { color: var(--on-night); }
.nav a[aria-current="page"] { color: var(--night); background: var(--gold-soft); }
.cur { background: transparent; border: 1px solid rgba(242,236,223,.25); color: var(--on-night); border-radius: 999px; padding: 6px 10px; font-size: .85rem; cursor: pointer; }
.menu-btn { display: none; background: none; border: 0; color: var(--on-night); padding: 8px; margin-left: auto; cursor: pointer; }
@media (max-width: 880px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--night); flex-direction: column; padding: 8px max(16px, env(safe-area-inset-left, 0px)) 16px; }
  .nav.open { display: flex; }
  .top .wrap { position: relative; }
}
.demo-ribbon { background: var(--night-2); color: var(--on-night-muted); font-size: .8rem; text-align: center; padding: 6px max(16px, env(safe-area-inset-right, 0px)) 6px max(16px, env(safe-area-inset-left, 0px)); }
.demo-ribbon b { color: var(--gold-soft); font-weight: 700; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 13px 24px; font-weight: 700; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .15s; font-size: 1rem; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold-soft); color: #241F3B; }
.btn-gold:hover { background: #EDC56F; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-line { border-color: var(--line); background: var(--surface); }
.btn-line:hover { border-color: var(--gold); }
.on-night .btn-line, .table-felt .btn-line { background: transparent; border-color: rgba(242,236,223,.3); color: var(--on-night); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link { background: none; border: 0; padding: 0; color: var(--gold); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 700; }

/* Story band (hero + dark sections) */
.band { background: radial-gradient(1200px 500px at 85% -10%, rgba(227,183,92,.22), transparent 60%), linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); color: var(--on-night); }
.band .muted { color: var(--on-night-muted); }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; padding-block: 56px 64px; }
.hero h1 { color: var(--on-night); }
.hero .lede { font-size: 1.15rem; color: var(--on-night-muted); max-width: 34ch; margin-top: 18px; }
@media (max-width: 880px) { .hero { grid-template-columns: 1fr; padding-block: 36px 44px; } }
.fan { position: relative; height: 420px; }
.fan .card-img { position: absolute; width: 190px; left: 50%; bottom: 10px; transform-origin: 50% 120%; box-shadow: 0 20px 40px rgba(0,0,0,.45); }
@media (max-width: 880px) { .fan { height: 300px; } .fan .card-img { width: 130px; } }

/* Forms */
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .92rem; }
.field .hint { font-size: .82rem; color: var(--muted); }
.input { width: 100%; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-sm); padding: 12px 14px; }
.input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent); }
.on-night .input { background: rgba(255,255,255,.06); border-color: rgba(242,236,223,.22); color: var(--on-night); }
.on-night .field .hint { color: var(--on-night-muted); }
.err { color: var(--rose); font-size: .85rem; font-weight: 700; }
.on-night .err { color: #F4A7B9; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 14px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* Sections */
.section { padding-block: 64px; }
.section-head { display: grid; gap: 10px; margin-bottom: 28px; max-width: 62ch; }
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 880px) { .paths { grid-template-columns: 1fr; } }
.path { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; }
.path .art { aspect-ratio: 16 / 9; background-size: cover; background-position: center 35%; }
.path .body { padding: 20px; display: grid; gap: 8px; flex: 1; align-content: start; }
.path .price { margin-top: auto; padding: 0 20px 20px; font-weight: 700; color: var(--gold); }
.path:hover { border-color: var(--gold); }

/* Card art */
.card-img { display: block; aspect-ratio: 826 / 1417; border-radius: var(--r-card); background: var(--night-2) center / cover no-repeat; overflow: hidden; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-img.pending { background: radial-gradient(circle at 50% 35%, #5B4E86, #1E1A36 70%); display: flex; align-items: flex-end; justify-content: center; }
.card-img.pending span { font-family: var(--display); color: #E3B75C; font-size: clamp(.7rem, 2.2vw, 1.25rem); padding-bottom: 12%; text-align: center; }
.card-img.pending::before { content: ''; position: absolute; inset: 7%; border: 1px solid rgba(227,183,92,.5); border-radius: 6px; }
.card-back { aspect-ratio: 826 / 1417; border-radius: var(--r-card); background:
  radial-gradient(circle at 50% 50%, rgba(227,183,92,.28) 0 10%, transparent 11%),
  repeating-conic-gradient(from 0deg at 50% 50%, rgba(227,183,92,.16) 0 5deg, transparent 5deg 15deg),
  linear-gradient(160deg, #2E2757, #17132E); position: relative; box-shadow: inset 0 0 0 1px rgba(227,183,92,.55); }
.card-back::after { content: ''; position: absolute; inset: 7%; border: 1px solid rgba(227,183,92,.55); border-radius: 6px; }

/* Teaser */
.chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-md); padding: 14px 16px; display: grid; gap: 2px; }
.chip .v { font-family: var(--display); font-size: 2rem; color: var(--gold); line-height: 1.1; font-variant-numeric: tabular-nums; }
.chip .l { font-size: .8rem; color: var(--muted); font-weight: 700; letter-spacing: .04em; }
.archetype { font-family: var(--display); font-size: clamp(2rem, 4.6vw, 3.2rem); color: var(--gold); line-height: 1.1; }
.locked-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; margin-top: 8px; }
@media (max-width: 640px) { .locked-list { grid-template-columns: 1fr; } }
.locked-list li { list-style: none; display: flex; gap: 10px; align-items: baseline; color: var(--muted); }
.locked-list svg { flex: none; color: var(--gold); position: relative; top: 2px; }
.veil { position: relative; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
.veil .blur { filter: blur(6px); user-select: none; pointer-events: none; padding: 20px; opacity: .7; }
.veil .over { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--paper) 85%, transparent) 50%); }

/* Package */
.pkg { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px; align-items: start; }
@media (max-width: 880px) { .pkg { grid-template-columns: 1fr; } }
.benefits { display: grid; gap: 0; counter-reset: b; margin: 0; padding: 0; }
.benefits li { list-style: none; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.benefits li:last-child { border-bottom: 1px solid var(--line); }
.benefits li::before { counter-increment: b; content: counter(b); font-family: var(--display); font-size: 1.7rem; color: var(--gold); line-height: 1; }
.benefits h3 { font-size: 1.15rem; margin-bottom: 4px; }
.buybox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; display: grid; gap: 16px; box-shadow: var(--shadow); position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); }
.price-big { font-family: var(--display); font-size: 2.6rem; line-height: 1; }
.ticks { display: grid; gap: 6px; padding: 0; margin: 0; }
.ticks li { list-style: none; display: flex; gap: 8px; font-size: .92rem; }
.ticks li::before { content: '✓'; color: var(--moss); font-weight: 700; }

/* Checkout */
.checkout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 28px; align-items: start; }
@media (max-width: 880px) { .checkout { grid-template-columns: 1fr; } }
.methods { display: grid; gap: 10px; }
.method { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-md); padding: 14px 16px; cursor: pointer; }
.method:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 2px color-mix(in srgb, var(--gold) 30%, transparent); }
.method[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.method .t { font-weight: 700; }
.method .d { font-size: .84rem; color: var(--muted); }
.method .via { font-size: .75rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.pay-detail { border: 1px dashed var(--line); border-radius: var(--r-md); padding: 16px; display: grid; gap: 10px; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; display: grid; gap: 10px; }
.summary .line { display: flex; justify-content: space-between; gap: 12px; }
.summary .total { border-top: 1px solid var(--line); padding-top: 10px; font-weight: 800; }
.flow { display: grid; gap: 0; padding: 0; margin: 0; counter-reset: f; }
.flow li { list-style: none; display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 10px 0; }
.flow li::before { counter-increment: f; content: counter(f); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: var(--gold-soft); font-family: var(--display); font-size: .95rem; }
.qr { width: 168px; height: 168px; image-rendering: pixelated; background: #fff; padding: 8px; border-radius: 8px; }
.processing { display: grid; place-items: center; gap: 14px; padding: 40px 16px; text-align: center; }
.spinner { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--gold); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Report */
.report-hero { padding-block: 48px; display: grid; gap: 18px; }
.report-hero .sentence { font-family: var(--display); font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.4; color: var(--on-night); max-width: 46ch; }
.toc { display: flex; gap: 8px; flex-wrap: wrap; }
.toc a { font-size: .82rem; text-decoration: none; padding: 5px 10px; border: 1px solid rgba(242,236,223,.25); border-radius: 999px; color: var(--on-night-muted); }
.toc a:hover { color: var(--on-night); border-color: var(--gold-soft); }
.rsec { padding-block: 34px; border-top: 1px solid var(--line); display: grid; gap: 14px; scroll-margin-top: 90px; }
.rsec h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
.rsec p { max-width: 66ch; }
.rq { font-family: var(--display); font-size: 1.3rem; line-height: 1.45; color: var(--gold); max-width: 50ch; }
.rcalc { font-variant-numeric: tabular-nums; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 14px; overflow-x: auto; white-space: nowrap; font-size: .95rem; }
.rbig { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.rbig .v { font-family: var(--display); font-size: 3.2rem; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.rbig .l { color: var(--muted); font-weight: 700; }
.letters { display: flex; flex-wrap: wrap; gap: 4px; }
.letter { width: 40px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); text-align: center; padding: 4px 0; }
.letter b { display: block; font-family: var(--display); font-size: 1.15rem; font-weight: 400; }
.letter small { color: var(--muted); font-variant-numeric: tabular-nums; }
.letter.v { border-color: color-mix(in srgb, var(--gold) 55%, var(--line)); }
.letter.v small { color: var(--gold); font-weight: 800; }
.word-row { display: grid; gap: 8px; }
.word-row .meta { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.tbl-wrap { overflow-x: auto; }
table.t { border-collapse: collapse; width: 100%; min-width: 420px; font-size: .95rem; }
table.t th, table.t td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t th { font-size: .78rem; color: var(--muted); letter-spacing: .05em; font-weight: 800; }
table.t td:nth-child(2) { font-family: var(--display); color: var(--gold); white-space: nowrap; font-variant-numeric: tabular-nums; }
.steps { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-family: var(--display); font-size: 1.2rem; letter-spacing: .08em; }
.steps span:not(.arrow) { padding: 6px 14px; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold); }
.pairs { display: grid; gap: 6px; padding: 0; margin: 0; }
.pairs li { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr); gap: 8px; max-width: 520px; }
.pairs .a { color: var(--gold); text-align: center; }
.plist { display: grid; gap: 8px; padding: 0; margin: 0; }
.plist li { list-style: none; padding-left: 18px; position: relative; max-width: 66ch; }
.plist li::before { content: ''; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-soft); }
.grid9 { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 20px; }
@media (max-width: 560px) { .grid9 { grid-template-columns: 1fr; } }
.g9 { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; align-items: end; height: 120px; }
.g9 .bar { background: var(--gold-soft); border-radius: 3px 3px 0 0; min-height: 2px; position: relative; }
.g9 .bar.zero { background: transparent; border: 1px dashed var(--rose); height: 14px !important; }
.g9-l { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; text-align: center; font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.caveat { font-size: .86rem; color: var(--muted); border-left: 2px solid var(--gold-soft); padding-left: 14px; max-width: 70ch; }

/* Next-step offers */
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 880px) { .offers { grid-template-columns: 1fr; } }
.offer { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); padding: 20px; display: grid; gap: 10px; align-content: start; }
.offer .btn { justify-self: start; margin-top: 6px; }

/* Card reading */
.picker-opts { display: grid; gap: 22px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 14px; cursor: pointer; display: inline-flex; gap: 8px; align-items: baseline; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.seg button .p { font-size: .78rem; opacity: .75; }
.suggest { display: flex; flex-wrap: wrap; gap: 6px; }
.suggest button { font-size: .82rem; border: 1px dashed var(--line); background: transparent; border-radius: 999px; padding: 4px 10px; cursor: pointer; color: var(--muted); }
.suggest button:hover { color: var(--ink); border-color: var(--gold); }
.table-felt { background: radial-gradient(900px 400px at 50% 0%, rgba(227,183,92,.14), transparent 70%), linear-gradient(180deg, var(--night), var(--night-2)); color: var(--on-night); border-radius: var(--r-md); padding: 22px max(14px, 2vw); }
.spread-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 8px; }
@media (max-width: 560px) { .spread-grid { grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 6px; } }
.pick { position: relative; border: 0; padding: 0; background: none; cursor: pointer; border-radius: var(--r-card); transition: transform .2s ease; }
.pick:hover { transform: translateY(-4px); }
.pick[aria-pressed="true"] { transform: translateY(-8px); }
.pick[aria-pressed="true"] > :first-child { box-shadow: 0 0 0 2px var(--gold-soft), 0 10px 20px rgba(0,0,0,.4); }
.pick .ord { position: absolute; top: -8px; right: -6px; background: var(--gold-soft); color: #241F3B; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .8rem; z-index: 2; }
.pick[disabled] { opacity: .35; cursor: default; transform: none; }
.deck-row-label { font-family: var(--display); color: var(--gold-soft); margin: 12px 0 8px; }
.shuffling { display: grid; place-items: center; height: 260px; position: relative; }
.shuffling .card-back { width: 110px; position: absolute; animation: riffle 1.4s ease-in-out infinite; }
.shuffling .card-back:nth-child(2) { animation-delay: .15s; }
.shuffling .card-back:nth-child(3) { animation-delay: .3s; }
.shuffling .card-back:nth-child(4) { animation-delay: .45s; }
@keyframes riffle { 0%,100% { transform: translateX(0) rotate(0); } 25% { transform: translateX(-70px) rotate(-10deg); } 50% { transform: translateX(0) rotate(0) translateY(-6px); } 75% { transform: translateX(70px) rotate(10deg); } }
/* before shuffling: settle the mind (guidebook steps 1 and 4) */
.focus-note { border: 1px solid var(--line); border-left: 3px solid var(--gold-soft); background: color-mix(in srgb, var(--gold-soft) 8%, transparent); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 12px 16px; }
.focus-note b { font-family: var(--display); font-size: 1.08rem; font-weight: 400; }
.focus-note p { margin: 4px 0 0; }
/* the table: every card spread out in a half circle */
.fan { position: relative; width: 100%; max-width: 920px; margin: 0 auto; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; cursor: pointer; }
.fan .pick { position: absolute; left: var(--x); top: var(--y); transform: rotate(var(--a)) translateY(var(--lift, 0px)); transition: transform .18s ease; }
.fan .pick:hover, .fan .pick[aria-pressed="true"] { transform: rotate(var(--a)) translateY(var(--lift, 0px)); }
.fan .pick .card-back { box-shadow: inset 0 0 0 1px rgba(227,183,92,.55), -3px 0 8px rgba(0, 0, 0, .35); }
.fan .pick[aria-pressed="true"] .card-back { box-shadow: 0 0 0 2px var(--gold-soft), 0 10px 20px rgba(0, 0, 0, .45); }
.fan .pick.hot { --lift: calc(var(--lw) * -.28); z-index: 150 !important; }
.fan .pick[aria-pressed="true"] { --lift: calc(var(--lw) * -.5); z-index: 200 !important; }
.table-felt .muted { color: var(--on-night-muted); }
.fan .pick[disabled] { opacity: .45; }
.fan .pick .ord { top: -6px; right: -4px; width: 20px; height: 20px; font-size: .72rem; }
.fan.dealing .pick { left: var(--x0); top: var(--y0); transform: rotate(0deg); }
.fan.anim .pick { transition: left .65s cubic-bezier(.2, .7, .2, 1) var(--d), top .65s cubic-bezier(.2, .7, .2, 1) var(--d), transform .65s cubic-bezier(.2, .7, .2, 1) var(--d); }
.slots { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.slots li { display: grid; justify-items: center; gap: 6px; width: 66px; }
.slots .slot-card { display: block; width: 50px; aspect-ratio: 826 / 1417; border: 1px dashed rgba(227, 183, 92, .5); border-radius: var(--r-card); }
.slots li.on .slot-card { border-color: transparent; }
.slots .slot-card .card-back { width: 100%; }
.slots b { font-size: .72rem; color: var(--on-night-muted); text-align: center; font-weight: 700; }
.slots li.on b { color: var(--gold-soft); }
@media (max-width: 520px) { .slots { gap: 6px; } .slots li { width: 58px; } .slots .slot-card { width: 40px; } }
@media (prefers-reduced-motion: reduce) { .fan.anim .pick { transition: none; } .shuffling .card-back { animation: none; } .pick, .flip-inner { transition: none !important; } }
.layout { display: grid; gap: 18px; justify-content: center; }
.layout.n1 { grid-template-columns: minmax(0, 200px); }
.layout.n3 { grid-template-columns: repeat(3, minmax(0, 180px)); }
.layout.n5 { grid-template-columns: repeat(3, minmax(0, 150px)); grid-template-areas: ". above ." "left center right" ". below ."; }
@media (max-width: 560px) { .layout.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .layout.n5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.slot { display: grid; gap: 8px; text-align: center; }
.slot .pos { font-family: var(--display); color: var(--gold-soft); font-size: 1rem; }
.flip { perspective: 1000px; }
.flip-inner { position: relative; transition: transform .8s cubic-bezier(.2,.7,.2,1); transform-style: preserve-3d; aspect-ratio: 826 / 1417; }
.flip.open .flip-inner { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-face.front { transform: rotateY(180deg); }
.reading { display: grid; gap: 22px; }
.rcard { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; padding-block: 22px; border-top: 1px solid var(--line); }
@media (max-width: 560px) { .rcard { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; } }
.rcard .tag { font-size: .78rem; color: var(--muted); font-weight: 800; letter-spacing: .05em; }
.rcard h3 { font-size: 1.6rem; }
.rcard .core { font-family: var(--display); color: var(--gold); font-size: 1.15rem; }
.sec-label { font-weight: 800; font-size: .9rem; }
.sec-label span { font-weight: 400; color: var(--muted); }
.pill { display: inline-flex; gap: 6px; align-items: center; font-size: .75rem; font-weight: 800; border-radius: 999px; padding: 2px 9px; border: 1px solid var(--line); color: var(--muted); }
.pill.warn { color: var(--rose); border-color: color-mix(in srgb, var(--rose) 45%, var(--line)); }
.pattern { border-left: 3px solid var(--gold-soft); padding: 4px 0 4px 14px; display: grid; gap: 2px; }
.pattern.warning { border-left-color: var(--rose); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 14px; }
.gallery button { border: 0; background: none; padding: 0; cursor: pointer; text-align: left; display: grid; gap: 6px; }
.gallery .nm { font-size: .85rem; font-weight: 700; }
.gallery .nm span { color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; }

dialog { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); color: var(--ink); padding: 0; max-width: min(760px, calc(100vw - 32px)); width: 100%; }
dialog::backdrop { background: rgba(12, 10, 29, .65); }
.dlg { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; padding: 22px; max-height: 85vh; overflow-y: auto; }
@media (max-width: 640px) { .dlg { grid-template-columns: 1fr; } .dlg .card-img { max-width: 180px; } }
.dlg-close { position: sticky; top: 0; float: right; }

/* Membership + planner */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }
.plan { border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; background: var(--surface); display: grid; gap: 10px; align-content: start; }
.plan.best { border-color: var(--gold); }
.timeline { display: grid; gap: 0; padding: 0; margin: 0; }
.timeline li { list-style: none; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.timeline .when { font-family: var(--display); color: var(--gold); }
.planner { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow); }
.planner-cover { padding: 26px; display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 20px; align-items: center; }
.planner-cover .m { font-family: var(--display); font-size: clamp(2rem, 5vw, 3rem); line-height: 1; }
.planner-cover .theme { font-family: var(--display); color: var(--gold-soft); font-size: 1.3rem; }
.planner-body { padding: 24px 26px; display: grid; gap: 22px; }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 640px) { .pgrid { grid-template-columns: 1fr; } .planner-cover { grid-template-columns: minmax(0, 1fr) 84px; } }
.pbox { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px; display: grid; gap: 4px; align-content: start; }
.pbox .k { font-size: .76rem; font-weight: 800; letter-spacing: .05em; color: var(--muted); }
.weeks { display: grid; gap: 10px; }
.week { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-top: 1px dashed var(--line); }
.week .rng { font-variant-numeric: tabular-nums; font-weight: 800; }
.week .lines { display: grid; gap: 10px; margin-top: 8px; }
.week .lines i { display: block; border-bottom: 1px solid var(--line); height: 14px; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; font-variant-numeric: tabular-nums; }
.cal .h { font-size: .72rem; color: var(--muted); text-align: center; font-weight: 800; }
.cal .d { aspect-ratio: 1; border: 1px solid var(--line); border-radius: 6px; padding: 4px; font-size: .78rem; position: relative; }
.cal .d.al { background: color-mix(in srgb, var(--gold-soft) 28%, transparent); border-color: var(--gold-soft); }
.cal .d.st::after { content: ''; position: absolute; right: 5px; bottom: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--moss); }
.cal .d.ci { outline: 2px solid var(--rose); outline-offset: -2px; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); }
.legend span { display: inline-flex; gap: 6px; align-items: center; }
.sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.habit { display: grid; grid-template-columns: 120px repeat(31, minmax(10px, 1fr)); gap: 2px; align-items: center; font-size: .78rem; overflow-x: auto; }
.habit i { aspect-ratio: 1; border: 1px solid var(--line); border-radius: 3px; display: block; }
.habit-wrap { overflow-x: auto; }
.habit-wrap .habit { min-width: 520px; }

/* Shop */
.shop { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 880px) { .shop { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .shop { grid-template-columns: 1fr; } }
.product { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.product .mock { aspect-ratio: 4 / 3; display: grid; place-items: center; background: linear-gradient(160deg, var(--night-2), var(--night)); color: var(--gold-soft); font-family: var(--display); font-size: 1.15rem; text-align: center; padding: 12px; }
.product .b { padding: 16px; display: grid; gap: 8px; align-content: start; }

footer { border-top: 1px solid var(--line); padding-block: 40px; margin-top: 40px; }
footer .cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 640px) { footer .cols { grid-template-columns: 1fr; } }
footer a { color: var(--muted); text-decoration: none; display: block; padding: 2px 0; }
.toast { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 999px; font-weight: 700; z-index: 60; font-size: .92rem; max-width: calc(100vw - 32px); }
.page { animation: fadein .35s ease; }
@keyframes fadein { from { opacity: .4; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .page { animation: none; } html { scroll-behavior: auto; } }

.band .archetype { color: var(--gold-soft); }
.on-night .link { color: var(--gold-soft); }
.veil { min-height: 210px; }
.veil .blur { padding: 28px; }

/* ---------- Live site additions ---------- */
.chip.has-art { grid-template-columns: 64px 1fr; grid-template-rows: auto auto 1fr; column-gap: 12px; align-items: start; }
.chip.has-art img { grid-row: 1 / span 3; width: 64px; height: auto; aspect-ratio: 848 / 1264; object-fit: cover; border-radius: 8px; }
@media (max-width: 640px) { .chip.has-art { grid-template-columns: 1fr; } .chip.has-art img { grid-row: auto; width: 100%; max-width: 140px; } }
.rsub { font-size: 1.25rem; margin: 18px 0 6px; }
.rnote { border-left: 3px solid var(--line); padding: 4px 0 4px 14px; color: var(--muted); }
.rask, .ract { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-md); padding: 12px 16px; display: grid; gap: 2px; }
.rask .k, .ract .k { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; color: var(--gold); }
.ract { border-color: color-mix(in srgb, var(--moss) 45%, var(--line)); }
.ract .k { color: var(--moss); }
.rimg { margin: 16px 0; display: grid; gap: 6px; justify-items: start; }
.rimg img { width: min(240px, 60%); height: auto; border-radius: 14px; box-shadow: var(--shadow); }
.locked-sec { position: relative; display: grid; gap: 7px; }
.locked-sec .sec-label svg { vertical-align: -2px; color: var(--muted); }
.locked-sec i { display: block; height: 10px; border-radius: 6px; background: linear-gradient(90deg, color-mix(in srgb, var(--muted) 22%, transparent), color-mix(in srgb, var(--muted) 10%, transparent)); }
.locked-sec i:last-child { width: 62%; }
.unlock { border: 1px solid color-mix(in srgb, var(--gold-soft) 60%, var(--line)); background: color-mix(in srgb, var(--gold-soft) 10%, var(--surface)); border-radius: var(--r-md); padding: 18px 20px; display: grid; gap: 14px; }
.qr-img { width: 260px; height: 260px; max-width: 80vw; max-height: 80vw; background: #fff; padding: 10px; border-radius: 12px; margin: 10px auto; display: block; }
.acct { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
@media (max-width: 760px) { .acct { grid-template-columns: 1fr; } }
.acct details summary { cursor: pointer; color: var(--muted); }
.product .mock { display: flex; align-items: flex-end; padding: 16px; font-family: var(--display); font-size: 1.2rem; }
@media print {
  .top, footer, .demo-ribbon, .toc, .offers, #rp-print, .menu-btn { display: none !important; }
  .band { background: none !important; color: #000 !important; }
  .band .muted, .band .archetype, .report-hero .sentence { color: #333 !important; }
  .rsec { break-inside: avoid-page; }
}
.band { overflow-x: clip; }
.rsub { font-family: var(--body); font-weight: 800; font-size: 1.05rem; }
@media (max-width: 760px) { .pgrid { grid-template-columns: 1fr !important; } }
.chip-locked { text-decoration: none; color: inherit; border-style: dashed; grid-template-columns: 64px 1fr; grid-template-rows: auto auto 1fr; column-gap: 12px; align-items: start; }
.chip-locked .lockart { grid-row: 1 / span 3; width: 64px; aspect-ratio: 848 / 1264; border-radius: 8px; display: grid; place-items: center; color: var(--gold-soft); background: linear-gradient(160deg, var(--night-2), var(--night)); }
.chip-locked .lockart svg { width: 22px; height: 22px; }
.chip-locked .v { color: var(--muted); }
@media (max-width: 640px) { .chip-locked { grid-template-columns: 1fr; } .chip-locked .lockart { grid-row: auto; width: 100%; max-width: 140px; } }
.passbox { border: 1px dashed var(--line); border-radius: var(--r-md); padding: 14px 16px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.passbox.on { border-style: solid; border-color: color-mix(in srgb, var(--gold-soft) 60%, var(--line)); background: color-mix(in srgb, var(--gold-soft) 10%, var(--surface)); align-items: flex-start; }
.plan-opt .via { white-space: nowrap; }
.tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }
.months-seg { flex-wrap: wrap; }

/* ---------- v3.2: selling home page, topics, woven reading, pay sheet ---------- */
.eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--gold-soft); margin: 0; }
.section .eyebrow, .story .eyebrow { color: var(--gold); }
.hero-sell h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 18ch; }
.hero-sell .lede { max-width: 46ch; }
.topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .topics { grid-template-columns: 1fr; } }
.topic { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 16px 12px 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.topic:hover, .topic:focus-visible { border-color: var(--gold); transform: translateY(-2px); }
.topic .tart { width: 64px; aspect-ratio: 848 / 1264; border-radius: 8px; background-size: cover; background-position: center; }
.topic .tb { display: grid; gap: 2px; min-width: 0; }
.topic .tb b { font-family: var(--display); font-size: 1.25rem; font-weight: 400; }
.topic .tb span { color: var(--muted); font-size: .95rem; }
.topic .go { color: var(--gold); font-size: 1.3rem; }
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; }
@media (max-width: 760px) { .pains { grid-template-columns: 1fr; } }
.pains p { margin: 0; border-left: 2px solid var(--gold-soft); padding: 4px 0 4px 14px; color: var(--muted); }
.pains p b { color: var(--ink); font-weight: 700; }
.punch { font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.35; max-width: 40ch; margin: 0; }
.numgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1000px) { .numgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .numgrid { grid-template-columns: 1fr; } }
.numcard { border: 1px solid rgba(242, 236, 223, .16); border-radius: var(--r-md); padding: 14px 16px; background: rgba(255, 255, 255, .04); display: grid; gap: 4px; align-content: start; }
.numcard .k { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-night-muted); }
.numcard b { font-family: var(--display); font-weight: 400; font-size: 1.35rem; color: var(--gold-soft); }
.numcard p { margin: 0; color: var(--on-night); font-size: .95rem; }
.namebox { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 24px; align-items: start; border-top: 1px solid rgba(242, 236, 223, .14); padding-top: 22px; }
@media (max-width: 820px) { .namebox { grid-template-columns: 1fr; } }
.namebox .hint, .namebox label { color: var(--on-night-muted); }
.bundle-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: center; border: 1px solid color-mix(in srgb, var(--gold-soft) 70%, var(--line)); border-radius: var(--r-md); padding: 24px; background: color-mix(in srgb, var(--gold-soft) 9%, var(--surface)); }
@media (max-width: 760px) { .bundle-hero { grid-template-columns: 1fr; } }
.hiw { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: h; }
@media (max-width: 760px) { .hiw { grid-template-columns: 1fr; } }
.hiw li { counter-increment: h; display: grid; gap: 4px; padding-top: 14px; border-top: 2px solid var(--line); }
.hiw li::before { content: counter(h); font-family: var(--display); color: var(--gold); font-size: 1.6rem; }
.hiw li span { color: var(--muted); }
.faq { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 8px 0 0; }
/* the woven reading */
.story { display: grid; gap: 18px; max-width: 760px; }
.story .headline { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.25; margin: 0; color: var(--ink); text-wrap: balance; }
.story .intro { margin: 0; color: var(--muted); }
.chapter { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 520px) { .chapter { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; } }
.chapter h3 { font-size: 1.35rem; }
.chapter h3 svg { vertical-align: -1px; color: var(--muted); }
.chapter p { margin: 0; }
.chapter p.topic-note { padding: 10px 14px; border-left: 3px solid var(--gold-soft); background: color-mix(in srgb, var(--gold-soft) 10%, transparent); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.chapter p.topic-note b { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.chapter p.lead { font-family: var(--display); font-size: 1.15rem; color: var(--gold); }
.chapter .cart .card-img { width: 100%; }
.chapter .profile { display: grid; gap: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: color-mix(in srgb, var(--gold-soft) 6%, transparent); }
.chapter .profile h4, .chapter h4.pf-here { margin: 4px 0 0; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.chapter .pf-label { font-size: .85rem; color: var(--muted); }
.chapter .pf-kw { display: flex; flex-wrap: wrap; gap: 6px; }
.chapter .pf-kw span { padding: 2px 10px; border-radius: 999px; border: 1px solid var(--gold-soft); font-size: .85rem; }
.chapter .pf-corr { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 12px; margin: 0; font-size: .92rem; }
.chapter .pf-corr dt { font-weight: 600; color: var(--gold); }
.chapter .pf-corr dd { margin: 0; }
.chapter .pf-yn b { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.chapter.locked .bar { display: block; height: 10px; border-radius: 6px; background: linear-gradient(90deg, color-mix(in srgb, var(--muted) 22%, transparent), color-mix(in srgb, var(--muted) 9%, transparent)); }
.chapter.locked .bar:last-child { width: 58%; }
.chapter.locked .cart { filter: saturate(.4) brightness(.85); }
.tail { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.tail h3 { font-size: 1.3rem; }
.tail p { margin: 0; }
.links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.links li { display: grid; gap: 2px; }
.links li b { font-weight: 800; }
.links li span { color: var(--muted); }
.warnbox { border: 1px solid color-mix(in srgb, var(--rose) 45%, var(--line)); border-radius: var(--r-md); padding: 14px 16px; background: color-mix(in srgb, var(--rose) 6%, var(--surface)); }
.steps-list { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.unlock.big { padding: 22px; }
.unlock.big h3 { font-size: 1.5rem; }
.sample-cards { display: flex; gap: 10px; }
.sample-cards .card-img { width: 84px; }
.sample details summary { margin-top: 6px; }
.topic-seg { flex-wrap: wrap; }
.deckpick summary { cursor: pointer; color: var(--muted); }
/* pay sheet */
.paydlg { border: 0; padding: 0; border-radius: 16px; width: min(440px, calc(100vw - 32px)); background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.paydlg::backdrop { background: rgba(12, 10, 29, .55); }
.paybox { padding: 20px; display: grid; gap: 14px; }
.paybox .k { font-size: .8rem; color: var(--muted); font-weight: 700; }
.story > .pill, .bundle-hero .pill, .sample > .pill { justify-self: start; }

/* ---------- v3.3: numbers first ---------- */
.hero-num { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; }
@media (max-width: 860px) { .hero-num { grid-template-columns: 1fr; } }
.hero-num .form-grid label, .hero-num .hint { color: var(--on-night-muted); }
.numfan { position: relative; height: 380px; }
.numfan img { position: absolute; left: 50%; top: 50%; width: 190px; max-width: 46%; height: auto; border-radius: 16px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  transform: translate(-50%, -50%) translateX(calc(var(--i) * 62px)) rotate(calc(var(--i) * 8deg)) translateY(calc(var(--i) * var(--i) * 7px)); z-index: calc(5 - var(--i) * var(--i)); }
@media (max-width: 860px) { .numfan { height: 260px; } .numfan img { width: 140px; transform: translate(-50%, -50%) translateX(calc(var(--i) * 40px)) rotate(calc(var(--i) * 8deg)) translateY(calc(var(--i) * var(--i) * 5px)); } }
@media (prefers-reduced-motion: no-preference) { .numfan img { animation: numIn .7s ease-out both; animation-delay: calc((var(--i) + 2) * 90ms); } }
@keyframes numIn { from { opacity: 0; translate: 0 30px; } to { opacity: 1; translate: 0 0; } }
.numstrip { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 900px) { .numstrip { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 460px) { .numstrip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.numtile { display: grid; gap: 4px; justify-items: center; text-decoration: none; color: var(--ink); }
.numtile img { width: 100%; height: auto; border-radius: 10px; box-shadow: var(--shadow); transition: transform .15s; }
.numtile:hover img, .numtile:focus-visible img { transform: translateY(-3px); }
.numtile span { font-family: var(--display); color: var(--gold); font-size: 1.1rem; }
.numgrid.light .numcard { background: var(--surface); border-color: var(--line); }
.numgrid.light .numcard .k { color: var(--muted); }
.numgrid.light .numcard b { color: var(--gold); }
.numgrid.light .numcard p { color: var(--ink); }
.topics.on-dark .topic { background: rgba(255, 255, 255, .05); border-color: rgba(242, 236, 223, .16); color: var(--on-night); }
.topics.on-dark .topic .tb span { color: var(--on-night-muted); }
.topics.on-dark .topic .go { color: var(--gold-soft); }
.topics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .topics { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .topics { grid-template-columns: 1fr; } }
.reveal { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; }
@media (max-width: 640px) { .reveal { grid-template-columns: 1fr; } }
.reveal-num { width: 210px; max-width: 60vw; height: auto; border-radius: 18px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
@media (prefers-reduced-motion: no-preference) { .reveal-num { animation: reveal .9s cubic-bezier(.2, .8, .2, 1) both; } }
@keyframes reveal { from { opacity: 0; transform: rotateY(90deg) scale(.9); } to { opacity: 1; transform: none; } }
.journey { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.journey li span { display: block; color: var(--muted); font-size: .92rem; }
.journey-bar { list-style: none; padding: 0; margin: 6px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 820px) { .journey-bar { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .journey-bar { grid-template-columns: 1fr; } }
.journey-bar li { border: 1px solid rgba(242, 236, 223, .18); border-radius: var(--r-md); padding: 12px 14px; display: grid; gap: 6px; align-content: start; background: rgba(255, 255, 255, .04); }
.journey-bar li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 800; background: rgba(242, 236, 223, .14); color: var(--on-night); }
.journey-bar li.done span { background: var(--moss); }
.journey-bar li.now { border-color: var(--gold-soft); }
.journey-bar li.now span { background: var(--gold-soft); color: #241F3B; }
.journey-bar em { font-style: normal; color: var(--on-night-muted); font-size: .9rem; }
.journey-bar .btn { justify-self: start; padding: 8px 14px; }
.card-img.pending { display: grid; place-items: center; background: linear-gradient(160deg, var(--night-2), var(--night)); color: var(--gold-soft); aspect-ratio: 848 / 1264; border-radius: var(--r-card); font-family: var(--display); }
.offer .pill { justify-self: start; }

/* Tarot cards (1696 × 2528) are a little wider than Mirror Deck cards (826 × 1417) */
.card-img.tarot, .card-back.tarot, .flip-inner.tarot, .slots .slot-card.tarot { aspect-ratio: 1696 / 2528; }
.decks2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.deck2 { display: grid; gap: 8px; justify-items: start; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.deck2 .d2art { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; align-items: end; margin-bottom: 6px; }
/* Tarot card back (artwork by NUNU) */
.card-back.tarot { background: #080a14 url(/static/img/tarot-back.webp) center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(227,183,92,.35); }
.card-back.tarot::after { display: none; }

/* v3.10: question choices, Tarot topic tiles, the reading at a glance */
.qpick { display: grid; gap: 8px; }
.qpick button { display: flex; align-items: center; gap: 10px; text-align: left; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: transparent; font: inherit; color: inherit; cursor: pointer; }
.qpick button[aria-pressed="true"] { border-color: var(--gold); background: color-mix(in srgb, var(--gold-soft) 14%, transparent); font-weight: 600; }
.qpick .dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.qpick button[aria-pressed="true"] .dot { border-color: var(--gold); background: radial-gradient(var(--gold) 45%, transparent 50%); }
.qpick details summary { cursor: pointer; color: var(--muted); font-size: .92rem; padding: 4px 2px; }
.qpick details textarea { margin-top: 8px; }
.topic .tart.tarot { aspect-ratio: 1696 / 2528; }
.story .glance { display: grid; gap: 12px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-sm); background: color-mix(in srgb, var(--gold-soft) 7%, transparent); }
.story .glance p { margin: 0; }
.story .glance .arc { font-family: var(--display); font-size: 1.12rem; color: var(--gold); }

/* ---------- Born & Drawn (TH) ---------- */
body { line-height: 1.75; }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: 0; line-height: 1.3; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
.eyebrow, .chip .l, table.t th, .pbox .k, .rcard .tag, .numcard .k, .chapter p.topic-note b, .rask .k, .ract .k, .k { letter-spacing: 0 !important; text-transform: none !important; }
.steps { letter-spacing: 0; }
.brand span { font-weight: 600; font-size: 1.35rem; }
.pop { color: var(--pop-soft); display: inline-block; }
.btn-big { font-size: 1.12rem; padding: 15px 28px; }
.btn-gold { box-shadow: 0 6px 18px rgba(232, 51, 111, .25); }
.hero-pm { background: radial-gradient(120% 90% at 85% 10%, #4A2A6B 0%, var(--night) 55%), var(--night); }
.hero-pm h1 { color: var(--on-night); font-weight: 600; }
.hero-pm .lede { color: var(--on-night-muted); font-size: 1.15rem; max-width: 46ch; }
.hero-pm .lede b { color: var(--gold-soft); }
.hero-fan { position: relative; height: 340px; display: grid; place-items: center; }
.hero-fan .hf { position: absolute; width: 150px; transform: translateX(calc(var(--i) * 92px)) rotate(calc(var(--i) * 9deg)) translateY(calc(var(--i) * var(--i) * 14px)); filter: drop-shadow(0 14px 26px rgba(0,0,0,.45)); }
.hero-fan .hf:nth-child(2) { z-index: 2; width: 170px; }
@media (max-width: 880px) { .hero-fan { height: 240px; } .hero-fan .hf { width: 108px; transform: translateX(calc(var(--i) * 66px)) rotate(calc(var(--i) * 9deg)); } .hero-fan .hf:nth-child(2) { width: 122px; } }
.shop-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; }
@media (max-width: 760px) { .shop-hero { grid-template-columns: 1fr; padding: 18px; } }
.d2art.big { display: flex; justify-content: center; }
.d2art.big .card-img { width: 32%; margin: 0 -2%; }
.d2art.big .card-img:nth-child(1) { transform: rotate(-7deg); } .d2art.big .card-img:nth-child(3) { transform: rotate(7deg); }
.owner-gate { display: grid; gap: 18px; max-width: 720px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; box-shadow: var(--shadow); }
.owner-chip { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: color-mix(in srgb, var(--gold-soft) 18%, var(--surface)); border: 1px solid color-mix(in srgb, var(--gold-soft) 50%, var(--line)); border-radius: 999px; padding: 8px 16px; font-size: .95rem; }
.yn-suggest { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; border: 1px dashed var(--pop); background: color-mix(in srgb, var(--pop) 7%, var(--surface)); border-radius: var(--r-md); padding: 14px 16px; }
.yn-suggest .btn { padding: 9px 16px; }
.lean-line { margin: 4px 0; }
.lean { display: inline-block; font-weight: 700; font-size: 1.05rem; padding: 6px 14px; border-radius: 999px; background: color-mix(in srgb, var(--muted) 12%, transparent); }
.lean-yes { background: color-mix(in srgb, var(--moss) 16%, transparent); color: var(--moss); }
.lean-no { background: color-mix(in srgb, var(--rose) 14%, transparent); color: var(--rose); }
.story .headline { font-weight: 500; }
.th-name { display: inline-block; font-size: .8em; color: var(--muted); margin-left: 6px; }
.slot .th-cap { display: block; text-align: center; color: var(--on-night-muted); margin-top: 6px; max-width: 14ch; margin-inline: auto; line-height: 1.35; }
.qrbox { display: grid; gap: 14px; justify-items: center; }
.qrimg { position: relative; background: #fff; padding: 12px; border-radius: 14px; border: 1px solid var(--line); }
.qrimg img { display: block; width: min(240px, 62vw); height: auto; image-rendering: pixelated; }
.pp-logo { position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); background: #113566; color: #fff; font: 700 .72rem/1 var(--body); padding: 5px 10px; border-radius: 999px; }
.qr-steps { margin: 0; padding-left: 20px; justify-self: stretch; color: var(--muted); }
.slip-drop { display: grid; gap: 2px; justify-items: center; text-align: center; width: 100%; border: 2px dashed var(--gold-soft); border-radius: var(--r-md); padding: 16px; cursor: pointer; background: color-mix(in srgb, var(--gold-soft) 10%, transparent); }
.slip-drop:hover { background: color-mix(in srgb, var(--gold-soft) 20%, transparent); }
.paybox .price-big { color: var(--gold); }
select.input { appearance: auto; }
.btn-gold { background: var(--pop); color: #fff; }
.btn-gold:hover { background: color-mix(in srgb, var(--pop) 88%, #000); }
.nav a[aria-current="page"] { background: var(--pop); color: #fff; }
.deck2 { color: var(--ink); } .deck2 .btn-line { color: var(--ink); border-color: var(--line); }

/* ===== Born & Drawn (TH) v1.1: นุ่มขึ้น สว่างขึ้น ตัวเลขเป็นพระเอก ===== */
:root {
  --paper: #F8F4FD; --surface: #FFFFFF; --ink: #2A2142; --muted: #6C6382; --line: #ECE3F3;
  --night: #2A1E4E; --night-2: #57306F; --on-night: #FBF6FF; --on-night-muted: #DCCFEA;
  --gold: #B76E00; --gold-soft: #FFB547; --mango: #FFB547; --mint: #2FA88F;
  --shadow: 0 2px 6px rgba(87, 48, 111, .06), 0 16px 40px rgba(87, 48, 111, .08);
  --r-md: 20px; --r-card: 12px;
}
body { background: var(--paper); }
/* header: light, not a dark bar */
.top { background: rgba(255, 255, 255, .86); color: var(--ink); border-bottom: 1px solid var(--line); }
.top .brand { color: var(--ink); }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--ink); }
.menu-btn { color: var(--ink); }
@media (max-width: 880px) { .nav { background: #fff; border-bottom: 1px solid var(--line); } }
.demo-ribbon { background: #FFF1D6; color: #7A4B00; }
.demo-ribbon b { color: #7A4B00; }
/* dark bands become inset, rounded, softer panels */
.band.on-night { margin: 12px clamp(8px, 2vw, 20px) 0; border-radius: 32px; background: linear-gradient(140deg, #2A1E4E 0%, #57306F 58%, #9C3B6F 100%); overflow: hidden; }
.soft-band { background: #F1E8FB; border-radius: 32px; margin-inline: clamp(8px, 2vw, 20px); }
.section-head h2 { color: var(--ink); }
/* hero: the name turning into numbers */
.hero-n { padding-block: 40px 24px; }
.hero-n-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 36px; align-items: center; }
@media (max-width: 880px) { .hero-n-grid { grid-template-columns: 1fr; } .hn-art { order: -1; } }
.hn-copy { display: grid; gap: 18px; }
.hn-copy h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 600; line-height: 1.18; color: var(--night); }
.hn-copy .lede { color: var(--muted); font-size: 1.12rem; max-width: 46ch; margin: 0; }
.ls { min-height: 92px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 14px 16px; box-shadow: var(--shadow); }
.ls-empty { color: var(--muted); margin: 18px 0; text-align: center; }
.ls-row { display: flex; flex-wrap: wrap; gap: 4px; }
.ls-cell { display: grid; justify-items: center; width: 30px; border-radius: 10px; padding: 4px 0 2px; background: #F6F0FC; }
.ls-cell b { font-family: var(--display); font-weight: 500; font-size: 1.05rem; color: var(--night); line-height: 1.2; }
.ls-cell i { font-style: normal; font-family: var(--display); font-weight: 600; color: var(--pop); font-size: 1rem; line-height: 1.2; }
.ls-gap { width: 12px; }
.ls-sum { margin: 10px 0 0; font-family: var(--display); font-size: 1.15rem; color: var(--night); }
.ls-sum span { display: block; font-family: var(--body); font-size: .85rem; color: var(--muted); }
.hn-art { position: relative; height: 420px; }
.hn-art img { position: absolute; left: 50%; top: 50%; width: 44%; border-radius: 24px; box-shadow: 0 20px 40px rgba(87, 48, 111, .22); transform: translate(calc(-50% + var(--i) * 52%), calc(-50% + var(--i) * var(--i) * 6%)) rotate(calc(var(--i) * 7deg)); }
.hn-art img:nth-child(3) { z-index: 3; width: 50%; }
.hn-art img:nth-child(2), .hn-art img:nth-child(4) { z-index: 2; }
@media (max-width: 880px) { .hn-art { height: 230px; } .hn-art img { width: 34%; } .hn-art img:nth-child(3) { width: 40%; } }
@media (prefers-reduced-motion: no-preference) { .hn-art img { animation: hnIn .9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc((var(--i) + 2) * 90ms); } @keyframes hnIn { from { opacity: 0; transform: translate(-50%, -40%) rotate(0); } } }
.hero-n .form-grid label { color: var(--ink); }
/* five numbers */
.mean5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 980px) { .mean5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .mean5 { grid-template-columns: 1fr; } }
.m5 { background: #fff; border-radius: 20px; padding: 18px; display: grid; gap: 4px; align-content: start; border-top: 4px solid var(--mango); }
.m5:nth-child(2) { border-top-color: var(--pop); } .m5:nth-child(3) { border-top-color: #9B6BD6; } .m5:nth-child(4) { border-top-color: var(--mint); } .m5:nth-child(5) { border-top-color: #5C8DEB; }
.m5 b { font-family: var(--display); font-weight: 500; font-size: 1.2rem; }
.m5 .from { font-size: .82rem; color: var(--muted); }
.m5 p { margin-top: 6px; font-size: .95rem; }
.numtile img { border-radius: 16px; }
/* example */
.ex-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 28px; align-items: center; padding-block: 36px; }
@media (max-width: 760px) { .ex-grid { grid-template-columns: 1fr; } }
.ex-art img { width: 100%; max-width: 320px; border-radius: 28px; display: block; margin-inline: auto; box-shadow: var(--shadow); }
.ex-chips { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.exc { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 18px; padding: 10px 16px; }
.exc .v { font-family: var(--display); font-weight: 600; font-size: 2rem; color: var(--pop); line-height: 1; }
#ex-body p { margin: 0 0 10px; max-width: 60ch; }
/* offers */
.offer2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 760px) { .offer2 { grid-template-columns: 1fr; } }
.o2 { background: #fff; border-radius: 24px; padding: 24px; display: grid; gap: 12px; align-content: start; border: 1px solid var(--line); }
.o2.hot { border: 2px solid var(--pop); box-shadow: 0 16px 40px rgba(232, 51, 111, .12); }
.o2 h3 { font-weight: 500; }
.o2 .btn { justify-self: start; }
/* decks as big tappable choices */
button.deck2 { font: inherit; text-align: left; cursor: pointer; width: 100%; border-radius: 24px; border: 2px solid transparent; transition: border-color .15s, transform .15s; }
button.deck2:hover { border-color: var(--pop); }
button.deck2:focus-visible { outline: 3px solid var(--pop); outline-offset: 3px; }
.deck2 { background: #fff; color: var(--ink); }
.deck2 .btn { pointer-events: none; }
.topics-more summary { cursor: pointer; font-weight: 700; color: var(--night-2); margin-bottom: 12px; }
.end-cta { background: linear-gradient(140deg, #2A1E4E, #57306F 58%, #9C3B6F); color: var(--on-night); border-radius: 32px; padding: clamp(28px, 5vw, 56px); display: grid; gap: 16px; justify-items: start; }
.end-cta h2 { color: var(--on-night); }
.end-cta .btn-line { color: var(--on-night); border-color: rgba(255, 255, 255, .4); }
/* softer everything */
.btn { border-radius: 999px; }
.input { border-radius: 14px; }
.summary, .chip, .plan, .product, .story, .table-felt, .passbox, .unlock, .focus-note, .faq, .owner-gate { border-radius: 22px; }
.faq { background: #fff; padding: 14px 18px; border: 1px solid var(--line); }
table.t { background: #fff; border-radius: 18px; overflow: hidden; }
footer { background: #F1E8FB; border-top: 0; }
.end-cta .btn-line { background: transparent; } .end-cta .btn-line:hover { background: rgba(255,255,255,.12); }
.ls-row { gap: 10px 14px; }
.ls-word { display: inline-grid; grid-auto-flow: column; gap: 4px; align-items: start; position: relative; padding-bottom: 20px; }
.ls-wsum { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: .78rem; color: var(--muted); border-top: 2px solid #E9DDF5; padding-top: 1px; }
.hn-art { overflow: visible; }
.hn-art img { width: 36%; transform: translate(calc(-50% + var(--i) * 40%), calc(-50% + var(--i) * var(--i) * 5%)) rotate(calc(var(--i) * 6deg)); }
.hn-art img:nth-child(3) { width: 42%; }
@media (min-width: 881px) { .hero-n-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); } }

/* v1.2 ชื่อนี้สำคัญอย่างไร */
.why-name { padding-bottom: 0; }
.wn-punch { font-family: var(--display); font-size: 1.25rem; line-height: 1.6; color: var(--ink); margin-top: 6px; }
.wn-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: stretch; }
.wn { background: var(--surface); border-radius: 22px; padding: 22px; display: grid; gap: 6px; align-content: start; box-shadow: 0 6px 24px rgba(40, 20, 60, .06); }
.wn h3 { font-family: var(--display); font-weight: 500; font-size: 1.25rem; }
.wn p { color: var(--muted); }
.wn-tag { justify-self: start; font-size: .8rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: rgba(255, 181, 71, .2); color: #9A5B00; }
.wn-tag.pop { background: rgba(232, 51, 111, .12); color: var(--pop); }
.wn-plus { align-self: center; font-family: var(--display); font-size: 2rem; color: var(--pop); }
@media (max-width: 720px) { .wn-grid { grid-template-columns: 1fr; } .wn-plus { justify-self: center; } }

/* v3.12 hub bar: buyers of Unlimited 24 hours or the Complete package can always get back to their readings */
.hubbar { background: var(--night-2); color: var(--on-night); border-bottom: 1px solid rgba(227, 183, 92, .25); }
.hubbar .wrap { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: space-between; padding-block: 8px; }
.hub-state { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 700; color: var(--gold-soft); }
.dotlive { width: 8px; height: 8px; border-radius: 50%; background: var(--on-night-muted); }
.dotlive.on { background: #7BD88F; box-shadow: 0 0 0 4px rgba(123, 216, 143, .2); }
.hub-links { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.hub-links a, .hub-links button { font-size: .9rem; color: var(--on-night); text-decoration: none; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(242, 236, 223, .25); background: none; cursor: pointer; }
.hub-links a:hover, .hub-links button:hover, .hub-links a[aria-current="page"] { border-color: var(--gold-soft); color: var(--gold-soft); }
.hub-links .hub-new { background: var(--gold-soft); border-color: var(--gold-soft); color: #1E1A36; font-weight: 700; }
.hub-links .hub-new:hover { color: #1E1A36; filter: brightness(1.05); }

/* ===== v3.12 home: the name becomes numbers, the numbers become a Life Path =====
   One loud moment (the decoder in the hero); everything after it is short, quiet and points at one button. */
.h-hero { background: radial-gradient(120% 90% at 85% 10%, #3A2F63 0%, var(--night) 60%); color: var(--on-night); padding-block: clamp(36px, 6vw, 72px) clamp(40px, 6vw, 80px); }
.h-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-areas: "copy dec" "form dec"; gap: 22px 48px; align-items: start; }
.h-copy { grid-area: copy; display: grid; gap: 16px; }
.h-copy h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height: 1.05; color: #FFF8EA; }
.h-lede { font-size: 1.12rem; color: var(--on-night-muted); max-width: 40ch; }
.h-form { grid-area: form; display: grid; gap: 10px; }
.h-form .form-grid { gap: 12px; }
.h-form label { color: var(--on-night); }
.h-form .hint { color: var(--on-night-muted); }
.h-form .input { background: rgba(255, 255, 255, .96); color: #241F3B; }
.h-form .link { color: var(--gold-soft); }
.h-micro { font-size: .86rem; color: var(--on-night-muted); }
.h-decoder { grid-area: dec; background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03)); border: 1px solid rgba(227, 183, 92, .28); border-radius: 22px; padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 18px; min-width: 0; }
.dc-row { display: grid; gap: 8px; }
.dc-k { font-size: .78rem; font-weight: 800; letter-spacing: .08em; color: var(--gold-soft); }
.dc-tiles, .dc-date { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.dc-word { display: inline-flex; gap: 3px; }
.dc-l { display: inline-grid; justify-items: center; min-width: 1.35em; padding: 4px 3px 3px; border-radius: 8px; background: rgba(255, 255, 255, .06); }
.dc-l b { font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 2.3vw, 1.7rem); line-height: 1.1; color: #FFF8EA; }
.dc-l i { font-style: normal; font-weight: 800; font-size: .95rem; color: var(--gold-soft); font-variant-numeric: tabular-nums; }
.dc-date .dc-l { padding-inline: 10px; }
.dc-sum { font-size: .95rem; color: var(--on-night); font-variant-numeric: tabular-nums; }
.dc-sum span { color: var(--gold-soft); font-weight: 700; margin-left: 6px; }
.dc-sum.dim, .dc-ph { color: var(--on-night-muted); font-size: .95rem; }
.dc-out { display: flex; align-items: center; gap: 16px; padding-top: 14px; border-top: 1px solid rgba(227, 183, 92, .25); }
.dc-out img { width: 84px; height: auto; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.dc-out div { display: grid; }
.dc-n { font-family: var(--display); font-weight: 400; font-size: clamp(3.4rem, 7vw, 5rem); line-height: .95; color: var(--gold-soft); }
.dc-t { font-family: var(--display); font-size: 1.3rem; color: #FFF8EA; }
@media (prefers-reduced-motion: no-preference) {
  .dc-l.anim i { animation: dcIn .45s calc(var(--k) * 70ms + 300ms) both; }
  .dc-out.anim { animation: dcOut .7s 1.5s both; }
  @keyframes dcIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  @keyframes dcOut { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
}
.h-trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.h-trust-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-block: 26px; }
.h-trust-row p { display: grid; gap: 4px; }
.h-trust-row b { font-family: var(--display); font-weight: 400; font-size: 1.25rem; color: var(--gold); }
.h-trust-row span { color: var(--muted); font-size: .95rem; }
.h-sec { padding-block: clamp(44px, 6vw, 76px); }
.h-head { display: grid; gap: 6px; margin-bottom: 26px; }
.h-head p { color: var(--muted); font-size: 1.05rem; }
.h-head.on-dark h2 { color: #FFF8EA; } .h-head.on-dark p { color: var(--on-night-muted); }
.h-nums { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.h-num { position: relative; display: grid; gap: 2px; text-decoration: none; color: var(--ink); }
.h-num img { width: 100%; aspect-ratio: 848 / 1264; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow); transition: transform .2s; }
.h-num:hover img, .h-num:focus-visible img { transform: translateY(-4px); }
.h-num-n { position: absolute; top: 8px; left: 10px; font-family: var(--display); font-size: 2.1rem; line-height: 1; color: #FFF8EA; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
.h-num b { margin-top: 8px; font-family: var(--display); font-weight: 400; font-size: 1.05rem; }
.h-num-l { font-size: .85rem; color: var(--muted); }
.h-steps-sec { padding-top: 0; }
.h-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: none; }
.h-steps li { display: grid; gap: 4px; align-content: start; padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.h-step-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: var(--gold-soft); font-weight: 800; margin-bottom: 6px; }
.h-steps b { font-size: 1.08rem; }
.h-steps li > span:last-child { color: var(--muted); font-size: .95rem; }
.h-cta-row { margin-top: 24px; display: flex; justify-content: center; }
.h-cards { background: linear-gradient(180deg, var(--night), var(--night-2)); color: var(--on-night); padding-block: clamp(48px, 6vw, 80px); }
.h-decks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.h-deck { display: grid; gap: 10px; justify-items: start; padding: 22px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(227, 183, 92, .22); }
.h-deck b { font-family: var(--display); font-weight: 400; font-size: 1.6rem; color: #FFF8EA; }
.h-deck p { color: var(--on-night-muted); }
.h-deck-art { display: flex; justify-content: center; width: 100%; padding: 6px 0 10px; }
.h-deck-art > * { width: 30%; max-width: 130px; margin-inline: -3%; box-shadow: 0 12px 28px rgba(0, 0, 0, .45); border-radius: 10px; }
.h-deck-art > *:nth-child(1) { transform: rotate(-7deg) translateY(8px); } .h-deck-art > *:nth-child(3) { transform: rotate(7deg) translateY(8px); } .h-deck-art > *:nth-child(2) { position: relative; z-index: 1; }
.btn-line.on-dark { background: transparent; color: var(--on-night); border-color: rgba(242, 236, 223, .5); }
.btn-line.on-dark:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.h-offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.h-offer { position: relative; display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.h-offer.best { border: 2px solid var(--gold-soft); box-shadow: var(--shadow); }
.h-best { position: absolute; top: -12px; left: 20px; background: var(--gold-soft); color: #1E1A36; font-size: .8rem; font-weight: 800; padding: 3px 12px; border-radius: 999px; }
.h-offer > b { font-family: var(--display); font-weight: 400; font-size: 1.35rem; }
.h-price { font-family: var(--display); font-size: 2rem; color: var(--gold); }
.h-offer ul { margin: 0; padding-left: 18px; color: var(--muted); display: grid; gap: 4px; }
.h-offer .btn { justify-self: start; margin-top: 6px; }
.h-final { background: var(--night); color: var(--on-night); padding-block: 44px; }
.h-final-in { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.h-final h2 { color: #FFF8EA; }
@media (max-width: 900px) {
  .h-hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "form" "dec"; gap: 18px; }
  .h-lede { font-size: 1rem; }
  .h-nums { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .h-trust-row, .h-steps, .h-offers { grid-template-columns: minmax(0, 1fr); }
  .h-decks { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) { .h-nums { grid-template-columns: repeat(3, minmax(0, 1fr)); } .h-num-l { display: none; } .h-trust-row { gap: 14px; } }
.nav a.nav-cta { background: var(--gold-soft); color: #1E1A36; font-weight: 800; margin-left: 6px; }
.nav a.nav-cta:hover { color: #1E1A36; filter: brightness(1.06); }
/* v3.12 free result: the number is the headline */
.rv-hero { background: radial-gradient(120% 90% at 85% 10%, #3A2F63 0%, var(--night) 60%); color: var(--on-night); padding-block: clamp(32px, 5vw, 64px); }
.rv-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.rv-copy { display: grid; gap: 12px; justify-items: start; }
.rv-who { color: var(--on-night-muted); }
.rv-k { font-size: .8rem; font-weight: 800; letter-spacing: .08em; color: var(--gold-soft); }
.rv-big { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.rv-n { font-family: var(--display); font-size: clamp(5rem, 13vw, 9rem); line-height: .85; color: var(--gold-soft); }
.rv-t { font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.8rem); color: #FFF8EA; }
.rv-line { font-size: 1.15rem; max-width: 48ch; color: #FFF8EA; }
.rv-more { color: var(--on-night-muted); max-width: 52ch; }
.rv-img { width: clamp(150px, 20vw, 240px); border-radius: 14px; box-shadow: 0 18px 50px rgba(0, 0, 0, .5); }
@media (max-width: 700px) { .rv-grid { grid-template-columns: minmax(0, 1fr); } .rv-img { order: -1; width: 96px; } }

/* Born & Drawn (TH): สีส้มมะม่วงแทนทองบนพื้นมืด · ตัวเลขใหญ่ใช้ Kanit */
.h-hero, .rv-hero, .h-cards, .h-final, .hubbar { --gold-soft: #FFB547; }
.h-copy h1 { font-weight: 500; line-height: 1.2; }
.dc-n, .rv-n, .h-num-n, .h-price { font-weight: 500; }
.dc-note { color: var(--on-night-muted) !important; font-weight: 400 !important; font-size: .85rem; }
.h-shop { margin-top: 18px; color: var(--on-night-muted); } .h-shop a { color: #FFB547; }
.h-best { background: var(--pop); color: #fff; }
.h-offer.best { border-color: var(--pop); }
.hub-links .hub-new { background: var(--pop); border-color: var(--pop); color: #fff; }
.hub-links .hub-new:hover { color: #fff; }
.nav a.nav-cta { background: var(--pop); color: #fff; } .nav a.nav-cta:hover { color: #fff; }

/* v3.12.1 hero card: letters of a name flow into a Life Path; no arithmetic is shown before purchase */
.hc-name { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.hc-word { display: inline-flex; gap: 2px; }
.hc-l { font-family: var(--display); font-weight: 500; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.1; color: #FFF8EA; letter-spacing: .02em; }
.hc-beam { height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--gold-soft), transparent); opacity: .8; }
.hc-out { display: flex; align-items: center; gap: 18px; }
.hc-out img { width: 96px; height: auto; border-radius: 10px; box-shadow: 0 12px 34px rgba(0, 0, 0, .5); }
.hc-out div { display: grid; gap: 2px; }
.hc-out .small { color: var(--on-night-muted); }
.hc-q { width: 96px; aspect-ratio: 848 / 1264; display: grid; place-items: center; border-radius: 10px; border: 1px dashed rgba(227, 183, 92, .6); background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 10px, rgba(255,255,255,.08) 10px 20px); font-family: var(--display); font-size: 3rem; color: var(--gold-soft); }
.hc-cap { font-size: .86rem; color: var(--on-night-muted); }
@media (prefers-reduced-motion: no-preference) {
  .hc-l.anim { animation: hcGlow 1.6s calc(var(--k) * 90ms) both; }
  .hc-out.anim { animation: dcOut .8s 1.4s both; }
  .hc-beam { animation: hcBeam 2.4s ease-in-out infinite; }
  @keyframes hcGlow { 0% { opacity: .25; text-shadow: none; } 45% { opacity: 1; color: var(--gold-soft); text-shadow: 0 0 18px rgba(227, 183, 92, .8); } 100% { opacity: 1; } }
  @keyframes hcBeam { 0%, 100% { opacity: .35; } 50% { opacity: .95; } }
}
/* v3.12.1 card setup: fewer things on screen at once */
.qbox { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.qbox > summary { position: relative; list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding: 14px 44px 14px 16px; }
.qbox > summary::-webkit-details-marker { display: none; }
.qbox > summary::after { content: '+'; position: absolute; right: 18px; top: 12px; color: var(--gold); font-weight: 800; font-size: 1.2rem; }
.qbox[open] > summary::after { content: '–'; }
.qbox .qsel { flex-basis: 100%; color: var(--muted); font-size: .92rem; }
.qbox[open] .qsel { display: none; }
.qbox .qpick, .qbox #q-warn { margin: 0 16px 14px; display: grid; }
.more-topics { border-style: dashed !important; color: var(--gold) !important; }
.shuffle-row { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.shuffle-row .small { max-width: 46ch; }
.breath { font-size: .9rem; color: var(--muted); font-style: italic; }

/* ชื่อตัวอย่างภาษาไทยเป็นหัวเรื่อง ตัวสะกดภาษาอังกฤษ (ที่ใช้คำนวณ) อยู่ใต้ชื่อ */
.hc-th { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 3.8vw, 2.9rem); line-height: 1.25; color: #FFF8EA; }
.hc-name.hc-sub .hc-l { font-size: clamp(1rem, 1.6vw, 1.25rem); color: var(--on-night-muted); letter-spacing: .12em; }
@media (prefers-reduced-motion: no-preference) { .hc-th { animation: dcOut .8s .2s both; } }
.hc-word { flex-wrap: wrap; }
@media (max-width: 520px) { .hc-l { font-size: 1.45rem; } }
.hc-l { font-size: clamp(1.35rem, 2.3vw, 1.9rem); }

/* ===== v1.4.0 Born & Drawn: same mark, wordmark and gold as bornanddrawn.com; Thai type Noto Serif Thai headings / Noto Sans Thai body ===== */
:root { --pop: #A8741A; --pop-soft: #E3B75C; --gold-soft: #E3B75C; --mango: #E3B75C; --night: #1E1A36; --night-2: #2B2550; }
.wm { font-family: 'Marcellus', 'Cormorant Garamond', Georgia, serif; font-weight: 400; letter-spacing: .02em; }
.brand span.wm { font-weight: 400; font-size: 1.3rem; }
.h-hero, .rv-hero, .h-cards, .h-final, .hubbar { --gold-soft: #E3B75C; }
.h-shop a { color: #E3B75C; }
.h-tag { font-family: var(--display); font-weight: 500; color: #E3B75C; font-size: 1.05rem; margin-bottom: 10px; }
.btn-gold, .nav a.nav-cta, .h-best, .hub-links .hub-new { background: #E3B75C; color: #1E1A36; border-color: #E3B75C; }
.btn-gold:hover { background: #EDC56F; }
.nav a.nav-cta:hover, .hub-links .hub-new:hover { color: #1E1A36; filter: brightness(1.05); }
.btn-gold { box-shadow: 0 6px 18px rgba(184, 134, 43, .28); }
.nav a[aria-current="page"] { background: #E3B75C; color: #1E1A36; }
.o2.hot { box-shadow: 0 16px 40px rgba(184, 134, 43, .14); }
.wn-tag.pop { background: rgba(184, 134, 43, .14); }
/* v1.4.1 font B: Noto Serif Thai headings (weight 600), Noto Sans Thai body */
h1, h2, h3, h4, .h-copy h1 { font-weight: 600; }
.dc-n, .rv-n, .h-num-n, .h-price { font-weight: 600; }
.h-tag span { white-space: nowrap; }
/* v1.4.2 Thai name under the wordmark */
.brand-txt { display: grid; line-height: 1.15; }
.th-sub { font-family: var(--display); font-weight: 600; font-size: .8rem; color: var(--gold); letter-spacing: 0; white-space: nowrap; }
@media (max-width: 380px) { .th-sub { font-size: .68rem; } }

/* 12-month planner, in the account (matches the printable) */
.planner { border: 0; box-shadow: 0 18px 50px rgba(30,26,54,.14); }
.planner-cover { position: relative; overflow: hidden; background: radial-gradient(ellipse 70% 100% at 25% 0%, #3A3270 0%, #1E1A36 75%); padding: 30px 30px 28px; grid-template-columns: minmax(0, 1fr) 150px; }
.planner-cover::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .8; background-image: radial-gradient(1.2px 1.2px at 12% 22%, #E3B75C 50%, transparent 51%), radial-gradient(1px 1px at 72% 14%, #F2ECDF 50%, transparent 51%), radial-gradient(1.4px 1.4px at 58% 70%, #E3B75C 50%, transparent 51%), radial-gradient(1px 1px at 30% 84%, #F2ECDF 50%, transparent 51%); }
.planner-cover > * { position: relative; }
.planner-cover .p-eb { font-size: .72rem; font-weight: 800; color: #C9C0DB; }
.planner-cover .m { color: var(--gold); }
.planner-cover .card-img { border-radius: 10px; box-shadow: 0 0 0 1.5px var(--gold), 0 14px 34px rgba(0,0,0,.45); }
.p-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.p-chips span { border: 1px solid rgba(227,183,92,.7); border-radius: 999px; padding: 4px 12px; font-size: .78rem; font-weight: 700; color: #F2ECDF; }
.planner-body .pbox { border: 0; border-radius: 14px; padding: 16px 18px; }
.p-more { background: #FBF3E0; }
.p-less { background: #EEEAF5; }
.p-q { background: #fff; border: 1.5px solid var(--gold) !important; }
.p-q .qq { font-family: var(--display); font-size: 1.08rem; line-height: 1.35; }
.p-card, .p-check { background: #F7F2E8; }
.planner-body .pbox .k { color: #8A5A10; }
.p-less .k { color: #5F5876 !important; }
.weeks { position: relative; padding-left: 26px; gap: 4px; }
.weeks::before { content: ""; position: absolute; left: 7px; top: 14px; bottom: 14px; width: 1px; background: var(--gold); }
.week { position: relative; border-top: 0; grid-template-columns: 1fr; gap: 2px; }
.week::before { content: ""; position: absolute; left: -24px; top: 15px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--gold); }
.week .rng { font-size: .74rem; color: #8A5A10; text-transform: uppercase; }
.week b { font-family: var(--display); font-weight: 400; font-size: 1.1rem; }
.cal .d { border-radius: 8px; background: #fff; }
@media (max-width: 640px) { .planner-cover { grid-template-columns: minmax(0, 1fr) 96px; padding: 22px; } }

/* v1.5.0 consent bar (GA4 + Meta Pixel) */
/* consent bar (track.js) */
.consent-bar{position:fixed;left:16px;right:16px;bottom:16px;z-index:60;max-width:720px;margin:0 auto;background:#1E1A36;color:#F2ECDF;border:1px solid rgba(227,183,92,.5);border-radius:16px;padding:16px 18px;box-shadow:0 18px 50px rgba(0,0,0,.35);display:grid;gap:12px;font-size:.92rem;line-height:1.5}
.consent-bar p{margin:0}
.consent-bar a{color:#E3B75C}
.consent-btns{display:flex;gap:10px;flex-wrap:wrap}
.consent-btns .btn{padding:10px 18px;min-height:44px}
.consent-bar .btn-line{background:transparent;color:#F2ECDF;border:1px solid rgba(242,236,223,.5)}

/* v1.6.0 แพลนเนอร์ชีวิตแจกฟรี */
.freebox { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: center; background: linear-gradient(135deg, #FBF3E0 0%, #F6EEF8 100%); border: 1px solid #EBD7A6; border-radius: 24px; padding: clamp(20px, 4vw, 36px); }
.freebox h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.fb-tag { justify-self: start; background: #1E1A36; color: #E3B75C; font-weight: 700; font-size: .85rem; padding: 4px 14px; border-radius: 999px; }
.fb-art { position: relative; min-height: 260px; display: grid; place-items: center; }
.fb-art .card-img { position: absolute; width: 34%; right: 6%; bottom: 0; transform: rotate(8deg); border-radius: 10px; box-shadow: 0 14px 34px rgba(30,26,54,.35); }
.fb-page { width: 62%; aspect-ratio: 210 / 297; background: #FFFDF8; border-radius: 8px; box-shadow: 0 18px 44px rgba(30,26,54,.22); padding: 9% 9%; display: grid; align-content: start; gap: 7px; transform: rotate(-4deg); }
.fb-wm { font-family: Marcellus, serif; letter-spacing: .3em; font-size: .55rem; color: #9A6F1C; }
.fb-page b { font-family: var(--display); font-size: 1.05rem; color: #1E1A36; }
.fb-page i { display: block; height: 1px; background: #E6DDCB; }
.fb-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; margin-top: 6px; }
.fb-grid s { display: block; aspect-ratio: 1; border: 1px solid #E6DDCB; border-radius: 2px; }
.fb-form { display: grid; gap: 12px; max-width: 440px; }
.fb-form .check { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); }
.fb-form .check input { margin-top: 5px; }
@media (max-width: 760px) { .freebox { grid-template-columns: 1fr; } .fb-art { min-height: 220px; } }

/* ตารางราคาบนมือถือ: เห็นราคาโดยไม่ต้องเลื่อนข้าง */
@media (max-width: 560px) {
  table.price-t { min-width: 0; }
  table.price-t thead { display: none; }
  table.price-t tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 12px; border-bottom: 1px solid var(--line); }
  table.price-t td { border: 0; padding: 0; }
  table.price-t td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  table.price-t td:nth-child(3) { grid-column: 2; grid-row: 1; color: var(--gold); font-weight: 700; white-space: nowrap; text-align: right; }
}

:root { --bignum-font: 'Noto Sans Thai', var(--sans, sans-serif); }
/* hero: oversized numerals band (v-bignums) */
.h-hero { position: relative; overflow: hidden; padding-bottom: clamp(120px, 15vw, 210px); }
.h-hero > .wrap { position: relative; z-index: 1; }
.h-bignums { position: absolute; left: 0; right: 0; bottom: 0; z-index: 0; pointer-events: none; display: flex; justify-content: center; align-items: flex-end; gap: clamp(4px, 1.2vw, 18px); transform: translateY(26%); white-space: nowrap; }
.h-bignums .bn { font-family: var(--bignum-font); font-weight: 800; font-size: clamp(7rem, 17vw, 15.5rem); line-height: .78; letter-spacing: -.05em; user-select: none; }
.bn-1 { background: linear-gradient(160deg, #F6C866 0%, #EE9A6A 40%, #B0679B 72%, #7B5CC9 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bn-9 { color: #F4EEE3; }
.bn-7 { color: #E3B75C; }
.bn-22 { color: transparent; -webkit-text-stroke: 2px rgba(244, 238, 227, .7); }
.bn-3 { color: #E3B75C; }
.bn-11 { color: #F4EEE3; }
.h-hero .h-decoder { background: rgba(24, 20, 46, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (max-width: 860px) {
  .h-hero { padding-bottom: 104px; }
  .h-bignums { justify-content: flex-start; padding-left: 12px; transform: translateY(22%); }
  .h-bignums .bn { font-size: 7.6rem; }
}

@media (min-width: 861px) {
  .h-hero { padding-bottom: clamp(48px, 5vw, 72px); }
  .h-bignums { left: 52%; right: 0; justify-content: flex-start; transform: translateY(9%); }
  .h-bignums .bn { font-size: clamp(7rem, 12.5vw, 12rem); }
}
@media (min-width: 861px) { .h-hero .h-copy h1 { font-size: clamp(2.4rem, 3.7vw, 3.25rem); } .h-hero .h-copy h1 .nw { white-space: nowrap; } }

/* ---------- Launch promo bar and the year "reset" page (campaign.js) ---------- */
.promo-bar { background: linear-gradient(90deg, #5E43A8, #B76E9B 55%, #EDA073); color: #fff; }
.promo-bar .wrap { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; justify-content: center; padding-block: 8px; font-size: .92rem; text-align: center; }
.promo-bar b { font-weight: 700; }
.promo-code { font: inherit; font-weight: 800; letter-spacing: .08em; color: #241F3B; background: #FCE9C4; border: 0; border-radius: 6px; padding: 2px 10px; cursor: pointer; }
.promo-go { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.reset-num { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 22px 16px; border-radius: 18px; background: var(--night); color: var(--on-night); }
.reset-num .k { color: var(--on-night-muted); font-size: .9rem; }
.reset-num b { font-size: clamp(4rem, 16vw, 6.5rem); line-height: 1; background: linear-gradient(180deg, #F7CF7A, #EDA073 55%, #B76E9B); -webkit-background-clip: text; background-clip: text; color: transparent; }
.reset-num h2 { color: var(--on-night); font-size: 1.4rem; }
.reset-months { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.reset-months .rm { display: grid; gap: 2px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.reset-months .rm b { font-size: 1.5rem; color: var(--gold); line-height: 1.1; }

/* ---------- Launch waitlist page (#soon) ---------- */
.countdown { display: flex; flex-wrap: wrap; gap: 10px; }
.countdown .cd { display: grid; justify-items: center; min-width: 74px; padding: 10px 8px; border-radius: 14px; background: rgba(242, 236, 223, .08); border: 1px solid rgba(227, 183, 92, .3); color: var(--on-night-muted); }
.countdown .cd b { font-size: 2rem; line-height: 1.1; color: #FFB547; }
label.check { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
label.check input { margin-top: 5px; width: 18px; height: 18px; flex: none; }

/* ---------- เลขคู่ (#couple) ---------- */
.cpl-nums { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; padding: 20px 12px; border-radius: 18px; background: var(--night); color: var(--on-night); text-align: center; }
.cpl-nums > div:not(.cpl-plus) { display: grid; justify-items: center; gap: 2px; min-width: 84px; }
.cpl-nums .k { color: var(--on-night-muted); font-size: .85rem; }
.cpl-nums b { font-size: 3rem; line-height: 1; color: #F2ECDF; }
.cpl-nums .small { color: var(--on-night-muted); max-width: 12ch; }
.cpl-nums .cpl-lov .small { max-width: 20ch; }
.cpl-nums .cpl-lov b { font-size: 4rem; background: linear-gradient(180deg, #F7CF7A, #EDA073 55%, #B76E9B); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cpl-plus { font-size: 1.6rem; color: #FFB547; }
.stars { color: var(--gold); letter-spacing: 2px; }
.was{opacity:.55;font-weight:400;margin-right:.25em}
