/* legal.css — ishimfx.app legal pages, V1 (2026-11-22, K-12 DRAFT).
   WHY these choices: the pages borrow the app's own paper kit (lib/core/theme/fx_theme.dart, "Kâğıt" theme):
   hatched paper #F3F5F7 · ink #18212C / #566170 · line #D9DFE6 · serif headings · a perforated divider between sections.
   No web font is downloaded: a privacy page should not send its reader's address to a third-party font server, so the
   stack names Source Serif 4 / Source Sans 3 (installed on many systems) and falls back to the system faces. */
:root {
  --paper: #f3f5f7;
  --hatch: rgba(24, 33, 44, .035);
  --surface: #ffffff;
  --ink: #18212c;
  --ink2: #566170;
  --line: #d9dfe6;
  --warn: #a8650f;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #11161c; --hatch: rgba(232, 236, 240, .03); --surface: #182029; --ink: #e8ecf0; --ink2: #a7b1bd; --line: #2c3743; --warn: #e0a24a; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper) repeating-linear-gradient(135deg, var(--hatch) 0 1px, transparent 1px 9px);
  font: 17px/1.62 "Source Sans 3", "Segoe UI", -apple-system, Roboto, Arial, sans-serif;
}
main { max-width: 760px; margin: 0 auto; padding: 28px 20px 64px; }
header.page { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.badge {
  flex: none; width: 46px; height: 46px; display: grid; place-items: center;
  border: 1.5px solid var(--ink); font: 700 15px/1 "Source Serif 4", Georgia, serif; letter-spacing: .02em;
}
header.page .who { font-size: 15px; color: var(--ink2); }
/* V1.1 (phone frame): the address broke at its hyphen ("info@i-" / "shim.com") — an address is kept in one piece. */
header.page .who a { color: inherit; }
a[href^="mailto:"] { display: inline-block; white-space: nowrap; }
h1, h2, h3 { font-family: "Source Serif 4", Georgia, "Times New Roman", serif; font-weight: 600; line-height: 1.25; }
h1 { font-size: 30px; margin: 26px 0 4px; }
h2 { font-size: 21px; margin: 34px 0 8px; }
h3 { font-size: 17px; margin: 22px 0 6px; }
p, li { max-width: 68ch; }
.meta { color: var(--ink2); font-size: 15px; margin: 0 0 18px; }
.switch { display: flex; gap: 8px; margin: 18px 0 8px; }
.switch a {
  padding: 6px 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  text-decoration: none; font-size: 15px;
}
.switch a:focus-visible, a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
/* The app's perforated divider: the line between the two language halves. */
.perforation { margin: 48px 0 8px; border: 0; border-top: 2px dashed var(--line); }
table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 15.5px; margin: 10px 0 4px; }
th, td { text-align: start; vertical-align: top; padding: 8px 10px; border: 1px solid var(--line); }
th { font-weight: 600; }
.note { border-inline-start: 3px solid var(--ink2); background: var(--surface); padding: 10px 14px; margin: 16px 0; }
.draft { border: 1.5px solid var(--warn); color: var(--warn); padding: 10px 14px; margin: 18px 0 0; font-weight: 600; }
a { color: var(--ink); text-underline-offset: 2px; }
nav.pages { display: grid; gap: 10px; margin: 22px 0; }
nav.pages a {
  display: block; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none;
}
nav.pages a span { display: block; color: var(--ink2); font-size: 15px; }
footer { margin-top: 56px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink2); font-size: 14.5px; }
@media (max-width: 520px) { body { font-size: 16px; } h1 { font-size: 26px; } th, td { padding: 7px 8px; } }
