/* SEWIG Tier 0 (D28). The same tokens the app ships (docs/design/tokens.json),
   so a mother arriving from the app does not land somewhere that looks like a
   different company. Light and dark both defined: a legal page a reader cannot
   read at night fails the same D34.5 test the app's screens are held to. */
:root {
  --bg: #F7F1E8;
  --surface: #E9DDCF;
  --text: #51443D;
  --text-secondary: #786B63;
  --accent: #A85F4B;
  --border: #D8C5B3;
  --measure: 34rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1E1A17;
    --surface: #2F2822;
    --text: #F3EDE3;
    --text-secondary: #C6B6A6;
    --accent: #E9A98F;
    --border: #3B332C;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* 18px body, matching the app's scale after D37 raised it a step. */
  font-size: 18px;
  line-height: 1.55;
}
.wrap { max-width: var(--measure); margin: 0 auto; padding: 3rem 1.25rem 5rem; }
header { border-bottom: 1px solid var(--border); padding-bottom: 1.25rem; margin-bottom: 2.5rem; }
.wordmark { font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-secondary); }
h1 { font-size: 27px; font-weight: 600; line-height: 1.25; margin: .6rem 0 0; }
h2 { font-size: 22px; font-weight: 600; margin: 2.5rem 0 .5rem; }
h3 { font-size: 18px; font-weight: 600; margin: 1.75rem 0 .35rem; }
p, li { margin: .6rem 0; }
ul { padding-left: 1.2rem; }
a { color: var(--accent); text-underline-offset: .18em; }
.meta { color: var(--text-secondary); font-size: 16px; margin-top: .35rem; }
.band { background: var(--surface); border-radius: 12px; padding: 1rem 1.25rem; margin: 1.5rem 0; }
/* textSecondary is never placed on the band surface - 3.85 against sand, the
   same rule flutter-ui.md enforces in the app. */
.band, .band p, .band li { color: var(--text); }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; padding-left: 2.2rem; position: relative; margin: .9rem 0; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: .05rem;
  width: 1.6rem; height: 1.6rem; border: 1px solid var(--border); border-radius: 50%;
  display: grid; place-items: center; font-size: 14px; color: var(--text-secondary);
}
table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: 16px; }
th, td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-weight: 600; }
.scroll { overflow-x: auto; }
footer { margin-top: 4rem; padding-top: 1.25rem; border-top: 1px solid var(--border); font-size: 16px; color: var(--text-secondary); }
footer a { margin-right: 1rem; }
/* Copy legal and product own (D28). Loud on purpose: a placeholder that ships
   is worse than a missing page, because it reads as a policy. `make web.check`
   fails while any of these remain. */
.todo {
  background: #FFF3CD; color: #4A3A00; border: 2px dashed #A87C1B;
  padding: .8rem 1rem; border-radius: 8px; margin: 1rem 0; font-size: 16px;
}
.todo::before { content: "YAYINLANMADAN ÖNCE DOLDURULACAK — "; font-weight: 600; }
