/* Static pages (cards, day masters, guides): the Beacon language at reading
 * width. Ink on paper white, monospace stamps for structure, violet italic
 * serif for the one emotional word per heading, hairlines instead of shadows.
 * Element colors are chart semantics only (dots, rules, the card's glow).
 * Light-only, like the app skin; tokens stay overridable. */

:root {
  --bg: #fafaf8; --paper: #fff; --ink: #111; --steel: #5c5c5c; --ash: #8a8a8a;
  --hairline: rgba(0, 0, 0, .18); --hairline-2: rgba(0, 0, 0, .09); --wash: rgba(0, 0, 0, .035);
  --violet: #7a2ee6; --violet-deep: #6d28c9;
  --el-wood: #2e7d4f; --el-fire: #c63d2f; --el-earth: #a2761b; --el-metal: #8a8f98; --el-water: #1c2733;
  --glow: #7a2ee6;
  --sans: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "JetBrains Mono", "IBM Plex Mono", Menlo, monospace;
  --cjk: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK SC", "Songti SC", serif;
  --wrap: 1120px;
}
[data-el="wood"] { --el: var(--el-wood); --glow: #3fa96c; }
[data-el="fire"] { --el: var(--el-fire); --glow: #e0523e; }
[data-el="earth"] { --el: var(--el-earth); --glow: #d9a431; }
[data-el="metal"] { --el: var(--el-metal); --glow: #9ba7b8; }
[data-el="water"] { --el: var(--el-water); --glow: #3d6fd1; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.6; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
.cjk { font-family: var(--cjk); font-weight: 400; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--paper); padding: 8px 12px; border: 1px solid var(--ink); z-index: 20; }

/* ---- header ------------------------------------------------------------ */
.pg-head { border-bottom: 1px solid var(--hairline-2); background: rgba(250, 250, 248, .9); position: sticky; top: 0; z-index: 10; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pg-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-glyph { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--hairline); font-family: var(--cjk); font-size: 16px; }
.brand-name { font-family: var(--mono); letter-spacing: .2em; font-size: 11px; color: var(--steel); text-transform: uppercase; }
.pg-nav { display: flex; align-items: center; gap: 22px; }
.pg-nav a { font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--steel); text-decoration: none; }
.pg-nav a:hover, .pg-nav a[aria-current] { color: var(--ink); }
.pg-nav .nav-cta { color: #fff; background: var(--ink); padding: 9px 14px; border-radius: 1584px; letter-spacing: .14em; }
.pg-nav .nav-cta:hover { color: #fff; opacity: .85; }

/* ---- type ---------------------------------------------------------------- */
.crumbs { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ash); padding-top: 28px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--hairline); }
.crumbs a { text-decoration: none; color: var(--steel); }
.crumbs a:hover { color: var(--ink); }
.kicker { display: block; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; color: var(--steel); margin-bottom: 18px; line-height: 1.7; }
h1 { font-weight: 300; letter-spacing: -.02em; line-height: 1.05; text-wrap: balance; }
h1 em, h2 em, .serif-em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--violet-deep); letter-spacing: -.01em; }
.h1-big { display: block; font-size: clamp(42px, 6.4vw, 78px); }
.h1-guide { display: block; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.1; }
.stamp { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .36em; text-transform: uppercase; color: var(--ink); display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.stamp::before { content: ""; width: 22px; height: 1px; background: var(--ink); flex: none; }
.stamp .n { color: var(--ash); letter-spacing: .2em; }
h2.title { font-size: clamp(26px, 3.2vw, 36px); font-weight: 300; letter-spacing: -.01em; line-height: 1.15; margin-bottom: 18px; text-wrap: balance; }
h3 { font-size: 18px; font-weight: 400; margin-bottom: 8px; }
.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--steel); max-width: 60ch; }
.prose { max-width: 66ch; }
.prose p { color: #333; font-size: 16.5px; line-height: 1.75; margin-bottom: 16px; }
.prose p b, .prose p strong { font-weight: 500; color: var(--ink); }
.prose h3 { margin-top: 28px; }
.muted { color: var(--steel); }
.small { font-size: 13.5px; }
.note { font-size: 13px; color: var(--ash); line-height: 1.6; margin-top: 14px; }

section.block { padding: 64px 0 8px; }
section.block + section.block { border-top: 1px solid var(--hairline-2); margin-top: 56px; }

/* ---- card hero ------------------------------------------------------------- */
.c-hero { display: grid; grid-template-columns: minmax(260px, 400px) 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; padding: 40px 0 24px; }
.art { position: relative; }
.art::before { content: ""; position: absolute; inset: 6% -10% -2%; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent); opacity: .22; filter: blur(30px); z-index: -1; }
.art img { border-radius: 14px; border: 1px solid var(--hairline-2); background: #fff; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.art figcaption { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ash); text-align: center; margin-top: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .art::before { animation: breathe 6s ease-in-out infinite; }
  @keyframes breathe { 50% { opacity: .34; transform: scale(1.04); } }
}
.forms { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 20px 0 22px; color: var(--steel); font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.forms .cjk { font-size: 30px; color: var(--ink); letter-spacing: .06em; text-transform: none; }
.forms .sep { color: var(--hairline); }
.identity { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.45; max-width: 34ch; margin-bottom: 10px; }
.engine-line { color: var(--steel); max-width: 52ch; margin-bottom: 20px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { border: 1px solid var(--hairline-2); background: var(--wash); border-radius: 1584px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; padding: 7px 14px; text-decoration: none; }
a.chip:hover { border-color: var(--hairline); background: #fff; }
.el-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--el, var(--ink)); vertical-align: middle; margin-right: 8px; }

/* ---- the check form --------------------------------------------------------- */
.check { background: var(--paper); border: 1px solid var(--hairline-2); border-radius: 16px; padding: 20px 20px 18px; max-width: 520px; }
.check-q { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--violet-deep); margin-bottom: 4px; }
.check-sub { font-size: 13.5px; color: var(--steel); margin-bottom: 14px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 170px; font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--steel); }
input[type="date"], input[type="time"], select {
  background: var(--bg); border: 1px solid var(--hairline-2); border-radius: 8px; color: var(--ink);
  font-family: var(--sans); font-weight: 300; font-size: 16px; padding: 11px 12px; min-height: 46px; width: 100%;
}
input:focus-visible, select:focus-visible, .btn:focus-visible, a:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 8px; padding: 12px 20px; min-height: 46px; font: inherit; font-size: 15px; font-weight: 400; cursor: pointer; text-decoration: none; transition: opacity .2s; }
.btn:hover { opacity: .86; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hairline); }
.btn-ghost:hover { background: var(--wash); opacity: 1; }
.row .btn { flex: 0 0 auto; align-self: flex-end; }
.fineprint { font-size: 12px; color: var(--ash); margin-top: 12px; }

