:root {
    --body: 1400px;
    --text-body: 900px;
    --ff-h: sans-serif;
    --ff-body: "Hiragino Maru Gothic ProN", sans-serif;
    --mono: monospace;
    --fw-0: 100;
    --fw-1: 300;
    --fw-2: 500;
    --fw-3: 600;
    --fs-0: 0.8rem;
    --fs-1: 1rem;
    --fs-2: 1.2rem;
    --fs-3: 1.4rem;
    --fs-4: 1.6rem;
    --fs-5: 2.0rem;
    --fs-6: 2.4rem;
    --fs-7: 3.0rem;
    --br: 0.25rem;
    --s-0: 0;
    --s-1: 0.25rem;
    --s-2: 0.5rem;
    --s-3: 1rem;
    --s-4: 1.5rem;
    --s-5: 2rem;
    --s-6: 2.5rem;
    --lh-body: 1.5;
    --lh-heading: 1.25;
    --t-hl: #ffcf30;
    --accent-0: #3e67fa;
    --accent-1: #4788ff;
    --tc-accent: #007777;
    --tc-code: #c23a30;
    --tc-0: #000;
    --tc-1: #454546;
    --tc-2: #848484;
    --bg-0: #fff;
    --bg-1: #f4f0ea;
    --bg-2: #eae5d9;
    --b-0: border: 1px solid transparent;;
    --b-1: 1px solid #dedbd4;
    --icon-size: 20px;
    --brand-ff-h: 'Orbitron', sans-serif;
    --brand-t-hl: #84E4EE;
    --brand-tc-accent: #fc65fd;
    --brand-tc-1: #F0ECE7;
    --brand-bg-1: #292929;
    --primary-bg-1: #000834;
    --primary-tc-1: #fffffe;
    --secondary-bg-1: #ac1400;
    --secondary-tc-1: #fffffe;

}

