@font-face {
  font-family: "DIN VAR";
  src: url("/DINvar.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-muted: #f4f6f6;
  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --text: #1f2937;
  --text-muted: #6b7280;
  --teal: #2f6f6a;
  --teal-strong: #22504c;
  --teal-soft: #e6efee;
  --warn-bg: #fff8e6;
  --warn-border: #f1d98a;
  --warn-text: #7a5a00;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "DIN VAR", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-weight: 400;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Banner */
.banner {
  background-color: var(--warn-bg);
  border-bottom: 1px solid var(--warn-border);
  color: var(--warn-text);
  padding: 10px 24px;
  font-size: 13px;
  text-align: center;
}
.banner strong {
  font-weight: 600;
}

/* Header */
.header {
  border-bottom: 1px solid var(--border);
  background-color: var(--surface);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}
.logo {
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}
.logo-dot {
  color: var(--teal);
}

/* Main */
.main {
  padding: 56px 24px 72px;
}
.title {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}
.subtitle {
  margin: 0 0 32px;
  font-size: 14px;
  color: var(--text-muted);
  max-width: 640px;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tile */
.tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background-color: var(--surface);
  text-decoration: none;
  color: var(--text);
  transition:
    border-color 120ms ease,
    box-shadow 120ms ease,
    transform 120ms ease;
}
.tile:hover {
  border-color: var(--teal);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(47, 111, 106, 0.08);
  transform: translateY(-1px);
}
.tile-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 20px;
}
.tile-badge {
  display: inline-block;
  background-color: var(--teal-soft);
  color: var(--teal-strong);
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.tile-title {
  margin: 4px 0 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
}
.tile-desc {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  flex: 1;
}
.tile-link {
  margin-top: 8px;
  font-size: 13px;
  color: var(--teal);
  font-weight: 500;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 20px 24px 28px;
  margin-top: 40px;
  color: var(--text-muted);
  font-size: 12px;
  text-align: center;
}
.footer a {
  color: var(--teal);
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}
