:root {
  color-scheme: light;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --accent: #dc2626;
  --accent-soft: #fef2f2;
  --bg: #ffffff;
  --surface: #f9fafb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.header-inner {
  padding: 1.5rem 0;
}

.brand {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.subtitle {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

h1 {
  margin: 0.35rem 0 0;
  font-size: 2rem;
  line-height: 1.2;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
}

main {
  padding: 2rem 0 3rem;
}

section {
  margin-bottom: 1.5rem;
}

h2 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}

p,
li {
  margin: 0;
  color: var(--text);
}

ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.updated {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-style: italic;
}

footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

.hub-intro {
  margin: 0 0 1.75rem;
  color: var(--muted);
}

.app-group {
  margin-bottom: 2rem;
}

.app-group h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.link-grid {
  display: grid;
  gap: 0.75rem;
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.125rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}

.link-card:hover {
  text-decoration: none;
  border-color: #fecaca;
  background: var(--accent-soft);
}

.link-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.link-card span {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
}

.link-card .arrow {
  color: var(--accent);
  font-size: 1.25rem;
  flex-shrink: 0;
}
