/* Fonts: Lettera (Lineto), licensed. Keep this repo private. */
@font-face {
  font-family: "Lettera Mono LL";
  src: url("fonts/LetteraMonoLL-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Lettera Text LL";
  src: url("fonts/LetteraTextLL-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

/* Values from the old site's style guide (webflow-archive/2024-site/style-guide.md) */
:root {
  --text: #333;
  --link: #535c64;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Lettera Text LL", Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
}

main {
  max-width: 640px;
  padding: 48px 24px;
}

/* The intro was an h4 on the old site: 18px / 24px, Lettera Mono */
h1,
.currently {
  margin: 0 0 24px;
  font-family: "Lettera Mono LL", Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
}

p { margin: 0 0 24px; }

/* Inline Apple logo (Simple Icons, CC0): sized to the text, takes the text color */
.logo {
  height: 0.8em;
  width: 0.8em;
  vertical-align: -0.05em;
}

/* The old site underlined the three phrases instead of coloring the text */
.hl {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.hl-cyan    { text-decoration-color: cyan; }
.hl-magenta { text-decoration-color: magenta; }
.hl-yellow  { text-decoration-color: yellow; }

nav a {
  display: block;
  color: var(--link);
  text-decoration: none;
}
nav a:hover,
nav a:focus-visible {
  text-decoration: underline;
}
