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

:root {
  --bg: #faf7f4;
  --text: #2c2420;
  --text-muted: #6b5e58;
  --accent: #c45c4a;
  --accent-soft: #f3e8e4;
  --card-bg: #ffffff;
  --border: #e8ddd6;
  --shadow: 0 2px 12px rgba(44, 36, 32, 0.06);
  --radius: 14px;
  --max-width: 640px;
}

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

body {
  margin: 0;
  min-height: 100dvh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 20px 40px;
}

.header {
  margin-bottom: 36px;
  padding-top: 12px;
}

.title {
  margin: 0 0 8px;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.section {
  margin-bottom: 32px;
}

.section-title {
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-bottom: 12px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.card:last-child {
  margin-bottom: 0;
}

.card--featured {
  border-color: var(--accent-soft);
  background: linear-gradient(135deg, #ffffff 0%, #fdf8f6 100%);
}

.card--featured:active {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(196, 92, 74, 0.12);
}

.card--muted {
  opacity: 0.55;
  cursor: default;
}

.card-body {
  flex: 1;
  min-width: 0;
}

.card-title {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 600;
}

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

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

.footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer p {
  margin: 0 0 4px;
}

.footer-year {
  font-size: 0.8rem;
}

@media (min-width: 640px) {
  .page {
    padding: 48px 24px 64px;
  }

  .title {
    font-size: 2.25rem;
  }

  .card--featured:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(196, 92, 74, 0.14);
  }
}

@media (hover: hover) {
  .card--featured:hover .card-arrow {
    transform: translate(2px, -2px);
  }

  .card-arrow {
    transition: transform 0.15s ease;
  }
}