html {
    font-family: var(--ff-body);
    line-sizing: normal;
    line-height: var(--lh-body);
    color: var(--tc-1);
    background-color: var(--bg-1);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
}
body {
  margin:0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
html, body {
    scroll-padding-top: 40px;
}
*, ::before, ::after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.main-content {
    width: var(--body);
    max-width: 100%;
    margin: 0 auto;
    margin-top: 3.4em;
    padding: var(--s-3);
}

/* UTLILITY CLASSES */
.fs-0 {
    font-size: var(--fs-0);
}
.fs-1 {
    font-size: var(--fs-1);
}
.fs-2 {
    font-size: var(--fs-2);
}
.fs-3 {
    font-size: var(--fs-3);
}
.fs-4 {
    font-size: var(--fs-4);
}
.fs-5 {
    font-size: var(--fs-5);
}
.text-center {
    text-align: center;    
}
.m-auto {
    margin: 0 auto;    
}
.m-0 {
    margin: 0;    
}
.mt-3 {
    margin: var(--s-1);    
}
.mw-100 {
    max-width: 100%;    
}
@media only screen and (min-width: 990px) {
  .l-hide {
    display: none !important;
  }
}

@media only screen and (max-width: 989px) {
  .m-down-hide {
    display: none !important;
  }
}
.flex {
    display: flex;
    gap: 1em;    
}
@media screen and (max-width: 700px) {
    .flex {
        flex-direction: column;
    }
}
.fill-current {
    fill: currentcolor;
}
.form {
    background-color: var(--bg-2);
    padding: var(--s-4);
}
.note {
    background-color: var(--brand-bg-1);
    color: var(--brand-t-hl);
    padding: var(--s-3);    
    font-size: var(--fs-0);
}
.feeds::before {
    display: inline-block;
    content:  url("data:image/svg+xml,%3Csvg xmlns:xlink='http://www.w3.org/1999/xlink' width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg' class='fill-current'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 5C4 4.44772 4.44772 4 5 4C13.2843 4 20 10.7157 20 19C20 19.5523 19.5523 20 19 20C18.4477 20 18 19.5523 18 19C18 11.8203 12.1797 6 5 6C4.44772 6 4 5.55228 4 5ZM4 10C4 9.44772 4.44772 9 5 9C10.5228 9 15 13.4772 15 19C15 19.5523 14.5523 20 14 20C13.4477 20 13 19.5523 13 19C13 14.5817 9.41828 11 5 11C4.44772 11 4 10.5523 4 10ZM6.5 20C7.88071 20 9 18.8807 9 17.5C9 16.1193 7.88071 15 6.5 15C5.11929 15 4 16.1193 4 17.5C4 18.8807 5.11929 20 6.5 20Z' fill='%23000000'/%3E%3C/svg%3E");
    width: 24px;
    height: 24px;
    vertical-align: middle;
}
/* UTLILITY CLASSES ENDS */


h1, h2, h3, h4, h4 {
    font-family: var(--ff-h); 
    margin-top: var(--s-6);
}

h1 {
    font-size: var(--fs-5); 
    margin-top: var(--s-5);
    font-weight: var(--fw-1);
}

h2 {
    font-size: var(--fs-4); 
    font-weight: var(--fw-2);
}

h3 {
    font-size: var(--fs-3);  
    font-weight: var(--fw-3);
}

h4 {
    font-size: var(--fs-2);
    font-weight: var(--fw-3);
}

a {
   color: var(--tc-accent);
}

figure {
    padding: var(--s-3);
    margin: var(--s-3);
}

figure figcaption {
    margin-top: var(--s-2);
    text-align: center;
}

.MD figure p {
    margin: 0;    
}

form {
    width: 400px;
    max-width: 100%;
    margin: 0 auto;
}

.cradle input, 
.cradle textarea, 
.cradle select {
    width: 100%;    
    border: var(--b-1);
    margin: 0 0 var(--s-3) 0;
}

input, textarea, select, fieldset {
    max-width: 100%;
}

input, select, textarea {
  width: 400px;
  display: block;
  margin: 0 0 var(--s-3) 0;
  padding: var(--s-2) var(--s-3);
  line-height: 1.42;
}

input {
  width: 100%;
  font-size: var(--fs-0);
  border: var(--b-1);
}
.input-group {
    display: flex;
    gap: var(--s-1);
}

.hidden-label {
    display: none;    
}
.btn, input[type="submit"] {
  display: inline-block;
  padding: 8px 1em;
  margin: 0;
  text-transform: uppercase;
  font-size: var(--fs-0);
  line-height: 1.42;
  letter-spacing: 0.15em;
  font-smooth: auto;
  -moz-osx-font-smoothing: auto;
  -webkit-font-smoothing: subpixel-antialiased;
  text-decoration: none;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 2px;
  user-select: none;
  background-color: var(--primary-bg-1);
  color: var(--primary-tc-1);
}
.btn:visited {
  color: var(--primary-tc-1);  
}
.btn-sm {
    font-size: 0.8em;
    padding: 4px 6px 3px 6px;    
}
.btn-full {
    width; 100%;
    display: block;
}
.brand {
    background-color: var(--brand-bg-1); 
    color: var(--brand-tc-1);
}
.brand-h {
    h1, h2, h3, h4 {
        color: var(--brand-t-hl);
        font-family: var(--brand-ff-h);
        letter-spacing: 0.03em;
        font-weight: 400;
    }
}
.primary {
    background-color: var(--primary-bg-1); 
    color: var(--primary-tc-1);   
}
.secondary {
    background-color: var(--secondary-bg-1); 
    color: var(--secondary-tc-1);   
}
.btn.border,
input[type="submit"].border {
    background-color: transparent;
    color: var(--tc-1);
    border: 1px solid var(--tc-1);
    border-radius: 2px;
    box-shadow: 2px 2px;
}
.btn.border:hover,
input[type="submit"].border:hover {
    box-shadow: none;
}
.btn.border:visited {
  color: var(--tc-1);  
}
.article-body ul.features-list {
    padding: 1.5em 1.5em 1.5em 2em;
    margin-top: var(--s-3);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
    gap: 0.5em 1em;
    background-color: var(--bg-2);
    clear:both;
}
.article-body .features-list li {
    font-size: 1rem;
    list-style-type: none;
    margin-bottom: 1em;
    text-indent: 0 hanging;
}
.data-post {
    border: 1px solid black; 
    border-bottom: 2px solid black; 
    border-right: 2px solid black;
    padding: 1em;
    background: rgba(255,255,255,0.5);
    font-size: 0.8em;   
    font-family: monospace, sans-serif;    
}
.data-post h3 {
    margin:0;
    font-size: 1.2em;   
    font-family: monospace, sans-serif;    
    font-weight: bold;
}
.icon {
  height: 20px;
  width: 20px;
  line-height: 1em;
}
.icon svg {
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
  height: var(--icon-size);
  width: var(--icon-size);
}

.navigation, .navigation ul {
    margin: 0;
    padding: 0;
    list-style: none outside;
    text-indent: 0.25em;
}
.navigation a {
    display: inline-block;
    text-decoration: none;   
    font-size: 0.9em;
    line-height: 1.3;
    padding: var(--s-1);
}

#modal-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  visibility: hidden;
  top: 0;
  left: 0;
  z-index: 99999998;
  opacity: 0;
  cursor: pointer;
  transition: all 450ms cubic-bezier(0.57, 0.06, 0.05, 0.95);
  background-color: #333;
}
.modal--visible #modal-overlay {
  visibility: visible;
  transition: all 650ms cubic-bezier(0.57, 0.06, 0.05, 0.95);
  opacity: 0.5;
}

