:root {
  --klippel-blue: #2e76a0;
  --klippel-blue-dark: #235d80;
  --klippel-gray: #9d9e9e;
  --text: #2b2f33;
  --text-muted: #6b7176;
  --border: #e2e5e8;
  --bg: #f7f8f9;
  --surface: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--klippel-blue);
}

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

.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  height: 32px;
  width: auto;
  display: block;
}

.brand span {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.2px;
  border-left: 1px solid var(--border);
  padding-left: 12px;
}

.header-inner nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.header-inner nav a:hover {
  color: var(--klippel-blue);
}

main {
  flex: 1;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.page-title h1 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
}

.page-title p {
  margin: 0 0 40px;
  color: var(--text-muted);
  font-size: 15px;
  max-width: 60ch;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--klippel-blue);
  box-shadow: 0 4px 14px rgba(46, 118, 160, 0.14);
}

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(46, 118, 160, 0.1);
  color: var(--klippel-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.card-icon svg {
  width: 20px;
  height: 20px;
}

.card h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.card .card-link {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--klippel-blue);
}

footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

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

.footer-inner a:hover {
  color: var(--klippel-blue);
  text-decoration: underline;
}
