/* Standalone styles for the legal pages. These are plain static HTML served
   from public/, outside the React bundle, so they can't use the Tailwind
   component classes in src/index.css. Tokens are mirrored by hand. */

:root {
  --navy: #0D1B2A;
  --navy-deep: #081420;
  --gold: #C4A35F;
  --gold-light: #d7bb78;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', 'Inter', system-ui, sans-serif;
  background-color: var(--navy);
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.7;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-light); text-decoration: underline; }

.wrap { max-width: 56rem; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.topbar {
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: var(--navy-deep);
  position: sticky;
  top: 0;
  z-index: 10;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4.5rem;
}
.brand { display: flex; align-items: center; gap: .75rem; color: #fff; font-weight: 700; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand img { height: 2rem; width: auto; opacity: .85; }
.brand .accent { color: var(--gold); }
.back {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 9999px;
  padding: .5rem 1.1rem;
  white-space: nowrap;
}
.back:hover { color: #fff; border-color: rgba(196,163,95,.45); text-decoration: none; }

/* Document body */
main { padding: 4rem 0 5rem; }

.eyebrow {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .35em;
  color: var(--gold);
  font-weight: 600;
}

h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -.02em;
  margin: .75rem 0 1rem;
  line-height: 1.2;
}

.updated { font-size: .875rem; color: rgba(255,255,255,.4); }

.rule {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(196,163,95,.5), transparent);
  margin: 2.5rem 0;
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2.75rem 0 .85rem;
  color: #fff;
  scroll-margin-top: 6rem;
}

h2:first-of-type { margin-top: 0; }

p, li { color: rgba(255,255,255,.72); }
p { margin-bottom: 1rem; }

ul, ol { margin: 0 0 1rem 1.25rem; }
li { margin-bottom: .5rem; padding-left: .25rem; }

strong { color: #fff; font-weight: 600; }

.card {
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  border-radius: 1.25rem;
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0;
}
.card p:last-child { margin-bottom: 0; }

dl { margin: 0; }
dt { color: rgba(255,255,255,.45); font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; margin-top: 1rem; }
dt:first-child { margin-top: 0; }
dd { color: #fff; margin: .15rem 0 0; }

/* Footer */
footer {
  border-top: 1px solid rgba(255,255,255,.1);
  background: var(--navy-deep);
  padding: 2rem 0;
}
footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
footer p, footer a { font-size: .75rem; color: rgba(255,255,255,.35); }
footer a:hover { color: rgba(255,255,255,.7); }
footer nav { display: flex; gap: 1.25rem; }