/* RTE styles */
[data-block="layout"] {
    display: flex;
    flex-direction: row;
    gap: 1em;
    margin-top: 1em;
    margin-bottom: 1em; 
}
@media (max-width: 640px) {
    [data-block=layout] {
       flex-direction: column;
    }
}
[data-block="layout"] {
    grow: 0;
    overflow: scrollable;
    }

.wrap-center {
  text-align: center;
}
.wrap-center img {
  margin-left: auto;
  margin-right: auto;
}
.wrap-center figcaption {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.float-left {
  float: left;
  margin-right: 1em;
  margin-bottom: 1em;
  max-width: 200px;
}
.float-right {
  float: right;
  margin-left: 1em;
  margin-bottom: 1em;
  max-width: 200px;
}

@media (min-width: 641px) {
    .outset-both {
      position: relative;
      width: calc(100% + var(--rte-outset-md) + var(--rte-outset-md));
      transform: translateX(-50%) translate3d(0, 0, 0);
      left: 50%;
      max-width: 96vw;
    }
}
@media (min-width: 1100px) {
    .outset-right {
      position: relative;
      width: calc(100% + var(--rte-outset-md));
      transform: translateX(var(--rte-outset-md)) translate3d(0, 0, 0);
      left: calc(var(--rte-outset-md) * -1);
    }
    .outset-left {
      width: calc(100% + var(--rte-outset-md));
      transform: translateX(calc(var(--rte-outset-md) * -1)) translate3d(0, 0, 0);
    }
}
.embed-responsive {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.embed-responsive::after {
  display: block;
  content: "";
  padding-top: 56.25%;
}
.embed-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* RTE styles END */
.plate-layout [data-block="column"] {
    background-color: var(--bg-2);
    padding: var(--s-3);
}
.plate-layout [data-block="column"] h3:first-child {
    margin-top: var(--s-1);
}
/* PAGE */
.page {
    width: 900px;    
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: var(--s-5);
}
/* PAGE ENDS */
/* CONTACT PAGE */
#contact-form {
    background-color: var(--bg-2);
    padding: var(--s-4);
    margin: var(--s-6);    
}
/* CONTACT PAGE ENDS*/
/* BLOG */
.blog .nav-topic {
    padding: var(--s-3) 0;
}
/* BLOG ENDS */
/* CHANGELOG */
.changelog {
    display: grid;
    grid-template-columns: minmax(min-content, 300px) minmax(200px, 1fr);
    gap: var(--s-4);
    padding: 0 var(--s-3);
}
@media (max-width: 950px) {
    .changelog {
        display: flex;
        flex-direction: column;
    }
}
.changelog .posts {
    margin-top: var(--s-5);
}
.changelog article {
    margin-bottom: var(--s-3);
    background-color: var(--bg-2);
    padding: var(--s-5);
    font-family: monospace;
}
.changelog article h2 {
    margin-top: 0;
    font-family: monospace;
}
.changelog ul {
    padding-left: 0;
    list-style-type: none;    
}
.changelog ul li {
    margin-bottom: var(--s-2);
}
/* CHANGELOG ENDS */
/* ARTICLE */
.article {
    width: var(--body);    
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: var(--s-5);
    justify-content: space-evenly;
}
.article article {
    width: var(--text-body);
    max-width: 100%;
}

/* ARTICLE PROMO BOX */
.promo {
    padding: 1em;   
    text-align: center;
    min-width: 250px;
    max-width: 100%;
    p {
        text-align: center;
        }
    .shiny-cta {
        font-size: 1rem;
        padding: 1rem;
        display:block;
        text-align: center;
        max-width: 160px;
        margin: 0 auto;
    }
}

/* ARTICLE PROMO BOX ENDS */

.post-list {
    padding: 1.5em 1.5em 1.5em 2em;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
    gap: 0.2em 1em;
    background-color: var(--bg-2); 
    li {
        font-size: 1rem;
        list-style-type: none;
        margin-bottom: 1em;
    }
}
.post-list a {
    text-decoration: none;    
}
.related-articles {
    padding: var(--s-4);
    border-image: conic-gradient(var(--bg-2) 0 0) fill 0/ / 0 50vw;
    }
.articles-container {
    display: grid;
    margin:0 auto;
    margin-bottom: var(--s-3);
    width: 100%;
    max-width: 1500px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 23rem), 1fr));
    grid-auto-rows: 180px;
    gap: var(--s-4);
}
.article-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--s-3);
    border-radius: var(--br);
    max-width: 47rem;
    h3,p {
        margin: 0;
        color: var(--tc-1);
    }
}
.button-row {
    display: flex;
    justify-content: end;
}