/* ---- share banner -------------------------------------------------------------- */
.share-banner { margin-top: 20px; border-radius: 16px; padding: 22px 24px; color: #fff; background: radial-gradient(120% 140% at 0% 0%, #a970f5 0%, var(--violet) 45%, #4c1691 100%); display: grid; grid-template-columns: 1fr auto; gap: 14px 24px; align-items: center; }
.share-banner p { font-size: 18px; line-height: 1.4; }
.share-banner em { font-family: var(--serif); font-style: italic; }
.share-banner .btn { background: #fff; color: #111; border-color: #fff; font-weight: 500; }

/* ---- sections ---------------------------------------------------------------------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { background: var(--paper); border: 1px solid var(--hairline-2); border-radius: 16px; padding: 24px; }
.pull { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2vw, 24px); line-height: 1.45; color: var(--ink); border-left: 2px solid var(--el, var(--ink)); padding: 4px 0 4px 20px; margin: 8px 0 24px; max-width: 46ch; }
.pull small { display: block; font-family: var(--mono); font-style: normal; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--ash); margin-bottom: 6px; }

.mech { width: 100%; border-collapse: collapse; font-size: 15px; }
.mech th, .mech td { text-align: left; vertical-align: top; padding: 16px 16px 16px 0; border-top: 1px solid var(--hairline-2); }
.mech tr:first-child th, .mech tr:first-child td { border-top: 1px solid var(--ink); }
.mech th { font-family: var(--mono); font-size: 10.5px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--steel); width: 22%; padding-top: 19px; }
.mech td.v { width: 34%; }
.mech td.v .cjk { font-size: 22px; margin-right: 8px; }
.mech td.x { color: var(--steel); font-size: 14px; line-height: 1.6; }
.hs { list-style: none; display: grid; gap: 10px; }
.hs li { display: grid; grid-template-columns: 30px 1fr; gap: 2px 10px; align-items: baseline; }
.hs .cjk { font-size: 22px; grid-row: span 2; }
.hs b { font-weight: 400; }
.hs i { font-style: normal; font-size: 13px; color: var(--steel); }
.bar { display: block; height: 3px; background: var(--hairline-2); margin-top: 6px; grid-column: 2; }
.bar span { display: block; height: 100%; background: var(--ink); }
.tag { font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ash); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* about: prose + facts aside */
.about-grid { display: grid; grid-template-columns: minmax(0, 66ch) minmax(240px, 340px); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-grid aside { position: sticky; top: 96px; }
.about-grid .pull { margin-top: 0; }
.facts { border-top: 1px solid var(--ink); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--hairline-2); font-size: 14px; }
.facts dt { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ash); padding-top: 3px; }
.facts dd { text-align: right; }

/* pairs (match / friction) */
.pair { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; text-decoration: none; background: var(--paper); border: 1px solid var(--hairline-2); border-radius: 16px; padding: 16px; transition: border-color .2s, transform .2s; }
.pair:hover { border-color: var(--hairline); }
@media (prefers-reduced-motion: no-preference) { .pair:hover, .thumb:hover { transform: translateY(-2px); } }
.pair img { border-radius: 8px; border: 1px solid var(--hairline-2); }
.pair .tag { display: block; margin-bottom: 6px; }
.pair b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 22px; color: var(--violet-deep); line-height: 1.2; }
.pair p { font-size: 13.5px; color: var(--steel); margin-top: 6px; line-height: 1.55; }

