/* The text pages (gizlilik, destek): the home page's fonts, colors, header and footer, and a
   readable column of text. */
@font-face {
  font-family: 'Lexend';
  src: url('/fonts/Lexend-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Lexend';
  src: url('/fonts/Lexend-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Crimson Text';
  src: url('/fonts/CrimsonText-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --black: #0a0a0a;
  --black10: #f5f5f5;
  --black20: #e6e6e6;
  --black50: #727272;
  --black60: #535353;
  --yellow50: #febd11;
  --serif: 'Crimson Text', Georgia, serif;
  --sans: 'Lexend', system-ui, sans-serif;
  --gutter: 24px;
  --max: 1040px;
  --text: 640px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
}

.brand img {
  width: 32px;
  height: 32px;
}

.lang {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: var(--black50);
}

.lang a {
  text-decoration: none;
}

.lang a:hover {
  color: var(--black);
}

main {
  max-width: var(--text);
  margin: 0 auto;
  padding: 64px 0 80px;
}

article + article {
  margin-top: 80px;
  padding-top: 64px;
  border-top: 1px solid var(--black20);
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h2 {
  margin: 40px 0 8px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.25;
}

p {
  margin: 0 0 12px;
  color: var(--black60);
}

.updated {
  margin-top: 8px;
  font-size: 14px;
  color: var(--black50);
}

.lead {
  margin-top: 24px;
  font-size: 18px;
  color: var(--black);
}

/* The way to write to us, as the app's yellow button. */
.mail {
  display: inline-flex;
  align-items: center;
  height: 56px;
  margin: 16px 0 8px;
  padding: 0 28px;
  border-radius: 28px;
  background: var(--yellow50);
  color: var(--black);
  font-weight: 500;
  text-decoration: none;
}

.faq {
  margin-top: 8px;
}

.faq details {
  border-bottom: 1px solid var(--black20);
}

.faq summary {
  padding: 16px 0;
  cursor: pointer;
  font-weight: 500;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  float: right;
  color: var(--black50);
}

.faq details[open] summary::after {
  content: '−';
}

.faq details p {
  margin-bottom: 16px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 24px 0 40px;
  border-top: 1px solid var(--black20);
  font-size: 14px;
  color: var(--black50);
}

footer nav {
  display: flex;
  gap: 20px;
}

footer a {
  text-decoration: none;
}

footer a:hover {
  color: var(--black);
}

@media (max-width: 560px) {
  main {
    padding: 40px 0 64px;
  }

  h1 {
    font-size: 32px;
  }
}
