/* Shared styles for qurarte.com's text pages (privacy, terms, support, help).
   Same tokens, logo and footer as index.html. */
:root {
  --paper: #F5EFE0;
  --ink: #1A140B;
  --ink-2: #5A5040;
  --ink-3: #8B7F66;
  --rule: #C4B89A;
  --stamp: #C0392B;
}
html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after { box-sizing: border-box; }
body { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; }

.top { display: flex; justify-content: space-between; align-items: center; padding: 28px 40px; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.logo .mk {
  width: 32px; height: 32px; background: var(--ink); color: var(--paper);
  display: grid; place-items: center; border-radius: 7px;
  font-weight: 700; font-size: 22px; line-height: 1; letter-spacing: -0.06em; position: relative;
}
.logo .mk .pip {
  position: absolute; width: 4.5px; height: 4.5px; background: var(--stamp);
  border-radius: 50%; right: 4.5px; top: 50%; transform: translateY(-50%);
}
.logo .wm { font-weight: 600; font-size: 22px; letter-spacing: -0.055em; line-height: 1; }
.logo .wm .dot {
  display: inline-block; width: 4px; height: 4px; background: var(--stamp);
  border-radius: 50%; margin-left: 2.5px; vertical-align: 2px;
}
.nav { display: flex; gap: 18px; font-size: 13px; font-weight: 500; }
.nav a { color: var(--ink-2); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

main.page { width: 100%; max-width: 720px; margin: 0 auto; padding: 24px 24px 64px; }
.kicker { font-size: 12.5px; color: var(--ink-3); letter-spacing: 0.01em; }
h1 { font-size: 40px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; margin: 8px 0 0; }
h1 .dot { color: var(--stamp); }
.lead { font-size: 18px; line-height: 1.55; color: var(--ink-2); margin: 16px 0 0; }
h2 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin: 40px 0 0; }
h3 { font-size: 16px; font-weight: 600; margin: 24px 0 0; }
p, li { font-size: 16px; line-height: 1.65; color: var(--ink); }
p { margin: 10px 0 0; }
ul, ol { margin: 10px 0 0; padding-left: 22px; }
li + li { margin-top: 6px; }
a { color: var(--ink); text-underline-offset: 3px; }
strong { font-weight: 600; }
.note {
  margin-top: 28px; padding: 14px 16px; border-left: 3px solid var(--stamp);
  background: rgba(26, 20, 11, 0.04); font-size: 14.5px; line-height: 1.55; color: var(--ink-2);
}
.draft {
  margin: 0 0 20px; padding: 10px 14px; border: 1px dashed var(--stamp); border-radius: 8px;
  font-size: 13.5px; color: var(--ink-2);
}
.steps { counter-reset: s; list-style: none; padding-left: 0; }
.steps li { counter-increment: s; padding-left: 34px; position: relative; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 2px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--ink); color: var(--paper);
  font-size: 12px; font-weight: 600; display: grid; place-items: center;
}
code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 14px; background: rgba(26, 20, 11, 0.06); padding: 1px 5px; border-radius: 4px; }

.foot {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding: 24px 40px; font-size: 12.5px; color: var(--ink-3); letter-spacing: -0.005em;
}
.foot a { color: var(--ink-3); text-decoration: none; transition: color 0.15s; }
.foot a:hover { color: var(--ink); }
.foot .links { display: flex; gap: 16px; }

@media (max-width: 640px) {
  .top, .foot { padding-left: 16px; padding-right: 16px; }
  .nav { display: none; }
  main.page { padding: 8px 16px 48px; }
  h1 { font-size: 32px; }
}
