.guide{
  color:#14110F;
}

.guide-hero{
  display:block;
  padding-block:var(--space-5);
  background:#FFFFFF;
  color:#14110F;
}

.guide-hero .container{
  text-align:center;
}

.guide-hero h1{
  max-width:20ch;
  margin-inline:auto;
  font-size:clamp(2.5rem,4vw,3.5rem);
  line-height:1.18;
}

.guide-hero__lead{
  max-width:47rem;
  margin:var(--space-2) auto 0;
  color:#59534E;
}

.guide-actions{
  display:flex;
  flex-wrap:wrap;
  gap:var(--space-2);
  justify-content:flex-start;
  margin-top:var(--space-3);
}

.guide-hero .guide-actions{
  justify-content:center;
  margin-top:var(--space-3);
}

.guide-hero__note{
  margin-top:var(--space-3);
  color:#59534E;
  font-size:var(--text-sm);
}

.guide-hero__note a{
  color:#14110F;
  text-decoration:underline;
  text-decoration-color:#AFA9A2;
  text-underline-offset:.2em;
}

.guide-route{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:var(--space-2);
  max-width:48rem;
  margin:var(--space-4) auto 0;
  text-align:left;
}

.guide-route span{
  min-width:0;
  padding:var(--space-2);
  border-radius:var(--radius-sm);
  background:#E4F3EC;
  color:#173D2E;
  font-size:var(--text-sm);
  overflow-wrap:break-word;
}

.guide-route span:nth-child(2){
  background:#ECEAFA;
  color:#2E2860;
}

.guide-route span:nth-child(3){
  background:#FAF3D6;
  color:#4A3B08;
}

.guide-route span:nth-child(4){
  background:#E1F0F6;
  color:#123746;
}

.guide-section{
  padding-block:var(--space-5);
}

.guide-section--mint{
  background:#E4F3EC;
  color:#173D2E;
}

.guide-section--lav{
  background:#ECEAFA;
  color:#2E2860;
}

.guide-section--butter{
  background:#FAF3D6;
  color:#4A3B08;
}

.guide-section .c-section-head{
  max-width:48rem;
  margin-bottom:var(--space-4);
}

.guide-section .c-section-head h2{
  font-size:var(--text-section);
}

.guide-section .c-section-head p{
  margin-top:var(--space-2);
  color:inherit;
}

.guide-start-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.guide-step{
  display:flex;
  flex-direction:column;
  height:100%;
  min-width:0;
  padding:var(--space-4);
}

.guide-step__number{
  display:block;
  margin-bottom:var(--space-2);
  font-size:var(--text-sm);
}

.guide-step h3,
.guide-migration__card h3,
.guide-more h3{
  font-size:var(--text-card);
}

.guide-step h3+p,
.guide-migration__card h3+p,
.guide-more h3+p{
  margin-top:var(--space-2);
}

.guide-step__check{
  margin-top:auto;
  padding-top:var(--space-3);
  font-size:var(--text-sm);
}

