/* Kosten index: price cards by trade. Homepage colors, not the old row list. */

.ko-intro { padding: 28px 0 8px; }
.crumb {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
}
.crumb a { color: var(--green-deep); text-decoration: none; font-weight: 700; }
.crumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ko-intro h1 { max-width: 16em; }
.ko-intro .lead {
  max-width: 46em;
  margin-top: 14px;
  color: var(--muted);
}
.ko-tools { margin-top: 14px; }
.ko-tools a {
  color: var(--green-deep);
  font-weight: 700;
  text-decoration: none;
}
.ko-tools a:hover { text-decoration: underline; text-underline-offset: 3px; }

.ko-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 28px;
  margin-top: 28px;
  padding: 18px 22px;
  border-radius: 18px;
  background: var(--card);
}
.ko-facts li { display: flex; flex-direction: column; gap: 4px; }
.ko-facts strong { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-deep); }
.ko-facts span { color: var(--muted); font-size: 15px; }

header.site nav.desk a[aria-current="page"],
header.site nav.mob a[aria-current="page"] { color: var(--ink); }

.ko-board { padding: 12px 0 8px; }
.ko-group { margin-top: 34px; }
.ko-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.ko-group-head h2 { font-size: clamp(24px, 2.4vw, 30px); }
.ko-group-head p { color: var(--muted); font-size: 15px; }

.ko-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.ko-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 100%;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 8px 24px rgba(23, 48, 40, 0.05);
  text-decoration: none;
}
.ko-card:hover { background: var(--mint); }
.ko-price {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--green-deep);
}
.ko-card strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.ko-card .ko-blurb { color: var(--muted); font-size: 14.5px; line-height: 1.45; }

.ko-notes { margin-top: 48px; }
.ko-notes > h2,
.ko-next > h2,
.ko-ask > h2 { margin-bottom: 14px; }
.ko-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.ko-note-grid article {
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: var(--mint);
}
.ko-note-grid h3 { margin-bottom: 6px; font-size: 16px; }
.ko-note-grid p { color: var(--muted); font-size: 15px; }

.ko-next { margin-top: 36px; }
.ko-next-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.ko-next-row a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--card);
  text-decoration: none;
}
.ko-next-row a:hover { background: var(--mint); }
.ko-next-row strong { font-size: 16px; }
.ko-next-row span { color: var(--muted); font-size: 14px; }

.ko-ask { margin-top: 36px; }
.ko-ask .faq a { color: var(--green-deep); }

@media (max-width: 900px) {
  .ko-facts,
  .ko-grid,
  .ko-note-grid,
  .ko-next-row { grid-template-columns: 1fr 1fr; }
  .ko-group-head { flex-direction: column; align-items: flex-start; gap: 4px; }
}
@media (max-width: 640px) {
  .ko-facts,
  .ko-grid,
  .ko-note-grid,
  .ko-next-row { grid-template-columns: 1fr; }
}
