/* Elvate interim website: the legal and support pages only. Colours follow the app's design tokens (src/theme/tokens.ts). */
:root {
  --background: #f9f8f6;
  --surface: #ffffff;
  --brand: #35543e;
  --brand-soft: #e5ebe2;
  --text: #181818;
  --text-muted: #6a6a6a;
  --border: #ebe8e2;
  --radius: 20px;
  --width: 720px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--brand); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; border-radius: 8px; }

header, main, footer { width: min(100% - 40px, var(--width)); margin-inline: auto; }

header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 0 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 650; font-size: 20px; letter-spacing: -0.3px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; }
nav a { color: var(--text-muted); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--brand); }

main { padding: 24px 0 48px; }

h1 { font-size: clamp(32px, 6vw, 44px); line-height: 1.12; letter-spacing: -1.2px; margin: 16px 0 8px; font-weight: 650; }
h2 { font-size: 22px; line-height: 1.3; letter-spacing: -0.4px; margin: 36px 0 8px; font-weight: 650; }
h3 { font-size: 17px; margin: 22px 0 4px; font-weight: 650; }
p, ul, ol { margin: 8px 0 12px; }
li { margin: 4px 0; }
.lead { font-size: 19px; color: var(--text-muted); max-width: 34em; }
.muted { color: var(--text-muted); }
.small { font-size: 15px; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; margin: 18px 0; }
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }

.hero { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 32px; }
.hero img { width: 88px; height: 88px; border-radius: 22px; }
.pill { display: inline-block; background: var(--brand-soft); color: var(--brand); border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 600; }

.links { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 28px 0; padding: 0; list-style: none; }
.links a { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; text-decoration: none; color: var(--text); font-weight: 600; }
.links a span { display: block; color: var(--text-muted); font-weight: 400; font-size: 15px; }
.links a:hover { border-color: var(--brand); }

.toc { columns: 2; column-gap: 32px; padding-left: 20px; font-size: 15px; }
@media (max-width: 560px) { .toc { columns: 1; } }

table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--border); }
th { font-weight: 650; }

.todo { background: #fff4d6; border: 1px dashed #c9a227; border-radius: 6px; padding: 0 4px; }

footer { border-top: 1px solid var(--border); padding: 24px 0 40px; font-size: 14px; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
footer nav a { color: var(--text-muted); }