/* ARTICLE ENDS */

/* ARTICLE BODY STYLES */
.article-body > * {
    margin-bottom: var(--s-3);
}
.article-body a[href^="http://"]:after,
.article-body a[href^="https://"]:after {
}
.article .article-body > p:first-child,
.article .article-body h2 + p
{
    font-size: var(--fs-3);
    margin-bottom: var(--s-3);
}
.article-body figure img {
    display: block;
    margin: 0 auto; 
    max-width: 100%;
}
.article-body ul {
    list-style: inside;    
}
.article-body ol {
    list-style: inside numeric;    
}
.article-body ul li,
.article-body ol li {
    text-indent: var(--s-4) hanging;     
}
.article-body ul li::marker,
.article-body ol li::marker {
    padding-left: var(--s-3);    
}
.article-body aside, 
.article-body blockquote {
  font-family: var(--mono);
  font-size: var(--fs-0);
  background-color: var(--bg-2);
  padding: var(--s-3);
  border-left: 4px solid #fa700a;
  border-radius: 2px;
}

.article-body blockquote {
  margin: 0;
  margin-bottom: var(--s-3);    
}
.article-body blockquote p {
  margin: 0; 
}
.article-body aside {
    float: right;
    width: 40%;
    border: none;
    padding: 1rem;
    margin: 0.5em;
    margin: 0 0 0.5rem 1rem;
}
.article-body :nth-child(even of aside) {
    float: left;
    margin: 0 1rem 0.5rem 0;
}
.article-body aside p {
    margin: 0;    
}
.article-body aside > * {
    margin-bottom: 0.5em;    
}
.article-body table {
    margin-bottom: var(--s-3);     
}
/* ARTICLE BODY STYLES ENDS*/
/* DOCS STYLING */
.docs-grid {
    display: grid;
    grid-template-columns: 20% 60% 20%;
    max-width: 1800px;
    margin: 0 auto;
}
.active-link {
    font-weight: bold;
}
.table-wrapper {
    overflow-x:auto;
    width: 100%;
    max-width: 900px;
    margin: var(--s-3) auto;
}  

.table-equal {
    table-layout: fixed;
    width: 100%;
    text-align: center;
}

.docs h2 {
    border-top: 1px dotted lightgray;
    padding-top: var(--s-3);
    clear: both;
}
.docs h3,
.docs h4,
.docs blockquote,
.docs hr {
    clear: both;
}
.docs img, 
.docs video {
    max-width: 100%;
    border-radius: 2px;
    height: auto;
    border: var(--b-1);
}
.docs figure {
    border: none;
    margin: 0 0 var(--s-3) 0;
    font-size: var(--fs-0);
    background-color: var(--bg-2);
    padding: var(--s-3);

}
.docs figure:has(pre),
.docs figure:has(table) {
    display: flex;
    flex-direction: column-reverse;
    clear:both;
}
.docs figure:has(pre) figcaption,
.docs figure:has(table) figcaption {
    margin-top: 0;
    text-align: left;
    font-weight: bold;
}
.docs figure pre {
    margin: var(--s-3) 0 0 0;
}
.docs figure:has(video),
.docs figure:has(img) {
    float: right;
    width: 60%;    
}
.docs figure:has(video) {
    transition-property: width;
    transition-duration: 500ms;
}
.docs figure:has(video):focus-within {
  width:100%;
  z-index: 1000;
  max-width: 100vw;
  max-height: 100vh;
}
.docs figure:has(img){
    cursor: zoom-in;
    transition-property: width;
    transition-duration: 500ms;
}
.docs figure:has(img):active{
  width:100%;
  z-index: 1000;
  max-width: 100vw;
  max-height: 100vh;
}
.docs :nth-child(even of figure:has(img,video)) {
    float: left;
    margin: 0 var(--s-3) var(--s-3) 0;
}

