:root{
  --bg: #000;
  --fg: #fff;
  --muted: rgba(255,255,255,.72);
  --stroke: rgba(255,255,255,.18);
  --stroke-strong: rgba(255,255,255,.35);
  --radius: 16px;
  --pad: 16px;
}

*{ box-sizing:border-box; }
html, body { height: 100%; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: .1px;
}

a{ color: var(--fg); }

.muted{ color: var(--muted); }
.small{ font-size: 12px; line-height: 1.4; }

.container{
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 48px;
}

/* Top bar */
.topbar{
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(0,0,0,.86);
  border-bottom: 1px solid var(--stroke);
}

.title{
  text-align: center;
  font-weight: 650;
  opacity: .95;
}

.icon-btn{
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  text-decoration: none;
}

.icon-btn:hover{
  border-color: var(--stroke-strong);
}

/* Sections */
.hero{
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 22px;
  margin-top: 18px;
}

.hero h1{
  margin: 0 0 6px;
  font-size: clamp(26px, 3vw, 44px);
}

.hero p{
  margin: 0 0 16px;
  line-height: 1.45;
}

/* Buttons */
.cta{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  text-decoration: none;
  background: transparent;
}

.btn:hover{
  border-color: var(--stroke-strong);
}

.btn.primary{
  background: #fff;
  color: #000;
  border-color: #fff;
}

.btn.primary:hover{
  filter: brightness(.92);
}

/* Meta row */
.meta{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.dot{ opacity: .55; }

/* Grid */
.grid{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
  margin-top: 14px;
}

.card{
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: var(--pad);
}

.card-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.card h2{
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: .2px;
}

/* Screenshots */
.shots{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.shot{
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--stroke);
}

.shot:hover{
  border-color: var(--stroke-strong);
}

.shots img{
  width: 100%;
  height: auto;
  display: block;
}

/* Lists */
ul, ol{
  margin: 0 0 12px 18px;
  padding: 0;
  line-height: 1.5;
}

.divider{
  height: 1px;
  background: var(--stroke);
  margin: 14px 0;
}

/* Footer */
.footer{
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
}

.footer a{
  margin-left: 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px){
  .grid{ grid-template-columns: 1fr; }
  .shots{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