.guide-migration{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.guide-migration__card{
  display:flex;
  flex-direction:column;
  height:100%;
  min-width:0;
  padding:var(--space-4);
  background:#FFFFFF;
  color:#14110F;
}

.guide-migration__head{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:var(--space-1);
  margin-bottom:var(--space-3);
}

.guide-migration__index{
  color:#3D3935;
  font-size:var(--text-sm);
}

.guide-checks{
  display:grid;
  gap:var(--space-1);
  margin-top:var(--space-3);
  padding-left:1.25rem;
}

.guide-checks li{
  padding-left:.2rem;
  overflow-wrap:break-word;
}

.guide-migration__time{
  margin-top:auto;
  padding-top:var(--space-3);
  color:#3D3935;
  font-size:var(--text-sm);
  overflow-wrap:break-word;
}

.guide-section__foot{
  margin-top:var(--space-3);
  color:#173D2E;
  font-size:var(--text-sm);
}

.guide-terminal{
  overflow:hidden;
  border-radius:var(--radius-lg);
  background:#14110F;
  color:#FFFFFF;
}

.guide-terminal__bar{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:var(--space-2);
  padding:var(--space-2) var(--space-3);
  background:#3D3935;
  color:#FFFFFF;
  font-family:var(--font-mono);
  font-size:var(--text-sm);
}

.guide-terminal__dots{
  display:flex;
  gap:.35rem;
  flex:none;
}

.guide-terminal__dots span{
  width:.65rem;
  height:.65rem;
  border-radius:50%;
  background:#FF9E7A;
}

.guide-terminal__dots span:nth-child(2){
  background:#FAF3D6;
}

.guide-terminal__dots span:nth-child(3){
  background:#E4F3EC;
}

.guide-terminal__tag{
  margin-left:auto;
  font-family:var(--font-body);
}

.guide-terminal__body{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:var(--space-3);
  padding:var(--space-3);
}

.guide-terminal__entry{
  min-width:0;
  padding:var(--space-3);
  border-radius:var(--radius-md);
  background:#2E2926;
  color:#FFFFFF;
}

.guide-terminal__entry p{
  margin-bottom:var(--space-2);
  color:#FFFFFF;
  font-size:var(--text-sm);
}

.guide-terminal__entry pre{
  overflow-x:auto;
  max-width:100%;
  color:#FFFFFF;
}

.guide-terminal__entry code{
  color:#FFFFFF;
  overflow-wrap:normal;
}

.guide-terminal__entry>span{
  display:block;
  margin-top:var(--space-2);
  color:#FFFFFF;
  font-size:var(--text-sm);
  line-height:1.6;
}

.guide-pair{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:var(--space-4);
  align-items:start;
}

.guide-pair>*{
  min-width:0;
}

.guide-pair__copy h2{
  font-size:var(--text-section);
}

.guide-pair__copy h2+p{
  margin-top:var(--space-2);
}

.guide-pair__copy p+p{
  margin-top:var(--space-2);
}

.guide-settings{
  overflow:hidden;
  border-radius:var(--radius-lg);
  background:#FFFFFF;
  color:#14110F;
}

.guide-settings__top{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:var(--space-1);
  padding:var(--space-3);
  background:#E1F0F6;
  color:#123746;
  font-size:var(--text-sm);
}

.guide-settings dl{
  padding-inline:var(--space-3);
}

.guide-settings dl>div{
  display:grid;
  grid-template-columns:minmax(7rem,10rem) minmax(0,1fr);
  gap:var(--space-2);
  padding-block:var(--space-2);
  border-bottom:1px solid #ECEAE7;
}

.guide-settings dl>div:last-child{
  border-bottom:0;
}

.guide-settings dt,
.guide-settings dd{
  min-width:0;
  overflow-wrap:break-word;
}

.guide-settings dt{
  font-weight:600;
}

.guide-security{
  list-style:none;
  padding:0;
  margin:0;
}

.guide-security__row{
  display:grid;
  grid-template-columns:2.5rem minmax(7.5rem,11rem) minmax(0,1fr);
  gap:var(--space-3);
  align-items:start;
  padding:var(--space-3);
  border-top:1px solid #ECEAE7;
}

.guide-security__row:last-child{
  border-bottom:1px solid #ECEAE7;
}

.guide-security__row>*{
  min-width:0;
  overflow-wrap:break-word;
}

.guide-security__number{
  color:#3D3935;
}

.guide-security__row strong{
  font-weight:600;
}

.guide-exit{
  min-width:0;
  padding:var(--space-4);
  border-radius:var(--radius-lg);
  background:#FFFFFF;
  color:#14110F;
}

.guide-exit h3{
  font-size:var(--text-card);
}

.guide-more{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.guide-more>.c-card{
  display:flex;
  flex-direction:column;
  height:100%;
  min-width:0;
  padding:var(--space-4);
}

.guide-more__label{
  display:block;
  margin-bottom:var(--space-2);
  font-size:var(--text-sm);
}

.guide-more .guide-actions{
  margin-top:auto;
  padding-top:var(--space-3);
}

.guide-close-section{
  padding-block:var(--space-5);
}

.guide-closing{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(12rem,17rem);
  gap:var(--space-4);
  align-items:center;
  padding:var(--space-4);
  border-radius:var(--radius-lg);
  background:#14110F;
  color:#FFFFFF;
}

.guide-closing>*{
  min-width:0;
}

.guide-closing__label{
  display:block;
  margin-bottom:var(--space-2);
  color:#FFFFFF;
  font-size:var(--text-sm);
}

.guide-closing h2{
  font-size:var(--text-section);
  color:#FFFFFF;
}

.guide-closing p{
  margin-top:var(--space-2);
  color:#FFFFFF;
}

.guide-closing__actions{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:var(--space-2);
}

.guide-closing__primary{
  background:#FFFFFF;
  color:#14110F;
  border-color:#FFFFFF;
}

.guide-closing__secondary{
  background:#14110F;
  color:#FFFFFF;
  border-color:color-mix(in srgb,currentColor 45%,transparent);
}

.guide-closing__primary:hover{
  background:#E4F3EC;
  color:#173D2E;
}

.guide-closing__secondary:hover{
  background:#3D3935;
  color:#FFFFFF;
}

@media(max-width:64rem){
  .guide-start-grid,
  .guide-migration,
  .guide-more{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .guide-terminal__body{
    grid-template-columns:minmax(0,1fr);
  }
}

@media(max-width:42rem){
  .guide-hero{
    padding-block:var(--space-4);
  }

  .guide-hero h1{
    font-size:clamp(2.25rem,9vw,3rem);
  }

  .guide-route{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .guide-section{
    padding-block:var(--space-4);
  }

  .guide-start-grid,
  .guide-migration,
  .guide-more,
  .guide-pair,
  .guide-closing{
    grid-template-columns:minmax(0,1fr);
  }

  .guide-security__row{
    grid-template-columns:2.25rem minmax(0,1fr);
  }

  .guide-security__row>:nth-child(3){
    grid-column:2;
  }

  .guide-settings dl>div{
    grid-template-columns:minmax(0,1fr);
    gap:var(--space-1);
  }

  .guide-close-section{
    padding-block:var(--space-4);
  }
}

@media(max-width:23.5rem){
  .guide-hero .guide-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .guide-route{
    gap:var(--space-1);
  }

  .guide-route span{
    padding:var(--space-1);
  }

  .guide-terminal__bar{
    gap:var(--space-1);
  }

  .guide-terminal__tag{
    margin-left:0;
  }

  .guide-terminal__body{
    padding:var(--space-2);
  }
}

@media(prefers-reduced-motion:reduce){
  .guide .c-btn{
    transition:none;
  }
}
