:root {
  --background: #f6f7f9;
  --surface: #ffffff;
  --text: #17191c;
  --muted: #6b7280;
  --border: #e5e7eb;
  --accent: #2563eb;
}

* {
  box-sizing: border-box;
}

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

.container {
  width: min(680px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0;
}

header {
  margin-bottom: 32px;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.site-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 12px;
}

.site-header h1 {
  margin: 0 0 4px;
}

h1 {
  margin: 0 0 8px;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 8px;
}

.card {
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.03),
    0 8px 24px rgba(0, 0, 0, 0.04);
}

.card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  color: var(--text);
  text-decoration: none;
  border-radius: 9px;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.card a:hover {
  background: #f3f4f6;
}

a,
a:visited {
  color: var(--text);
}

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

.doc {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.03),
    0 8px 24px rgba(0, 0, 0, 0.04);
}

.link-content {
  display: flex;
  flex-direction: column;
}

.link-title {
  font-weight: 600;
  font-size: 0.98rem;
}

.link-description {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.875rem;
}

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

.arrow {
  color: #9ca3af;
  font-size: 1.2rem;
  transition: transform 0.15s ease;
}

.card a:hover .arrow {
  color: var(--accent);
  transform: translateX(3px);
}

footer {
  margin-top: 32px;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

@media (max-width: 600px) {
  .container {
    padding: 48px 0;
  }

  h1 {
    font-size: 1.9rem;
  }
}