:root{
  --font: "Press Start 2P", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --ink: #17130b;
  --panel: #f2dd79;
  --panel2:#efd26c;
  --bar:#d79a00;
  --barBorder:#6e4e00;
  --shadow: rgba(0,0,0,.25);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--ink);
  font-family:var(--font);
  background: #bfe6ff;
}

a{color:inherit; text-decoration:none}

.hero{
  position:relative;
  min-height: 620px;
  height: min(80vh, 760px);
  background-image: url("assets/hero.png");
  background-size: cover;
  background-position: center top;
  background-repeat:no-repeat;
  image-rendering: pixelated;
  border-bottom: 6px solid rgba(0,0,0,.08);
}

/* Top navigation */
.nav{
  position:absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(880px, calc(100% - 32px));
  display:flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 18px;
  background: rgba(0,0,0,.18);
  border-radius: 12px;
  backdrop-filter: blur(2px);
}
.nav__link{
  color: #fff;
  font-size: 18px;
  letter-spacing: 1px;
  text-shadow: 0 2px 0 rgba(0,0,0,.35);
  padding: 6px 10px;
  border-radius: 10px;
}
.nav__link:hover{ background: rgba(255,255,255,.12) }

.hero__content{
  position:absolute;
  top: 92px;
  left: 50%;
  transform: translateX(-50%);
  width: min(980px, calc(100% - 32px));
  text-align:center;
}

.hero__subtitle{
  margin: 18px 0 16px;
  color: #ffd340;
  font-size: 16px;
  line-height: 1.75;
  text-shadow: 0 2px 0 rgba(0,0,0,.35);
}

.pill{
  margin: 0 auto;
  width: min(920px, 100%);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  border: 3px solid rgba(0,0,0,.15);
  box-shadow: 0 10px 28px var(--shadow);
}

.pill__url{
  display:block;
  overflow:hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 18px;
  color: #e49300;
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
  padding-left: 6px;
}

.pill__copy{
  appearance:none;
  border: 0;
  font-family: var(--font);
  font-size: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  cursor:pointer;
  background: #fff;
  box-shadow: 0 2px 0 rgba(0,0,0,.25);
}
.pill__copy:active{ transform: translateY(1px); box-shadow: 0 1px 0 rgba(0,0,0,.25); }

.social{
  position:absolute;
  right: 18px;
  bottom: 14px;
  display:flex;
  gap: 10px;
}
.social__link{
  width: 46px;
  height: 46px;
  display:grid;
  place-items:center;
  border-radius: 12px;
  background: rgba(0,0,0,.18);
  color:#fff;
  font-size: 12px;
  box-shadow: 0 8px 18px rgba(0,0,0,.22);
}
.social__link:hover{ background: rgba(0,0,0,.28) }

.page{
  background:
    radial-gradient(circle at 12px 12px, rgba(0,0,0,.09) 2px, transparent 3px) 0 0/26px 26px,
    radial-gradient(circle at 12px 12px, rgba(255,255,255,.18) 2px, transparent 3px) 13px 13px/26px 26px,
    var(--panel);
  padding: 34px 16px 54px;
}

.section{
  width: min(1100px, 100%);
  margin: 0 auto 34px;
}

.section__title{
  background: var(--bar);
  color: #fff;
  text-align:center;
  padding: 18px 14px;
  border-radius: 18px;
  font-size: 22px;
  letter-spacing: 2px;
  border: 3px solid var(--barBorder);
  box-shadow: 0 10px 26px var(--shadow);
}

.card{
  margin-top: 16px;
  background: var(--panel2);
  border: 3px solid rgba(0,0,0,.18);
  border-radius: 18px;
  padding: 18px 18px;
  box-shadow: 0 12px 24px rgba(0,0,0,.18);
}

.card p{ margin: 0 0 14px; font-size: 13px; line-height: 1.8; }
.card p:last-child{ margin-bottom:0 }

.qa{ margin-bottom: 16px; }
.qa:last-child{ margin-bottom:0 }

.qa__q{ margin: 0 0 8px; font-size: 14px; line-height: 1.7; }
.qa__a{ margin: 0; font-size: 13px; line-height: 1.8; }

.kbd{
  display:inline-block;
  padding: 3px 6px;
  border-radius: 6px;
  border: 2px solid rgba(0,0,0,.25);
  background: rgba(255,255,255,.35);
  box-shadow: 0 2px 0 rgba(0,0,0,.18);
}

.footer{
  width: min(1100px, 100%);
  margin: 0 auto;
  text-align:center;
  padding-top: 10px;
}
.footer__inner{
  font-size: 14px;
  opacity: .9;
}

@media (max-width: 860px){
  .nav{ font-size: 14px; }
  .nav__link{ font-size: 14px; }
  .hero__subtitle{ font-size: 12px; }
  .pill__url{ font-size: 12px; }
  .pill{ padding: 10px 12px; }
  .section__title{ font-size: 18px; }
}

@media (max-width: 520px){
  .nav{ justify-content:center; flex-wrap:wrap; }
  .hero{ height: 560px; }
  .pill{ flex-direction: column; border-radius: 20px; }
  .pill__url{ padding: 0; }
  .social{ right: 12px; bottom: 12px; }
}
