/* Lin's Bazi website — "fintech" restyle (15 Nov 2026), a drop-in replacement for WEBSITE/assets/style.css.
   Same class names, same pages, same words; only the look changes. Matches the online chart tool.
   No external fonts or scripts.
   Colours: "Jade & Ink" (Lin's choice, 15 Nov 2026) on this layout; was cinnabar red with a rainbow band. */
/* Self-hosted fonts (Lin, 16 Nov 2026: serif headings, Noto Serif SC for Chinese; replaces "system fonts only").
   Built by TOOL/fonts/build_fonts.py; SIL Open Font License (assets/fonts/OFL_*.txt). Nothing loads from Google. */
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Noto Serif SC Web"; src: url("fonts/noto-serif-sc-400.woff2") format("woff2"); font-weight: 300 500; font-display: swap; }
@font-face { font-family: "Noto Serif SC Web"; src: url("fonts/noto-serif-sc-700.woff2") format("woff2"); font-weight: 600 900; font-display: swap; }
:root {
  --bg: #f5f6f2; --surface: #ffffff; --ink: #17221e; --ink-soft: #4f5d57; --line: #e1e5de;
  --accent: #2f6b57; --accent-ink: #24533f; --accent-soft: #e6f0eb; --on-accent: #ffffff;
  --radius: 12px; --max: 68rem;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .09 0 0 0 0 .13 0 0 0 0 .12 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  --paper: #efeee7; --paper-ink: rgba(23, 34, 30, .07);
  --wood: #2a7a4b; --fire: #bd3524; --earth: #8f6217; --metal: #66707c; --water: #1c5ea6;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --hanzi: "Noto Serif SC Web", "Noto Serif SC", "Songti SC", "SimSun", "PMingLiU", serif;
  --shadow: 0 50px 100px -20px rgba(23, 50, 40, 0.22), 0 30px 60px -30px rgba(0, 0, 0, 0.28);
  --shadow-sm: 0 2px 5px -1px rgba(23, 50, 40, 0.18), 0 1px 3px -1px rgba(0, 0, 0, 0.2);
  /* Band stops darkened 15 Nov 2026 (BRAND/apply_to_site.md item 2) so small white text stays at 4.5:1 or more:
     #3f8a6d -> #2f6b57 (6.3:1), #4f7a5e -> #3d6a52 (6.3:1), #8a7a3e -> #6e6232 (6.1:1). Gold radial = decoration only. */
  --band: radial-gradient(at 12% 30%, #2f6b57 0, transparent 45%), radial-gradient(at 88% 12%, #a8883f 0, transparent 40%),
          radial-gradient(at 70% 85%, #1d4a3c 0, transparent 45%), radial-gradient(at 35% 95%, #0f2a22 0, transparent 50%),
          linear-gradient(120deg, #0d1f1a 0%, #173a2f 35%, #2f6b57 65%, #3d6a52 85%, #6e6232 100%);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1513; --surface: #15211d; --ink: #e6efe9; --ink-soft: #a6b8ae; --line: #26372f;
    --accent: #5fb394; --accent-ink: #8fd0b6; --accent-soft: #16302a; --on-accent: #0b1a14;
    --shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6); --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
    --paper: #111c18; --paper-ink: rgba(230, 239, 233, .05);
    --wood: #6fcf97; --fire: #f08a7e; --earth: #e0b162; --metal: #c3c9d1; --water: #80b5f1;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }  /* keeps the header still when moving between long and short pages */
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--sans); overflow-x: hidden; }
img, iframe { max-width: 100%; }
a { color: var(--accent-ink); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

h1, h2, h3 { line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
/* Headings in the serif (one weight only: never synthesise bold) */
h1, h2 { font-family: var(--serif); font-weight: 400; font-synthesis: none; letter-spacing: -0.01em; line-height: 1.08; }
h1 { font-size: clamp(2.6rem, 7.5vw, 4.6rem); margin: 0 0 .75rem; }
h2 { font-size: clamp(1.9rem, 4.8vw, 2.6rem); margin: 3rem 0 .75rem; }
h1 em, h2 em { font-style: italic; color: var(--accent-ink); }
h3 { font-size: 1.1rem; margin: 1.4rem 0 .4rem; letter-spacing: -0.01em; }
p, ul, ol { margin: 0 0 1rem; }
.zh { font-family: var(--hanzi); white-space: nowrap; }
.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 44rem; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--bg); padding: .5rem 1rem; }
.skip:focus { left: 8px; top: 8px; z-index: 10; }

/* Header: frosted bar */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand .seal { display: inline-grid; place-items: center; width: 2rem; height: 2rem; margin-right: .5rem; border-radius: 8px; background: var(--accent); color: #fff; font-size: 1.05rem; vertical-align: -.4rem; box-shadow: var(--shadow-sm); }
.brand .brand-zh { font-family: var(--hanzi); font-size: .65em; font-weight: 600; color: var(--ink-soft); letter-spacing: .08em; margin-left: .3rem; }
@media (max-width: 359px) { .brand .brand-zh { display: none; } }
.nav-toggle { display: none; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font: inherit; font-size: .95rem; font-weight: 500; padding: .35rem .9rem; cursor: pointer; }
#site-nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
#site-nav a { display: block; color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; padding: .4rem .8rem; border-radius: 999px; }
#site-nav a:hover { background: var(--accent-soft); color: var(--accent-ink); }
#site-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-ink); }
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  #site-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  #site-nav.open { display: block; }
  #site-nav ul { flex-direction: column; gap: 0; padding: .5rem 16px 1rem; }
  #site-nav li a { padding: .75rem .5rem; border-radius: 8px; }
}

/* Hero: angled gradient band */
.hero { position: relative; isolation: isolate; color: var(--ink); padding: 5rem 0 9rem; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -8rem 0 0 0; background-color: var(--paper); background-image: radial-gradient(ellipse at 15% 20%, rgba(47, 107, 87, .10) 0, transparent 45%), radial-gradient(ellipse at 85% 10%, rgba(168, 136, 63, .08) 0, transparent 40%), radial-gradient(ellipse at 70% 90%, var(--paper-ink) 0, transparent 50%), var(--grain); border-bottom: 1px solid var(--line); transform: skewY(-5deg); transform-origin: bottom left; z-index: -1; }
.hero .lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 40rem; }
.hero .chars { font-family: var(--hanzi); color: var(--accent-ink); letter-spacing: .4em; font-size: 1rem; margin-bottom: 1rem; }
.hero .btn.ghost { background: var(--surface); }

