/* ═══════════════════════════════════════
   WOBAZI — Product pages (views/pages/product.ejs)
   public/css/product.css

   Site tokens throughout. --product-accent (config/suite.js accentColor, set on <body>) is used only
   for the icon, the product name and the primary buttons, as the suite brief asks; gold stays the brand.
═══════════════════════════════════════ */
body.product-page .product-main.seo-main { max-width: 900px; }
.product-main { max-width: 900px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.product-hero { text-align: center; margin: 18px auto 40px; max-width: 680px; }
.product-hero-orb { display: flex; justify-content: center; margin: 10px 0 6px; }
.product-lede { margin: 14px auto 0; max-width: 560px; color: var(--m8, var(--muted)); font-size: 15px; line-height: 1.6; }
.product-hero .product-cta-btn { margin-top: 24px; min-width: 240px; font-size: 16px; }
.product-page .product-cta-btn { display: inline-flex; align-items: center; }

/* The product's blocks (config/suite-pages.js) */
/* Sections sit straight on the night sky, as on the chart tabs (app/style.css .section): a heading,
   then glass cards (w04 fill, thin border, 16px corners). Nothing has a solid background. */
.product-block { margin: 0 0 44px; padding: 0; background: none; border: 0; }
.product-block h2 { margin: 0 0 12px; font-size: clamp(20px, 4vw, 24px); color: var(--text); }
.product-block-text > p { max-width: 680px; }
.product-block > p, .product-block-lead { margin: 0 0 12px; color: var(--m8, var(--muted)); line-height: 1.65; font-size: 15px; }
.product-block > p:last-child { margin-bottom: 0; }
.product-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 16px; }
.product-card { position: relative; padding: 16px; border-radius: 16px; background: var(--w04, rgba(255, 255, 255, 0.04)); border: 1px solid var(--border, rgba(255, 255, 255, 0.08)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.product-card h3 { margin: 0 0 6px; font-size: 15.5px; color: var(--text); }
.product-card p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--m8, var(--muted)); }
/* Chakras: a glowing dot in each chakra's colour, the card edged in it. */
.product-chakras .product-card { padding-left: 52px; border-color: color-mix(in srgb, var(--card-color) 30%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--card-color) 10%, transparent), transparent 70%); }
.product-card-dot { position: absolute; left: 16px; top: 17px; width: 22px; height: 22px; border-radius: 50%; background: var(--card-color); box-shadow: 0 0 14px 2px color-mix(in srgb, var(--card-color) 70%, transparent); }
/* Power Days tiers: the calendar's own cell styles. */
.product-tiers .product-card { padding-left: 64px; }
.product-card-cell { position: absolute; left: 14px; top: 14px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: var(--text); }
.tier-power .product-card-cell { background: var(--gold); color: var(--on-gold); box-shadow: 0 0 14px rgba(240, 192, 64, 0.5); }
.tier-good .product-card-cell { border: 2px solid #3fbf6e; }
.tier-avoid .product-card-cell { color: #e5484d; text-decoration: line-through; }
.product-steps { list-style: none; counter-reset: st; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.product-steps li { counter-increment: st; position: relative; padding: 16px 16px 16px 58px; border-radius: 16px; background: var(--w04, rgba(255, 255, 255, 0.04)); border: 1px solid var(--border, rgba(255, 255, 255, 0.08)); }
.product-steps li::before {
  content: counter(st); position: absolute; left: 16px; top: 15px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--product-on, #0b0b10);
  background: var(--product-grad, var(--product-accent)); box-shadow: 0 4px 12px color-mix(in srgb, var(--product-glow, var(--product-accent)) 40%, transparent);
}
.product-steps h3 { margin: 0 0 6px; font-size: 15px; color: var(--text); }
.product-steps p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--m8, var(--muted)); }
.product-chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.product-chips li { padding: 8px 14px; border-radius: 99px; font-size: 13.5px; font-weight: 600; color: var(--text); border: 1px solid color-mix(in srgb, var(--product-accent) 45%, transparent); background: color-mix(in srgb, var(--product-accent) 10%, transparent); }
.product-asks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.product-asks li { padding: 12px 16px; border-radius: 16px 16px 16px 4px; font-size: 14.5px; color: var(--text); background: color-mix(in srgb, var(--product-accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--product-accent) 28%, transparent); }
.product-asks li::before { content: '“'; color: var(--product-accent); font-weight: 800; margin-right: 2px; }
.product-asks li::after { content: '”'; color: var(--product-accent); font-weight: 800; margin-left: 2px; }
.product-end { display: grid; justify-items: center; gap: 14px; text-align: center; margin: 0 0 44px; padding: 32px 20px; }
.product-end h2 { margin: 0; font-size: 22px; color: var(--text); }
.product-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 16px;
  color: var(--product-accent); background: color-mix(in srgb, var(--product-accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--product-accent) 35%, transparent);
}
.product-icon-sm { width: 40px; height: 40px; border-radius: 12px; }
.product-eyebrow { margin: 14px 0 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--product-accent); }
.product-hero h1 { margin: 0 0 10px; font-size: clamp(26px, 6vw, 36px); line-height: 1.15; color: var(--text); }
.product-tagline { margin: 0; color: var(--m8, var(--muted)); font-size: 16px; }

