@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/lato-latin-700.woff2") format("woff2");
}

@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/bodoni-moda-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/bodoni-moda-latin-700.woff2") format("woff2");
}

:root {
  --ink: #2b3c5f;
  --paper: #ffffff;
  --surface: #d2daea;
  --focus: #3b5282;
  --line: #23314d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Bodoni Moda", "Palatino Linotype", Palatino, serif;
  font-size: 1.125rem;
  line-height: 1.45;
}

header,
main,
footer {
  width: min(46rem, calc(100% - 2rem));
  margin: 0 auto;
}

header {
  padding: 2.5rem 0 1rem;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 0.4rem;
  font-family: Lato, "Liberation Sans", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Lato, "Liberation Sans", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  font-size: 1.8rem;
}

h2 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

main {
  padding: 1.5rem 0 2rem;
}

form {
  display: grid;
  gap: 0.7rem;
}

label {
  font-family: Lato, "Liberation Sans", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

input {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

input:focus,
button:focus {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.actions {
  display: flex;
  gap: 0.6rem;
}

button {
  border: 0;
  border-radius: 0;
  background: var(--ink);
  color: #ffffff;
  font-family: Lato, "Liberation Sans", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.75rem 1rem;
  cursor: pointer;
}

button:disabled {
  cursor: wait;
}

#previous,
#notice,
#stamp,
footer p {
  color: var(--ink);
}

#answer,
article {
  background: var(--surface);
  border-left: 4px solid var(--line);
  padding: 1rem;
  margin: 1rem 0;
}

article header {
  width: auto;
  margin: 0 0 0.6rem;
  padding: 0;
  border: 0;
}

.shot,
.still {
  display: block;
  max-width: 100%;
  margin: 0.8rem 0;
  border: 1px solid var(--line);
  background: var(--paper);
}

video {
  display: block;
  width: min(100%, 28rem);
  margin: 0.8rem 0;
  background: var(--ink);
}

a {
  color: var(--focus);
}

footer {
  padding: 1rem 0 2.5rem;
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0.3rem 0;
}
