@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/lora-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/lora-latin-700-normal.woff2") format("woff2");
}

/* Contrast (WCAG): ink on cream 16.19:1, teal on cream 5.38:1, white on teal 6.02:1;
   cream on night 16.19:1, dark teal on night 6.82:1, night on dark teal 6.82:1. */
:root {
  color-scheme: light dark;
  --bg: #F2F2F2;
  --ink: #0A1628;
  --teal: #0D6D7A;
  --button-bg: #0D6D7A;
  --button-ink: #FFFFFF;
  --exit-bg: #0A1628;
  --exit-ink: #F2F2F2;
  --rule: #0D6D7A;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A1628;
    --ink: #F2F2F2;
    --teal: #54ABB8;
    --button-bg: #54ABB8;
    --button-ink: #0A1628;
    --exit-bg: #F2F2F2;
    --exit-ink: #0A1628;
    --rule: #54ABB8;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family: "Lora", Georgia, "Times New Roman", serif;
  font-size: 100%;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 4.5rem 1rem 2rem;
  font-weight: 400;
  font-size: 1.125rem;
  overflow-wrap: break-word;
}

.page {
  max-width: 38rem;
  margin: 0 auto;
}

h1,
h2,
strong {
  font-weight: 700;
}

h1 {
  font-size: 1.75rem;
  line-height: 1.25;
  margin: 0 0 1rem;
}

p,
ol {
  margin: 0 0 1rem;
}

ol {
  padding-left: 1.75rem;
}

li {
  margin-bottom: 0.5rem;
}

a {
  color: var(--teal);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.15em;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

/* Quick exit: fixed top right, first in the tab order. */
.leave {
  position: fixed;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;
  display: inline-block;
  padding: 0.6rem 1rem;
  border: 2px solid var(--exit-ink);
  border-radius: 0.375rem;
  background: var(--exit-bg);
  color: var(--exit-ink);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
}

.leave:hover {
  text-decoration: underline;
}

.leave:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

/* Header: lockup with the trade mark sign. */
.site-header {
  margin: 0 0 1.25rem;
}

.mark {
  display: inline-flex;
  align-items: flex-start;
  margin: 0;
  color: var(--teal);
  text-decoration: none;
}

.mark img {
  display: block;
  width: 15rem;
  max-width: 100%;
  height: auto;
}

.tm {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1;
  margin-left: 0.15rem;
}

.safety {
  padding: 0.75rem 1rem;
  border-left: 4px solid var(--rule);
  font-size: 1rem;
}

.apply {
  display: inline-block;
  margin: 0.5rem 0 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  background: var(--button-bg);
  color: var(--button-ink);
  font-weight: 700;
  text-decoration: none;
}

.apply:hover {
  text-decoration: underline;
}

.address {
  font-weight: 700;
}

.site-footer {
  max-width: 38rem;
  margin: 3rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9375rem;
}

.site-footer p {
  margin: 0 0 0.5rem;
}
