/* Seyr web sayfaları. Renkler mobil uygulamadaki
   mobile/src/core/theme/tokens.ts paletiyle aynı tutuluyor. */

:root {
  --background: #e8f0e7;
  --surface: #f7fbf6;
  --surface-soft: #d8e5d7;
  --text: #1f2e27;
  --text-muted: #5c6b61;
  --primary: #2f5d4c;
  --primary-muted: #c6dac8;
  --gold: #ae8b44;
  --border: #c4d6c3;
  --border-soft: #d6e3d5;
  --shadow: rgba(22, 48, 31, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #141a17;
    --surface: #1e2622;
    --surface-soft: #28312c;
    --text: #f5f0e8;
    --text-muted: #b3bdb4;
    --primary: #a9c9b8;
    --primary-muted: #2e4438;
    --gold: #d4b76b;
    --border: #38453d;
    --border-soft: #2e3833;
    --shadow: rgba(0, 0, 0, 0.35);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 22px 72px;
}

header.masthead {
  text-align: center;
  padding: 24px 0 8px;
}

.brand {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 46px;
  line-height: 1.1;
  color: var(--primary);
  margin: 0;
  letter-spacing: 0.5px;
}

.rule {
  width: 96px;
  height: 1px;
  margin: 18px auto;
  background: var(--gold);
  border: 0;
  opacity: 0.7;
}

.tagline {
  color: var(--text-muted);
  margin: 0;
  font-size: 16px;
}

main {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 28px 26px;
  margin-top: 28px;
  box-shadow: 0 8px 22px var(--shadow);
}

h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 30px;
  line-height: 1.25;
  margin: 0 0 6px;
  color: var(--text);
}

h2 {
  font-size: 20px;
  margin: 34px 0 10px;
  color: var(--text);
}

h3 {
  font-size: 17px;
  margin: 22px 0 6px;
  color: var(--primary);
}

h2:first-of-type {
  margin-top: 18px;
}

p,
li {
  color: var(--text);
}

.updated {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0 0 4px;
}

ul,
ol {
  padding-left: 22px;
}

li {
  margin: 7px 0;
}

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

code {
  background: var(--surface-soft);
  border-radius: 5px;
  padding: 1px 5px;
  font-size: 15px;
}

.callout {
  background: var(--primary-muted);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 22px 0;
}

.callout p {
  margin: 0;
}

.callout p + p {
  margin-top: 10px;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}

.steps li {
  position: relative;
  padding-left: 42px;
  margin: 14px 0;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--background);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.linkcards {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.linkcard {
  display: block;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
}

.linkcard:hover {
  border-color: var(--primary);
}

.linkcard strong {
  display: block;
  color: var(--primary);
  font-size: 18px;
  margin-bottom: 3px;
}

.linkcard span {
  color: var(--text-muted);
  font-size: 15px;
}

footer {
  margin-top: 30px;
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
}

footer a {
  color: var(--text-muted);
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .wrap {
    padding: 26px 16px 56px;
  }

  main {
    padding: 22px 18px;
    border-radius: 14px;
  }

  .brand {
    font-size: 38px;
  }

  h1 {
    font-size: 25px;
  }
}
