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

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a1a;
  line-height: 1.7;
  background: #fff;
}

/* ── Navigation ── */
nav {
  background: #111;
  padding: 0;
}

nav .container {
  display: flex;
  align-items: center;
  gap: 0;
}

nav .nav-brand {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  padding: 12px 20px 12px 0;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

nav a {
  display: block;
  padding: 12px 20px;
  color: #999;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

nav a:hover {
  color: #fff;
  background: #333;
  text-decoration: none;
}

nav a.active {
  color: #fff;
  background: #333;
}

/* ── Header ── */
header {
  border-bottom: 2px solid #111;
  padding: 48px 0 32px;
  text-align: center;
}

header h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

header p {
  margin-top: 8px;
  font-size: 15px;
  color: #666;
}

/* ── Layout ── */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 40px 0;
  border-bottom: 1px solid #e5e5e5;
}

section:last-child { border-bottom: none; }

/* ── Typography ── */
h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ddd;
}

h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 28px 0 12px;
}

p {
  margin-bottom: 12px;
  font-size: 15px;
}

a {
  color: #0066cc;
  text-decoration: none;
}

a:hover { text-decoration: underline; }

code {
  background: #eee;
  padding: 2px 6px;
  border-radius: 3px;
}

/* ── Info box ── */
.info-box {
  background: #f7f7f7;
  border-left: 3px solid #333;
  padding: 16px 20px;
  margin: 16px 0;
  font-size: 14px;
}

.info-box strong { font-weight: 600; }

/* ── Steps ── */
.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 20px 0;
}

.step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 2px solid #111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}

.step-body { flex: 1; }
.step-body p { margin-bottom: 8px; }

/* ── Screenshots ── */
.screenshot {
  margin: 12px 0;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}

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

.screenshot-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.screenshot-row .screenshot {
  flex: 1;
  min-width: 280px;
}

/* ── Download links ── */
.download-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.download-link {
  display: inline-block;
  padding: 10px 24px;
  border: 2px solid #111;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  transition: all 0.15s;
}

.download-link:hover {
  background: #111;
  color: #fff;
  text-decoration: none;
}

/* ── Table ── */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

th, td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid #e5e5e5;
}

th {
  font-weight: 600;
  border-bottom: 2px solid #333;
  white-space: nowrap;
}

td:first-child {
  font-weight: 500;
  white-space: nowrap;
}

/* ── Footer ── */
footer {
  text-align: center;
  padding: 32px 0;
  font-size: 14px;
  color: #bbb;
  border-top: 1px solid #e5e5e5;
}

.wylie-logo {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, #f472b6, #c084fc, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ── Utility ── */
.narrow { max-width: 380px; }
