@import url('/fonts/montserrat.css');

/*
 * legal.css — the three pages App Review has to be able to open.
 *
 * Deliberately its own stylesheet and not the guest app's. These pages are
 * plain HTML served straight from /public: no React, no bundle, no Supabase
 * call, nothing that can fail. A privacy policy that needs JavaScript to render
 * is a privacy policy that is sometimes a blank page, and the one visitor who
 * matters most — the reviewer deciding whether Momento ships — is the one least
 * likely to wait around for it.
 *
 * Same palette as theme/tokens.ts so they still read as Momento.
 */

:root {
  --bg: #111111;
  --surface: #1c1c1c;
  --ink: #f4f2ee;
  --ink-muted: #8a8a86;
  --line: #2e2e2c;
  --accent: #ff5a36;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 24px 96px;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui,
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

main { max-width: 680px; margin: 0 auto; }

header {
  padding: 40px 0 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
  /* Marka solda, dil bağlantısı sağda, aynı satırda. */
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
}
/* h1 ve tarih satırı tam genişlik alsın, marka satırının altına insin. */
header h1,
header .updated { flex: 1 1 100%; }

/*
  Öteki dildeki karşılığı.

  Her sayfanın ikizine giden tek bir bağlantı — bir dil menüsü değil. İki dil
  var, ve iki seçenek arasında menü açmak tıklamayı bir yerine ikiye çıkarır.
*/
.alt {
  color: var(--ink-muted);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}
.alt:hover { color: var(--ink); }

.mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-decoration: none;
}
.mark::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

h1 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin: 20px 0 8px;
}

.updated {
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
}

h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin: 40px 0 12px;
}

h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 24px 0 8px;
}

p, li { color: #d6d3cc; }
p { margin: 0 0 14px; }

ul { margin: 0 0 14px; padding-left: 20px; }
li { margin-bottom: 8px; }

strong { color: var(--ink); font-weight: 600; }

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

/* Pulled-out statements — the few lines a reviewer or a guest actually needs to
   find without reading the rest. */
.note {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 16px 18px;
  margin: 0 0 20px;
}
.note p:last-child { margin-bottom: 0; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px;
  font-size: 15px;
  display: block;
  overflow-x: auto;
}
th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th { color: var(--ink); font-weight: 600; white-space: nowrap; }
td { color: #d6d3cc; }

footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 14px;
}
footer a { margin-right: 16px; }
