/* Waysystem — reference-first "golden child" wiki article. */
body.waysystem-wiki-page{
  --ways-purple:#c9a5ef;
  --ways-purple-soft:#8e75b5;
  --ways-gold:#d6bb70;
  --ways-line:rgba(137,190,214,.18);
  --ways-panel:rgba(7,22,31,.68);
}

/* This page deliberately behaves like documentation, not a landing page. */
body.waysystem-wiki-page .wiki-docs-wrap.no-toc{
  grid-template-columns:190px minmax(0,940px);
}
body.waysystem-wiki-page .waysystem-article{
  max-width:940px;
}

body.waysystem-wiki-page .waysystem-titlebar{
  margin:0 0 24px;
  padding:8px 0 20px;
  border-bottom:1px solid rgba(199,168,90,.58);
}
body.waysystem-wiki-page .waysystem-titlebar .wiki-kicker{
  margin:0 0 5px;
  color:#78c9e7;
  font-size:.65rem;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}
body.waysystem-wiki-page .waysystem-titlebar h1{
  margin:0;
  color:#f5f6f1;
  font-family:var(--serif);
  font-size:clamp(2.8rem,6vw,4.4rem);
  font-weight:700;
  line-height:.98;
  letter-spacing:-.035em;
}
body.waysystem-wiki-page .waysystem-lede{
  max-width:790px;
  margin:11px 0 0;
  color:#aebfc6;
  font-size:1rem;
  line-height:1.6;
}

/* Article headings and rhythm. */
body.waysystem-wiki-page .waysystem-article>section{
  margin-bottom:38px;
}
body.waysystem-wiki-page .waysystem-article>section+section{
  margin-top:0;
  padding-top:28px;
}
body.waysystem-wiki-page .waysystem-article>section>h2{
  margin-bottom:15px;
  padding-bottom:8px;
  font-size:1.65rem;
}
body.waysystem-wiki-page .waysystem-article h3{
  margin:25px 0 10px;
  padding-bottom:5px;
  border-bottom:1px solid rgba(137,190,214,.12);
  font-family:var(--serif);
  font-size:1.14rem;
}

body.waysystem-wiki-page code{
  padding:.11rem .36rem;
  border:1px solid rgba(137,190,214,.16);
  border-radius:2px;
  background:#06141d;
  color:#b7deed;
  font-size:.88em;
}

/* How-to section. */
body.waysystem-wiki-page .waysystem-use-grid{
  display:grid;
  grid-template-columns:minmax(250px,.72fr) minmax(0,1.28fr);
  gap:24px;
  align-items:start;
  margin:17px 0 18px;
}
body.waysystem-wiki-page .waysystem-steps ol{
  counter-reset:ways-step;
  margin:0;
  padding:0;
  list-style:none;
  border-top:1px solid var(--ways-line);
}
body.waysystem-wiki-page .waysystem-steps li{
  counter-increment:ways-step;
  display:grid;
  grid-template-columns:31px minmax(0,1fr);
  gap:11px;
  margin:0;
  padding:11px 0;
  border-bottom:1px solid var(--ways-line);
}
body.waysystem-wiki-page .waysystem-steps li:before{
  content:counter(ways-step);
  display:grid;
  place-items:center;
  width:24px;
  height:24px;
  margin-top:1px;
  border:1px solid rgba(201,165,239,.45);
  color:#d4b6f0;
  font-size:.68rem;
  font-weight:900;
}
body.waysystem-wiki-page .waysystem-steps strong{
  display:block;
  margin-bottom:2px;
  color:#edf2f1;
  font-size:.86rem;
}
body.waysystem-wiki-page .waysystem-steps span{
  display:block;
  color:#93a9b2;
  font-size:.78rem;
  line-height:1.46;
}
body.waysystem-wiki-page .waysystem-gui-figure{
  margin:0;
  border:1px solid rgba(137,190,214,.20);
  background:#041018;
}
body.waysystem-wiki-page .waysystem-gui-figure img{
  display:block;
  width:100%;
  height:auto;
  border:0;
}
body.waysystem-wiki-page .waysystem-gui-figure figcaption{
  padding:7px 10px;
  border-top:1px solid rgba(137,190,214,.13);
  color:#7d949e!important;
  font-size:.69rem!important;
}
body.waysystem-wiki-page .waysystem-callout{
  margin-top:18px;
  padding:12px 14px;
  font-size:.86rem;
}
body.waysystem-wiki-page .waysystem-callout>strong:first-child{
  display:inline;
  margin:0;
}

