@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --ink: #17212B;
  --paper: #F6F5F1;
  --panel: #FFFFFF;
  --line: #DDD9CF;
  --accent: #C9622A;
  --accent-soft: #F0DCC9;
  --muted: #5B6672;
  --radius: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

h1, h2, h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

header.site {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 900px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
}

.brand .mark {
  width: 30px;
  height: 30px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
}

nav.site a {
  color: var(--muted);
  font-size: 15px;
  margin-left: 22px;
}
nav.site a:hover { color: var(--ink); }

main { padding: 56px 0 80px; }
main.wide .wrap { max-width: 900px; }

.eyebrow {
  color: var(--accent);
  font-size: 15px;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: 40px;
  max-width: 11ch;
}

.hero p.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 46ch;
  margin: 18px 0 0;
}

.app-list {
  margin-top: 44px;
  border-top: 1px solid var(--line);
}

.app-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.app-row .name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 20px;
}

.app-row .desc {
  color: var(--muted);
  font-size: 15px;
  margin-top: 4px;
}

.app-row .link { white-space: nowrap; font-size: 15px; }

.app-row.soon .name { color: var(--muted); }
.app-row.soon .tag {
  display: inline-block;
  margin-left: 10px;
  font-size: 12px;
  color: var(--accent);
  border: 1px solid var(--accent-soft);
  background: var(--accent-soft);
  padding: 2px 8px;
  border-radius: 100px;
  vertical-align: middle;
}

footer.site {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
}

footer.site .wrap {
  max-width: 900px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* --- privacy policy pages --- */

.policy-head {
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.policy-head .app-name {
  color: var(--accent);
  font-size: 15px;
  margin-bottom: 10px;
}

.policy-head .updated {
  color: var(--muted);
  font-size: 14px;
  margin-top: 10px;
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 100px;
  overflow: hidden;
  margin-top: 18px;
}

.lang-toggle a {
  padding: 6px 16px;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
}

.lang-toggle a:hover { background: var(--accent-soft); text-decoration: none; }

/* default: show TR, show EN only when #en is targeted in the URL */
.policy-body section.lang#en { display: none; }
.policy-body:has(section.lang#en:target) section.lang#tr { display: none; }
.policy-body:has(section.lang#en:target) section.lang#en { display: block; }

.policy-body h2 {
  font-size: 21px;
  margin-top: 34px;
}

.policy-body p, .policy-body li { color: #2C3742; }
.policy-body ul { padding-left: 22px; }

.contact-box {
  margin-top: 40px;
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
}

@media (max-width: 560px) {
  .hero h1 { font-size: 32px; }
  header.site .wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
  nav.site a { margin-left: 0; margin-right: 18px; }
}
