/* Persica — shared styles. Night / Cream / Saffron / Turquoise / Slate. */

:root {
  --night: #070d16;
  --lapis: #0e1b2c;
  --saffron: #d9a548;
  --turquoise: #45b8b0;
  --cream: #f2eadf;
  --slate: #9aa7b4;
  --display: "Marcellus", Georgia, serif;
  --sans: "Karla", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--night);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--night);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  display: flex;
  flex-direction: column;
}

main {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 24px 48px;
  flex: 1;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.25;
}

h1 {
  font-size: 2.1rem;
  margin: 0 0 0.35em;
}

h2 {
  font-size: 1.35rem;
  margin: 2.2em 0 0.6em;
}

p {
  margin: 0 0 1.1em;
}

ul {
  padding-left: 1.3em;
  margin: 0 0 1.1em;
}

li {
  margin-bottom: 0.4em;
}

strong {
  font-weight: 600;
  color: var(--cream);
}

a {
  color: var(--cream);
  text-decoration: underline;
  text-decoration-color: rgba(242, 234, 223, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color 150ms ease;
}

a:hover {
  text-decoration-color: var(--cream);
}

.muted {
  color: var(--slate);
}

/* The arch mark */
.mark {
  display: inline-block;
  line-height: 0;
}

.mark svg {
  width: 100%;
  height: 100%;
  fill: none;
}

.mark-arch {
  stroke: var(--saffron);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mark-plume {
  stroke: var(--cream);
  stroke-width: 1.5;
  stroke-linecap: round;
  opacity: 0.75;
}

.mark-point {
  fill: var(--turquoise);
}

/* Landing page */
.landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px 40px;
}

.landing .mark {
  width: 144px;
  height: 144px;
}

.wordmark {
  font-family: var(--display);
  font-size: 2rem;
  letter-spacing: 0.32em;
  text-indent: 0.32em; /* balances the trailing tracking so the word centres optically */
  margin: 36px 0 0;
}

.tagline {
  max-width: 24rem;
  margin: 28px auto 0;
  color: var(--slate);
  font-size: 1.05rem;
}

.status {
  margin: 44px 0 0;
  color: var(--slate);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-links {
  margin-top: 72px;
  display: flex;
  gap: 24px;
  justify-content: center;
  font-size: 0.85rem;
}

.footer-links a {
  color: var(--slate);
  text-decoration-color: rgba(154, 167, 180, 0.35);
}

.footer-links a:hover {
  color: var(--cream);
  text-decoration-color: var(--cream);
}

/* Document pages */
.doc-header {
  margin-bottom: 40px;
}

.doc-header .mark {
  width: 56px;
  height: 56px;
}

.doc-meta {
  color: var(--slate);
  font-size: 0.95rem;
  margin: 0 0 2.2em;
}

.doc-meta span {
  display: block;
}

.doc-footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(154, 167, 180, 0.2);
  display: flex;
  gap: 24px;
  font-size: 0.85rem;
}

.doc-footer a {
  color: var(--slate);
  text-decoration-color: rgba(154, 167, 180, 0.35);
}

.doc-footer a:hover {
  color: var(--cream);
  text-decoration-color: var(--cream);
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  main {
    padding: 40px 20px 40px;
  }

  h1 {
    font-size: 1.8rem;
  }

  .landing .mark {
    width: 120px;
    height: 120px;
  }

  .wordmark {
    font-size: 1.7rem;
  }
}
