/* 70/30 Digital brand: deep blue background, white copy, coral accents, Jost. */
@font-face {
  font-family: "Jost";
  src: url("/static/fonts/jost-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F,
    U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Jost";
  src: url("/static/fonts/jost-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+A720-A7FF;
}

:root {
  --deep-blue: #0a0a21;
  --white: #ffffff;
  --coral: #f57866;
  --cream: #fcf9f9;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--deep-blue);
  color: var(--white);
  font-family: "Jost", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  padding: 24px clamp(16px, 4vw, 48px);
  min-height: 100vh;
  display: flex;
}

/* The coral rules at the top and bottom of the brand book's pages. */
.frame {
  flex: 1;
  border-top: 8px solid var(--coral);
  border-bottom: 8px solid var(--coral);
  padding: clamp(32px, 6vw, 64px) 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

h1 {
  font-weight: 800;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0;
  overflow-wrap: anywhere;
}

h2 {
  color: var(--coral);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

p {
  margin: 0;
  max-width: 60ch;
}

section p {
  margin-bottom: 16px;
}

.lead {
  font-size: 22px;
}

.error {
  color: var(--coral);
  font-weight: 500;
}

.facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 24px;
  margin: 0;
}

.facts dt {
  font-size: 15px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  align-self: center;
}

.facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.features {
  list-style: none;
  margin: 0;
  padding: 0;
}

.downloads,
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-block;
  background: var(--coral);
  color: var(--deep-blue);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 24px;
  border: 2px solid var(--coral);
  font-family: inherit;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  background: var(--cream);
  border-color: var(--cream);
}

.link {
  background: none;
  border: none;
  padding: 0;
  color: var(--white);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.link:hover,
.link:focus-visible {
  color: var(--coral);
}
