/* Shared by index.html, tr.html and en.html so the three pages cannot drift apart. */

:root {
  --bg-top: #080a12;
  --bg-bottom: #03040a;
  --surface: #11141f;
  --stroke: #2a3145;
  --text: #f2f4fb;
  --body: #d7dcea;
  --muted: #8c95ad;
  --dim: #5a6178;
  --accent: #4fe3e0;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "Segoe UI", Roboto, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0 20px 80px;
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom)) fixed;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 720px; margin: 0 auto; }

header { padding: 56px 0 8px; text-align: center; }
.mark { font-size: 46px; font-weight: 800; letter-spacing: -1.5px; margin: 0; }
.mark span { color: var(--accent); }
.mark a { color: inherit; text-decoration: none; }
.sub { color: var(--dim); font-size: 14px; margin: 6px 0 0; }

/* Link across to the other language. */
.langswap { text-align: center; margin: 22px 0 6px; }
.langswap a {
  display: inline-block;
  font-size: 14px; font-weight: 600; text-decoration: none;
  color: var(--muted); background: var(--surface);
  border: 1px solid var(--stroke); border-radius: 999px;
  padding: 11px 22px; min-height: 44px; line-height: 22px;
  transition: color .18s, border-color .18s;
}
.langswap a:hover { color: var(--text); border-color: var(--accent); }

h2 {
  font-size: 20px; font-weight: 700; margin: 40px 0 10px;
  padding-top: 22px; border-top: 1px solid var(--stroke);
}
h2:first-of-type { border-top: none; padding-top: 0; margin-top: 24px; }
h3 { font-size: 16px; font-weight: 700; margin: 24px 0 6px; color: var(--accent); }

p { margin: 0 0 14px; color: var(--body); }
ul { margin: 0 0 16px; padding-left: 22px; color: var(--body); }
li { margin-bottom: 7px; }
strong { color: var(--text); }
a { color: var(--accent); }

.dateline { color: var(--dim); font-size: 14px; }

.card {
  background: var(--surface); border: 1px solid var(--stroke);
  border-radius: 16px; padding: 18px 20px; margin: 0 0 20px;
}
.card p:last-child, .card ul: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: 11px 12px; border-bottom: 1px solid var(--stroke); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 13px; letter-spacing: .4px; text-transform: uppercase; white-space: nowrap; }
td { color: var(--body); }

footer {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--stroke);
  color: var(--dim); font-size: 13px; text-align: center;
}

/* Language chooser on the landing page. */
.choices { display: flex; flex-direction: column; gap: 12px; margin: 34px 0 0; }
.choice {
  display: block; text-decoration: none;
  background: var(--surface); border: 1px solid var(--stroke);
  border-radius: 16px; padding: 20px 22px;
  transition: border-color .18s, transform .18s;
}
.choice:hover { border-color: var(--accent); transform: translateY(-1px); }
.choice .title { display: block; font-size: 18px; font-weight: 700; color: var(--text); }
.choice .note { display: block; font-size: 14px; color: var(--muted); margin-top: 3px; }
