/* kapidayim.app — one stylesheet, the game's palette (spec §11.2).
   No web fonts (no third-party requests): system fonts stand in for
   Archivo / IBM Plex Mono. Light "Kâğıt" by default, dark "Asfalt" by the
   system setting. */
:root {
  --zemin: #F5F0E6;
  --kart: #FFFDF8;
  --murekkep: #1C1A17;
  --ikincil: #6B655C;
  --turuncu: #FF5A1F;
  --kar: #0E8F6E;
  --uyari: #E9A100;
  --cizgi: #E4DCCE;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --zemin: #15171A;
    --kart: #1F2226;
    --murekkep: #F2EEE6;
    --ikincil: #9A958C;
    --turuncu: #FF6B35;
    --kar: #2FBF97;
    --uyari: #F2B830;
    --cizgi: #2C3036;
  }
}

* { box-sizing: border-box; }

html {
  background: var(--zemin);
  color: var(--murekkep);
  font: 16px/1.55 "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0 auto;
  max-width: 44rem;
  padding: 1.5rem 1.25rem 3rem;
}

header.site {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  border-bottom: 2px dashed var(--cizgi);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

header.site .marka {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--murekkep);
  text-decoration: none;
  letter-spacing: -0.01em;
}

header.site .marka span { color: var(--turuncu); }

nav a {
  color: var(--ikincil);
  margin-left: 0.75rem;
  font-size: 0.875rem;
}

h1 { font-size: 1.75rem; line-height: 1.2; margin: 0 0 1rem; }
h2 { font-size: 1.25rem; margin: 2rem 0 0.5rem; }
h3 { font-size: 1rem; margin: 1.25rem 0 0.25rem; }

a { color: var(--murekkep); text-decoration-color: var(--turuncu); text-underline-offset: 2px; }

p, li { max-width: 40rem; }

.taslak {
  background: var(--kart);
  border: 1px solid var(--uyari);
  border-left: 6px solid var(--uyari);
  padding: 0.75rem 1rem;
  margin: 0 0 1.5rem;
  font-weight: 600;
}

.fis {
  background: var(--kart);
  border: 1px solid var(--cizgi);
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin: 0.75rem 0;
  font-size: 0.925rem;
  background: var(--kart);
}

th, td {
  text-align: left;
  vertical-align: top;
  border: 1px solid var(--cizgi);
  padding: 0.5rem 0.6rem;
}

th { font-weight: 700; }

.dugme {
  display: inline-block;
  background: var(--turuncu);
  color: #FFFFFF;
  font-weight: 700;
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  text-decoration: none;
}

.ikincil { color: var(--ikincil); }

code, .mono {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}

footer.site {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 2px dashed var(--cizgi);
  color: var(--ikincil);
  font-size: 0.85rem;
}

footer.site a { color: var(--ikincil); margin-right: 0.75rem; }

/* Reference: the paper theme hex values of spec §11.2 for the checks —
   zemin #F5F0E6, kart #FFFDF8, mürekkep #1C1A17, ikincil #6B655C,
   turuncu #FF5A1F; asfalt #15171A / #F2EEE6. */
