/* Shaketail legal pages: the app's Tiki palette (lib/core/theme.dart). */
:root {
  --bg: #FFF3E2;
  --surface: #FFFFFF;
  --line: #EBD3AE;
  --ink: #1B2B2A;
  --sub: #4E5D5B;
  --accent: #0B5750;
  --coral: #F2674A;
  --sun: #F6C343;
  --note: #FFF0C2;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F2224;
    --surface: #16302F;
    --line: #2C4644;
    --ink: #F4EDE0;
    --sub: #B4C4BF;
    --accent: #F6C343;
    --note: #33341F;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 500 17px/1.65 "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 32px 20px 64px; }
header { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
header img { width: 44px; height: 44px; border-radius: 12px; }
header a { font: 800 22px/1 "Bricolage Grotesque", system-ui, sans-serif; color: var(--ink); text-decoration: none; }
h1 { font: 800 clamp(30px, 6vw, 42px)/1.08 "Bricolage Grotesque", system-ui, sans-serif; margin: 0 0 8px; text-wrap: balance; }
h2 { font: 800 23px/1.2 "Bricolage Grotesque", system-ui, sans-serif; margin: 40px 0 8px; }
h3 { font: 800 18px/1.3 "Nunito Sans", system-ui, sans-serif; margin: 22px 0 4px; }
p, li { color: var(--ink); }
.meta { color: var(--sub); margin: 0 0 20px; }
a { color: var(--accent); font-weight: 700; }
ul, ol { padding-left: 1.3em; }
li { margin: 4px 0; }
.lang { display: flex; gap: 8px; margin: 0 0 24px; }
.lang a {
  border: 2px solid var(--line); border-radius: 999px; padding: 4px 14px;
  text-decoration: none; color: var(--ink); font-weight: 800; font-size: 15px;
}
.card {
  background: var(--surface); border-radius: 24px; padding: 20px 22px; margin: 18px 0;
  box-shadow: 0 4px 0 var(--line);
}
.note { background: var(--note); border-radius: 18px; padding: 14px 18px; margin: 16px 0; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; margin: 12px 0; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--sun); color: #1B2B2A; font-weight: 800; display: grid; place-items: center;
}
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { font-weight: 800; }
.table { overflow-x: auto; }
hr { border: 0; border-top: 2px solid var(--line); margin: 56px 0 8px; }
footer { color: var(--sub); font-size: 14px; margin-top: 48px; }
a:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 4px; }
