/* Trade Clerks site. Colours and font match the app (constants/theme.ts). */
:root {
  --navy: #1B2A4A;
  --orange: #F07020;
  --light: #F5F7FA;
  --border: #DDE3EC;
  --grey: #5B6B82;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--light);
  color: var(--navy);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--orange); }

/* ── Legal pages ── */
.top {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px 0;
}
.logo-small { height: 44px; width: auto; display: block; }

.doc {
  max-width: 760px;
  margin: 16px auto 0;
  padding: 28px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(27, 42, 74, 0.08);
}
@media (min-width: 800px) {
  .doc { padding: 40px 48px; }
}
.doc h1 { font-size: 30px; line-height: 1.2; margin: 0 0 8px; }
.doc h2 { font-size: 21px; margin: 36px 0 8px; }
.doc p, .doc ul { margin: 0 0 14px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc em { color: var(--grey); font-style: normal; }

.table-wrap { overflow-x: auto; margin: 0 0 16px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
th { font-weight: 700; background: var(--light); }

.foot {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  color: var(--grey);
  font-size: 15px;
  text-align: center;
}

/* ── Holding page ── */
.home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 16px;
}
.home .logo { width: 220px; max-width: 70vw; height: auto; }
.home h1 { font-size: 28px; margin: 28px 0 8px; }
.home p { color: var(--grey); margin: 0 0 6px; max-width: 420px; }
.home .links { margin-top: 32px; font-size: 15px; color: var(--grey); }
