/* cybee v3 · css/materials.css · the home page's materials on every other page.
   Owner, 20 Nov 2026: "use the beautiful styles that you have generated for the landing page and apply this also to all the other
   pages so we enhance the whole experience so the whole website doesnt feel so dull".
   Linked on every built page right after components.css (CSS_CORE in tools/build_site.py), so a page.css still has the last word.
   What it takes from the home (sections/s2m-moments.css, s3-pillars.css, s3b-ai.css, s4-compare.css):
   - tiles instead of the hairline grid: #F2F2F2, radius 14, 16 apart, on white; white with a 1px ring on a tinted ground
   - numbers in a filled square of the pillar hue (the home's .mom-ic), not a bare blue numeral
   - plates, tables, callouts, stats and the two-answer block sit in the same rounded wells
   Reading surfaces (legal, the docs prose column) keep their square, quiet look: nothing here targets .cy-prose text. */

:root{--m-well:#F2F2F2;--m-well-hover:#EAEAEC;--m-line:rgba(22,23,26,.10);--m-r:14px;--m-r-sm:10px;--m-gap:16px;--m-ring:0 0 0 0 transparent}
.cy-ground--frost,.cy-ground--iris,.cy-ground--signal,.cy-plate{--m-well:#FFFFFF;--m-well-hover:#FAFAFB;--m-ring:0 0 0 1px var(--m-line)}
.cy-ground--paper{--m-well:#F2F2F2;--m-well-hover:#EAEAEC;--m-ring:0 0 0 0 transparent}

/* ------------------------------------------------------------------ cells → tiles */
.cy-cells{gap:var(--m-gap);border:0}
.cy-cells>*,.cy-ground--frost .cy-cells>*{border:0;border-radius:var(--m-r);background:var(--m-well);box-shadow:var(--m-ring)}
.cy-cells .cy-cell__label{color:var(--s-ink-2)}
.cy-cell--link{transition:background-color 180ms var(--ease-out),box-shadow 180ms var(--ease-out)}
.cy-cell--link:has(a.cy-cell__cover:focus-visible){outline-offset:2px;border-radius:var(--m-r)}
@media (any-hover:hover){.cy-cells>.cy-cell--link:hover{background:var(--m-well-hover)}}
.cy-night .cy-cells>*{background:rgba(255,255,255,.06);box-shadow:none}

/* ------------------------------------------------------------------ related pages and blog posts → tiles */
.cy-related,.cy-posts{gap:var(--m-gap);border:0}
.cy-related__item,.cy-related__item:hover,.cy-ground--frost .cy-related__item{border:0;border-radius:var(--m-r);background:var(--m-well);box-shadow:var(--m-ring)}
.cy-related__k{display:inline-flex;align-items:center;gap:8px;color:var(--s-ink-2)}
.cy-related__k::before{content:"";flex:none;width:6px;height:6px;background:var(--cy-hue,#2757C9)}
.cy-related__item .cy-link__arrow{color:#2757C9}
@media (any-hover:hover){.cy-related__item:hover,.cy-ground--frost .cy-related__item:hover{background:var(--m-well-hover)}}
.cy-related__item:focus-visible{outline-offset:2px}

.cy-post,.cy-post:hover,.cy-ground--frost .cy-post{border:0;border-radius:var(--m-r);overflow:hidden;background:var(--m-well);box-shadow:var(--m-ring);
  transition:background-color 180ms var(--ease-out)}
.cy-post:focus-visible{outline-offset:2px}
@media (any-hover:hover){.cy-post:hover{background:var(--m-well-hover)}}

/* ------------------------------------------------------------------ callouts, plates, plans */
.cy-callout{border-radius:var(--m-r);background:var(--m-well);box-shadow:var(--m-ring)}
.cy-callout--frost{background:var(--m-well);box-shadow:var(--m-ring)}
.cy-callout--paid{background:var(--s-tint-iris);box-shadow:none}
.cy-ground--iris .cy-callout--paid{background:#FFFFFF}
.cy-callout--decide{box-shadow:inset 3px 0 0 #FF6B2B,var(--m-ring)}
.cy-plate{border-radius:var(--m-r);box-shadow:var(--m-ring)}
.cy-ground--paper .cy-plate{background:#F2F2F2;box-shadow:none}
.cy-plans{border-radius:var(--m-r);overflow:hidden}

/* ------------------------------------------------------------------ steps: the number in a filled square (the home's .mom-ic) */
.cy-step{grid-template-columns:44px minmax(0,1fr);align-items:start}
.cy-step__n{display:grid;place-items:center;width:28px;height:28px;margin-top:-1px;border-radius:8px;background:var(--cy-hue,#2757C9);color:#FFFFFF;
  font-size:13px;font-weight:500;line-height:1;font-feature-settings:"tnum"}
.cy-night .cy-step__n{background:#85A7FF;color:#0A0A0B}

/* ------------------------------------------------------------------ stats and the two-answer block → tiles */
.cy-stats{gap:var(--m-gap);border:0}
.cy-stat,.cy-stat+.cy-stat{padding:28px;border:0;border-radius:var(--m-r);background:var(--m-well);box-shadow:var(--m-ring)}
.cy-night .cy-stat,.cy-night .cy-stat+.cy-stat{background:rgba(255,255,255,.06);box-shadow:none}
@media (max-width:899px){.cy-stat,.cy-stat+.cy-stat{padding:24px;border:0}}

.cy-versus{border-top:0}
.cy-versus__ask{padding-top:0}
.cy-versus__cols{gap:var(--m-gap);border:0}
.cy-versus__col,.cy-versus__col+.cy-versus__col{padding:28px;border:0;border-radius:var(--m-r);background:var(--m-well);box-shadow:var(--m-ring)}
.cy-versus__col:not(.cy-versus__col--before){box-shadow:inset 0 3px 0 #2757C9,var(--m-ring)}
@media (max-width:767px){.cy-versus__col,.cy-versus__col+.cy-versus__col{padding:24px;border:0}}

/* ------------------------------------------------------------------ tables outside the docs prose sit in a well (the home's compare) */
.cy-section .cy-tablewrap:not(.cy-prose .cy-tablewrap){padding:12px 24px 4px;border-radius:var(--m-r);background:var(--m-well);box-shadow:var(--m-ring)}
.cy-section .cy-tablewrap:not(.cy-prose .cy-tablewrap) .cy-table tbody tr:last-child>*{border-bottom:0}
@media (max-width:767px){.cy-section .cy-tablewrap:not(.cy-prose .cy-tablewrap){padding:8px 16px 0}}

/* ------------------------------------------------------------------ "where to go next": the related row sits on the pale Signal ground,
   the one Signal band of a page (SYSTEM-v3 §3.1 keeps Signal rare); its tiles turn white */
.cy-section:has(>.cy-wrap>.cy-related):not(:has(.pg-docs-grid)){background:var(--s-tint-signal);--m-well:#FFFFFF;--m-well-hover:#F7F9FF;--m-ring:0 0 0 1px rgba(39,87,201,.12)}