.docs [data-block="layout"] figure {
    float: none;
    margin: var(--s-3) auto;
    width: auto;
}

.article-body {
  container: article / inline-size;
}

@container article (width < 600px) {
.docs figure {
    float: none;
    margin: var(--s-3) auto;
    width: auto;
    }
}
    
.docs pre {
    border-radius: 2px;
    background-color: #3b3b3b;
    color: #64f580;
    overflow: auto;
    padding: 0.9em;
    margin: var(--s-2) 0 var(--s-4) 0;
    font-size: 0.8rem;
    position: relative;
    text-wrap: wrap;
    word-break: break-all;
    clear: both;
}

.docs code {
    background-color: #fff8ed;
    color: #469e37;
    border-radius: 3px;
    padding: 1px 5px;
    outline: 1px solid rgba(0,0,0,0.1);
    text-wrap: nowrap;
}

.docs pre code {
    background-color: #3b3b3b;
    color: #64f580;
    padding: 0;
    tab-size: 2;
    outline: none;
    text-wrap: wrap;
}

.docs pre .copy {
  position: absolute;
  right: 0;
  top: 0;
  cursor: pointer;
  outline: 1px solid;
  padding: 0px 2px 0px 2px;
  border-radius: 2px;
  font-size: 0.75em;
}

.docs .language-json,
.docs .language-css,
.docs .language-liquid,
.docs .language-HTML {
    color: var(--brand-tc-1);
}

.hidden {
    display: none;
}

pre:hover .copy {
  display: block;
}
.docs table {
    font-family: var(--mono);
    font-size: 0.7rem;
    min-width: 100%;
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: var(--s-3);
    line-height: var(--lh-body);
    border-collapse: collapse;
}

.docs table thead {
  background-color: rgb(255 255 255 /0.3);
}
.docs table tbody tr:nth-child(even) {
  background-color: rgb(255 255 255 /0.3);
}
.docs table tbody tr:nth-child(odd) {
  background-color: rgb(0 0 0 /0.05);
}

.docs th,
.docs td {
  padding: var(--s-1);
  border: var(--b-1);
  border-collapse: collapse;
}
.docs th,
.docs td:first-child {
  word-break: keep-all;
}

.docs th p,
.docs td p {
    margin: 0;
}

.docs .article-body ul {
    display: grid;    
}

.docs ul ul {
    margin: 0 0 6px 20px;
}
.docs summary > * {
    display: inline;
}

/* DOCS STYLING ENDS */

.chapter-nav, .content-nav {
    font-size: 0.9em;
    line-height: 1.3;
}

.chapter-nav details details,
.content-nav details details{
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}
.chapter-nav summary,
.content-nav summary{
    font-weight: bold;
    margin: -0.5em -0.5em 0;
    margin-bottom: var(--s-2);
    padding: var(--s-2);
    cursor: pointer;    
}
.chapter-nav details li,
.content-nav details li{
    margin-bottom: var(--s-2);
    color: var(--tc-accent);
}

.chapter-nav details li {
    margin-left: var(--s-1);    
}

.chapter-nav li a {
    color: var(--tc-1);    
}

@media only screen and (max-width: 989px) {
    .docs {
        padding: 0;
    }
    .docs.docs-grid {
        margin-right: 0;   
        grid-template-columns: 50% 50%;
        gap: 0;
        border: none;
    }
    .chapter-nav, 
    .content-nav {
        z-index: 10;
    }
    .chapter-nav {
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row-start: 1;
        grid-row-end: 2;
    }
    .content-nav {
        grid-column-start: 2;
        grid-column-end: 3;
        grid-row-start: 1;
        grid-row-end: 2;
    }
    .docs article {
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 2;
        grid-row-end: 3;
    }
    #toc-box, #docs-box {
        padding: 0.5em;   
    }
    #toc-box {
        text-align: right;
    }
    #toc-box[open], #docs-box[open] {
        background-color:#f9f6f0;;
    }
    #toc-box[open]{
        border-left: var(--b-1);
    }
    #docs-box[open]{
        border-right: var(--b-1);
    }
    #toc, #docs {
        position: absolute;
        padding: 1em;
        background-color: #f9f6f0;
        overflow: scroll;
        max-height: 95vh;
        width: 50%;
        border-bottom: var(--b-1);

    }
    #toc {
        right: 0; 
        text-align: left;
        border-left: var(--b-1);
    }
    #docs {
        left: 0;
        border-right: var(--b-1);
    }
    #toc-box summary,
    #docs-box summary.main {
    width: fit-content;
    padding: 0.25em;
    padding-right: 0.5em;
    padding-bottom: 0.1em;
    margin: 0.25em;
    border: var(--b-1);
    border-radius: 4px;
    }
    #toc-box summary {
        float: right;
    }
    #toc-box[open] summary {
        float: none;
    }
    #toc-box summary p,
    #docs-box summary.main p {
        padding-left: 0.25em;
    }
    #toc-box summary::-webkit-details-marker,
    #docs-box summary.main::-webkit-details-marker {
        display: none; 
    }
}