/* twins */
.twins { display: flex; flex-wrap: wrap; gap: 8px; }
.twin { display: inline-flex; align-items: baseline; gap: 10px; border: 1px solid var(--hairline); border-radius: 1584px; padding: 9px 16px; font-size: 14px; background: var(--paper); }
.twin i { font-style: normal; font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ash); }

/* next days */
.days { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.days li { border: 1px solid var(--hairline-2); background: var(--paper); border-radius: 12px; padding: 16px; }
.days b { display: block; font-size: 20px; font-weight: 300; }
.days span { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ash); }

/* thumbs grid */
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px 14px; list-style: none; }
.thumbs.five, .thumbs.four { grid-template-columns: repeat(6, 1fr); }
.thumb { display: block; text-decoration: none; transition: transform .2s; }
.thumb img { border-radius: 10px; border: 1px solid var(--hairline-2); background: #fff; aspect-ratio: 2 / 3; width: 100%; }
.thumb:hover img { border-color: var(--hairline); }
.thumb b { display: block; font-weight: 400; font-size: 14px; margin-top: 10px; line-height: 1.3; }
.thumb > span { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--ash); margin-top: 3px; }
.thumb > span .cjk { font-size: 12px; letter-spacing: .04em; color: var(--steel); }
.thumb[aria-current] img { outline: 2px solid var(--violet); outline-offset: 3px; }

.el-group { padding-top: 44px; scroll-margin-top: 80px; }
.el-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--ink); padding-top: 14px; margin-bottom: 22px; }
.el-head h2 { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .36em; text-transform: uppercase; }
.el-head h2 .cjk { font-size: 20px; letter-spacing: 0; margin-right: 10px; }
.el-head a { font-size: 13px; color: var(--steel); }
.el-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

/* FAQ */
.faq { border-top: 1px solid var(--ink); max-width: 760px; }
.faq details { border-bottom: 1px solid var(--hairline-2); padding: 18px 0; }
.faq summary { cursor: pointer; font-size: 17px; font-weight: 400; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--ash); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--steel); margin-top: 10px; max-width: 64ch; line-height: 1.7; }

/* bloom CTA band (the one violet surface per page) */
.bloom { margin: 72px 0 0; border-radius: 22px; padding: clamp(32px, 5vw, 56px); color: #fff; background: radial-gradient(120% 130% at 50% -10%, #a970f5 0%, var(--violet) 45%, #4c1691 100%); display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
.bloom .kicker { color: rgba(255, 255, 255, .75); margin-bottom: 12px; }
.bloom h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 300; line-height: 1.12; letter-spacing: -.01em; }
.bloom h2 em { font-family: var(--serif); font-style: italic; color: #fff; }
.bloom p { color: rgba(255, 255, 255, .85); margin-top: 12px; max-width: 46ch; }
.bloom .field { color: rgba(255, 255, 255, .8); }
.bloom input[type="date"], .bloom input[type="time"] { background: rgba(255, 255, 255, .96); border-color: transparent; }
.bloom .btn { background: #fff; color: #111; border-color: #fff; font-weight: 500; }
.bloom .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); font-weight: 400; }
.bloom .fineprint { color: rgba(255, 255, 255, .7); }