.page-head { position: relative; isolation: isolate; color: var(--ink); padding: 3.5rem 0 6.5rem; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: -8rem 0 0 0; background-color: var(--paper); background-image: radial-gradient(ellipse at 15% 20%, rgba(47, 107, 87, .10) 0, transparent 45%), radial-gradient(ellipse at 85% 10%, rgba(168, 136, 63, .08) 0, transparent 40%), radial-gradient(ellipse at 70% 90%, var(--paper-ink) 0, transparent 50%), var(--grain); border-bottom: 1px solid var(--line); transform: skewY(-3deg); transform-origin: bottom left; z-index: -1; }
.page-head p { color: var(--ink-soft); font-size: 1.1rem; max-width: 40rem; margin: 0; }

main { padding-bottom: 4rem; }
section { padding-top: .5rem; }

/* Buttons: pills with an arrow */
.btn { display: inline-flex; align-items: center; gap: .4rem; background: var(--accent); color: var(--on-accent); text-decoration: none; padding: .7rem 1.25rem; border-radius: 999px; font-weight: 600; font-size: .95rem; border: 1px solid var(--accent); transition: background .15s; }
.btn::after { content: "→"; transition: transform .15s; }
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn:hover::after { transform: translateX(3px); }
.btn.ghost { background: transparent; color: var(--accent-ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--accent-soft); }
.btn.is-pending, a.is-pending { background: var(--bg); color: var(--ink-soft); border-color: var(--line); cursor: default; }
.btn.is-pending::after { content: none; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* Cards */
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin: 1.5rem 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin-top: 0; }
.card h3::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 4px; background: var(--band); margin-bottom: .9rem; }
.card p:last-child { margin-bottom: 0; }
.card .price { font-weight: 700; color: var(--accent-ink); margin-top: auto; }
.card.service { display: flex; flex-direction: column; }
.card.service ul { padding-left: 1.2rem; }