@media only screen and (min-width: 990px) {
    .docs-grid article {
        padding: 0 1em 2em 1em;
        margin-bottom: 0;
    }
    #docs-box {
        height: 90vh;
        overflow-y: scroll;
        position: sticky;
        top: 1em;
        padding: 1em;
    }
    .content-nav {
        padding: 1em;
    }
    #toc-box {
        position: sticky;
        top: 3em;
        overflow-y: scroll;
        height: 90vh;
        overflow-x: clip;
    }
    #toc-box[open] summary, 
    #docs-box[open] summary.main {
        pointer-events: none;
        margin-bottom: 1em;
        list-style: none; 
    }
}

#toc a {
    text-decoration: none;
}
#toc-box summary::marker,
#docs-box summary.main::marker {
    content:"";
    list-style: none; 
}
#toc-box[open] summary::marker,
#docs-box[open] summary.main::marker {
    content:"";
    list-style: none; 
}
#toc-box[open] summary::-webkit-details-marker,
#docs-box[open] summary.main::-webkit-details-marker {
    display: none; 
}
#scrollBtn {
    display: none; 
    position: fixed; 
    bottom: 20px;
    left: 30px; 
    z-index: 99; 
    border: none; 
    outline: none;
    background-color: var(--secondary-bg-1); 
    color: var(--secondary-tc-1);
    cursor: pointer; 
    padding: 10px 20px;
    border-radius: 3px;
}
#myBtn:hover {
    background-color: #555; /* Add a dark-grey background on hover */
}
/* DOCS ENDS */

/*HEADER*/
.headroom {
  will-change: transform;
  transition: transform 200ms linear;
  position: fixed;
  -webkit-backface-visibility: hidden;
  top: 0;
  left: 0;
}
.headroom--pinned {
  transform: translateY(0%);
}
.headroom--unpinned {
  transform: translateY(-100%);
}
.headroom--not-top {
}
.site-header {
  z-index: 100;
  color: var(--primary-tc-1);
  background-color: rgba(0,8,48,0.9);
  width: 100%;
  padding: 0;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.site-header a {
  color: var(--primary-tc-1);   
  text-decoration: none;
  display: inherit;
}

.site-header .heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--body);
    margin: 0 auto;
    padding: var(--s-1) var(--s-3);
}
.site-header .heading .navigation {
    display: inline-block;
    padding-left:1em;
    vertical-align: top;
}
.site-header ul {
    margin:0;
    line-height: 40px;
}
.site-header li a {
  display: inline-block;
  padding: 0;
  padding-top: 0.25em;
}

.site-header .top-logo img {
  max-width: 150px;
}

.site-header li {
  display: inline-block;
  font-weight: 200;
  padding-right: 1em;
}
.site-header a.link-title {
    font-size: 0.9em;
}
.site-header a.link-title:hover {
    text-decoration: underline;
}

/*HEADER ENDS*/

/* MOBILE NAVIGATION */

#navigation {
  position: fixed;
  top: 0;
  right: -300px;
  bottom: 0;
  width: 300px;
  z-index: 99999999;
  transform: translate3d(0px, 0, 0);
  transition: all 350ms cubic-bezier(0.57, 0.06, 0.05, 0.95);
}
#navigation.is-visible {
  transform: translate3d(-300px, 0, 0);
}
#navigation .modal--close {
  position: absolute;
  cursor: pointer;
  right: 1.25em;
  top: 1em;
  font-size: 0.75em;
}
#navigation .navigation-menu {
  padding: var(--s-3);
  padding-top: 0;
  position: absolute;
  top: var(--s-6);
  left: 0;
  right: 0;
  bottom: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