/* day masters */
.dm-hero { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: 40px 0 8px; }
.dm-glyph { font-family: var(--cjk); font-size: clamp(120px, 16vw, 200px); line-height: 1; width: 1.25em; height: 1.25em; display: flex; align-items: center; justify-content: center; border: 1px solid var(--hairline-2); border-radius: 28px; background: var(--paper); position: relative; }
.dm-glyph::after { content: ""; position: absolute; left: 18px; bottom: 18px; width: 12px; height: 12px; border-radius: 50%; background: var(--el); }
.dm-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; list-style: none; }
.dm-tile { display: block; text-decoration: none; border: 1px solid var(--hairline-2); border-radius: 16px; background: var(--paper); padding: 20px 18px; transition: border-color .2s; }
.dm-tile:hover { border-color: var(--hairline); }
.dm-tile .cjk { color: var(--ink); font-size: 44px; line-height: 1; display: block; margin-bottom: 14px; }
.dm-tile b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 20px; color: var(--violet-deep); }
.dm-tile > span:not(.cjk) { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--steel); margin-top: 4px; }

/* generic data table */
.data { width: 100%; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.data th { font-family: var(--mono); font-size: 10px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--steel); text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.data td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--hairline-2); vertical-align: top; }
.data td .cjk { font-size: 18px; }
.data tr:target td { background: rgba(122, 46, 230, .07); }
.data tr[id] { scroll-margin-top: 90px; }
.data .yr a { text-decoration: none; font-weight: 400; }
.data .gap { color: var(--ink); }
.data .quiet { color: var(--ash); }
.long-table { max-height: 720px; overflow: auto; border: 1px solid var(--hairline-2); border-radius: 14px; background: var(--paper); padding: 0 16px; }
.long-table .data th { position: sticky; top: 0; background: var(--paper); z-index: 1; }

/* checker output */
.verdict { margin-top: 18px; border-top: 1px solid var(--hairline-2); padding-top: 16px; }
.verdict p { font-size: 17px; line-height: 1.55; }
.verdict .big { font-size: clamp(20px, 2.2vw, 24px); }
.verdict .big em { font-family: var(--serif); font-style: italic; color: var(--violet-deep); }
.verdict .btn { margin-top: 14px; }

/* dates trio (2027) */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; }
.trio li { border: 1px solid var(--hairline-2); border-radius: 16px; background: var(--paper); padding: 22px 20px; }
.trio .tag { display: block; margin-bottom: 10px; }
.trio b { display: block; font-size: 26px; font-weight: 300; letter-spacing: -.01em; }
.trio p { font-size: 13.5px; color: var(--steel); margin-top: 8px; }
.trio li.on { border-color: var(--ink); }
.stem-sec { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--hairline-2); scroll-margin-top: 80px; }
.stem-sec .cjk { font-size: 52px; line-height: 1; }
.stem-sec h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 22px; color: var(--violet-deep); margin: 10px 0 4px; }
.stem-sec h3 a { text-decoration: none; }
.roles { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }

/* footer */
.pg-foot { border-top: 1px solid var(--hairline-2); margin-top: 96px; padding: 44px 0 56px; }
.pg-foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.pg-foot h2 { font-family: var(--mono); font-size: 10.5px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; color: var(--ash); margin-bottom: 12px; }
.pg-foot ul { list-style: none; display: grid; gap: 8px; }
.pg-foot a { font-size: 14px; color: var(--steel); text-decoration: none; }
.pg-foot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.pg-foot .disc { font-size: 13px; color: var(--ash); max-width: 40ch; margin-top: 10px; }
.coord { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: #b8b8b4; margin-top: 36px; }

/* ---- responsive --------------------------------------------------------------------- */
@media (max-width: 960px) {
  .thumbs, .thumbs.five, .thumbs.four { grid-template-columns: repeat(4, 1fr); }
  .dm-grid { grid-template-columns: repeat(3, 1fr); }
  .bloom { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .wrap { padding-inline: 18px; }
  .pg-nav a:not(.nav-cta) { display: none; }
  .c-hero { grid-template-columns: 1fr; gap: 28px; padding-top: 20px; }
  .art { max-width: 300px; margin: 0 auto; }
  .two { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid aside { position: static; }
  .thumbs, .thumbs.five, .thumbs.four { grid-template-columns: repeat(3, 1fr); gap: 16px 10px; }
  .days, .trio { grid-template-columns: 1fr; }
  .share-banner { grid-template-columns: 1fr; }
  .dm-hero { grid-template-columns: 1fr; }
  .dm-grid { grid-template-columns: repeat(2, 1fr); }
  .stem-sec { grid-template-columns: 1fr; gap: 8px; }
  .pg-foot .cols { grid-template-columns: 1fr 1fr; }
  .pg-foot .cols > div:first-child { grid-column: 1 / -1; }
  .mech, .mech tbody, .mech tr, .mech th, .mech td { display: block; width: auto !important; }
  .mech tr { border-top: 1px solid var(--hairline-2); padding: 14px 0; }
  .mech tr:first-child { border-top: 1px solid var(--ink); }
  .mech th, .mech td { border: none !important; padding: 4px 0; }
  section.block { padding-top: 48px; }
  section.block + section.block { margin-top: 40px; }
}
@media (max-width: 420px) {
  .thumb b { font-size: 12.5px; }
  .thumb > span { font-size: 9px; letter-spacing: .06em; }
  .thumb > span .cjk { font-size: 11px; }
}

/* spacing utilities (no inline style attributes anywhere: CSP-friendly) */
.gap-m { margin-bottom: 18px; }
.gap-l { margin-bottom: 26px; }
.gap-xl { margin-bottom: 40px; }
.gap-top { margin-top: 14px; }
.top-m { margin-top: 20px; }
.c-hero.split { grid-template-columns: 1.2fr 1fr; align-items: start; }
.c-hero.split.end { align-items: end; }
.pg-intro { padding: 40px 0 8px; }
section.block.first { padding-top: 40px; }
/* hidden-stem share of the branch's 30 days */
.bar .d3 { width: 10%; } .bar .d7 { width: 23.3%; } .bar .d9 { width: 30%; } .bar .d10 { width: 33.3%; }
.bar .d11 { width: 36.7%; } .bar .d16 { width: 53.3%; } .bar .d18 { width: 60%; } .bar .d20 { width: 66.7%; }
@media (max-width: 760px) { .c-hero.split { grid-template-columns: 1fr; } }

/* ---- A: agents + GEO (quick answers, /2027/, /developers/) --------------- */
.quick { margin-top: 40px; border: 1px solid var(--hairline-2); border-left: 2px solid var(--el, var(--ink)); border-radius: 4px 16px 16px 4px; background: var(--paper); padding: 22px 24px 18px; max-width: 860px; }
.quick .stamp { margin-bottom: 14px; }
.quick ul { list-style: none; display: grid; gap: 10px; }
.quick li { font-size: 15.5px; line-height: 1.6; color: #333; padding-left: 18px; position: relative; }
.quick li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--ash); }
.quick li .cjk { color: var(--ink); }
.quick .note { margin-top: 14px; }
.code { background: #f3f2ee; border: 1px solid var(--hairline-2); border-radius: 12px; padding: 16px 18px; overflow-x: auto; margin: 12px 0; max-width: 100%; }
.code code { font-family: var(--mono); font-size: 12.5px; line-height: 1.65; color: var(--ink); white-space: pre; }
code { font-family: var(--mono); font-size: .88em; }
.y27-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.y27 { border: 1px solid var(--hairline-2); border-top: 2px solid var(--el, var(--ink)); border-radius: 4px 4px 16px 16px; background: var(--paper); padding: 20px 20px 16px; scroll-margin-top: 90px; }
.y27:target { border-color: var(--ink); }
.y27-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.y27-head .cjk { font-size: 40px; line-height: 1; }
.y27-head h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 21px; color: var(--violet-deep); }
.y27-head h3 a { text-decoration: none; }
.y27 p { font-size: 14.5px; color: #333; line-height: 1.6; }
.y27 .roles { margin-bottom: 10px; }
.y27-links { margin-top: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.y27-links a { color: var(--steel); }
.data tr.quiet-row td { color: var(--ash); }
@media (max-width: 760px) {
  .quick { padding: 18px 16px 14px; margin-top: 28px; }
  .y27-grid { grid-template-columns: 1fr; }
}
.nowrap { white-space: nowrap; }
