/* AdSwoop brand tokens for the two static pages this server hosts.

   Literal values rather than variables read from the website: these pages are
   served straight off the MCP server with no build step, so they carry their
   own copy of the palette. Keep them in step with website/src/app/globals.css
   and docs/brand-book.md. */
:root {
  --bg: #F7F8FA;
  --surface: #FFFFFF;
  --fill: #EFF1F4;
  --ink: #191B21;
  --ink-2: #434750;
  --ink-3: #5F6570;
  --brand: #5A3573;
  --brand-strong: #422256;
  --brand-tint: #F6EBFF;
  --line: #D9DEE5;
  --line-strong: #C2C8D0;
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { color-scheme: light; }

body {
  font-family: "Instrument Sans", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a, button, summary {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3 { text-wrap: balance; letter-spacing: -0.02em; }
p { text-wrap: pretty; }
::selection { background: var(--brand-tint); color: var(--brand-strong); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 2px; }

a { color: var(--brand); }
/* Within a run of text, colour alone may not be what marks a link — --brand
   sits within 1.6:1 of the body colour. Same rule as the website. */
p a, li a { text-decoration-color: var(--line-strong); text-underline-offset: 0.18em; }
p a:hover, li a:hover { text-decoration-color: var(--brand); }

.wrap { max-width: 800px; margin: 0 auto; padding: 0 24px; }

/* Wordmark: "Ad" + the swoop-S + "woop", sized in em so it scales with
   whatever font-size it sits in. See website/src/components/brand-mark.tsx —
   the glyph and these ratios are the same in both halves. */
.mark {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
}
.mark svg {
  height: 0.719em;
  width: 0.55em;
  vertical-align: -0.04em;
  margin-left: 0.092em;
  margin-right: 0.046em;
  fill: var(--brand);
}

header.bar { border-bottom: 1px solid var(--line); background: var(--surface); }
header.bar .wrap { display: flex; align-items: center; height: 64px; }

footer { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--ink-3); font-size: 0.9rem; }
footer .fine { margin-top: 14px; font-size: 0.8rem; max-width: 30rem; }
