/* The app's palette (apps/mobile/src/ui/theme.ts). site-check.js holds every --text- colour to 4.5:1 on every --surface- colour. */
:root {
  --surface-background: #0A1626;
  --text-body: #EDE6D3;
  --text-muted: #9AA7B8;
  --text-link: #D4AF4F;
  --line: #1E3350;
  --accent-rose: #B76E79;
}

@font-face {
  font-family: Jost;
  src: url("/assets/jost-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Jost;
  src: url("/assets/jost-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Jost;
  src: url("/assets/jost-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0 auto;
  max-width: 40rem;
  padding: 0 1rem;
  background: var(--surface-background);
  color: var(--text-body);
  font-family: Jost, system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

a {
  color: var(--text-link);
  text-underline-offset: 0.15em;
}

a:focus-visible {
  outline: 2px solid var(--text-link);
  outline-offset: 2px;
}

h1,
h2,
h3,
strong {
  font-weight: 600;
}

h1 {
  margin: 1.5rem 0 1rem;
  font-size: 2.25rem;
  line-height: 1.15;
}

h2 {
  margin: 2rem 0 0.5rem;
  font-size: 1.3rem;
  line-height: 1.25;
}

h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.125rem;
}

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

ul {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.4rem;
}

hr {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.site-header {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.site-header a {
  text-decoration: none;
}

.hero {
  padding-top: 1.5rem;
  text-align: center;
}

.ship {
  display: block;
  width: min(220px, 60vw);
  height: auto;
  margin: 0 auto;
}

.tagline {
  font-size: 1.3rem;
}

.site-footer {
  margin-top: 3rem;
  padding: 1.25rem 0 2rem;
  border-top: 1px solid var(--accent-rose);
  color: var(--text-muted);
  font-size: 1rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin-bottom: 1rem;
}

.site-footer nav > * {
  padding: 0.35rem 0;
}