#navigation ul {
  font-size: var(--fs-1);
  list-style: none outside;
  margin: 0;
  padding: 0;
}
#navigation li {
    padding: var(--s-3);    
}
#navigation li:hover,
#navigation li:active,
#navigation li:focus {
  background-color: color-mix(in srgb, var(--primary-bg-1), white 10%);
}
#navigation a {
  color: var(--brand-t-hl);
  text-decoration: none;
}
#navigation a:hover,
#navigation a:active,
#navigation a:focus {
  color: var(--color_text_splash);
}
#navigation .site-nav-footer {
  font-size: var(--fs-0);
  margin: 24px 0;
}

/* MOBILE NAVIGATION ENDS */

/* FOOTER */

footer.main-footer {
  background: url(/assets/noise.svg), var(--primary-bg-1);
  color: var(--primary-tc-1);
}

footer.main-footer .content {
  display: flex;
  gap: 3em;
  padding: 3em 2em 3em 2em;
  max-width: var(--body);
  margin: 0 auto;
  flex-wrap: wrap;
}

footer.main-footer .content .blocks {
  align-items: start;
  justify-content: space-between;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 1rem), 1fr));
  gap: 2em;
  min-width: 12rem;
  flex-grow: 2;
  text-align: center;
}

footer.main-footer h4 {
  color: #fdfdfd;
  font-size: 1.2em;
  margin-top: 0;
  margin-bottom: var(--s-2);
}

footer.main-footer .links a {
  color: #65c7fd;
  text-decoration: none;
  padding: 0.5em 0;
}
.signup {
  max-width: 90%;
  height: fit-content;
  margin: 0 auto;
  margin-bottom: 1em;
  padding: 2em;
  background: linear-gradient(321deg, rgb(233 226 120) 0.00%, rgb(239 174 90) 100.00%);
  box-shadow: 8px 8px darkred;
  color: #343434;
}
.signup h3 {
    text-align: center;
    font-family: var(--brand-ff-h);
    font-weight: var(--fw-1);
    font-size: var(--fs-4);
    margin-top: 0;
}
.signup a {
  color: #343434;    
}
.signup .signup-form {
    width: 450px;
    max-width: 100%;
    margin-top: 1em;
}
@media screen and (max-width: 650px) {
    footer.main-footer .content {
        padding: 2rem 1rem;
    }
    .signup {
        padding: 1em;
        max-width: 100%;
    }
}
.social-links {
    display: flex;
    gap: var(--s-5);
    justify-content: center;
    flex-wrap: wrap;
    margin: var(--s-4) 0;
}
.social-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}
.bg-image {
  width: 100%;
  height: 10em;
  background-image: url(/assets/cradle-stripes.svg);
  background-size: 100% 100%;
  -o-background-size: 100% 100%;
  -webkit-background-size: 100% 100%;
  background-size: cover;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: -8em;
  font-size: var(--fs-0);
  font-family: var(--mono);
}

/* FOOTER ENDS */
/* ARTICLE PROMO BOX */
.promo {
    padding: 1em;   
    text-align: center;
    margin-top: 1rem;
    padding-bottom: 2rem;
}

.promo .shiny-cta {
    font-size: 1rem;
    padding: 1rem;
    display:block;
    text-align: center;
    max-width: 160px;
}

/* ARTICLE PROMO BOX ENDS */
/* CHECKOUT */
@media only screen and (min-width: 1000px) {
#checkout-form {
    max-width: 100%;
    display: grid;
    grid-template-columns: 28% 40% 28%;
    grid-template-areas:". info summary";
    gap: 1rem;
}
#checkout-form .summary {
    grid-area: summary;
    height: fit-content;    
}
#checkout-form .info {
    grid-area: info;
    height: fit-content;    
}
}
/* CHECKOUT ENDS */
/* COOKIE BANNER */

.cookie-banner {
  background-color: var(--primary-bg-1);
  bottom: 0;
  color: var(--primary-tc-1);
  display: none;
  font-size: 16px;
  left: 0;
  position: fixed;
  right: 0;
  z-index: 9999;
}  

.cookie-banner .cookie-container {
    display: flex;
    justify-content: space-between;
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    width: 100%;
}

.cookie-banner a {
    color: var(--color_link_utility);
}

.cookie-banner .cookie-message-close {
    margin-left: 30px;
  }
  
.cookie-banner .close-cookie-consent {
    background-color: var(--secondary-bg-1);
    border-radius: 3px;
    color: #fff;
    display: block;
    padding: 6px 30px;
    text-decoration: none;
  }
  
  @media screen and (max-width: 650px) {
    .cookie-banner .cookie-container {
        flex-wrap: wrap;
    }
    
    .cookie-banner .cookie-message-close {
        margin-left: 0;
        margin-top: 30px;
    }
}

