:root {
  --font-sans: 'Bricolage Grotesque', 'IBM Plex Sans', system-ui, sans-serif;
  --color-bg: #fbfaf7;
  --color-fg: #1c1b18;
  --color-muted: #6b675f;
  --color-accent: #2f6f4f;
}

/*
 * The landing page's own layout. The tokens above this (`:root`) come from packages/shared/src/tokens.css at build time,
 * the same ones the app's Tailwind theme uses. Logical properties only, like the app, so a right-to-left page is `dir`.
 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-sans);
  line-height: 1.5;
}

a {
  color: inherit;
}

.page {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  min-block-size: 100dvh;
  max-inline-size: 72rem;
  margin-inline: auto;
  padding-block: 1.25rem 2rem;
  padding-inline: 1.25rem;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.name {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.status {
  padding-block: 0.25rem;
  padding-inline: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--color-accent) 35%, transparent);
  border-radius: 999px;
  color: var(--color-accent);
  font-size: 0.8125rem;
  white-space: nowrap;
}

h1 {
  max-inline-size: 16ch;
  margin: 0;
  font-size: clamp(2.25rem, 4vw + 1.25rem, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.thesis {
  display: grid;
  gap: 0.75rem;
  max-inline-size: 42rem;
  margin-block: 1.75rem 0;
  margin-inline: 0;
  padding: 0;
  font-size: 1.125rem;
  list-style: none;
}

.thesis li {
  padding-inline-start: 1rem;
  border-inline-start: 3px solid var(--color-accent);
}

.picture {
  margin-block: 2.5rem 0;
  margin-inline: 0;
}

.picture img {
  display: block;
  inline-size: 100%;
  block-size: auto;
  border: 1px solid color-mix(in srgb, var(--color-muted) 25%, transparent);
  border-radius: 0.875rem;
  box-shadow:
    0 1px 2px rgb(28 27 24 / 6%),
    0 16px 40px rgb(28 27 24 / 9%);
}

.bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-block-start: auto;
  color: var(--color-muted);
  font-size: 0.875rem;
}

.code {
  text-underline-offset: 0.2em;
}

.languages {
  display: flex;
  gap: 0.875rem;
}

.languages a[aria-current] {
  color: var(--color-fg);
  font-weight: 600;
  text-decoration: none;
}

@media (width >= 40rem) {
  .page {
    padding-block: 2rem 2.5rem;
    padding-inline: 2rem;
  }

  .thesis {
    font-size: 1.25rem;
  }
}