/* Pillars illustration */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; max-width: 30rem; margin: 1.5rem 0; text-align: center; }
.pillar { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: .8rem .3rem; box-shadow: var(--shadow-sm); }
.pillar .lab { font-size: .75rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.pillar .gz { font-family: var(--hanzi); font-size: 1.1rem; line-height: 1.6; }
.pillar.day { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

dl.terms { display: grid; grid-template-columns: max-content 1fr; gap: .6rem 1.4rem; }
dl.terms dt { font-weight: 700; }
dl.terms dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 560px) { dl.terms { grid-template-columns: 1fr; gap: .1rem; } dl.terms dd { margin-bottom: .8rem; } }

/* Notes */
.note { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem 1.1rem 1.6rem; margin: 1.6rem 0; box-shadow: var(--shadow-sm); overflow: hidden; }
.note::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--band); }
.note p:last-child { margin-bottom: 0; }

/* Steps */
ol.steps { counter-reset: s; list-style: none; padding: 0; }
ol.steps li { counter-increment: s; position: relative; padding-left: 3rem; margin-bottom: 1.25rem; }
ol.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; font-size: .9rem; box-shadow: inset 0 0 0 1px var(--accent); }

/* Chart tool slot */
.tool-slot { border: 2px dashed var(--line); border-radius: var(--radius); padding: 2.5rem 1.25rem; text-align: center; background: var(--surface); margin: 1.5rem 0; }
.tool-slot.has-tool { border: 0; padding: 0; overflow: hidden; box-shadow: var(--shadow); }
.tool-slot iframe { display: block; width: 100%; height: 85vh; min-height: 36rem; border: 0; background: var(--bg); }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: .6rem 0 0; color: var(--ink-soft); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 2rem 0; font-size: .9rem; color: var(--ink-soft); }
.site-footer p { margin: 0 0 .4rem; }
.site-footer a { color: var(--ink-soft); }

/* Newcomer path on the home page: three numbered steps (15 Nov 2026) */
ol.path { list-style: none; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin: 1.5rem 0; }
ol.path li { display: flex; flex-direction: column; }
ol.path li h3::before { content: none; }
ol.path .path-n { width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-weight: 700; margin: 0 0 .9rem; }
ol.path li:first-child { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow-sm); }
ol.path .path-go { margin: auto 0 0; padding-top: .5rem; }

/* Methods page: plain answer box and conventions table */
.answer { background: var(--accent-soft); border-radius: var(--radius); padding: 1.1rem 1.25rem; margin: 1.5rem 0; }
.answer p:last-child { margin-bottom: 0; }
.table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; }
table.conv { border-collapse: collapse; width: 100%; font-size: .95rem; }
table.conv th, table.conv td { text-align: left; vertical-align: top; padding: .6rem .7rem; border-bottom: 1px solid var(--line); }
table.conv th { font-weight: 700; background: var(--surface); }
@media (max-width: 560px) {
  table.conv thead { display: none; }
  table.conv tr { display: block; border-bottom: 1px solid var(--line); padding: .5rem 0; }
  table.conv td { display: block; border: 0; padding: .15rem 0; }
  table.conv td:first-child { font-weight: 700; }
}

/* The hidden attribute always wins (e.g. payment rows that show only once a Stripe link is set) */
[hidden] { display: none !important; }

