@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: #000;
  color: #fff;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation ── */

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

nav ul li {
  display: flex;
  align-items: center;
  font-size: 13px;
}

nav ul li::after {
  content: "·";
  color: #444;
  padding: 0 7px;
}

nav ul li:last-child::after {
  content: "";
}

nav a {
  color: #666;
  text-decoration: none;
  font-size: 13px;
  padding: 3px 0;
  transition: color 0.15s;
}

nav a:hover {
  color: #fff;
}

nav a.active {
  color: #fff;
  font-weight: 500;
}

.nav-top {
  padding: 20px 0 18px;
  border-bottom: 1px solid #1c1c1c;
  margin-bottom: 40px;
}

.nav-bottom {
  padding: 18px 0 28px;
  border-top: 1px solid #1c1c1c;
  margin-top: 56px;
}

/* ── Page title ── */

h1.page-title {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

/* ── Sections ── */

section {
  margin-bottom: 48px;
}

section + section {
  border-top: 1px solid #1a1a1a;
  padding-top: 48px;
}

h2 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

h3 {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #555;
  margin-top: 32px;
  margin-bottom: 10px;
}

h3:first-child {
  margin-top: 0;
}

p {
  font-size: 15px;
  color: #999;
  margin-bottom: 13px;
  line-height: 1.65;
}

p:last-child {
  margin-bottom: 0;
}

/* ── Callout box (lock screen widget) ── */

.callout {
  border: 1px solid #fff;
  padding: 22px 24px;
  margin-bottom: 56px;
}

details.callout summary {
  list-style: none;
  cursor: pointer;
  margin-bottom: 0;
}

details.callout summary::-webkit-details-marker {
  display: none;
}

details.callout summary h2 {
  display: inline;
  margin-bottom: 0;
}

details.callout summary::after {
  content: '›';
  margin-left: 10px;
  font-size: 17px;
  color: #666;
  transition: transform 0.2s;
  display: inline-block;
}

details.callout[open] summary::after {
  transform: rotate(90deg);
}

details.callout[open] summary {
  margin-bottom: 16px;
}

.callout-label {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #666;
  margin-bottom: 10px;
}

.callout h2 {
  font-size: 17px;
  margin-bottom: 10px;
}

.callout p {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 10px;
}

.callout ol, .callout ul {
  padding-left: 18px;
  color: #aaa;
  font-size: 14px;
  line-height: 1.7;
}

/* ── QR code (desktop only) ── */

.qr-block {
  display: none;
}

@media screen and (min-width: 48em) {
  .qr-block {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
  }

  .qr-code {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
  }

  .qr-note {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
  }
}

/* ── Code blocks ── */

code {
  font-family: 'IBM Plex Mono', 'Menlo', monospace;
  font-size: 13px;
  color: #ccc;
  background: #111;
  padding: 1px 5px;
  border-radius: 3px;
}

pre {
  background: #111;
  border-left: 2px solid #333;
  padding: 14px 16px;
  margin: 16px 0;
  overflow-x: auto;
}

pre code {
  background: none;
  padding: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #ccc;
}
