/* rideoto.com: plain pages in the app's type (Inter for text, Instrument Serif for titles as on profiles,
   JetBrains Mono for section labels) on its dark base. */

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/InstrumentSerif-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/JetBrainsMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --background: #0a0b0e;
  --text: #ffffff;
  --body: rgba(255, 255, 255, 0.82);
  --text-secondary: rgba(255, 255, 255, 0.62);
  --hairline: rgba(255, 255, 255, 0.09);
  --accent: #c5cff2;
  --ink: #0a0c12;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--background);
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.bar {
  border-bottom: 1px solid var(--hairline);
}

header,
main,
footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

header .wordmark img {
  display: block;
  height: 22px;
  width: auto;
}

header nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  margin-left: 20px;
}

header nav a[aria-current="page"],
header nav a:hover {
  color: var(--text);
}

main {
  padding-top: 72px;
  padding-bottom: 80px;
}

h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: 44px;
  line-height: 1.1;
  color: var(--text);
  margin: 0 0 24px;
}

h2 {
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-weight: 400;
  font-size: 19px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin: 56px 0 16px;
}

h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin: 32px 0 10px;
}

p,
ul {
  margin: 0 0 14px;
}

ul {
  padding-left: 24px;
}

li {
  margin-bottom: 8px;
}

li::marker {
  color: var(--text-secondary);
}

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

.dates {
  margin-bottom: 8px;
}

.address {
  margin-top: 16px;
}

/* The solid accent button, as in the app. */
.button {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 26px;
  margin: 8px 0 16px;
}

footer {
  border-top: 1px solid var(--hairline);
  padding-top: 20px;
  padding-bottom: 40px;
  color: var(--text-secondary);
  font-size: 14px;
}

footer a {
  color: var(--text-secondary);
  margin-right: 18px;
}

@media (max-width: 520px) {
  main {
    padding-top: 40px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 17px;
    margin-top: 44px;
  }
}
