/*
 * The Extraordinary Human look for the Audience Platform's public pages.
 * Loaded after Listmonk's own stylesheet by templates/index.html. Colours and
 * fonts match apps/web/src/style.css, the sign-in pages and the Community.
 */

@font-face { font-family: 'Manrope'; font-weight: 200 800; font-display: swap; src: url(fonts/sans-latin-0.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/editorial-latin-1.woff2) format('woff2'); }

:root {
  --eh-paper: #f8f7f3;
  --eh-ink: #272c29;
  --eh-muted: #6f746c;
  --eh-red: #a7262e;
  --eh-red-dark: #8a1f26;
  --eh-line: #dcded4;
}

body {
  background: var(--eh-paper);
  color: var(--eh-ink);
  font-family: 'Manrope', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection { background: #aa2931; color: #fff; }

.eh-header { text-align: center; padding: 32px 16px 8px; }
.eh-brand { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; color: var(--eh-ink); text-decoration: none; }
.eh-brand img { height: 72px; width: auto; }
.eh-brand span { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 20px; letter-spacing: .18em; text-transform: uppercase; }

.wrap {
  background: #fff;
  border: 1px solid var(--eh-line);
  border-radius: 2px;
  box-shadow: none;
  margin-top: 24px;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--eh-ink);
}
h2 { font-size: 2em; line-height: 1.15; }

a { color: var(--eh-ink); text-decoration-color: var(--eh-red); }
a:hover { color: var(--eh-red); }
label { color: var(--eh-ink); }

input[type="text"], input[type="email"], select {
  border: 1px solid var(--eh-line);
  border-radius: 2px;
  box-shadow: none;
}
input:focus { border-color: var(--eh-red); outline: none; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--eh-red); }

.button {
  background: var(--eh-red);
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: .02em;
}
.button:hover { background: var(--eh-red-dark); }
.button.button-outline {
  background: transparent;
  border: 1px solid var(--eh-red);
  color: var(--eh-red);
}
.button.button-outline:hover { background: var(--eh-red); color: #fff; }

.eh-footer { text-align: center; padding: 24px 16px 48px; font-size: .875em; color: var(--eh-muted); }
.eh-footer a { color: var(--eh-muted); }