/* COOKIE BANNER ENDS */

/* shiny CTA */
:root {
  --shiny-cta-bg: #000000;
  --shiny-cta-bg-subtle: #1a1818;
  --shiny-cta-fg: #ffffff;
  --shiny-cta-highlight: magenta;
  --shiny-cta-highlight-subtle: #8484ff;
}

@property --gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@property --gradient-angle-offset {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@property --gradient-percent {
  syntax: "<percentage>";
  initial-value: 5%;
  inherits: false;
}

@property --gradient-shine {
  syntax: "<color>";
  initial-value: white;
  inherits: false;
}

.shiny-cta:hover {
    color: #ffffff;
}

.shiny-cta {
  --animation: gradient-angle linear infinite;
  --duration: 3s;
  --shadow-size: 2px;
  isolation: isolate;
  margin: 1em;
  display: inline-block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  outline-offset: 4px;
  padding: 1.25rem 2.5rem;
  font-family: inherit;
  font-size: 1.125rem;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: 1px;
  color: var(--shiny-cta-fg);
  background: linear-gradient(var(--shiny-cta-bg), var(--shiny-cta-bg))
      padding-box,
    conic-gradient(
        from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
        transparent,
        var(--shiny-cta-highlight) var(--gradient-percent),
        var(--gradient-shine) calc(var(--gradient-percent) * 2),
        var(--shiny-cta-highlight) calc(var(--gradient-percent) * 3),
        transparent calc(var(--gradient-percent) * 4)
      )
      border-box;
  box-shadow: inset 0 0 0 1px var(--shiny-cta-bg-subtle);

  &::before,
  &::after,
  span::before {
    content: "";
    pointer-events: none;
    position: absolute;
    inset-inline-start: 50%;
    inset-block-start: 50%;
    translate: -50% -50%;
    z-index: -1;
  }

  &:active {
    translate: 0 1px;
  }
}

/* Dots pattern */
.shiny-cta::before {
  --size: calc(100% - var(--shadow-size) * 3);
  --position: 2px;
  --space: calc(var(--position) * 2);
  width: var(--size);
  height: var(--size);
  background: radial-gradient(
      circle at var(--position) var(--position),
      white calc(var(--position) / 4),
      transparent 0
    )
    padding-box;
  background-size: var(--space) var(--space);
  background-repeat: space;
  mask-image: conic-gradient(
    from calc(var(--gradient-angle) + 45deg),
    black,
    transparent 10% 90%,
    black
  );
  border-radius: inherit;
  opacity: 0.4;
  z-index: -1;
}

/* Inner shimmer */
.shiny-cta::after {
  --animation: shimmer linear infinite;
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(
    -50deg,
    transparent,
    var(--shiny-cta-highlight),
    transparent
  );
  mask-image: radial-gradient(circle at bottom, transparent 40%, black);
  opacity: 0.6;
}

.shiny-cta span {
  z-index: 1;

  &::before {
    --size: calc(100% + 1rem);
    width: var(--size);
    height: var(--size);
    box-shadow: inset 0 -1ex 2rem 4px var(--shiny-cta-highlight);
    opacity: 0;
  }
}

/* Animate */
.shiny-cta {
  --transition: 800ms cubic-bezier(0.25, 1, 0.5, 1);
  transition: var(--transition);
  transition-property: --gradient-angle-offset, --gradient-percent,
    --gradient-shine;

  &,
  &::before,
  &::after {
    animation: var(--animation) var(--duration),
      var(--animation) calc(var(--duration) / 0.4) reverse paused;
    animation-composition: add;
  }

  span::before {
    transition: opacity var(--transition);
    animation: calc(var(--duration) * 1.5) breathe linear infinite;
  }
}

.shiny-cta:is(:hover, :focus-visible) {
  --gradient-percent: 20%;
  --gradient-angle-offset: 95deg;
  --gradient-shine: var(--shiny-cta-highlight-subtle);

  &,
  &::before,
  &::after {
    animation-play-state: running;
  }

  span::before {
    opacity: 1;
  }
}

@keyframes gradient-angle {
  to {
    --gradient-angle: 360deg;
  }
}

@keyframes shimmer {
  to {
    rotate: 360deg;
  }
}

@keyframes breathe {
  from,
  to {
    scale: 1;
  }
  50% {
    scale: 1.2;
  }
}

/* shiny CTA ends */