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

:root {
  --bg:          #111111;
  --surface:     #1c1c1e;
  --surface2:    #2c2c2e;
  --accent:      #00cfff;
  --text:        #f0f0f0;
  --text-muted:  #8e8e93;
  --radius:      14px;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  padding: 48px 20px;
}

h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 32px;
}

.intro {
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.5;
}

/* ── Breadcrumb ──────────────────────────────────────────────── */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ── Card links ──────────────────────────────────────────────── */
nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--surface2);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.card:hover {
  background: var(--surface2);
  border-color: var(--accent);
}

.card-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
}

.card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card-arrow {
  font-size: 1.4rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ── Footer ──────────────────────────────────────────────────── */
footer {
  padding: 24px 20px;
  text-align: center;
  font-size: 0.8rem;
}

footer a {
  color: var(--text-muted);
  text-decoration: none;
}

footer a:hover {
  color: var(--accent);
}
