/* Tıp Dili — landing & legal pages
   Palette mirrors the app's Theme.swift (calm, premium, cream). */
:root {
  --cream:    #ECE8DE;
  --card:     #F4F1EA;
  --ink:      #2B2A26;
  --muted:    #6F6C61;
  --faint:    #9A9686;
  --accent:   #5C8A7F;
  --accent-bg:#E6EDE9;
  --accent-ink:#355C52;
  --chip-bg:  #E3DFD3;
  --chip-ink: #5A574C;
  --hairline: #DAD5C8;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  line-height: 1.65;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 28px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--hairline);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand .mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-bg);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex: 0 0 auto;
}

.brand .name {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

nav.site a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  margin-left: 20px;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color .15s, border-color .15s;
}
nav.site a:hover { color: var(--accent-ink); border-color: var(--hairline); }

h1 {
  font-size: 34px;
  line-height: 1.2;
  margin: 0 0 12px;
  font-weight: 600;
}

h2 {
  font-size: 22px;
  margin: 40px 0 10px;
  font-weight: 600;
}

h3 {
  font-size: 17px;
  margin: 26px 0 6px;
  font-weight: 600;
  color: var(--accent-ink);
}

p { margin: 0 0 14px; }

a { color: var(--accent-ink); }

.lead {
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 28px;
}

ul { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 6px; }

.chip {
  display: inline-block;
  background: var(--chip-bg);
  color: var(--chip-ink);
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

.card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 24px 26px;
  margin: 22px 0;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  margin: 6px 8px 6px 0;
}
.btn.secondary {
  background: transparent;
  color: var(--accent-ink);
  border: 1px solid var(--hairline);
}

.muted { color: var(--muted); }
.faint { color: var(--faint); font-size: 14px; }

.lang-divider {
  margin: 56px 0 0;
  border: 0;
  border-top: 1px solid var(--hairline);
}

.note {
  font-size: 14px;
  color: var(--muted);
  background: var(--accent-bg);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 20px 0;
}

footer.site {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  color: var(--faint);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: center;
  justify-content: space-between;
}
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--accent-ink); }

.features {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.features li {
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}
.features li:last-child { border-bottom: 0; }
.features b { display: block; font-weight: 600; }
.features span { color: var(--muted); font-size: 16px; }

@media (max-width: 520px) {
  body { font-size: 17px; }
  h1 { font-size: 28px; }
  nav.site a { margin-left: 14px; font-size: 14px; }
  .wrap { padding: 28px 18px 60px; }
}