/* Tools and readings (explore.html): topic buttons and a browsable list */
.topics { display: flex; flex-wrap: wrap; gap: .5rem; margin: .5rem 0 .25rem; }
.topic { font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; padding: .45rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.topic:hover { border-color: var(--accent); }
.topic[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.topics-count { min-height: 1.4em; margin: .25rem 0 0; }
.offer-group h2 { font-size: 1.15rem; margin: 1.75rem 0 .75rem; }
.offers { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.offer { display: flex; flex-direction: column; gap: .35rem; height: 100%; box-sizing: border-box; padding: 1rem 1.1rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink); }
.offer:hover { border-color: var(--accent); }
.offer-top { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; }
.offer-name { font-weight: 700; font-size: 1.05rem; color: var(--accent-ink); }
.offer-what { font-size: .92rem; color: var(--ink-soft); }
.tag { flex: none; font-size: .75rem; font-weight: 700; padding: .15rem .6rem; border-radius: 999px; background: var(--bg); color: var(--ink-soft); border: 1px solid var(--line); white-space: nowrap; }
.tag.free { background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; }

/* Home page, richer (15 Nov 2026): example chart in the hero, checks, coverage, comparison, icon cards */
.hero-home .hero-bg { position: absolute; top: 1rem; left: 0; right: 0; z-index: -1; margin: 0; font-size: clamp(2.5rem, 7vw, 5rem); line-height: 1.3;
  letter-spacing: .3em; color: var(--paper-ink); opacity: .65; white-space: normal; word-break: break-all; pointer-events: none; user-select: none; overflow: hidden; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.25fr 1fr; } }
.hero-small { font-size: .9rem; color: var(--ink-soft); margin: .9rem 0 0; }
.hero-chart { margin: 0; background: rgba(255, 255, 255, .96); color: #17221e; border-radius: 16px; padding: 1.1rem 1.1rem 1rem; border: 1px solid var(--line); box-shadow: var(--shadow); max-width: 26rem; justify-self: center; width: 100%; box-sizing: border-box; }
.hc-title { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #24533f; margin-bottom: .7rem; }
.hc-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; text-align: center; }
.hc-p { border: 1px solid #dfe4dc; border-radius: 10px; padding: .55rem .2rem .7rem; display: flex; flex-direction: column; gap: .15rem; background: #fff; min-width: 0; }
.hc-p.day { border-color: #2f6b57; box-shadow: 0 0 0 3px #e6f0eb; }
.hc-lab { font-size: .7rem; color: #4f5d57; font-weight: 600; }
.hc-god { font-family: var(--hanzi); font-size: .72rem; color: #24533f; }
.hc-gz { font-size: clamp(1.4rem, 5vw, 1.9rem); line-height: 1.25; font-weight: 600; white-space: normal; }
.hc-dm { margin: .8rem 0 .2rem; font-weight: 700; font-size: .95rem; }
.hc-note { margin: 0; font-size: .78rem; color: #4f5d57; line-height: 1.45; }
ol.checks { list-style: none; padding: 0; margin: 1.25rem 0 .75rem; display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
ol.checks li { display: flex; gap: .9rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow-sm); }
ol.checks h3 { font-size: 1rem; margin: .1rem 0 .25rem; }
ol.checks h3::before { display: none; }
ol.checks p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.ck-icon, .icon-card .ic { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); font-size: 1.25rem; font-weight: 700; }
.icon-card .ic { margin-bottom: .8rem; }
.icon-card h3::before { display: none; }
.covers { display: grid; gap: 1rem; margin-top: 1.25rem; }
@media (min-width: 800px) { .covers { grid-template-columns: 1fr 1.6fr; align-items: start; } }
.covers-chart { background: var(--accent); color: var(--on-accent); border-radius: var(--radius); padding: 1.25rem; }
.covers-chart h3 { margin-top: 0; color: inherit; }
.covers-chart h3::before { display: none; }
.covers-chart p { margin: 0; }
.covers-list { margin: 0; padding: 0; list-style: none; counter-reset: cv; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.covers-list li { counter-increment: cv; padding: .6rem 1rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .1rem .6rem; align-items: baseline; }
.covers-list li:first-child { border-top: 0; }
.covers-list li::before { content: counter(cv); color: var(--accent-ink); font-weight: 700; font-size: .85rem; min-width: 1.2rem; }
.covers-list span { color: var(--ink-soft); font-size: .92rem; }
.compare { display: grid; gap: 1rem; margin-top: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.cmp { display: flex; flex-direction: column; }
.cmp h3 { margin: .2rem 0 .6rem; }
.cmp h3::before { display: none; }
.cmp ul { padding-left: 1.1rem; margin: 0 0 1rem; flex: 1; }
.cmp li { margin-bottom: .35rem; }
.cmp-tag { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.cmp-price { font-weight: 700; font-size: 1.1rem; margin: 0 0 .75rem; }
.cmp.featured { border: 2px solid var(--accent); }

/* Readings page, richer (15 Nov 2026) */
.lead-in .big { font-size: clamp(1.25rem, 3.2vw, 1.6rem); font-weight: 700; line-height: 1.35; margin-bottom: .6rem; }
.card.service .cmp-tag { margin-bottom: .2rem; }
.card.service h3::before { display: none; }
.best { font-size: .92rem; background: var(--accent-soft); border-radius: 8px; padding: .5rem .7rem; }
ul.who { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
ul.who li { display: flex; gap: .8rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; box-shadow: var(--shadow-sm); font-size: .95rem; }
ul.who .ic, .meet-seal { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); font-size: 1.2rem; font-weight: 700; }
.meet { display: flex; gap: 1.25rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); margin: 2rem 0; }
.meet h2 { margin: .1rem 0 .6rem; }
.meet p:last-child { margin-bottom: 0; }
.meet-seal { width: 3.5rem; height: 3.5rem; font-size: 1.8rem; background: var(--accent); color: var(--on-accent); }
@media (max-width: 560px) { .meet { flex-direction: column; } }
.cta-band { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; background: var(--accent-soft); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 2rem 0; }
.cta-band p { margin: 0; flex: 1 1 18rem; }
/* About Bazi: Ten Gods table keeps its column names when it stacks on phones */
@media (max-width: 560px) {
  table.tg td:nth-child(2)::before { content: "Same polarity: "; color: var(--ink-soft); font-size: .85rem; }
  table.tg td:nth-child(3)::before { content: "Opposite polarity: "; color: var(--ink-soft); font-size: .85rem; }
  table.tg td:nth-child(4) { color: var(--ink-soft); }
}

/* ===== 16 Nov 2026: one visual language (Lin's four improvements) ===== */
/* Element colours on example charts (same tokens and class names as the chart tool) */
.e-wood { color: var(--wood); } .e-fire { color: var(--fire); } .e-earth { color: var(--earth); }
.e-metal { color: var(--metal); } .e-water { color: var(--water); }
.el-key { display: flex; flex-wrap: wrap; gap: .2rem .8rem; margin: .5rem 0 0; font-size: .75rem; color: #4f5d57; }
.el-key span::before { content: "\25CF"; margin-right: .25rem; }
.hero-chart .e-wood { color: #2a7a4b; } .hero-chart .e-fire { color: #bd3524; } .hero-chart .e-earth { color: #8f6217; }
.hero-chart .e-metal { color: #66707c; } .hero-chart .e-water { color: #1c5ea6; }
@media (prefers-color-scheme: dark) { .hero-chart { background: #fbfbf8; } }

/* Rhythm: a full-width band without restructuring the page, and plain (un-boxed) lists */
.bleed { background: var(--surface); box-shadow: 0 0 0 100vmax var(--surface); clip-path: inset(0 -100vmax); padding: 1px 0 2.5rem; margin: 3rem 0; }
.bleed > h2:first-child { margin-top: 2.5rem; }
.bleed.paper { background: var(--paper); box-shadow: 0 0 0 100vmax var(--paper); }
ol.checks.plain li, ul.who.plain li { background: none; border: 0; box-shadow: none; padding: .4rem 0; }
.plain-grid { display: grid; gap: 1.75rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin: 1.5rem 0; }
.plain-grid > div { border-top: 2px solid var(--accent); padding-top: 1rem; }
.plain-grid h3 { margin-top: .6rem; }
.plain-grid h3::before { display: none; }
.plain-grid .ic { width: 2.4rem; height: 2.4rem; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); font-size: 1.2rem; font-weight: 700; }
.lead-in .big, .pull { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.2; }