/* Pricing reference. */
body.waysystem-wiki-page .waysystem-reference-table{
  margin:16px 0 20px;
}
body.waysystem-wiki-page .waysystem-reference-table .wiki-data-table th{
  text-align:left;
}
body.waysystem-wiki-page .waysystem-reference-table .wiki-data-table td:nth-child(2){
  white-space:nowrap;
}
body.waysystem-wiki-page .waysystem-formula-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin:18px 0;
}
body.waysystem-wiki-page .waysystem-formula{
  padding:13px 15px 14px;
  border-left:2px solid rgba(201,165,239,.55);
  background:rgba(201,165,239,.045);
}
body.waysystem-wiki-page .waysystem-formula-label{
  display:block;
  margin-bottom:4px;
  color:#a98dcb;
  font-size:.62rem;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
}
body.waysystem-wiki-page .waysystem-formula p{
  margin:0 0 3px;
  color:#e9eeee;
  font-size:.91rem;
}
body.waysystem-wiki-page .waysystem-formula small{
  color:#839ba5;
  font-size:.73rem;
  line-height:1.45;
}
body.waysystem-wiki-page .waysystem-example{
  display:grid;
  grid-template-columns:78px minmax(0,1fr);
  gap:13px;
  margin:18px 0 8px;
  padding:11px 13px;
  border:1px solid rgba(199,168,90,.24);
  background:rgba(199,168,90,.04);
}
body.waysystem-wiki-page .waysystem-example>strong{
  color:var(--ways-gold);
  font-size:.66rem;
  letter-spacing:.09em;
  text-transform:uppercase;
}
body.waysystem-wiki-page .waysystem-example p{margin:0;font-size:.84rem}

/* Destination reference. */
body.waysystem-wiki-page .waysystem-destination-columns{
  display:grid;
  grid-template-columns:1.25fr .75fr;
  gap:22px;
  align-items:start;
}
body.waysystem-wiki-page .waysystem-destination-columns h3{
  margin-top:6px;
}
body.waysystem-wiki-page .waysystem-small-note{
  margin-top:-8px;
  padding:10px 12px;
  border-left:2px solid rgba(201,165,239,.48);
  background:rgba(201,165,239,.04);
  color:#94aab3;
  font-size:.76rem;
  line-height:1.5;
}
body.waysystem-wiki-page .waysystem-small-note strong{color:#d9c7eb}

/* Journey sequence. */
body.waysystem-wiki-page .waysystem-timeline{
  margin:18px 0 15px;
  border-top:1px solid var(--ways-line);
}
body.waysystem-wiki-page .waysystem-timeline>div{
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  gap:14px;
  padding:12px 0;
  border-bottom:1px solid var(--ways-line);
}
body.waysystem-wiki-page .waysystem-timeline>div>span{
  padding-top:2px;
  color:#8d75b1;
  font-size:.66rem;
  font-weight:900;
  letter-spacing:.08em;
}
body.waysystem-wiki-page .waysystem-timeline strong{
  display:block;
  margin-bottom:1px;
  color:#ebf0ef;
  font-size:.88rem;
}
body.waysystem-wiki-page .waysystem-timeline p{
  margin:0;
  color:#94a9b2;
  font-size:.82rem;
}
body.waysystem-wiki-page .waysystem-flavour{
  margin:18px 0 0;
  padding:10px 15px;
  border-left:2px solid rgba(201,165,239,.55);
  background:rgba(201,165,239,.035);
  color:#baaac9;
  font-family:var(--serif);
  font-size:.88rem;
  font-style:italic;
}

/* Related reference pages. */
body.waysystem-wiki-page .waysystem-see-also>h2:before{display:none!important}
body.waysystem-wiki-page .waysystem-see-also-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
body.waysystem-wiki-page .waysystem-see-also-grid a{
  min-height:94px;
  padding:13px 14px;
  border:1px solid rgba(137,190,214,.18);
  background:rgba(7,22,31,.48);
}
body.waysystem-wiki-page .waysystem-see-also-grid a:hover{
  border-color:rgba(137,190,214,.35);
  background:rgba(36,73,91,.16);
}
body.waysystem-wiki-page .waysystem-see-also-grid span{
  display:block;
  margin-bottom:3px;
  color:#6e8d9b;
  font-size:.59rem;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
}
body.waysystem-wiki-page .waysystem-see-also-grid strong{
  display:block;
  color:#e6edef;
  font-family:var(--serif);
  font-size:.98rem;
}
body.waysystem-wiki-page .waysystem-see-also-grid small{
  display:block;
  margin-top:4px;
  color:#8399a3;
  font-size:.72rem;
  line-height:1.42;
}

@media(max-width:900px){
  body.waysystem-wiki-page .waysystem-use-grid{grid-template-columns:1fr}
  body.waysystem-wiki-page .waysystem-destination-columns{grid-template-columns:1fr}
}
@media(max-width:640px){
  body.waysystem-wiki-page .waysystem-formula-grid{grid-template-columns:1fr}
  body.waysystem-wiki-page .waysystem-see-also-grid{grid-template-columns:1fr}
  body.waysystem-wiki-page .waysystem-example{grid-template-columns:1fr;gap:4px}
}
