/* Alex Loveless — public pages, styled to match alexloveless.co.uk */
:root {
  --ink: #111;
  --paper: #fff;
  --rule: rgba(17,17,17,.18);
  --maxw: 40rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 17px;
  line-height: 1.65;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.header { margin-bottom: 2.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--rule); }
.header .logo img { max-height: 48px; width: auto; }

h1, h2, h3 { line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: 1.6rem; margin: 0 0 1rem; }
h3 { font-size: 1.1rem; margin: 1.75rem 0 .5rem; }

p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

input[type="text"], input[type="email"] {
  width: 100%;
  padding: .6rem .7rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: inherit;
  font: inherit;
}
label { display: block; margin: .75rem 0 .25rem; font-size: .9em; }

.button, button {
  display: inline-block;
  margin-top: 1rem;
  padding: .7rem 1.4rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}
.button:hover, button:hover { background: var(--ink); color: var(--paper); }

ul.lists { list-style: none; padding: 0; }
ul.lists li { padding: .4rem 0; border-bottom: 1px solid var(--rule); }

footer.container {
  max-width: var(--maxw);
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: .8em;
  opacity: .6;
}

#thankyou-image { max-width: 100%; }
#thankyou-image img { width: 100%; height: auto; }

