/* North Patrolin vauhtikarkit — staattinen tyylitiedosto.
   Johdettu North Patrol App Design Systemistä. Ei ulkoisia riippuvuuksia. */

@font-face {
  font-family: 'Instrument Sans';
  src: url('fonts/InstrumentSans.ttf') format('truetype');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Source Serif 4';
  src: url('fonts/SourceSerif4.ttf') format('truetype');
  font-weight: 400 700;
  font-display: swap;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #f7f6f4;
  color: #1c1a17;
  font: 400 14px/1.5 'Instrument Sans', system-ui, sans-serif;
}

a { color: #8a7413; }
a:hover { color: #6d5b0f; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Header ja footer */
.site-header { background: #fdfcfb; border-bottom: 1px solid #e6e2dc; }
.site-header .wrap { height: 64px; display: flex; align-items: center; gap: 14px; }
.logo {
  height: 26px;
  width: auto;
  display: block;
  /* Logon tausta on puhdas valkoinen, headerin luonnonvalkoinen — multiply sulauttaa ne. */
  mix-blend-mode: multiply;
}
.site-title { font: 600 16px/1.2 'Source Serif 4', serif; color: #1c1a17; }
.site-note { margin-left: auto; font: 400 12.5px/1.5 'Instrument Sans', sans-serif; color: #a39d94; }

.site-footer { background: #fdfcfb; border-top: 1px solid #e6e2dc; }
.site-footer .wrap { padding: 20px 32px; font: 400 12.5px/1.5 'Instrument Sans', sans-serif; color: #a39d94; }

/* Sisältö */
main.wrap { padding-top: 44px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 32px; }

.intro { display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.kicker {
  font: 600 11px/1.4 'Instrument Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a39d94;
}
h1 { font: 600 32px/1.25 'Source Serif 4', serif; margin: 0; text-wrap: pretty; }
.lead { font: 400 14px/1.6 'Instrument Sans', sans-serif; color: #6f6a61; margin: 0; text-wrap: pretty; }

/* Korttiruudukko */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: #fdfcfb;
  border: 1px solid #e6e2dc;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

.mark {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: #cdb013;
  color: #1c1a17;
  font: 700 16px/1 'Instrument Sans', sans-serif;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}

.card h2 { font: 600 19px/1.3 'Source Serif 4', serif; margin: 0; text-wrap: pretty; }
.card p { font: 400 13.5px/1.55 'Instrument Sans', sans-serif; color: #6f6a61; margin: 0; text-wrap: pretty; }
.card-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid #f0ede8; }

.chip {
  font: 600 11px/1.4 'Instrument Sans', sans-serif;
  color: #6f6a61;
  background: #f0ede8;
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 13px/1 'Instrument Sans', sans-serif;
  color: #1c1a17;
  text-decoration: none;
  border: 1px solid #ddd7cf;
  border-radius: 999px;
  padding: 9px 16px;
  background: transparent;
  transition: background 0.15s, border-color 0.15s;
}
.btn-ghost:hover { background: #faf9f7; border-color: #d4cec5; color: #1c1a17; }