.product-try { scroll-margin-top: 80px; }
.product-try, .product-explain, .product-faq, .product-related { margin: 0 0 40px; padding: 0; background: none; border: 0; }
.product-try { padding: 22px; border-radius: 22px; background: rgba(10, 8, 20, 0.5); border: 1px solid var(--border, rgba(255, 255, 255, 0.08)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.product-try-h, .product-explain h2, .product-faq h2, .product-related h2 { margin: 0 0 14px; font-size: 18px; color: var(--text); }
.product-form { display: grid; gap: 14px; }
.product-field { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.product-field input {
  font: inherit; font-size: 16px; color: var(--text); background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px; padding: 11px 12px; min-height: 44px;
}
.product-field input:focus { outline: 2px solid var(--product-accent); outline-offset: 1px; }
.product-page .product-btn {
  /* The product's own gradient (config/suite.js CTA), like the app's gold buttons but in its colours. */
  background: var(--product-grad, var(--product-accent)); color: var(--product-on, #0b0b10); border: 0;
  text-decoration: none; justify-content: center; font-weight: 700; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--product-glow, var(--product-accent)) 35%, transparent);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
@media (hover: hover) { .product-page .product-btn:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 10px 28px color-mix(in srgb, var(--product-glow, var(--product-accent)) 45%, transparent); } }
.product-page .product-signin { background: none; color: var(--text); box-shadow: none; text-shadow: none; border: 1px solid rgba(255, 255, 255, 0.18); }
/* The sky is darkened for every page but home in app/style.css (body.seo-page:not(.hub-page)). */
.product-error { margin: 0; }

.product-preview { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.product-badge {
  display: inline-block; margin: 0 0 12px; padding: 3px 10px; border-radius: 99px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--product-accent);
  border: 1px solid color-mix(in srgb, var(--product-accent) 45%, transparent);
}
.product-dm { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0 0 10px; }
.product-dm-label { font-size: 13px; color: var(--muted); min-width: 130px; }
.product-dm-char { font-size: 28px; font-weight: 700; color: var(--product-accent); line-height: 1; }
.product-dm-el { font-size: 16px; font-weight: 600; color: var(--text); }
.product-sub { margin: 16px 0 10px; font-size: 15px; color: var(--text); }
.product-days { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.product-day {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid rgba(255, 255, 255, 0.06);
}
.product-day-date { flex: 1; font-weight: 600; color: var(--text); }
.product-day-tier { font-size: 12px; color: var(--muted); }
.product-day.tier-power .product-day-tier { color: var(--gold); }
.product-day-score { min-width: 2.4em; text-align: right; font-weight: 700; color: var(--product-accent); }
.product-note { color: var(--m8, var(--muted)); margin: 10px 0; }
.product-qs { margin: 0; padding-left: 18px; color: var(--text); display: grid; gap: 6px; }
.product-cta { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.07); text-align: center; }
.product-cta p { margin: 0 0 12px; color: var(--m8, var(--muted)); }
.product-signin { text-decoration: none; }

.product-explain p { margin: 0; color: var(--m8, var(--muted)); line-height: 1.6; }
.product-qa { margin: 0 0 8px; padding: 14px 16px; border-radius: 14px; background: var(--w04, rgba(255, 255, 255, 0.04)); border: 1px solid var(--border, rgba(255, 255, 255, 0.08)); }
.product-qa summary { cursor: pointer; font-weight: 600; color: var(--text); list-style: none; display: flex; align-items: center; gap: 10px; }
.product-qa summary::-webkit-details-marker { display: none; }
/* The triangle lines up with the heading's left edge and turns when the answer opens. */
.product-qa summary::before {
  content: ''; flex: none; width: 0; height: 0; margin: 0 2px 0 1px;
  border-left: 8px solid var(--product-accent); border-top: 5px solid transparent; border-bottom: 5px solid transparent;
  transition: transform 0.15s ease;
}
.product-qa[open] summary::before { transform: rotate(90deg); }
.product-qa p { padding-left: 22px; }
@media (prefers-reduced-motion: reduce) { .product-qa summary::before { transition: none; } }
.product-qa p { margin: 8px 0 0; color: var(--m8, var(--muted)); line-height: 1.6; }

.product-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.product-related-card {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
  padding: 12px; border-radius: 14px; text-decoration: none;
  background: var(--w04, rgba(255, 255, 255, 0.04)); border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}
.product-related-card .product-icon, .product-related-card .wz-orb { grid-row: 1 / span 2; }
.product-related-name { font-weight: 700; color: var(--product-accent); }
.product-related-line { font-size: 12px; color: var(--muted); }
@media (hover: hover) { .product-related-card:hover { border-color: color-mix(in srgb, var(--product-accent) 45%, transparent); } }

/* /bazi-compatibility: the way into the Compatibility product */
.compat-product-link { margin: 16px 0 0; }
.compat-product-link .btn-primary { text-decoration: none; }

/* ── Diagrams (views/partials/product-diagrams.ejs) ── */
.pd-fig { margin: 16px 0 0; padding: 18px; border-radius: 16px; background: var(--w04, rgba(255, 255, 255, 0.04)); border: 1px solid var(--border, rgba(255, 255, 255, 0.08)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pd-fig svg { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; }
.pd-t { font: 600 14px Outfit, 'Noto Sans SC', 'Noto Sans Thai', sans-serif; }
.pd-mid { text-anchor: middle; }
.pd-zh { font: 700 30px 'Noto Sans SC', sans-serif; text-anchor: middle; }
.pd-example { margin: 0 0 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pd-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.pd-legend span { display: inline-flex; align-items: center; gap: 7px; }
.pd-line { width: 22px; height: 0; border-top: 2px solid rgba(255, 255, 255, 0.75); }
.pd-line.is-dashed { border-top: 2px dashed rgba(255, 255, 255, 0.4); }
.pd-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.pd-dot.tier-power { background: var(--gold); }
.pd-dot.tier-good { background: none; border: 2px solid #3fbf6e; }
.pd-dot.tier-avoid { background: #e5484d; }
.pd-dot.q-good { background: #3fbf6e; } .pd-dot.q-weak { background: #9a9ab0; } .pd-dot.q-bad { background: #e5484d; }
/* Week */
.pd-week-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; text-align: center; }
.pd-week-days li { display: grid; justify-items: center; gap: 6px; padding: 10px 0; border-radius: 12px; background: var(--surface-2); }
.pd-day { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-weight: 700; }
.pd-score { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pd-week-days .tier-power .pd-day { color: var(--on-gold); background: var(--gold); box-shadow: 0 0 12px rgba(240, 192, 64, 0.5); }
.pd-week-days .tier-good .pd-day { border: 2px solid #3fbf6e; }
.pd-week-days .tier-avoid .pd-day { color: #e5484d; text-decoration: line-through; }
.pd-week-days .tier-avoid .pd-score { color: #e5484d; }
/* Officers */
.pd-off { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.pd-off li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border-left: 3px solid #9a9ab0; }
.pd-off li.q-good { border-left-color: #3fbf6e; } .pd-off li.q-bad { border-left-color: #e5484d; }
.pd-off-c { font: 700 22px 'Noto Sans SC', sans-serif; color: var(--text); }
.pd-off-n { font-size: 13px; color: var(--muted); }
/* Pair */
.pd-bars { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.pd-bars li { display: grid; grid-template-columns: minmax(0, 1.2fr) 1fr 32px; align-items: center; gap: 10px; font-size: 13.5px; }
.pd-bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.pd-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #F43F5E, #fb923c); }
.pd-bars b { text-align: right; font-variant-numeric: tabular-nums; }
/* Chat */
.pd-chat { display: grid; gap: 10px; }
.pd-bubble { margin: 0; max-width: 85%; padding: 12px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; }
.pd-bubble.is-me { justify-self: end; border-bottom-right-radius: 4px; color: var(--on-gold); background: var(--gold); }
.pd-bubble.is-oracle { justify-self: start; border-bottom-left-radius: 4px; color: var(--text); background: rgba(124, 58, 237, 0.18); border: 1px solid rgba(124, 58, 237, 0.35); }
.pd-bubble-mark { margin-right: 6px; color: #c4b5fd; }
/* Species */
.pd-species { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.pd-species li { display: grid; justify-items: center; gap: 6px; padding: 14px 8px; border-radius: 14px; font-size: 13px; text-align: center; background: var(--w04, rgba(255, 255, 255, 0.04)); border: 1px solid var(--border, rgba(255, 255, 255, 0.08)); }
.pd-species-e { font-size: 28px; }
.pd-body .pd-t { filter: brightness(1.45); }
/* Power Days: how a score is built */
.pd-ledger-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.pd-ledger-h { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.pd-ledger-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pd-ledger-list li { display: grid; grid-template-columns: 78px 1fr; gap: 10px; align-items: baseline; font-size: 13.5px; line-height: 1.45; color: var(--m8, #c4c4d4); }
.pd-ledger-list b { font-variant-numeric: tabular-nums; font-size: 14px; }
.is-up { color: #3fbf6e; } .is-down { color: #e5484d; }
.pd-ledger-foot { margin: 16px 0 18px; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.5; color: var(--text); background: var(--surface-3); }
.pd-sum { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-width: 420px; }
.pd-sum li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 10px; font-size: 13.5px; background: var(--surface-2); }
.pd-sum b { font-variant-numeric: tabular-nums; }
.pd-sum-total { color: var(--on-gold); background: linear-gradient(120deg, #f7d774, #e08020) !important; font-weight: 800; }
/* Aura: the app's real result screens in phone frames */
.pd-screens { display: flex; justify-content: center; align-items: flex-start; gap: 22px; flex-wrap: wrap; margin-top: 18px; }
/* The share card leads, larger, without a phone frame. */
.pd-cardshot { margin: 0; width: min(340px, 100%); display: grid; gap: 10px; text-align: center; }
.pd-cardshot-frame img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55), 0 0 70px color-mix(in srgb, var(--product-glow, #6FA8FF) 28%, transparent); }
.pd-cardshot figcaption { font-size: 13px; line-height: 1.4; color: var(--m8, #c4c4d4); }
.pd-phone { margin: 0; width: min(220px, 44vw); display: grid; gap: 10px; text-align: center; }
.pd-phone-frame { position: relative; padding: 8px; border-radius: 34px; background: linear-gradient(160deg, #2a2a3e, #111120); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 24px 50px rgba(0, 0, 0, 0.55), 0 0 60px color-mix(in srgb, var(--product-glow, #6FA8FF) 22%, transparent); }
.pd-phone-frame img { display: block; width: 100%; height: auto; border-radius: 26px; }
.pd-phone figcaption { font-size: 13px; line-height: 1.4; color: var(--m8, #c4c4d4); }
.pd-center { text-align: center; margin-top: 12px; }
@media (max-width: 480px) { .pd-screens { gap: 10px; } .pd-phone { width: calc(50% - 6px); } .pd-phone-frame { padding: 5px; border-radius: 24px; } .pd-phone-frame img { border-radius: 19px; } }

/* ── Five elements panel (chart tab Element Balance style) ── */
.pd-elem { display: grid; grid-template-columns: 200px 1fr; gap: 18px; align-items: center; margin-top: 14px; }
.pd-elem-wheel { width: 100%; max-width: 200px; height: auto; }
.pd-elem-zh { font: 700 15px 'Noto Sans SC', sans-serif; text-anchor: middle; }
.pd-elem-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.pd-elem-card { padding: 11px 13px; border-radius: 14px; background: var(--surface-2); border: 1px solid rgba(255, 255, 255, 0.08); }
.pd-elem-name { display: flex; align-items: center; gap: 7px; margin: 0 0 4px; font-size: 14px; font-weight: 600; color: var(--text); }
.pd-elem-name i { width: 10px; height: 10px; border-radius: 50%; background: var(--ec); box-shadow: 0 0 8px var(--ec); }
.pd-elem-han { margin-left: auto; font-family: 'Noto Sans SC', sans-serif; font-size: 13px; color: var(--ec); }
/* The character beside the element name is a gloss: Chinese readers only (2026-11-24). */
html:not([lang^="zh"]) .pd-elem-han { display: none; }
.pd-elem-mean { margin: 0 0 6px; font-size: 12.5px; line-height: 1.45; color: rgba(240, 240, 255, 0.66); font-weight: 300; }
.pd-elem-rel { display: flex; flex-wrap: wrap; gap: 2px 10px; margin: 0; font-size: 11.5px; color: var(--muted); }
.pd-elem-rel b { font-weight: 600; }
@media (max-width: 600px) { .pd-elem { grid-template-columns: 1fr; justify-items: center; } .pd-elem-cards { width: 100%; grid-template-columns: 1fr 1fr; } }
.product-block-sub { margin-left: 8px; font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: 0; }

/* ── Two calendars become one (pair days) ── */
.pd-ov-row { display: grid; grid-template-columns: 78px 1fr; align-items: center; gap: 8px; margin-bottom: 6px; }
.pd-ov-l { font-size: 12px; font-weight: 600; color: var(--muted); }
.pd-ov-row.is-together .pd-ov-l { color: var(--product-accent); }
.pd-ov-row.is-together { margin-top: 8px; padding-top: 10px; border-top: 1px dashed rgba(255, 255, 255, 0.14); }
.pd-ov-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.pd-ov-days li { position: relative; display: grid; place-items: center; }
.pd-ov-days .pd-day { width: 34px; height: 34px; font-size: 12.5px; }
.pd-ov-days .tier-power .pd-day { color: var(--on-gold); background: var(--gold); box-shadow: 0 0 10px rgba(240, 192, 64, 0.45); }
.pd-ov-days .tier-good .pd-day { border: 2px solid #3fbf6e; }
.pd-ov-days .tier-avoid .pd-day { color: #e5484d; }
.pd-ov-days .tier-plain .pd-day { color: var(--muted); }
.pd-ov-plus { position: absolute; top: -6px; right: 2px; font-size: 10px; font-weight: 800; color: #3fbf6e; }
.pd-ov-rules { margin: 14px 0 0; padding-left: 18px; display: grid; gap: 4px; font-size: 13px; line-height: 1.5; color: rgba(240, 240, 255, 0.72); font-weight: 300; }
@media (max-width: 480px) { .pd-ov-row { grid-template-columns: 1fr; gap: 4px; } .pd-ov-days .pd-day { width: 30px; height: 30px; } }

/* ── Method cards (how we work it out): numbered, compact ── */
.product-method .product-cards { counter-reset: md; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.product-method .product-card { counter-increment: md; padding-left: 50px; }
.product-method .product-card::before {
  content: counter(md); position: absolute; left: 14px; top: 15px; width: 24px; height: 24px; border-radius: 8px;
  display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--product-on, #0b0b10); background: var(--product-grad, var(--product-accent));
}

/* ── Typography like the main site (public.css .about-*): smaller, lighter, roomy ── */
body.product-page .product-hero h1 { font-size: clamp(24px, 5vw, 30px); font-weight: 600; letter-spacing: -0.03em; }
.product-tagline { font-size: 15px; }
.product-lede { font-size: 14.5px; line-height: 1.7; font-weight: 300; color: rgba(240, 240, 255, 0.7); }
.product-block { padding: 24px 22px; border-radius: 22px; background: rgba(10, 8, 20, 0.5); border: 1px solid rgba(196, 162, 255, 0.14); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); margin-bottom: 16px; }
/* Section headings follow the design system (public/css/system.css .seo-main h2: white, --t-section). */
.product-block > p, .product-block-lead { font-size: 14.5px; line-height: 1.75; font-weight: 300; color: rgba(240, 240, 255, 0.72); }
.product-card h3, .product-steps h3 { font-size: 14px; font-weight: 600; }
.product-card p, .product-steps p { font-size: 13px; line-height: 1.55; font-weight: 300; color: rgba(240, 240, 255, 0.7); }
.product-block .pd-fig, .product-block .product-card, .product-block .product-steps li { background: var(--surface-2); border-color: rgba(255, 255, 255, 0.08); -webkit-backdrop-filter: none; backdrop-filter: none; }
.product-qa summary { font-size: 14.5px; }
.product-qa p { font-size: 14px; font-weight: 300; }
/* Cards, steps and diagrams use the small size, as on the main site's cards (system.css sets every
   .seo-main p to --t-body; these win by being more specific). */
body.product-page .seo-main .product-card p, body.product-page .seo-main .product-steps p,
body.product-page .seo-main .pd-fig p, body.product-page .seo-main .pd-elem p,
body.product-page .seo-main .pd-phone figcaption, body.product-page .seo-main .pd-cardshot figcaption {
  font-size: 13.5px; line-height: 1.55; font-weight: 300; color: rgba(240, 240, 255, 0.7);
}
body.product-page .seo-main .pd-elem-name { font-size: 14px; font-weight: 600; color: var(--text); }
body.product-page .seo-main .pd-elem-rel { font-size: 11.5px; color: var(--muted); font-weight: 400; }
body.product-page .seo-main .pd-example { font-size: 11px; font-weight: 700; color: var(--muted); }
body.product-page .seo-main .pd-ledger-foot { font-size: 13.5px; color: var(--text); font-weight: 400; }
body.product-page .seo-main .pd-bubble { font-size: 14px; }
body.product-page .seo-main .pd-bubble.is-me { color: var(--on-gold); }
body.product-page .seo-main .pd-premium-h { color: var(--gold); }
body.product-page .seo-main .product-card h3, body.product-page .seo-main .product-steps h3 { font-size: 14.5px !important; }
/* The FAQ answers and related cards sit lighter too (2026-11-20: the frames a little more see-through). */
.product-qa, .product-related-card { background: rgba(10, 8, 20, 0.42); }

/* ── Two calendars become one (2026-11-20): yours and theirs dull, the pair's emphasised ── */
.pd-cal-pair { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.pd-cal-op, .pd-cal-eq { font-size: 20px; font-weight: 300; color: var(--muted); text-align: center; }
.pd-cal-eq { margin: 6px 0; }
.pd-cal-l { margin: 0 0 6px; font-size: 11.5px !important; font-weight: 700 !important; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted) !important; }
.pd-cal-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.pd-cal-grid li { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 8px; font-size: 11.5px; font-variant-numeric: tabular-nums; }
/* dull: the two people's own calendars, just a hint of their days */
.pd-cal.is-dull .pd-cal-grid li { color: rgba(240, 240, 255, 0.4); background: rgba(255, 255, 255, 0.03); }
.pd-cal.is-dull .tier-power { background: rgba(255, 255, 255, 0.12) !important; color: rgba(240, 240, 255, 0.7) !important; }
.pd-cal.is-dull .tier-good { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
.pd-cal.is-dull .tier-avoid { color: rgba(229, 72, 77, 0.55) !important; text-decoration: line-through; }
/* together: what overlaps stands out */
.pd-cal.is-together { max-width: 420px; margin: 0 auto; padding: 12px; border-radius: 14px; background: var(--surface-3); border: 1px solid rgba(255, 255, 255, 0.1); }
.pd-cal.is-together .pd-cal-l { color: var(--product-accent) !important; }
.pd-cal.is-together .pd-cal-grid { gap: 6px; }
.pd-cal.is-together .pd-cal-grid li { font-size: 13px; font-weight: 700; color: rgba(240, 240, 255, 0.35); }
.pd-cal.is-together .pd-cal-grid li.tier-power { color: var(--on-gold); background: var(--gold); box-shadow: 0 0 14px rgba(240, 192, 64, 0.6); }
.pd-cal.is-together .pd-cal-grid li.tier-good { color: #3fbf6e; box-shadow: inset 0 0 0 2px #3fbf6e; }
.pd-cal.is-together .pd-cal-grid li.tier-avoid { color: #fff; background: rgba(229, 72, 77, 0.75); }
.pd-cal.is-together small { position: absolute; top: -7px; right: -4px; padding: 0 3px; border-radius: 6px; font-size: 9px; font-weight: 800; color: #0b0b10; background: #3fbf6e; }
@media (max-width: 480px) { .pd-cal-pair { grid-template-columns: 1fr; } .pd-cal-op { display: none; } }

/* ── Face Reading, more fun (2026-11-24) ── */
.product-card.has-shape, .product-card.has-emoji { padding-left: 64px; position: relative; }
.product-card.has-emoji, .product-chakras .product-card.has-shape { border-color: color-mix(in srgb, var(--card-color, #fff) 28%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--card-color, #fff) 11%, transparent), transparent 72%); }
.product-card-shape { position: absolute; left: 14px; top: 14px; width: 38px; height: 46px; overflow: visible; filter: drop-shadow(0 0 8px color-mix(in srgb, var(--card-color) 70%, transparent)); }
.product-card-shape path:first-child { fill: color-mix(in srgb, var(--card-color) 22%, transparent); stroke: var(--card-color); stroke-width: 2.2; }
.product-card-shape circle { fill: var(--card-color); }
.product-card-shape .smile { fill: none; stroke: var(--card-color); stroke-width: 1.8; stroke-linecap: round; }
.product-chakras .product-card.has-shape .product-card-dot { display: none; }
.product-card-emoji {
  position: absolute; left: 14px; top: 14px; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  font-size: 21px; line-height: 1; color: var(--card-color, #fff); font-weight: 700;
  background: color-mix(in srgb, var(--card-color, #fff) 18%, transparent); box-shadow: 0 0 14px color-mix(in srgb, var(--card-color, #fff) 35%, transparent);
}
@media (hover: hover) { .product-card.has-emoji:hover .product-card-emoji, .product-card.has-shape:hover .product-card-shape { transform: rotate(-8deg) scale(1.08); } }
.product-card-emoji, .product-card-shape { transition: transform .25s ease; }
.pd-face svg { max-width: 300px; }
.fz-band { opacity: .3; animation: fzPulse 4.5s ease-in-out infinite; }
.fz-2 { animation-delay: 1.5s; } .fz-3 { animation-delay: 3s; }
@keyframes fzPulse { 0%, 100% { opacity: .22; } 30% { opacity: .55; } }
.fm-dot { animation: fmGlow 4.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes fmGlow { 0%, 70%, 100% { opacity: .55; transform: scale(.92); } 10% { opacity: 1; transform: scale(1.18); filter: drop-shadow(0 0 6px #FDA56B); } }
.yy-spin { animation: yySpin 12s linear infinite; transform-box: fill-box; transform-origin: center; }
@keyframes yySpin { to { transform: translate(130px, 22px) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .fz-band, .fm-dot, .yy-spin { animation: none; } .fm-dot { opacity: 1; } }
/* Numbers inside the face-map / palace dots (2026-11-25): .pd-t's 14px overrode the SVG font-size and
   filled the dots edge to edge. ~45% of the dot's diameter, centred on it. */
.pd-face .pd-num text { font-size: 8px; font-weight: 600; letter-spacing: -0.1px; font-variant-numeric: tabular-nums; }
.pd-face .fp-nums text { font-size: 7px; }

/* The face of the Face Reading figures (2026-11-24): a plain head-and-neck outline, no features. */
.pd-face .fa { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pd-face .fa-ol { stroke: rgba(240, 238, 248, 0.92); stroke-width: 2.4; fill: rgba(255, 255, 255, 0.025); }
.pd-face .fa-neck { stroke: rgba(240, 238, 248, 0.85); stroke-width: 2.2; }
.pd-face .fz-band { opacity: .24; }
.product-card-num { position: absolute; right: -6px; top: -6px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; display: grid; place-items: center; font: 700 10px/1 Outfit, sans-serif; color: #07070f; background: var(--card-color, #f0c040); }
